aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/constants.c
diff options
context:
space:
mode:
authorJames Darnley <james.darnley@gmail.com>2015-12-30 17:20:59 +0000
committerJames Darnley <james.darnley@gmail.com>2016-01-17 16:03:43 +0100
commit3836f404a8c0ffd7c565260434768ef4ebba85a7 (patch)
treeab80a28b382bb5dec0629671a85cb07804836f31 /libavcodec/x86/constants.c
parent61625dcc395f98ad77e9378ec4eb48cf7c981bce (diff)
downloadffmpeg-3836f404a8c0ffd7c565260434768ef4ebba85a7.tar.gz
avcodec/v210: add avx2 version of the 8-bit line encoder
Around 35% faster than the avx version. Signed-off-by: Henrik Gramner <henrik@gramner.com>
Diffstat (limited to 'libavcodec/x86/constants.c')
-rw-r--r--libavcodec/x86/constants.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/x86/constants.c b/libavcodec/x86/constants.c
index 0098e20544..7e6883d587 100644
--- a/libavcodec/x86/constants.c
+++ b/libavcodec/x86/constants.c
@@ -74,7 +74,8 @@ DECLARE_ALIGNED(32, const ymm_reg, ff_pb_3) = { 0x0303030303030303ULL, 0x030
0x0303030303030303ULL, 0x0303030303030303ULL };
DECLARE_ALIGNED(32, const xmm_reg, ff_pb_15) = { 0x0F0F0F0F0F0F0F0FULL, 0x0F0F0F0F0F0F0F0FULL };
DECLARE_ALIGNED(16, const xmm_reg, ff_pb_80) = { 0x8080808080808080ULL, 0x8080808080808080ULL };
-DECLARE_ALIGNED(16, const xmm_reg, ff_pb_FE) = { 0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL };
+DECLARE_ALIGNED(32, const ymm_reg, ff_pb_FE) = { 0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL,
+ 0xFEFEFEFEFEFEFEFEULL, 0xFEFEFEFEFEFEFEFEULL };
DECLARE_ALIGNED(8, const uint64_t, ff_pb_FC) = 0xFCFCFCFCFCFCFCFCULL;
DECLARE_ALIGNED(16, const xmm_reg, ff_ps_neg) = { 0x8000000080000000ULL, 0x8000000080000000ULL };