diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-10 00:04:18 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-11-14 00:58:51 +0100 |
commit | 26301caaa1aec5d71b564bff452147d6183370bf (patch) | |
tree | ecc309e5599ff4327c8ffe06ff515ecdf071735e /libavcodec/x86/vp3dsp_init.c | |
parent | da39cac8def7ea73cad2fa2b611209663c7abe2c (diff) | |
download | ffmpeg-26301caaa1aec5d71b564bff452147d6183370bf.tar.gz |
x86: mmx2 ---> mmxext in asm constructs
Diffstat (limited to 'libavcodec/x86/vp3dsp_init.c')
-rw-r--r-- | libavcodec/x86/vp3dsp_init.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libavcodec/x86/vp3dsp_init.c b/libavcodec/x86/vp3dsp_init.c index d91050e4b3..bbe74ba44a 100644 --- a/libavcodec/x86/vp3dsp_init.c +++ b/libavcodec/x86/vp3dsp_init.c @@ -31,11 +31,13 @@ void ff_vp3_idct_add_mmx(uint8_t *dest, int line_size, DCTELEM *block); void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block); void ff_vp3_idct_add_sse2(uint8_t *dest, int line_size, DCTELEM *block); -void ff_vp3_idct_dc_add_mmx2(uint8_t *dest, int line_size, - const DCTELEM *block); +void ff_vp3_idct_dc_add_mmxext(uint8_t *dest, int line_size, + const DCTELEM *block); -void ff_vp3_v_loop_filter_mmx2(uint8_t *src, int stride, int *bounding_values); -void ff_vp3_h_loop_filter_mmx2(uint8_t *src, int stride, int *bounding_values); +void ff_vp3_v_loop_filter_mmxext(uint8_t *src, int stride, + int *bounding_values); +void ff_vp3_h_loop_filter_mmxext(uint8_t *src, int stride, + int *bounding_values); av_cold void ff_vp3dsp_init_x86(VP3DSPContext *c, int flags) { @@ -50,11 +52,11 @@ av_cold void ff_vp3dsp_init_x86(VP3DSPContext *c, int flags) #endif if (EXTERNAL_MMXEXT(cpuflags)) { - c->idct_dc_add = ff_vp3_idct_dc_add_mmx2; + c->idct_dc_add = ff_vp3_idct_dc_add_mmxext; if (!(flags & CODEC_FLAG_BITEXACT)) { - c->v_loop_filter = ff_vp3_v_loop_filter_mmx2; - c->h_loop_filter = ff_vp3_h_loop_filter_mmx2; + c->v_loop_filter = ff_vp3_v_loop_filter_mmxext; + c->h_loop_filter = ff_vp3_h_loop_filter_mmxext; } } |