Commit fc1b213a authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Use block_size for max_scan_line in pvq decoding

Change-Id: I642bc205a7d2c4d472385fbeb4323e62e17984b4
parent 856c55e9
......@@ -410,8 +410,8 @@ static int av1_pvq_decode_helper2(MACROBLOCKD *const xd,
int seg_id = mbmi->segment_id;
int16_t *quant;
FWD_TXFM_PARAM fwd_txfm_param;
// ToDo(yaowu): figure out how to initialize this
int max_scan_line = 0;
// ToDo(yaowu): correct this with optimal number from decoding process.
const int max_scan_line = tx_size_2d[tx_size];
for (j = 0; j < tx_blk_size; j++)
for (i = 0; i < tx_blk_size; i++) {
Supports Markdown
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