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

Git pushed a commit to branch master
in repository ffmpeg.

commit 7b56259dd5bc3eb08c1dc2dfe6b31f71db160378
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Nov 6 15:26:28 2025 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Thu Apr 30 10:39:32 2026 +0200

    avcodec/x86/constants: Move ff_pw_{15,20} to qpeldsp.asm
    
    Only used there.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/constants.c | 2 --
 libavcodec/x86/constants.h | 2 --
 libavcodec/x86/qpeldsp.asm | 6 ++++--
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/libavcodec/x86/constants.c b/libavcodec/x86/constants.c
index eb01221c8d..9b0d6ea47b 100644
--- a/libavcodec/x86/constants.c
+++ b/libavcodec/x86/constants.c
@@ -33,10 +33,8 @@ DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_5)    = { 
0x0005000500050005ULL, 0
 DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_7)    = { 0x0007000700070007ULL, 
0x0007000700070007ULL };
 DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_8)    = { 0x0008000800080008ULL, 
0x0008000800080008ULL };
 DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_9)    = { 0x0009000900090009ULL, 
0x0009000900090009ULL };
-DECLARE_ALIGNED(8,  const uint64_t, ff_pw_15)   =   0x000F000F000F000FULL;
 DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_16)   = { 0x0010001000100010ULL, 
0x0010001000100010ULL };
 DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_18)   = { 0x0012001200120012ULL, 
0x0012001200120012ULL };
-DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_20)   = { 0x0014001400140014ULL, 
0x0014001400140014ULL };
 DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_32)   = { 0x0020002000200020ULL, 
0x0020002000200020ULL };
 DECLARE_ASM_ALIGNED(8,  const uint64_t, ff_pw_53)   =   0x0035003500350035ULL;
 DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_64)   = { 0x0040004000400040ULL, 
0x0040004000400040ULL };
diff --git a/libavcodec/x86/constants.h b/libavcodec/x86/constants.h
index 4c4d32ac8d..92ad9bb341 100644
--- a/libavcodec/x86/constants.h
+++ b/libavcodec/x86/constants.h
@@ -33,10 +33,8 @@ extern const xmm_reg  ff_pw_5;
 extern const xmm_reg  ff_pw_7;
 extern const xmm_reg  ff_pw_8;
 extern const xmm_reg  ff_pw_9;
-extern const uint64_t ff_pw_15;
 extern const xmm_reg  ff_pw_16;
 extern const xmm_reg  ff_pw_18;
-extern const xmm_reg  ff_pw_20;
 extern const xmm_reg  ff_pw_32;
 extern const uint64_t ff_pw_53;
 extern const xmm_reg  ff_pw_64;
diff --git a/libavcodec/x86/qpeldsp.asm b/libavcodec/x86/qpeldsp.asm
index f1504b14fc..09b038afc9 100644
--- a/libavcodec/x86/qpeldsp.asm
+++ b/libavcodec/x86/qpeldsp.asm
@@ -23,11 +23,13 @@
 
 %include "libavutil/x86/x86util.asm"
 
+SECTION_RODATA
+
 cextern pb_1
 cextern pw_3
-cextern pw_15
+pw_15: times 4 dw 15
 cextern pw_16
-cextern pw_20
+pw_20: times 4 dw 20
 
 
 SECTION .text

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

Reply via email to