This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 77588898e2b7f7743f942395a0791de18870f322
Author:     Niklas Haas <[email protected]>
AuthorDate: Mon Mar 9 19:32:08 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Sat Mar 28 18:50:14 2026 +0100

    swscale/x86/ops: add some missing packed shuffle instances
    
    Missing ayuv64le -> gray and vyu444 -> gray; these conversions can arise
    transiently during scaling.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/x86/ops.c       | 2 ++
 libswscale/x86/ops_int.asm | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/libswscale/x86/ops.c b/libswscale/x86/ops.c
index ce4e635cb3..9d0131c7e5 100644
--- a/libswscale/x86/ops.c
+++ b/libswscale/x86/ops.c
@@ -655,9 +655,11 @@ do {
     ASSIGN_SHUFFLE_FUNC(10, 15, sse4);
     ASSIGN_SHUFFLE_FUNC( 8, 16, sse4);
     ASSIGN_SHUFFLE_FUNC( 4, 12, sse4);
+    ASSIGN_SHUFFLE_FUNC(15,  5, sse4);
     ASSIGN_SHUFFLE_FUNC(15, 15, sse4);
     ASSIGN_SHUFFLE_FUNC(12, 16, sse4);
     ASSIGN_SHUFFLE_FUNC( 6, 12, sse4);
+    ASSIGN_SHUFFLE_FUNC(16,  4, sse4);
     ASSIGN_SHUFFLE_FUNC(16, 12, sse4);
     ASSIGN_SHUFFLE_FUNC(16, 16, sse4);
     ASSIGN_SHUFFLE_FUNC( 8, 12, sse4);
diff --git a/libswscale/x86/ops_int.asm b/libswscale/x86/ops_int.asm
index d3b0c0de31..e715ffe700 100644
--- a/libswscale/x86/ops_int.asm
+++ b/libswscale/x86/ops_int.asm
@@ -208,9 +208,11 @@ packed_shuffle 16,  8 ; 16 -> 8
 packed_shuffle 10, 15 ; 16 -> 24
 packed_shuffle  8, 16 ; 16 -> 32, 32 -> 64
 packed_shuffle  4, 12 ; 16 -> 48
+packed_shuffle 15,  5 ; 24 -> 8
 packed_shuffle 15, 15 ; 24 -> 24
 packed_shuffle 12, 16 ; 24 -> 32
 packed_shuffle  6, 12 ; 24 -> 48
+packed_shuffle 16,  4 ; 32 -> 8,  64 -> 16
 packed_shuffle 16, 12 ; 32 -> 24, 64 -> 48
 packed_shuffle 16, 16 ; 32 -> 32, 64 -> 64
 packed_shuffle  8, 12 ; 32 -> 48

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to