diff options
author | James Almer <jamrial@gmail.com> | 2014-05-22 16:28:43 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-23 00:08:21 +0200 |
commit | 1d36defe94c7d7ebf995d4dbb4f878d06272f9c6 (patch) | |
tree | 232d95d69558f1e330ecd1b5818e589c0f722db9 /libavcodec/x86/dsputil_init.c | |
parent | fdcb2873e1c898cf26216f7e80d95d03387ba55b (diff) | |
download | ffmpeg-1d36defe94c7d7ebf995d4dbb4f878d06272f9c6.tar.gz |
x86/dsputil: port ff_vector_clipf_sse to yasm
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dsputil_init.c')
-rw-r--r-- | libavcodec/x86/dsputil_init.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/x86/dsputil_init.c b/libavcodec/x86/dsputil_init.c index e274e671d7..5dd6c20e4f 100644 --- a/libavcodec/x86/dsputil_init.c +++ b/libavcodec/x86/dsputil_init.c @@ -585,12 +585,10 @@ static av_cold void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx, static av_cold void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx, int cpu_flags, unsigned high_bit_depth) { -#if HAVE_SSE_INLINE - c->vector_clipf = ff_vector_clipf_sse; -#endif /* HAVE_SSE_INLINE */ - #if HAVE_YASM #if HAVE_SSE_EXTERNAL + c->vector_clipf = ff_vector_clipf_sse; + /* XvMCCreateBlocks() may not allocate 16-byte aligned blocks */ if (CONFIG_XVMC && avctx->hwaccel && avctx->hwaccel->decode_mb) return; |