Fix the missing init for ec-adapt with parallel tile decoding
Initializing the tile context from the frame context was missing in decode_tiles_mt(). Change-Id: I7758377cae85f5cc8adedc01a3086104c10d507b
This commit is contained in:
Родитель
07b1d38fe7
Коммит
d767bebd5c
|
@ -3841,6 +3841,11 @@ static const uint8_t *decode_tiles_mt(AV1Decoder *pbi, const uint8_t *data,
|
|||
#if CONFIG_PVQ
|
||||
daala_dec_init(cm, &twd->xd.daala_dec, &twd->bit_reader);
|
||||
#endif
|
||||
#if CONFIG_EC_ADAPT
|
||||
// Initialise the tile context from the frame context
|
||||
twd->tctx = *cm->fc;
|
||||
twd->xd.tile_ctx = &twd->tctx;
|
||||
#endif
|
||||
#if CONFIG_PALETTE
|
||||
twd->xd.plane[0].color_index_map = twd->color_index_map[0];
|
||||
twd->xd.plane[1].color_index_map = twd->color_index_map[1];
|
||||
|
|
Загрузка…
Ссылка в новой задаче