Browse Source

x86: avcodec: Drop silly "_mmx" suffix from dsputil template names

tags/n1.0
Diego Biurrun 13 years ago
parent
commit
8cb7ed5562
5 changed files with 7 additions and 7 deletions
  1. +0
    -0
      libavcodec/x86/dsputil_avg_template.c
  2. +4
    -4
      libavcodec/x86/dsputil_mmx.c
  3. +0
    -0
      libavcodec/x86/dsputil_qns_template.c
  4. +0
    -0
      libavcodec/x86/dsputil_rnd_template.c
  5. +3
    -3
      libavcodec/x86/dsputilenc_mmx.c

libavcodec/x86/dsputil_mmx_avg_template.c → libavcodec/x86/dsputil_avg_template.c View File


+ 4
- 4
libavcodec/x86/dsputil_mmx.c View File

@@ -170,7 +170,7 @@ DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 };
#define PAVGB(a, b, c, e) PAVGB_MMX_NO_RND(a, b, c, e)
#define OP_AVG(a, b, c, e) PAVGB_MMX(a, b, c, e)

#include "dsputil_mmx_rnd_template.c"
#include "dsputil_rnd_template.c"

#undef DEF
#undef SET_RND
@@ -184,7 +184,7 @@ DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 };
#define PAVGBP(a, b, c, d, e, f) PAVGBP_MMX(a, b, c, d, e, f)
#define PAVGB(a, b, c, e) PAVGB_MMX(a, b, c, e)

#include "dsputil_mmx_rnd_template.c"
#include "dsputil_rnd_template.c"

#undef DEF
#undef SET_RND
@@ -199,7 +199,7 @@ DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 };
#define PAVGB "pavgusb"
#define OP_AVG PAVGB

#include "dsputil_mmx_avg_template.c"
#include "dsputil_avg_template.c"

#undef DEF
#undef PAVGB
@@ -214,7 +214,7 @@ DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 };
#define PAVGB "pavgb"
#define OP_AVG PAVGB

#include "dsputil_mmx_avg_template.c"
#include "dsputil_avg_template.c"

#undef DEF
#undef PAVGB


libavcodec/x86/dsputil_mmx_qns_template.c → libavcodec/x86/dsputil_qns_template.c View File


libavcodec/x86/dsputil_mmx_rnd_template.c → libavcodec/x86/dsputil_rnd_template.c View File


+ 3
- 3
libavcodec/x86/dsputilenc_mmx.c View File

@@ -1041,7 +1041,7 @@ static int ssd_int8_vs_int16_mmx(const int8_t *pix1, const int16_t *pix2, int si
#define SET_RND MOVQ_WONE
#define SCALE_OFFSET 1

#include "dsputil_mmx_qns_template.c"
#include "dsputil_qns_template.c"

#undef DEF
#undef SET_RND
@@ -1055,7 +1055,7 @@ static int ssd_int8_vs_int16_mmx(const int8_t *pix1, const int16_t *pix2, int si
"pmulhrw " #s ", "#x " \n\t"\
"pmulhrw " #s ", "#y " \n\t"

#include "dsputil_mmx_qns_template.c"
#include "dsputil_qns_template.c"

#undef DEF
#undef SET_RND
@@ -1074,7 +1074,7 @@ static int ssd_int8_vs_int16_mmx(const int8_t *pix1, const int16_t *pix2, int si
"pmulhrsw " #s ", "#x " \n\t"\
"pmulhrsw " #s ", "#y " \n\t"

#include "dsputil_mmx_qns_template.c"
#include "dsputil_qns_template.c"

#undef DEF
#undef SET_RND


Loading…
Cancel
Save