[FFmpeg-cvslog] x86: avcodec: Drop silly "_mmx" suffix from dsputil template names

Diego Biurrun git at videolan.org
Sat Sep 8 13:01:29 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Aug 11 22:35:27 2012 +0200| [8cb7ed5562c438388b1dd7dc7d10c26f54c740b5] | committer: Diego Biurrun

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8cb7ed5562c438388b1dd7dc7d10c26f54c740b5
---

 .../x86/{dsputil_mmx_avg_template.c => dsputil_avg_template.c} |    0
 libavcodec/x86/dsputil_mmx.c                                   |    8 ++++----
 .../x86/{dsputil_mmx_qns_template.c => dsputil_qns_template.c} |    0
 .../x86/{dsputil_mmx_rnd_template.c => dsputil_rnd_template.c} |    0
 libavcodec/x86/dsputilenc_mmx.c                                |    6 +++---
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavcodec/x86/dsputil_mmx_avg_template.c b/libavcodec/x86/dsputil_avg_template.c
similarity index 100%
rename from libavcodec/x86/dsputil_mmx_avg_template.c
rename to libavcodec/x86/dsputil_avg_template.c
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index af21765..f3ee342 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -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
diff --git a/libavcodec/x86/dsputil_mmx_qns_template.c b/libavcodec/x86/dsputil_qns_template.c
similarity index 100%
rename from libavcodec/x86/dsputil_mmx_qns_template.c
rename to libavcodec/x86/dsputil_qns_template.c
diff --git a/libavcodec/x86/dsputil_mmx_rnd_template.c b/libavcodec/x86/dsputil_rnd_template.c
similarity index 100%
rename from libavcodec/x86/dsputil_mmx_rnd_template.c
rename to libavcodec/x86/dsputil_rnd_template.c
diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c
index 1033132..c9797ef 100644
--- a/libavcodec/x86/dsputilenc_mmx.c
+++ b/libavcodec/x86/dsputilenc_mmx.c
@@ -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



More information about the ffmpeg-cvslog mailing list