summaryrefslogtreecommitdiff
path: root/libswresample/resample_template.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-05-15 19:54:00 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-05-16 05:27:03 +0200
commita9bf713d350a07edd17bd0cc88df92261cda79f2 (patch)
treee92b57ed09d316d96b1bcd25a967e2d5172c926c /libswresample/resample_template.c
parentcdff1cc98f3be4b8d5e51a352fc565d1a4e36f45 (diff)
swresample: add swri_resample_float_avx
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/resample_template.c')
-rw-r--r--libswresample/resample_template.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libswresample/resample_template.c b/libswresample/resample_template.c
index 7624d9291b..becff1265a 100644
--- a/libswresample/resample_template.c
+++ b/libswresample/resample_template.c
@@ -44,7 +44,8 @@
# endif
#elif defined(TEMPLATE_RESAMPLE_FLT) \
- || defined(TEMPLATE_RESAMPLE_FLT_SSE)
+ || defined(TEMPLATE_RESAMPLE_FLT_SSE) \
+ || defined(TEMPLATE_RESAMPLE_FLT_AVX)
# define FILTER_SHIFT 0
# define DELEM float
@@ -59,6 +60,10 @@
# define COMMON_CORE COMMON_CORE_FLT_SSE
# define LINEAR_CORE LINEAR_CORE_FLT_SSE
# define RENAME(N) N ## _float_sse
+# elif defined(TEMPLATE_RESAMPLE_FLT_AVX)
+# define COMMON_CORE COMMON_CORE_FLT_AVX
+# define LINEAR_CORE LINEAR_CORE_FLT_AVX
+# define RENAME(N) N ## _float_avx
# endif
#elif defined(TEMPLATE_RESAMPLE_S32)