Commit 863efacc authored by Angie Chiang's avatar Angie Chiang
Browse files

Fix warning about sub8x8tx_in_gte8x8blk_in_plane0

This CL fix warning: unused variable
‘sub8x8tx_in_gte8x8blk_in_plane0’
when DISABLE_TRELLISQ_SEARCH is on
Change-Id: I64908513d58287e53ae5fd040e8099089176aace
parent 2f61fc84
......@@ -4522,6 +4522,11 @@ void av1_tx_block_rd_b(const AV1_COMP *cpi, MACROBLOCK *x, TX_SIZE tx_size,
return;
}
#endif // CONFIG_MRC_TX
#if CONFIG_DIST_8X8
int sub8x8tx_in_gte8x8blk_in_plane0 =
plane == 0 && plane_bsize >= BLOCK_8X8 &&
(tx_size == TX_4X4 || tx_size == TX_4X8 || tx_size == TX_8X4);
#endif // CONFIG_DIST_8X8
if (
#if CONFIG_DIST_8X8
(x->using_dist_8x8 && sub8x8tx_in_gte8x8blk_in_plane0) ||
......
Markdown is supported
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