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

Git pushed a commit to branch master
in repository ffmpeg.

commit 3928c291b75420cc5fe7e17fb0541f6fceb7314c
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Jul 28 18:06:41 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Aug 2 02:00:49 2026 +0200

    avcodec/x86/huffyuvdsp: Remove unaligned add_int16 version
    
    Both source and dst are always properly aligned (to stride align)
    here; also document this fact.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/huffyuvdsp.h       | 2 +-
 libavcodec/x86/huffyuvdsp.asm | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/libavcodec/huffyuvdsp.h b/libavcodec/huffyuvdsp.h
index 3f319b17c2..5644d75b06 100644
--- a/libavcodec/huffyuvdsp.h
+++ b/libavcodec/huffyuvdsp.h
@@ -23,7 +23,7 @@
 #include "libavutil/pixfmt.h"
 
 typedef struct HuffYUVDSPContext {
-    void (*add_int16)(uint16_t *dst/*align 16*/, const uint16_t *src/*align 
16*/,
+    void (*add_int16)(uint16_t *dst/*stride align*/, const uint16_t 
*src/*stride align*/,
                       unsigned mask, int w);
 
     void (*add_hfyu_median_pred_int16)(uint16_t *dst, const uint16_t *top,
diff --git a/libavcodec/x86/huffyuvdsp.asm b/libavcodec/x86/huffyuvdsp.asm
index c1b375f479..114083436a 100644
--- a/libavcodec/x86/huffyuvdsp.asm
+++ b/libavcodec/x86/huffyuvdsp.asm
@@ -32,13 +32,7 @@ SECTION .text
 
 %macro ADD_INT16 0
 cglobal add_int16, 4,4,5, dst, src, mask, w, tmp
-    test srcq, mmsize-1
-    jnz .unaligned
-    test dstq, mmsize-1
-    jnz .unaligned
     INT16_LOOP a, add
-.unaligned:
-    INT16_LOOP u, add
 %endmacro
 
 INIT_XMM sse2

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

Reply via email to