summaryrefslogtreecommitdiff
path: root/libavresample/x86/dither_init.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-01 00:22:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-01 00:22:47 +0200
commitb66b1a103fff88682fab7960e698080f6b847098 (patch)
tree4b4058741259059d47467dce4b2c59f856635483 /libavresample/x86/dither_init.c
parentc16e99e3b3c02edcf33245468731d414eab97dac (diff)
parentd68c05380cebf563915412182643a8be04ef890b (diff)
Merge commit 'd68c05380cebf563915412182643a8be04ef890b'
* commit 'd68c05380cebf563915412182643a8be04ef890b': x86: check for AV_CPU_FLAG_AVXSLOW where useful See: c16e99e3b3c02edcf33245468731d414eab97dac Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavresample/x86/dither_init.c')
-rw-r--r--libavresample/x86/dither_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavresample/x86/dither_init.c b/libavresample/x86/dither_init.c
index 816d4b05d0..ad157b96b1 100644
--- a/libavresample/x86/dither_init.c
+++ b/libavresample/x86/dither_init.c
@@ -46,14 +46,14 @@ av_cold void ff_dither_init_x86(DitherDSPContext *ddsp,
if (EXTERNAL_SSE2(cpu_flags)) {
ddsp->dither_int_to_float = ff_dither_int_to_float_rectangular_sse2;
}
- if (EXTERNAL_AVX(cpu_flags)) {
+ if (EXTERNAL_AVX_FAST(cpu_flags)) {
ddsp->dither_int_to_float = ff_dither_int_to_float_rectangular_avx;
}
} else {
if (EXTERNAL_SSE2(cpu_flags)) {
ddsp->dither_int_to_float = ff_dither_int_to_float_triangular_sse2;
}
- if (EXTERNAL_AVX(cpu_flags)) {
+ if (EXTERNAL_AVX_FAST(cpu_flags)) {
ddsp->dither_int_to_float = ff_dither_int_to_float_triangular_avx;
}
}