FFmpeg
Functions | Variables
constants.c File Reference
#include "libavutil/mem.h"
#include "libavutil/x86/asm.h"
#include "constants.h"

Go to the source code of this file.

Functions

 DECLARE_ASM_ALIGNED (16, const xmm_reg, ff_pw_3)
 
 DECLARE_ASM_ALIGNED (32, const ymm_reg, ff_pw_4)
 
 DECLARE_ASM_ALIGNED (16, const xmm_reg, ff_pw_5)
 
 DECLARE_ASM_ALIGNED (16, const xmm_reg, ff_pw_9)
 
 DECLARE_ASM_ALIGNED (16, const xmm_reg, ff_pw_18)
 
 DECLARE_ASM_ALIGNED (8, const uint64_t, ff_pw_42)=0x002A002A002A002AULL
 
 DECLARE_ASM_ALIGNED (8, const uint64_t, ff_pw_53)=0x0035003500350035ULL
 
 DECLARE_ASM_ALIGNED (16, const xmm_reg, ff_pw_64)
 
 DECLARE_ASM_ALIGNED (8, const uint64_t, ff_pw_96)=0x0060006000600060ULL
 
 DECLARE_ASM_ALIGNED (8, const uint64_t, ff_pw_128)=0x0080008000800080ULL
 

Variables

const ymm_reg ff_pw_1
 
const ymm_reg ff_pw_2
 
const xmm_reg ff_pw_8 = { 0x0008000800080008ULL, 0x0008000800080008ULL }
 
const uint64_t ff_pw_15 = 0x000F000F000F000FULL
 
const xmm_reg ff_pw_16 = { 0x0010001000100010ULL, 0x0010001000100010ULL }
 
const xmm_reg ff_pw_17 = { 0x0011001100110011ULL, 0x0011001100110011ULL }
 
const xmm_reg ff_pw_20 = { 0x0014001400140014ULL, 0x0014001400140014ULL }
 
const xmm_reg ff_pw_32 = { 0x0020002000200020ULL, 0x0020002000200020ULL }
 
const ymm_reg ff_pw_255
 
const ymm_reg ff_pw_256
 
const ymm_reg ff_pw_512
 
const xmm_reg ff_pw_1019 = { 0x03FB03FB03FB03FBULL, 0x03FB03FB03FB03FBULL }
 
const ymm_reg ff_pw_1023
 
const ymm_reg ff_pw_1024
 
const ymm_reg ff_pw_2048
 
const ymm_reg ff_pw_4095
 
const ymm_reg ff_pw_4096
 
const ymm_reg ff_pw_8192
 
const ymm_reg ff_pw_m1
 
const ymm_reg ff_pb_0
 
const ymm_reg ff_pb_1
 
const ymm_reg ff_pb_2
 
const ymm_reg ff_pb_3
 
const xmm_reg ff_pb_15 = { 0x0F0F0F0F0F0F0F0FULL, 0x0F0F0F0F0F0F0F0FULL }
 
const ymm_reg ff_pb_80
 
const ymm_reg ff_pb_FE
 
const uint64_t ff_pb_FC = 0xFCFCFCFCFCFCFCFCULL
 
const xmm_reg ff_ps_neg = { 0x8000000080000000ULL, 0x8000000080000000ULL }
 
const ymm_reg ff_pd_1
 
const ymm_reg ff_pd_16
 
const ymm_reg ff_pd_32
 
const ymm_reg ff_pd_8192
 
const ymm_reg ff_pd_65535
 

Function Documentation

◆ DECLARE_ASM_ALIGNED() [1/10]

DECLARE_ASM_ALIGNED ( 16  ,
const  xmm_reg,
ff_pw_3   
)

◆ DECLARE_ASM_ALIGNED() [2/10]

DECLARE_ASM_ALIGNED ( 32  ,
const  ymm_reg,
ff_pw_4   
)

◆ DECLARE_ASM_ALIGNED() [3/10]

DECLARE_ASM_ALIGNED ( 16  ,
const  xmm_reg,
ff_pw_5   
)

◆ DECLARE_ASM_ALIGNED() [4/10]

DECLARE_ASM_ALIGNED ( 16  ,
const  xmm_reg,
ff_pw_9   
)

◆ DECLARE_ASM_ALIGNED() [5/10]

DECLARE_ASM_ALIGNED ( 16  ,
const  xmm_reg,
ff_pw_18   
)

◆ DECLARE_ASM_ALIGNED() [6/10]

DECLARE_ASM_ALIGNED ( ,
const  uint64_t,
ff_pw_42   
)
pure virtual

◆ DECLARE_ASM_ALIGNED() [7/10]

DECLARE_ASM_ALIGNED ( ,
const  uint64_t,
ff_pw_53   
)
pure virtual

◆ DECLARE_ASM_ALIGNED() [8/10]

DECLARE_ASM_ALIGNED ( 16  ,
const  xmm_reg,
ff_pw_64   
)

◆ DECLARE_ASM_ALIGNED() [9/10]

DECLARE_ASM_ALIGNED ( ,
const  uint64_t,
ff_pw_96   
)
pure virtual

◆ DECLARE_ASM_ALIGNED() [10/10]

DECLARE_ASM_ALIGNED ( ,
const  uint64_t,
ff_pw_128   
)
pure virtual

Variable Documentation

◆ ff_pw_1

const ymm_reg ff_pw_1
Initial value:
= { 0x0001000100010001ULL, 0x0001000100010001ULL,
0x0001000100010001ULL, 0x0001000100010001ULL }

Definition at line 25 of file constants.c.

◆ ff_pw_2

const ymm_reg ff_pw_2
Initial value:
= { 0x0002000200020002ULL, 0x0002000200020002ULL,
0x0002000200020002ULL, 0x0002000200020002ULL }

Definition at line 27 of file constants.c.

◆ ff_pw_8

const xmm_reg ff_pw_8 = { 0x0008000800080008ULL, 0x0008000800080008ULL }

Definition at line 33 of file constants.c.

◆ ff_pw_15

const uint64_t ff_pw_15 = 0x000F000F000F000FULL

Definition at line 35 of file constants.c.

◆ ff_pw_16

const xmm_reg ff_pw_16 = { 0x0010001000100010ULL, 0x0010001000100010ULL }

Definition at line 36 of file constants.c.

◆ ff_pw_17

const xmm_reg ff_pw_17 = { 0x0011001100110011ULL, 0x0011001100110011ULL }

Definition at line 37 of file constants.c.

◆ ff_pw_20

const xmm_reg ff_pw_20 = { 0x0014001400140014ULL, 0x0014001400140014ULL }

Definition at line 39 of file constants.c.

◆ ff_pw_32

const xmm_reg ff_pw_32 = { 0x0020002000200020ULL, 0x0020002000200020ULL }

Definition at line 40 of file constants.c.

◆ ff_pw_255

const ymm_reg ff_pw_255
Initial value:
= { 0x00ff00ff00ff00ffULL, 0x00ff00ff00ff00ffULL,
0x00ff00ff00ff00ffULL, 0x00ff00ff00ff00ffULL }

Definition at line 46 of file constants.c.

◆ ff_pw_256

const ymm_reg ff_pw_256
Initial value:
= { 0x0100010001000100ULL, 0x0100010001000100ULL,
0x0100010001000100ULL, 0x0100010001000100ULL }

Definition at line 48 of file constants.c.

◆ ff_pw_512

const ymm_reg ff_pw_512
Initial value:
= { 0x0200020002000200ULL, 0x0200020002000200ULL,
0x0200020002000200ULL, 0x0200020002000200ULL }

Definition at line 50 of file constants.c.

◆ ff_pw_1019

const xmm_reg ff_pw_1019 = { 0x03FB03FB03FB03FBULL, 0x03FB03FB03FB03FBULL }

Definition at line 52 of file constants.c.

◆ ff_pw_1023

const ymm_reg ff_pw_1023
Initial value:
= { 0x03ff03ff03ff03ffULL, 0x03ff03ff03ff03ffULL,
0x03ff03ff03ff03ffULL, 0x03ff03ff03ff03ffULL}

Definition at line 53 of file constants.c.

◆ ff_pw_1024

const ymm_reg ff_pw_1024
Initial value:
= { 0x0400040004000400ULL, 0x0400040004000400ULL,
0x0400040004000400ULL, 0x0400040004000400ULL}

Definition at line 55 of file constants.c.

◆ ff_pw_2048

const ymm_reg ff_pw_2048
Initial value:
= { 0x0800080008000800ULL, 0x0800080008000800ULL,
0x0800080008000800ULL, 0x0800080008000800ULL }

Definition at line 57 of file constants.c.

◆ ff_pw_4095

const ymm_reg ff_pw_4095
Initial value:
= { 0x0fff0fff0fff0fffULL, 0x0fff0fff0fff0fffULL,
0x0fff0fff0fff0fffULL, 0x0fff0fff0fff0fffULL }

Definition at line 59 of file constants.c.

◆ ff_pw_4096

const ymm_reg ff_pw_4096
Initial value:
= { 0x1000100010001000ULL, 0x1000100010001000ULL,
0x1000100010001000ULL, 0x1000100010001000ULL }

Definition at line 61 of file constants.c.

◆ ff_pw_8192

const ymm_reg ff_pw_8192
Initial value:
= { 0x2000200020002000ULL, 0x2000200020002000ULL,
0x2000200020002000ULL, 0x2000200020002000ULL }

Definition at line 63 of file constants.c.

◆ ff_pw_m1

const ymm_reg ff_pw_m1
Initial value:
= { 0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL,
0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL }

Definition at line 65 of file constants.c.

◆ ff_pb_0

const ymm_reg ff_pb_0
Initial value:
= { 0x0000000000000000ULL, 0x0000000000000000ULL,
0x0000000000000000ULL, 0x0000000000000000ULL }

Definition at line 68 of file constants.c.

◆ ff_pb_1

const ymm_reg ff_pb_1
Initial value:
= { 0x0101010101010101ULL, 0x0101010101010101ULL,
0x0101010101010101ULL, 0x0101010101010101ULL }

Definition at line 70 of file constants.c.

◆ ff_pb_2

const ymm_reg ff_pb_2
Initial value:
= { 0x0202020202020202ULL, 0x0202020202020202ULL,
0x0202020202020202ULL, 0x0202020202020202ULL }

Definition at line 72 of file constants.c.

◆ ff_pb_3

const ymm_reg ff_pb_3
Initial value:
= { 0x0303030303030303ULL, 0x0303030303030303ULL,
0x0303030303030303ULL, 0x0303030303030303ULL }

Definition at line 74 of file constants.c.

◆ ff_pb_15

const xmm_reg ff_pb_15 = { 0x0F0F0F0F0F0F0F0FULL, 0x0F0F0F0F0F0F0F0FULL }

Definition at line 76 of file constants.c.

◆ ff_pb_80

const ymm_reg ff_pb_80
Initial value:
= { 0x8080808080808080ULL, 0x8080808080808080ULL,
0x8080808080808080ULL, 0x8080808080808080ULL }

Definition at line 77 of file constants.c.

◆ ff_pb_FE

const ymm_reg ff_pb_FE
Initial value:
= { 0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL,
0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL }

Definition at line 79 of file constants.c.

◆ ff_pb_FC

const uint64_t ff_pb_FC = 0xFCFCFCFCFCFCFCFCULL

Definition at line 81 of file constants.c.

◆ ff_ps_neg

const xmm_reg ff_ps_neg = { 0x8000000080000000ULL, 0x8000000080000000ULL }

Definition at line 83 of file constants.c.

◆ ff_pd_1

const ymm_reg ff_pd_1
Initial value:
= { 0x0000000100000001ULL, 0x0000000100000001ULL,
0x0000000100000001ULL, 0x0000000100000001ULL }

Definition at line 85 of file constants.c.

◆ ff_pd_16

const ymm_reg ff_pd_16
Initial value:
= { 0x0000001000000010ULL, 0x0000001000000010ULL,
0x0000001000000010ULL, 0x0000001000000010ULL }

Definition at line 87 of file constants.c.

◆ ff_pd_32

const ymm_reg ff_pd_32
Initial value:
= { 0x0000002000000020ULL, 0x0000002000000020ULL,
0x0000002000000020ULL, 0x0000002000000020ULL }

Definition at line 89 of file constants.c.

◆ ff_pd_8192

const ymm_reg ff_pd_8192
Initial value:
= { 0x0000200000002000ULL, 0x0000200000002000ULL,
0x0000200000002000ULL, 0x0000200000002000ULL }

Definition at line 91 of file constants.c.

◆ ff_pd_65535

const ymm_reg ff_pd_65535
Initial value:
= { 0x0000ffff0000ffffULL, 0x0000ffff0000ffffULL,
0x0000ffff0000ffffULL, 0x0000ffff0000ffffULL }

Definition at line 93 of file constants.c.