Merge "Try to enable 8x8 tranform for smaller resolution" into experimental
This commit is contained in:
commit
3d93ae521c
@ -252,7 +252,8 @@ void vp8_setup_key_frame(VP8_COMP *cpi)
|
|||||||
void vp8_setup_inter_frame(VP8_COMP *cpi)
|
void vp8_setup_inter_frame(VP8_COMP *cpi)
|
||||||
{
|
{
|
||||||
#if CONFIG_T8X8
|
#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;
|
cpi->common.txfm_mode = ALLOW_8X8;
|
||||||
else
|
else
|
||||||
cpi->common.txfm_mode = ONLY_4X4;
|
cpi->common.txfm_mode = ONLY_4X4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user