Commit 27a4fb68 authored by Hui Su's avatar Hui Su

Fix the logic for skipping in-loop filters in loopfilter_frame()

Change-Id: I976b4a684d6d309da6b1076627f7e1e058e72932
parent 845057f1
......@@ -4607,9 +4607,10 @@ static void loopfilter_frame(AV1_COMP *cpi, AV1_COMMON *cm) {
MACROBLOCKD *xd = &cpi->td.mb.e_mbd;
struct loopfilter *lf = &cm->lf;
int no_loopfilter = 0;
int no_cdef = 0;
#if CONFIG_LOOP_RESTORATION
int no_restoration = 0;
#endif // CONFIG_LOOP_RESTORATION
if (is_lossless_requested(&cpi->oxcf)
#if CONFIG_INTRABC
|| (cm->allow_intrabc && NO_FILTER_FOR_IBC)
......@@ -4619,11 +4620,16 @@ static void loopfilter_frame(AV1_COMP *cpi, AV1_COMMON *cm) {
#endif // CONFIG_EXT_TILE
) {
no_loopfilter = 1;
#if CONFIG_LOOP_RESTORATION
no_restoration = 1;
#endif // CONFIG_LOOP_RESTORATION
}
#endif
int no_cdef = 0;
if (is_lossless_requested(&cpi->oxcf) || !cpi->oxcf.using_cdef
#if CONFIG_INTRABC
|| (cm->allow_intrabc && NO_FILTER_FOR_IBC)
#endif // CONFIG_INTRABC
#if CONFIG_EXT_TILE
|| cm->single_tile_decoding
#endif
......
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