diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-20 03:51:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-20 04:06:46 +0100 |
commit | a493f8541de20e76073433f39f66da31f3834bc4 (patch) | |
tree | 0df302fd7ae6f808d9dd36240ee665f675509ea7 /libavcodec/x86/dsputil_init.c | |
parent | da0684820a58ce42a5a2953cbce417e06a54be8f (diff) | |
download | ffmpeg-a493f8541de20e76073433f39f66da31f3834bc4.tar.gz |
avcodec/x86/dsp: add_int16_mmx / add_int16_sse2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dsputil_init.c')
-rw-r--r-- | libavcodec/x86/dsputil_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/dsputil_init.c b/libavcodec/x86/dsputil_init.c index e0b40410a7..08bd29720a 100644 --- a/libavcodec/x86/dsputil_init.c +++ b/libavcodec/x86/dsputil_init.c @@ -542,6 +542,7 @@ static av_cold void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx, #endif /* HAVE_MMX_INLINE */ #if HAVE_MMX_EXTERNAL + c->add_int16 = ff_add_int16_mmx; c->vector_clip_int32 = ff_vector_clip_int32_mmx; #endif /* HAVE_MMX_EXTERNAL */ } @@ -625,6 +626,8 @@ static av_cold void dsputil_init_sse2(DSPContext *c, AVCodecContext *avctx, c->vector_clip_int32 = ff_vector_clip_int32_sse2; } c->bswap_buf = ff_bswap32_buf_sse2; + + c->add_int16 = ff_add_int16_sse2; #endif /* HAVE_SSE2_EXTERNAL */ } |