This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 00ccd2d0413986464936f1847b85cacbd420a6e4
Author:     Wu Jianhua <[email protected]>
AuthorDate: Tue Apr 15 04:43:01 2025 +0800
Commit:     jianhuaw <[email protected]>
CommitDate: Sun Nov 29 10:42:10 2026 +0000

    avcodec/vvc/filter_template: fix alf_filter_chroma function for high 
bitdepth
    
    This commit fixed Coding tree block filtering process for chroma samples
    
    Signed-off-by: Wu Jianhua <[email protected]>
---
 libavcodec/vvc/filter_template.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/libavcodec/vvc/filter_template.c b/libavcodec/vvc/filter_template.c
index 708232e083..3e455c37dd 100644
--- a/libavcodec/vvc/filter_template.c
+++ b/libavcodec/vvc/filter_template.c
@@ -136,13 +136,14 @@ static void FUNC(alf_filter_luma)(uint8_t *_dst, 
ptrdiff_t dst_stride, const uin
 }
 
 static void FUNC(alf_filter_chroma)(uint8_t* _dst, ptrdiff_t dst_stride, const 
uint8_t* _src, ptrdiff_t src_stride,
-    const int width, const int height, const int16_t* filter, const int16_t* 
clip, const int vb_pos)
+    const int width, const int height, const int16_t *filter, const int16_t 
*_clip, const int vb_pos)
 {
-    const pixel *src = (pixel *)_src;
-    const int shift  = 7;
-    const int offset = 1 << ( shift - 1 );
-    const int vb_above  = vb_pos - 2;
-    const int vb_below  = vb_pos + 1;
+    const pixel *src   = (pixel *)_src;
+    const tpixel *clip = (const tpixel *)_clip;
+    const int shift    = 7;
+    const int offset   = 1 << ( shift - 1 );
+    const int vb_above = vb_pos - 2;
+    const int vb_below = vb_pos + 1;
 
     dst_stride /= sizeof(pixel);
     src_stride /= sizeof(pixel);

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to