diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-06 15:27:55 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-06 20:50:06 -0500 |
commit | b8f02f5b4eeae4bd332e1c0eee75807ba6f5b431 (patch) | |
tree | 523240cc9e2bb61cc921bb0dc758389bfa4c66ad /libavcodec/x86/dsputil_mmx.c | |
parent | f2bd8a0786ded12c70d6877f16944b44ea731462 (diff) |
dsputil: use cpuflags in x86 versions of vector_clip_int32()
Diffstat (limited to 'libavcodec/x86/dsputil_mmx.c')
-rw-r--r-- | libavcodec/x86/dsputil_mmx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index 959a2c2e7e..dd6cbf51ad 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -2419,9 +2419,9 @@ void ff_vector_clip_int32_mmx (int32_t *dst, const int32_t *src, int32_t min int32_t max, unsigned int len); void ff_vector_clip_int32_sse2 (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len); -void ff_vector_clip_int32_sse2_int(int32_t *dst, const int32_t *src, int32_t min, +void ff_vector_clip_int32_int_sse2(int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len); -void ff_vector_clip_int32_sse41 (int32_t *dst, const int32_t *src, int32_t min, +void ff_vector_clip_int32_sse4 (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len); void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) @@ -2877,7 +2877,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) c->scalarproduct_int16 = ff_scalarproduct_int16_sse2; c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_sse2; if (mm_flags & AV_CPU_FLAG_ATOM) { - c->vector_clip_int32 = ff_vector_clip_int32_sse2_int; + c->vector_clip_int32 = ff_vector_clip_int32_int_sse2; } else { c->vector_clip_int32 = ff_vector_clip_int32_sse2; } @@ -2909,7 +2909,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx) if (mm_flags & AV_CPU_FLAG_SSE4 && HAVE_SSE) { #if HAVE_YASM - c->vector_clip_int32 = ff_vector_clip_int32_sse41; + c->vector_clip_int32 = ff_vector_clip_int32_sse4; #endif } |