Commit cf2b220247 for ffmpeg
commit cf2b2202475d75079a701ef048036b5d27769163
Author: Wu Jianhua <toqsxw@outlook.com>
Date: Fri May 2 20:27:29 2025 +0800
avcodec/vvc/dsp: init dsp template for 14 bits
Signed-off-by: Wu Jianhua <toqsxw@outlook.com>
diff --git a/libavcodec/vvc/dsp.c b/libavcodec/vvc/dsp.c
index 60372cca45..04d9b24a42 100644
--- a/libavcodec/vvc/dsp.c
+++ b/libavcodec/vvc/dsp.c
@@ -83,6 +83,10 @@ typedef struct IntraEdgeParams {
#include "dsp_template.c"
#undef BIT_DEPTH
+#define BIT_DEPTH 14
+#include "dsp_template.c"
+#undef BIT_DEPTH
+
void ff_vvc_dsp_init(VVCDSPContext *vvcdsp, int bit_depth)
{
#undef FUNC
@@ -98,6 +102,9 @@ void ff_vvc_dsp_init(VVCDSPContext *vvcdsp, int bit_depth)
FUNC(ff_vvc_alf_dsp_init, depth)(&vvcdsp->alf); \
switch (bit_depth) {
+ case 14:
+ VVC_DSP(14);
+ break;
case 12:
VVC_DSP(12);
break;