shithub: libvpx

Download patch

ref: 0d0ed6a29b6e594e40fad9bcdaca5dab822754ce
parent: 1ab60f7bfb032418e3eb1097d1fbe1756b3183cb
author: Jingning Han <[email protected]>
date: Fri Oct 4 13:19:05 EDT 2013

Allow sub8x8 intra modes test for alt frame coding

This commit allows sub8x8 intra modes test in the rate-distortion
loop for hd sequences in speed 1 and 2.

For sequence y90n of hd set at 8000 kbps, speed 2 runtime goes
from 207s to 210s. For ped_1080p at 3000 kbps, speed 2 runtim goes
from 336s to 337s. Both are running with 300 frames.

This improves compression performance by 0.24% for stdhd and 0.32%
for hd.

Change-Id: I173ca38a6411565ae6cfadd184c42b2070c5de1f

--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -791,7 +791,8 @@
                                      ? USE_FULL_RD : USE_LARGESTALL);
 
         if (MIN(cpi->common.width, cpi->common.height) >= 720)
-          sf->disable_split_mask = DISABLE_ALL_SPLIT;
+          sf->disable_split_mask = cpi->common.show_frame ?
+              DISABLE_ALL_SPLIT : DISABLE_ALL_INTER_SPLIT;
         else
           sf->disable_split_mask = DISABLE_COMPOUND_SPLIT;
 
@@ -808,9 +809,11 @@
                                      ? USE_FULL_RD : USE_LARGESTALL);
 
         if (MIN(cpi->common.width, cpi->common.height) >= 720)
-          sf->disable_split_mask = DISABLE_ALL_SPLIT;
+          sf->disable_split_mask = cpi->common.show_frame ?
+              DISABLE_ALL_SPLIT : DISABLE_ALL_INTER_SPLIT;
         else
           sf->disable_split_mask = LAST_AND_INTRA_SPLIT_ONLY;
+
 
         sf->mode_search_skip_flags = FLAG_SKIP_INTRA_DIRMISMATCH |
                                      FLAG_SKIP_INTRA_BESTINTER |