Commit 213ce98f authored by Luc Trudeau's avatar Luc Trudeau
Browse files

Revert "Fix warnings: unused variable ‘plane_bsize’"

This reverts commit 9abda591.

Reason for revert: This will only throw a warning on problematic configurations (CONFIG_DEBUG should not be enabled in relase)

Change-Id: I12000e9ee95b9691f233a877fca2073f3566bdb6
parent 79641202
...@@ -2280,7 +2280,6 @@ void av1_predict_intra_block_facade(const AV1_COMMON *cm, MACROBLOCKD *xd, ...@@ -2280,7 +2280,6 @@ 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);
......
...@@ -5163,7 +5163,6 @@ static int cfl_rd_pick_alpha(MACROBLOCK *const x, const AV1_COMP *const cpi, ...@@ -5163,7 +5163,6 @@ 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