Changed condition for using RD in Intra Mode
The condition for using RD when selecting the intra coding mode for a MB is that the RD flag is set AND we're not in real-time mode. Previously the code used RD if either the RD flag was set OR we were not using real-time mode. Change-Id: Ic711151298468a3f99babad39ba8375f66d55a08
This commit is contained in:
Родитель
35bb74a6bd
Коммит
e9f513d74a
|
@ -1160,7 +1160,7 @@ int vp8cx_encode_intra_macro_block(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t)
|
|||
|
||||
#if !(CONFIG_REALTIME_ONLY)
|
||||
|
||||
if (cpi->sf.RD || cpi->compressor_speed != 2)
|
||||
if (cpi->sf.RD && cpi->compressor_speed != 2)
|
||||
{
|
||||
Error4x4 = vp8_rd_pick_intra4x4mby_modes(cpi, x, &rate4x4, &rate4x4_tokenonly, &dist4x4);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче