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

Git pushed a commit to branch master
in repository ffmpeg.

commit 025c44cae000f4ce864173abc99fe144c7f2848c
Author:     Wu Jianhua <[email protected]>
AuthorDate: Tue Apr 15 04:47:05 2025 +0800
Commit:     jianhuaw <[email protected]>
CommitDate: Sun Nov 29 10:42:10 2026 +0000

    avcodec/vvc/inter_template: fix put_gpm function for high bitdepth
    
    This commit fixed the decoding process for geometric partitioning mode 
inter blocks
    
    Signed-off-by: Wu Jianhua <[email protected]>
---
 libavcodec/vvc/inter_template.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/libavcodec/vvc/inter_template.c b/libavcodec/vvc/inter_template.c
index 71eaa43195..43c08b76f2 100644
--- a/libavcodec/vvc/inter_template.c
+++ b/libavcodec/vvc/inter_template.c
@@ -245,12 +245,14 @@ static void FUNC(put_ciip)(uint8_t *_dst, const ptrdiff_t 
_dst_stride,
 
 static void FUNC(put_gpm)(uint8_t *_dst, ptrdiff_t dst_stride,
     const int width, const int height,
-    const int16_t *src0, const int16_t *src1,
+    const int16_t *_src0, const int16_t *_src1,
     const uint8_t *weights, const int step_x, const int step_y)
 {
-    const int shift  = FFMAX(5, 17 - BIT_DEPTH);
-    const int offset = 1 << (shift - 1);
-    pixel *dst       = (pixel *)_dst;
+    const tpixel *src0 = (const tpixel *)_src0;
+    const tpixel *src1 = (const tpixel *)_src1;
+    pixel *dst         = (pixel *)_dst;
+    const int shift    = FFMAX(5, 17 - BIT_DEPTH);
+    const int offset   = 1 << (shift - 1);
 
     dst_stride /= sizeof(pixel);
     for (int y = 0; y < height; y++) {

-- 
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