Commit d504266c authored by Michael Niedermayer's avatar Michael Niedermayer

swr: mix_1_1_int16_sse

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cbeeaf25
......@@ -167,6 +167,8 @@ MIX2_FLT u
MIX2_FLT a
MIX1_FLT u
MIX1_FLT a
MIX1_INT16 u
MIX1_INT16 a
%if HAVE_AVX
INIT_YMM avx
......
......@@ -150,6 +150,7 @@ mix_2_1_func_type ff_mix_2_1_a_## type ## _ ## simd;
D(float, sse)
D(float, avx)
D(int16, mmx)
D(int16, sse)
void swri_rematrix_init_x86(struct SwrContext *s){
......@@ -166,6 +167,9 @@ void swri_rematrix_init_x86(struct SwrContext *s){
if(mm_flags & AV_CPU_FLAG_MMX) {
s->mix_1_1_simd = ff_mix_1_1_a_int16_mmx;
}
if(mm_flags & AV_CPU_FLAG_SSE) {
s->mix_1_1_simd = ff_mix_1_1_a_int16_sse;
}
s->native_simd_matrix = av_mallocz(2 * num * sizeof(int16_t));
for(i=0; i<nb_out; i++){
int sh = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment