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/rv40dsp_init.c | |
parent | da39cac8def7ea73cad2fa2b611209663c7abe2c (diff) | |
download | ffmpeg-26301caaa1aec5d71b564bff452147d6183370bf.tar.gz |
x86: mmx2 ---> mmxext in asm constructs
Diffstat (limited to 'libavcodec/x86/rv40dsp_init.c')
-rw-r--r-- | libavcodec/x86/rv40dsp_init.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c index a7d92f724f..a1dc22a7ce 100644 --- a/libavcodec/x86/rv40dsp_init.c +++ b/libavcodec/x86/rv40dsp_init.c @@ -34,15 +34,15 @@ #if HAVE_YASM void ff_put_rv40_chroma_mc8_mmx (uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); -void ff_avg_rv40_chroma_mc8_mmx2 (uint8_t *dst, uint8_t *src, - int stride, int h, int x, int y); +void ff_avg_rv40_chroma_mc8_mmxext(uint8_t *dst, uint8_t *src, + int stride, int h, int x, int y); void ff_avg_rv40_chroma_mc8_3dnow(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); void ff_put_rv40_chroma_mc4_mmx (uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); -void ff_avg_rv40_chroma_mc4_mmx2 (uint8_t *dst, uint8_t *src, - int stride, int h, int x, int y); +void ff_avg_rv40_chroma_mc4_mmxext(uint8_t *dst, uint8_t *src, + int stride, int h, int x, int y); void ff_avg_rv40_chroma_mc4_3dnow(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); @@ -55,7 +55,7 @@ void ff_rv40_weight_func_nornd_16_##opt(uint8_t *dst, uint8_t *src1, uint8_t *sr int w1, int w2, ptrdiff_t stride); \ void ff_rv40_weight_func_nornd_8_##opt (uint8_t *dst, uint8_t *src1, uint8_t *src2, \ int w1, int w2, ptrdiff_t stride); -DECLARE_WEIGHT(mmx2) +DECLARE_WEIGHT(mmxext) DECLARE_WEIGHT(sse2) DECLARE_WEIGHT(ssse3) @@ -150,9 +150,9 @@ QPEL_MC_DECL(avg_, _sse2) QPEL_MC_DECL(put_, _mmx) -#define ff_put_rv40_qpel_h_mmx2 ff_put_rv40_qpel_h_mmx -#define ff_put_rv40_qpel_v_mmx2 ff_put_rv40_qpel_v_mmx -QPEL_MC_DECL(avg_, _mmx2) +#define ff_put_rv40_qpel_h_mmxext ff_put_rv40_qpel_h_mmx +#define ff_put_rv40_qpel_v_mmxext ff_put_rv40_qpel_v_mmx +QPEL_MC_DECL(avg_, _mmxext) #define ff_put_rv40_qpel_h_3dnow ff_put_rv40_qpel_h_mmx #define ff_put_rv40_qpel_v_3dnow ff_put_rv40_qpel_v_mmx @@ -206,14 +206,14 @@ void ff_rv40dsp_init_x86(RV34DSPContext *c, DSPContext *dsp) #endif } if (EXTERNAL_MMXEXT(mm_flags)) { - c->avg_chroma_pixels_tab[0] = ff_avg_rv40_chroma_mc8_mmx2; - c->avg_chroma_pixels_tab[1] = ff_avg_rv40_chroma_mc4_mmx2; - c->rv40_weight_pixels_tab[0][0] = ff_rv40_weight_func_rnd_16_mmx2; - c->rv40_weight_pixels_tab[0][1] = ff_rv40_weight_func_rnd_8_mmx2; - c->rv40_weight_pixels_tab[1][0] = ff_rv40_weight_func_nornd_16_mmx2; - c->rv40_weight_pixels_tab[1][1] = ff_rv40_weight_func_nornd_8_mmx2; + c->avg_chroma_pixels_tab[0] = ff_avg_rv40_chroma_mc8_mmxext; + c->avg_chroma_pixels_tab[1] = ff_avg_rv40_chroma_mc4_mmxext; + c->rv40_weight_pixels_tab[0][0] = ff_rv40_weight_func_rnd_16_mmxext; + c->rv40_weight_pixels_tab[0][1] = ff_rv40_weight_func_rnd_8_mmxext; + c->rv40_weight_pixels_tab[1][0] = ff_rv40_weight_func_nornd_16_mmxext; + c->rv40_weight_pixels_tab[1][1] = ff_rv40_weight_func_nornd_8_mmxext; #if ARCH_X86_32 - QPEL_MC_SET(avg_, _mmx2) + QPEL_MC_SET(avg_, _mmxext) #endif } else if (EXTERNAL_AMD3DNOW(mm_flags)) { c->avg_chroma_pixels_tab[0] = ff_avg_rv40_chroma_mc8_3dnow; |