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

Git pushed a commit to branch master
in repository ffmpeg.

commit 272e7a047bb69a5f27d6265038dc6f58756fef8f
Author:     Niklas Haas <[email protected]>
AuthorDate: Tue Jan 13 15:22:31 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Thu Feb 19 19:44:46 2026 +0000

    swscale/ops_backend: add clear pattern for ya8 alpha
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_tmpl_common.c | 1 +
 libswscale/ops_tmpl_int.c    | 1 +
 libswscale/x86/ops_int.asm   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/libswscale/ops_tmpl_common.c b/libswscale/ops_tmpl_common.c
index 9490be0313..7cfec4e3f6 100644
--- a/libswscale/ops_tmpl_common.c
+++ b/libswscale/ops_tmpl_common.c
@@ -93,6 +93,7 @@ DECL_ENTRY(clear##_##X##Y##Z##W,
 
 WRAP_CLEAR(1, 1, 1, 0) /* rgba alpha */
 WRAP_CLEAR(0, 1, 1, 1) /* argb alpha */
+WRAP_CLEAR(1, 0, 1, 1) /* ya alpha */
 
 WRAP_CLEAR(0, 0, 1, 1) /* vuya chroma */
 WRAP_CLEAR(1, 0, 0, 1) /* yuva chroma */
diff --git a/libswscale/ops_tmpl_int.c b/libswscale/ops_tmpl_int.c
index da24c1985f..84596e2763 100644
--- a/libswscale/ops_tmpl_int.c
+++ b/libswscale/ops_tmpl_int.c
@@ -542,6 +542,7 @@ static const SwsOpTable fn(op_table_int) = {
         &fn(op_clear_1110),
         &fn(op_clear_0111),
         &fn(op_clear_0011),
+        &fn(op_clear_1011),
         &fn(op_clear_1001),
         &fn(op_clear_1100),
         &fn(op_clear_0101),
diff --git a/libswscale/x86/ops_int.asm b/libswscale/x86/ops_int.asm
index edfbabb60d..44af92a7da 100644
--- a/libswscale/x86/ops_int.asm
+++ b/libswscale/x86/ops_int.asm
@@ -622,6 +622,7 @@ op clear
         decl_pattern 1, 1, 1, 0, clear_generic
         decl_pattern 0, 1, 1, 1, clear_generic
         decl_pattern 0, 0, 1, 1, clear_generic
+        decl_pattern 1, 0, 1, 1, clear_generic
         decl_pattern 1, 0, 0, 1, clear_generic
         decl_pattern 1, 1, 0, 0, clear_generic
         decl_pattern 0, 1, 0, 1, clear_generic

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

Reply via email to