Commit 9abda591 authored by Linfeng Zhang's avatar Linfeng Zhang
Browse files

Fix warnings: unused variable ‘plane_bsize’

Change-Id: I8e205e5b6310b345065200cfdac23f30badc3caa
parent 96fa7575
...@@ -2315,6 +2315,7 @@ void av1_predict_intra_block_facade(const AV1_COMMON *cm, MACROBLOCKD *xd, ...@@ -2315,6 +2315,7 @@ void av1_predict_intra_block_facade(const AV1_COMMON *cm, MACROBLOCKD *xd,
#if CONFIG_DEBUG #if CONFIG_DEBUG
assert(is_cfl_allowed(mbmi)); assert(is_cfl_allowed(mbmi));
const BLOCK_SIZE plane_bsize = get_plane_block_size(mbmi->sb_type, pd); const BLOCK_SIZE plane_bsize = get_plane_block_size(mbmi->sb_type, pd);
(void)plane_bsize;
assert(plane_bsize < BLOCK_SIZES_ALL); assert(plane_bsize < BLOCK_SIZES_ALL);
if (!xd->lossless[mbmi->segment_id]) { if (!xd->lossless[mbmi->segment_id]) {
assert(blk_col == 0); assert(blk_col == 0);
......
...@@ -5403,6 +5403,7 @@ static int cfl_rd_pick_alpha(MACROBLOCK *const x, const AV1_COMP *const cpi, ...@@ -5403,6 +5403,7 @@ static int cfl_rd_pick_alpha(MACROBLOCK *const x, const AV1_COMP *const cpi,
assert(is_cfl_allowed(mbmi)); assert(is_cfl_allowed(mbmi));
const BLOCK_SIZE plane_bsize = const BLOCK_SIZE plane_bsize =
get_plane_block_size(mbmi->sb_type, &xd->plane[AOM_PLANE_U]); get_plane_block_size(mbmi->sb_type, &xd->plane[AOM_PLANE_U]);
(void)plane_bsize;
assert(plane_bsize < BLOCK_SIZES_ALL); assert(plane_bsize < BLOCK_SIZES_ALL);
if (!xd->lossless[mbmi->segment_id]) { if (!xd->lossless[mbmi->segment_id]) {
assert(block_size_wide[plane_bsize] == tx_size_wide[tx_size]); assert(block_size_wide[plane_bsize] == tx_size_wide[tx_size]);
......
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