[FFmpeg-cvslog] avcodec/vvc/cabac: add ff_vvc_cu_act_enabled_flag
Wu Jianhua
git at videolan.org
Sat May 17 06:19:08 EEST 2025
ffmpeg | branch: master | Wu Jianhua <toqsxw at outlook.com> | Wed May 14 21:40:20 2025 +0800| [b9c5fb0d0043fd2e2993040da17d908ec2938ef0] | committer: Nuo Mi
avcodec/vvc/cabac: add ff_vvc_cu_act_enabled_flag
Signed-off-by: Wu Jianhua <toqsxw at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9c5fb0d0043fd2e2993040da17d908ec2938ef0
---
libavcodec/vvc/cabac.c | 5 +++++
libavcodec/vvc/cabac.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/libavcodec/vvc/cabac.c b/libavcodec/vvc/cabac.c
index 700b719b7c..6847ce59af 100644
--- a/libavcodec/vvc/cabac.c
+++ b/libavcodec/vvc/cabac.c
@@ -1703,6 +1703,11 @@ int ff_vvc_tu_y_coded_flag(VVCLocalContext *lc)
return lc->parse.prev_tu_cbf_y;
}
+int ff_vvc_cu_act_enabled_flag(VVCLocalContext *lc)
+{
+ return GET_CABAC(CU_ACT_ENABLED_FLAG);
+}
+
int ff_vvc_cu_qp_delta_abs(VVCLocalContext *lc)
{
int v, i, k;
diff --git a/libavcodec/vvc/cabac.h b/libavcodec/vvc/cabac.h
index 92f0163c85..972890317e 100644
--- a/libavcodec/vvc/cabac.h
+++ b/libavcodec/vvc/cabac.h
@@ -120,6 +120,7 @@ int ff_vvc_bcw_idx(VVCLocalContext *lc, int no_backward_pred_flag);
int ff_vvc_tu_cb_coded_flag(VVCLocalContext *lc);
int ff_vvc_tu_cr_coded_flag(VVCLocalContext *lc, int tu_cb_coded_flag);
int ff_vvc_tu_y_coded_flag(VVCLocalContext *lc);
+int ff_vvc_cu_act_enabled_flag(VVCLocalContext *lc);
int ff_vvc_cu_chroma_qp_offset_flag(VVCLocalContext *lc);
int ff_vvc_cu_chroma_qp_offset_idx(VVCLocalContext *lc);
int ff_vvc_tu_joint_cbcr_residual_flag(VVCLocalContext *lc, int tu_cb_coded_flag, int tu_cr_coded_flag);
More information about the ffmpeg-cvslog
mailing list