swr: mix_1_1_int16_sse
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cbeeaf2593
commit
d504266cef
@ -167,6 +167,8 @@ MIX2_FLT u
|
|||||||
MIX2_FLT a
|
MIX2_FLT a
|
||||||
MIX1_FLT u
|
MIX1_FLT u
|
||||||
MIX1_FLT a
|
MIX1_FLT a
|
||||||
|
MIX1_INT16 u
|
||||||
|
MIX1_INT16 a
|
||||||
|
|
||||||
%if HAVE_AVX
|
%if HAVE_AVX
|
||||||
INIT_YMM 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, sse)
|
||||||
D(float, avx)
|
D(float, avx)
|
||||||
D(int16, mmx)
|
D(int16, mmx)
|
||||||
|
D(int16, sse)
|
||||||
|
|
||||||
|
|
||||||
void swri_rematrix_init_x86(struct SwrContext *s){
|
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) {
|
if(mm_flags & AV_CPU_FLAG_MMX) {
|
||||||
s->mix_1_1_simd = ff_mix_1_1_a_int16_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));
|
s->native_simd_matrix = av_mallocz(2 * num * sizeof(int16_t));
|
||||||
for(i=0; i<nb_out; i++){
|
for(i=0; i<nb_out; i++){
|
||||||
int sh = 0;
|
int sh = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user