1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/x86/constants: add pd_64

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2025-04-25 23:20:58 -03:00
parent 6dd83fab44
commit 8bb682d454
5 changed files with 8 additions and 6 deletions

View File

@ -85,6 +85,8 @@ DECLARE_ALIGNED(32, const ymm_reg, ff_pd_16) = { 0x0000001000000010ULL, 0x000
0x0000001000000010ULL, 0x0000001000000010ULL }; 0x0000001000000010ULL, 0x0000001000000010ULL };
DECLARE_ALIGNED(32, const ymm_reg, ff_pd_32) = { 0x0000002000000020ULL, 0x0000002000000020ULL, DECLARE_ALIGNED(32, const ymm_reg, ff_pd_32) = { 0x0000002000000020ULL, 0x0000002000000020ULL,
0x0000002000000020ULL, 0x0000002000000020ULL }; 0x0000002000000020ULL, 0x0000002000000020ULL };
DECLARE_ALIGNED(32, const ymm_reg, ff_pd_64) = { 0x0000004000000040ULL, 0x0000004000000040ULL,
0x0000004000000040ULL, 0x0000004000000040ULL };
DECLARE_ALIGNED(32, const ymm_reg, ff_pd_8192) = { 0x0000200000002000ULL, 0x0000200000002000ULL, DECLARE_ALIGNED(32, const ymm_reg, ff_pd_8192) = { 0x0000200000002000ULL, 0x0000200000002000ULL,
0x0000200000002000ULL, 0x0000200000002000ULL }; 0x0000200000002000ULL, 0x0000200000002000ULL };
DECLARE_ALIGNED(32, const ymm_reg, ff_pd_65535)= { 0x0000ffff0000ffffULL, 0x0000ffff0000ffffULL, DECLARE_ALIGNED(32, const ymm_reg, ff_pd_65535)= { 0x0000ffff0000ffffULL, 0x0000ffff0000ffffULL,

View File

@ -64,6 +64,7 @@ extern const xmm_reg ff_ps_neg;
extern const ymm_reg ff_pd_1; extern const ymm_reg ff_pd_1;
extern const ymm_reg ff_pd_16; extern const ymm_reg ff_pd_16;
extern const ymm_reg ff_pd_32; extern const ymm_reg ff_pd_32;
extern const ymm_reg ff_pd_64;
extern const ymm_reg ff_pd_8192; extern const ymm_reg ff_pd_8192;
extern const ymm_reg ff_pd_65535; extern const ymm_reg ff_pd_65535;

View File

@ -25,7 +25,7 @@
SECTION_RODATA SECTION_RODATA
pd_64: times 4 dd 64 cextern pd_64
pd_2048: times 4 dd 2048 pd_2048: times 4 dd 2048
pd_512: times 4 dd 512 pd_512: times 4 dd 512

View File

@ -24,8 +24,7 @@
SECTION_RODATA 32 SECTION_RODATA 32
pd_64: times 8 dd 64 cextern pd_64
cextern pw_1023 cextern pw_1023
cextern pw_4095 cextern pw_4095

View File

@ -44,8 +44,8 @@ CLASSIFY_SHUFFE: times 2 db 2, 3, 0, 1, 6, 7, 4, 5, 10, 11, 8, 9, 14, 15, 12,
TRANSPOSE_PERMUTE: dd 0, 1, 4, 5, 2, 3, 6, 7 TRANSPOSE_PERMUTE: dd 0, 1, 4, 5, 2, 3, 6, 7
ARG_VAR_SHUFFE: times 2 db 0, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4 ARG_VAR_SHUFFE: times 2 db 0, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4
cextern pd_64
dd448: times 8 dd 512 - 64 dd448: times 8 dd 512 - 64
dw64: times 8 dd 64
dd2: times 8 dd 2 dd2: times 8 dd 2
dw3: times 8 dd 3 dw3: times 8 dd 3
dw5: times 8 dd 5 dw5: times 8 dd 5
@ -287,8 +287,8 @@ SECTION .text
; output: m0, m1 ; output: m0, m1
; temp: s0q...s1q ; temp: s0q...s1q
%macro FILTER_VB 1 %macro FILTER_VB 1
vpbroadcastd m0, [dw64] vpbroadcastd m0, [pd_64]
vpbroadcastd m1, [dw64] vpbroadcastd m1, [pd_64]
GET_SRCS %1 GET_SRCS %1
%if LUMA %if LUMA