summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2012-03-01 11:30:49 -0800
committerYaowu Xu <yaowu@google.com>2012-03-01 11:30:49 -0800
commit3ceb43104fc379ffed0416e11c256012cc62732a (patch)
treee84c93c43188f0135fa6ac85ea3f3d5c3bd1bc14 /vp8/encoder
parente41e5ce5adc58daf11ca2d52da880446cbfbff39 (diff)
downloadlibvpx-3ceb43104fc379ffed0416e11c256012cc62732a.tar
libvpx-3ceb43104fc379ffed0416e11c256012cc62732a.tar.gz
libvpx-3ceb43104fc379ffed0416e11c256012cc62732a.tar.bz2
libvpx-3ceb43104fc379ffed0416e11c256012cc62732a.zip
disable usage of 8x8 for resolution below 360p
need further investigation on some odd behavior on one youtube clip Change-Id: Iec477986a86b54ef26df2ef69d2f9484e2d1a043
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/ratectrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c
index ad4a7e07a..47609306c 100644
--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -269,8 +269,8 @@ void vp8_setup_key_frame(VP8_COMP *cpi)
void vp8_setup_inter_frame(VP8_COMP *cpi)
{
#if CONFIG_T8X8
- if(cpi->common.Width * cpi->common.Height > 640*360
- ||cpi->this_frame_target < 7 * cpi->common.MBs)
+ if(cpi->common.Width * cpi->common.Height > 640*360)
+ //||cpi->this_frame_target < 7 * cpi->common.MBs)
cpi->common.txfm_mode = ALLOW_8X8;
else
cpi->common.txfm_mode = ONLY_4X4;