|
|
|
@ -86,19 +86,6 @@ int32_t ff_scalarproduct_and_madd_int16_ssse3(int16_t *v1, const int16_t *v2, |
|
|
|
|
const int16_t *v3, |
|
|
|
|
int order, int mul); |
|
|
|
|
|
|
|
|
|
void ff_apply_window_int16_round_mmxext(int16_t *output, const int16_t *input, |
|
|
|
|
const int16_t *window, unsigned int len); |
|
|
|
|
void ff_apply_window_int16_round_sse2(int16_t *output, const int16_t *input, |
|
|
|
|
const int16_t *window, unsigned int len); |
|
|
|
|
void ff_apply_window_int16_mmxext(int16_t *output, const int16_t *input, |
|
|
|
|
const int16_t *window, unsigned int len); |
|
|
|
|
void ff_apply_window_int16_sse2(int16_t *output, const int16_t *input, |
|
|
|
|
const int16_t *window, unsigned int len); |
|
|
|
|
void ff_apply_window_int16_ssse3(int16_t *output, const int16_t *input, |
|
|
|
|
const int16_t *window, unsigned int len); |
|
|
|
|
void ff_apply_window_int16_ssse3_atom(int16_t *output, const int16_t *input, |
|
|
|
|
const int16_t *window, unsigned int len); |
|
|
|
|
|
|
|
|
|
void ff_bswap32_buf_ssse3(uint32_t *dst, const uint32_t *src, int w); |
|
|
|
|
void ff_bswap32_buf_sse2(uint32_t *dst, const uint32_t *src, int w); |
|
|
|
|
|
|
|
|
@ -586,12 +573,6 @@ static av_cold void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx, |
|
|
|
|
|
|
|
|
|
c->scalarproduct_int16 = ff_scalarproduct_int16_mmxext; |
|
|
|
|
c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_mmxext; |
|
|
|
|
|
|
|
|
|
if (avctx->flags & CODEC_FLAG_BITEXACT) { |
|
|
|
|
c->apply_window_int16 = ff_apply_window_int16_mmxext; |
|
|
|
|
} else { |
|
|
|
|
c->apply_window_int16 = ff_apply_window_int16_round_mmxext; |
|
|
|
|
} |
|
|
|
|
#endif /* HAVE_MMXEXT_EXTERNAL */ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -647,11 +628,6 @@ static av_cold void dsputil_init_sse2(DSPContext *c, AVCodecContext *avctx, |
|
|
|
|
} else { |
|
|
|
|
c->vector_clip_int32 = ff_vector_clip_int32_sse2; |
|
|
|
|
} |
|
|
|
|
if (avctx->flags & CODEC_FLAG_BITEXACT) { |
|
|
|
|
c->apply_window_int16 = ff_apply_window_int16_sse2; |
|
|
|
|
} else if (!(cpu_flags & AV_CPU_FLAG_SSE2SLOW)) { |
|
|
|
|
c->apply_window_int16 = ff_apply_window_int16_round_sse2; |
|
|
|
|
} |
|
|
|
|
c->bswap_buf = ff_bswap32_buf_sse2; |
|
|
|
|
#endif /* HAVE_SSE2_EXTERNAL */ |
|
|
|
|
} |
|
|
|
@ -664,10 +640,6 @@ static av_cold void dsputil_init_ssse3(DSPContext *c, AVCodecContext *avctx, |
|
|
|
|
if (cpu_flags & AV_CPU_FLAG_SSE4) // not really SSE4, just slow on Conroe
|
|
|
|
|
c->add_hfyu_left_prediction = ff_add_hfyu_left_prediction_sse4; |
|
|
|
|
|
|
|
|
|
if (cpu_flags & AV_CPU_FLAG_ATOM) |
|
|
|
|
c->apply_window_int16 = ff_apply_window_int16_ssse3_atom; |
|
|
|
|
else |
|
|
|
|
c->apply_window_int16 = ff_apply_window_int16_ssse3; |
|
|
|
|
if (!(cpu_flags & (AV_CPU_FLAG_SSE42 | AV_CPU_FLAG_3DNOW))) // cachesplit
|
|
|
|
|
c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_ssse3; |
|
|
|
|
c->bswap_buf = ff_bswap32_buf_ssse3; |
|
|
|
|