Commit 5f22715c authored by Yaowu Xu's avatar Yaowu Xu Committed by Cheng Chen

Fix compiler error when lpf_sb is on

Change-Id: I3801ba8ad8dc5229e95832e46753255ed536efba
parent 8265d70c
......@@ -2343,14 +2343,11 @@ static const uint8_t *decode_tiles(AV1Decoder *pbi, const uint8_t *data,
#endif // CONFIG_INTRABC && !CONFIG_LPF_SB
{
// Loopfilter the whole frame.
#if CONFIG_LPF_SB
av1_loop_filter_frame(get_frame_new_buffer(cm), cm, &pbi->mb,
cm->lf.filter_level, 0, 0, 0, 0);
#else
#if !CONFIG_LPF_SB
#if CONFIG_OBU
if (endTile == cm->tile_rows * cm->tile_cols - 1)
#endif
#if CONFIG_LOOPFILTER_LEVEL && !CONFIG_LPF_SB
#if CONFIG_LOOPFILTER_LEVEL
if (cm->lf.filter_level[0] || cm->lf.filter_level[1]) {
av1_loop_filter_frame(get_frame_new_buffer(cm), cm, &pbi->mb,
cm->lf.filter_level[0], cm->lf.filter_level[1], 0,
......@@ -2362,7 +2359,7 @@ static const uint8_t *decode_tiles(AV1Decoder *pbi, const uint8_t *data,
cm->lf.filter_level_v, cm->lf.filter_level_v, 2,
0);
}
#elif !CONFIG_LPF_SB
#else
av1_loop_filter_frame(get_frame_new_buffer(cm), cm, &pbi->mb,
cm->lf.filter_level, 0, 0);
#endif // CONFIG_LOOPFILTER_LEVEL
......
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