This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7ce1d0a1b9344046543a8ed8fc53cb262b55db71 Author: Frank Plowman <[email protected]> AuthorDate: Sat Oct 31 15:15:22 2026 +0000 Commit: frankplow <[email protected]> CommitDate: Sun Nov 8 09:24:05 2026 +0000 lavc/vvc: Fix shift derivation in put_uni_w_scaled Should match the non-RPR version in put_uni_w_pixels Signed-off-by: Frank Plowman <[email protected]> --- libavcodec/vvc/inter_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vvc/inter_template.c b/libavcodec/vvc/inter_template.c index e06eab5ffa..f78a394644 100644 --- a/libavcodec/vvc/inter_template.c +++ b/libavcodec/vvc/inter_template.c @@ -123,7 +123,7 @@ static void av_always_inline FUNC(put_uni_w_scaled)(uint8_t *_dst, const ptrdiff pixel *dst = (pixel*)_dst; const ptrdiff_t dst_stride = _dst_stride / sizeof(pixel); const ptrdiff_t src_stride = _src_stride / sizeof(pixel); - const int shift = FFMAX(2, 14 - BIT_DEPTH); + const int shift = denom + FFMAX(2, 14 - BIT_DEPTH); const int offset = 1 << (shift - 1); const int ox = _ox * (1 << (BIT_DEPTH - 8)); const int taps = is_chroma ? VVC_INTER_CHROMA_TAPS : VVC_INTER_LUMA_TAPS; -- 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]
