This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit dee361a5bfe4869c2c3b29c50c97b134e3031880 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Feb 22 15:21:23 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Fri Mar 6 20:02:41 2026 +0100 avcodec/x86/vvc/of: Avoid initialization, addition for last block When processing the last block, we no longer need to preserve some registers for the next block, allowing simplifications. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/x86/vvc/of.asm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavcodec/x86/vvc/of.asm b/libavcodec/x86/vvc/of.asm index 8ad68aa16f..b77e1fdf68 100644 --- a/libavcodec/x86/vvc/of.asm +++ b/libavcodec/x86/vvc/of.asm @@ -333,21 +333,25 @@ INIT_YMM avx2 BDOF_PROF_GRAD %1 * 4 + 1, 0 BDOF_PROF_GRAD %1 * 4 + 2, 0 +%if (%2) + BDOF_PROF_GRAD %1 * 4 + 3, %2 + BDOF_VX_VY 12, 13 + APPLY_BDOF_MIN_BLOCK %1, m12, m13, bd +%else mova m14, m12 mova m15, m13 pxor m12, m12 pxor m13, m13 - BDOF_PROF_GRAD %1 * 4 + 3, %2 -%if (%2) == 0 + BDOF_PROF_GRAD %1 * 4 + 3, 0 BDOF_PROF_GRAD %1 * 4 + 4, 0 -%endif paddw m14, m12 paddw m15, m13 BDOF_VX_VY 14, 15 APPLY_BDOF_MIN_BLOCK %1, m14, m15, bd lea dstq, [dstq + 4 * dsq] +%endif %endmacro ;void ff_vvc_apply_bdof_%1(uint8_t *dst, const ptrdiff_t dst_stride, int16_t *src0, int16_t *src1, _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
