Commit 3d93ae52 authored by Yaowu Xu's avatar Yaowu Xu Committed by On2 (Google) Code Review
Browse files

Merge "Try to enable 8x8 tranform for smaller resolution" into experimental

parents 25c127f5 42891098
......@@ -252,7 +252,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)
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment