[FFmpeg-cvslog] avcodec/vvcdec: misc, remove unused ALFParams.applied
Nuo Mi
git at videolan.org
Tue Jun 25 14:47:44 EEST 2024
ffmpeg | branch: master | Nuo Mi <nuomi2021 at gmail.com> | Sun Jun 16 23:44:23 2024 -0400| [9b532ace0292711c837a801d535ddd029a08e876] | committer: Nuo Mi
avcodec/vvcdec: misc, remove unused ALFParams.applied
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9b532ace0292711c837a801d535ddd029a08e876
---
libavcodec/vvc/ctu.h | 2 --
libavcodec/vvc/filter.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/libavcodec/vvc/ctu.h b/libavcodec/vvc/ctu.h
index a987328d81..432dbc5ade 100644
--- a/libavcodec/vvc/ctu.h
+++ b/libavcodec/vvc/ctu.h
@@ -461,8 +461,6 @@ typedef struct ALFParams {
uint8_t ctb_filt_set_idx_y; ///< AlfCtbFiltSetIdxY
uint8_t alf_ctb_filter_alt_idx[2]; ///< alf_ctb_filter_alt_idx[]
uint8_t ctb_cc_idc[2]; ///< alf_ctb_cc_cb_idc, alf_ctb_cc_cr_idc
-
- uint8_t applied[3];
} ALFParams;
/**
diff --git a/libavcodec/vvc/filter.c b/libavcodec/vvc/filter.c
index 546ec75c65..e6c0e89989 100644
--- a/libavcodec/vvc/filter.c
+++ b/libavcodec/vvc/filter.c
@@ -1118,8 +1118,6 @@ void ff_vvc_alf_filter(VVCLocalContext *lc, const int x0, const int y0)
alf_filter_cc(lc, src, padded, src_stride, padded_stride, c_idx,
width, height, hs, vs, (ctb_size_v << vs) - ALF_VB_POS_ABOVE_LUMA, alf);
}
-
- alf->applied[c_idx] = 1;
}
}
More information about the ffmpeg-cvslog
mailing list