This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 06fa26d2e8ac587831ff5e474dba4177f600ba9c Author: Andreas Rheinhardt <[email protected]> AuthorDate: Thu Mar 26 17:59:53 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Mon Mar 30 13:51:53 2026 +0200 avcodec/x86/vvc/of: Deduplicate common code The height 8 and 16 cases differ from the second BDOF mini block onwards, but even the beginning of said mini block is the same and can therefore be deduplicated. This saves 821B here. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/x86/vvc/of.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavcodec/x86/vvc/of.asm b/libavcodec/x86/vvc/of.asm index f733886888..d40ed73b3b 100644 --- a/libavcodec/x86/vvc/of.asm +++ b/libavcodec/x86/vvc/of.asm @@ -305,8 +305,10 @@ INIT_YMM avx2 BDOF_PROF_GRAD 0, 0 %endif +%if (%1) != 1 BDOF_PROF_GRAD %1 * 4 + 1, 0 BDOF_PROF_GRAD %1 * 4 + 2, 0 +%endif %if (%2) BDOF_PROF_GRAD %1 * 4 + 3, %2 @@ -361,6 +363,9 @@ PROLOGUE 6, 9, 16, BDOF_STACK_SIZE*32, dst, ds, src0, src1, w, h, pixel_max, ds3 BDOF_MINI_BLOCKS 0, 0 + BDOF_PROF_GRAD 1 * 4 + 1, 0 + BDOF_PROF_GRAD 1 * 4 + 2, 0 + cmp hd, 16 je .h16 BDOF_MINI_BLOCKS 1, 1 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
