Merge "Fix txb_w/h use case in av1_tx_block_rd_b()" into nextgenv2
This commit is contained in:
@@ -3013,8 +3013,8 @@ void av1_tx_block_rd_b(const AV1_COMP *cpi, MACROBLOCK *x, TX_SIZE tx_size,
|
|||||||
inv_txfm_add(dqcoeff, rec_buffer, MAX_TX_SIZE, &inv_txfm_param);
|
inv_txfm_add(dqcoeff, rec_buffer, MAX_TX_SIZE, &inv_txfm_param);
|
||||||
#endif // CONFIG_AOM_HIGHBITDEPTH
|
#endif // CONFIG_AOM_HIGHBITDEPTH
|
||||||
|
|
||||||
if (txb_h + blk_col > max_blocks_wide ||
|
if (txb_w + blk_col > max_blocks_wide ||
|
||||||
txb_w + blk_row > max_blocks_high) {
|
txb_h + blk_row > max_blocks_high) {
|
||||||
int idx, idy;
|
int idx, idy;
|
||||||
unsigned int this_dist;
|
unsigned int this_dist;
|
||||||
int blocks_height = AOMMIN(txb_h, max_blocks_high - blk_row);
|
int blocks_height = AOMMIN(txb_h, max_blocks_high - blk_row);
|
||||||
|
Reference in New Issue
Block a user