This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit f83ceabd5a7277e352c25559e59978f1641bcfcf Author: Wu Jianhua <[email protected]> AuthorDate: Tue Apr 15 04:46:58 2025 +0800 Commit: jianhuaw <[email protected]> CommitDate: Sun Nov 29 10:42:10 2026 +0000 avcodec/vvc/inter_template: fix w_avg function for high bitdepth Signed-off-by: Wu Jianhua <[email protected]> --- libavcodec/vvc/inter_template.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/inter_template.c b/libavcodec/vvc/inter_template.c index e82ec7cf87..815c03ac91 100644 --- a/libavcodec/vvc/inter_template.c +++ b/libavcodec/vvc/inter_template.c @@ -202,9 +202,11 @@ static void FUNC(avg)(uint8_t *_dst, const ptrdiff_t _dst_stride, } static void FUNC(w_avg)(uint8_t *_dst, const ptrdiff_t _dst_stride, - const int16_t *src0, const int16_t *src1, const int width, const int height, + const int16_t *_src0, const int16_t *_src1, const int width, const int height, const int denom, const int w0, const int w1, const int o) { + const tpixel *src0 = (const tpixel *)_src0; + const tpixel *src1 = (const tpixel *)_src1; pixel *dst = (pixel*)_dst; const ptrdiff_t dst_stride = _dst_stride / sizeof(pixel); const int shift = denom + FFMAX(3, 15 - BIT_DEPTH); -- 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]
