This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7452eccc083a847e9703d03ac0407190d77fb248 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Thu Aug 13 15:41:45 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Fri Aug 14 21:21:52 2026 +0200 swscale/x86/rgb_2_rgb: Remove useless macro x86inc's VEX emulation can handle this just fine. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libswscale/x86/rgb_2_rgb.asm | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/libswscale/x86/rgb_2_rgb.asm b/libswscale/x86/rgb_2_rgb.asm index 120cc95c4a..a9de16116d 100644 --- a/libswscale/x86/rgb_2_rgb.asm +++ b/libswscale/x86/rgb_2_rgb.asm @@ -57,16 +57,6 @@ shuf_packus_avx2: db 0, 0, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 5, 0, 0, 0,\ SECTION .text -%macro RSHIFT_COPY 3 -; %1 dst ; %2 src ; %3 shift -%if cpuflag(avx) || cpuflag(avx2) || cpuflag(avx512icl) - psrldq %1, %2, %3 -%else - mova %1, %2 - RSHIFT %1, %3 -%endif -%endmacro - ;------------------------------------------------------------------------------ ; shuffle_bytes_## (const uint8_t *src, uint8_t *dst, int src_size) ;------------------------------------------------------------------------------ @@ -315,10 +305,10 @@ cglobal uyvytoyuv422, 9, 14, 8 + cpuflag(avx2) + cpuflag(avx512icl), ydst, udst, movu [ydstq + wq + mmsize], m7 %else ; extract y part 1 - RSHIFT_COPY m6, m2, 1 ; UYVY UYVY -> YVYU YVY... + psrldq m6, m2, 1 ; UYVY UYVY -> YVYU YVY... pand m6, m1 ; YxYx YxYx... - RSHIFT_COPY m7, m3, 1 ; UYVY UYVY -> YVYU YVY... + psrldq m7, m3, 1 ; UYVY UYVY -> YVYU YVY... pand m7, m1 ; YxYx YxYx... packuswb m6, m7 ; YYYY YYYY... @@ -328,10 +318,10 @@ cglobal uyvytoyuv422, 9, 14, 8 + cpuflag(avx2) + cpuflag(avx512icl), ydst, udst, movu [ydstq + wq], m6 ; extract y part 2 - RSHIFT_COPY m6, m4, 1 ; UYVY UYVY -> YVYU YVY... + psrldq m6, m4, 1 ; UYVY UYVY -> YVYU YVY... pand m6, m1 ; YxYx YxYx... - RSHIFT_COPY m7, m5, 1 ; UYVY UYVY -> YVYU YVY... + psrldq m7, m5, 1 ; UYVY UYVY -> YVYU YVY... pand m7, m1 ; YxYx YxYx... packuswb m6, m7 ; YYYY YYYY... _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
