Use correct segment
Segmment based lossless flag is used in select transform size, this commit fixes a bug where wrong segment_id is used in such selection. BUG=aomedia:350 Change-Id: Ibc981c779739849bac00447155180abbd319eb28
This commit is contained in:
Родитель
cdf8a14e85
Коммит
1e2aae1ae7
|
@ -2232,7 +2232,7 @@ static void super_block_yrd(const AV1_COMP *const cpi, MACROBLOCK *x,
|
|||
|
||||
assert(bs == xd->mi[0]->mbmi.sb_type);
|
||||
|
||||
if (xd->lossless[0]) {
|
||||
if (xd->lossless[xd->mi[0]->mbmi.segment_id]) {
|
||||
choose_smallest_tx_size(cpi, x, rd_stats, ref_best_rd, bs);
|
||||
} else if (cpi->sf.tx_size_search_method == USE_LARGESTALL) {
|
||||
choose_largest_tx_size(cpi, x, rd_stats, ref_best_rd, bs);
|
||||
|
|
Загрузка…
Ссылка в новой задаче