ref: 3d93ae521c4bd71f3be833ab16d93fb35ab1f8d1
parent: 25c127f5f006f9f3ae2df10819ee4499ee763155
parent: 42891098f36ecbc2aea611ecea778fdf38d834ac
author: Yaowu Xu <yaowu@google.com>
date: Tue Feb 28 17:31:03 EST 2012
Merge "Try to enable 8x8 tranform for smaller resolution" into experimental
--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -252,7 +252,8 @@
void vp8_setup_inter_frame(VP8_COMP *cpi)
{
#if CONFIG_T8X8
- if(cpi->common.Width * cpi->common.Height > 640*360)
+ 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;
--
⑨