summaryrefslogtreecommitdiff
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-10-27 14:35:58 +0000
committerDiego Pettenò <flameeyes@gmail.com>2008-10-27 14:35:58 +0000
commit782fc0c36f933048372554aa3c4a28851b929a8c (patch)
tree5d27db213cac9b7cf885e2cee2cea47475f9411e /libavcodec/i386
parent485ec4f11e15dcbb74e2829373e332d3f37a6488 (diff)
Rename template included sources from .h to _template.c.
There are multiple source files that are #include'd rather than compiled, as they are used as template for generation of similar code, like asm-optimised code. Some of these files are right now named with a .h extension, although they are not header in any reasonable sense. Rename them so that instead of being named with .h extension they are named with _template.c as final part. Originally committed as revision 15730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/dsputil_mmx.c8
-rw-r--r--libavcodec/i386/dsputil_mmx_avg_template.c (renamed from libavcodec/i386/dsputil_mmx_avg.h)0
-rw-r--r--libavcodec/i386/dsputil_mmx_qns_template.c (renamed from libavcodec/i386/dsputil_mmx_qns.h)0
-rw-r--r--libavcodec/i386/dsputil_mmx_rnd_template.c (renamed from libavcodec/i386/dsputil_mmx_rnd.h)0
-rw-r--r--libavcodec/i386/dsputilenc_mmx.c6
5 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 78c9e42a8e..5981bc735a 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -155,7 +155,7 @@ DECLARE_ALIGNED_16(const double, ff_pd_2[2]) = { 2.0, 2.0 };
#define PAVGBP(a, b, c, d, e, f) PAVGBP_MMX_NO_RND(a, b, c, d, e, f)
#define PAVGB(a, b, c, e) PAVGB_MMX_NO_RND(a, b, c, e)
-#include "dsputil_mmx_rnd.h"
+#include "dsputil_mmx_rnd_template.c"
#undef DEF
#undef SET_RND
@@ -169,7 +169,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.h"
+#include "dsputil_mmx_rnd_template.c"
#undef DEF
#undef SET_RND
@@ -182,7 +182,7 @@ DECLARE_ALIGNED_16(const double, ff_pd_2[2]) = { 2.0, 2.0 };
#define DEF(x) x ## _3dnow
#define PAVGB "pavgusb"
-#include "dsputil_mmx_avg.h"
+#include "dsputil_mmx_avg_template.c"
#undef DEF
#undef PAVGB
@@ -195,7 +195,7 @@ DECLARE_ALIGNED_16(const double, ff_pd_2[2]) = { 2.0, 2.0 };
/* Introduced only in MMX2 set */
#define PAVGB "pavgb"
-#include "dsputil_mmx_avg.h"
+#include "dsputil_mmx_avg_template.c"
#undef DEF
#undef PAVGB
diff --git a/libavcodec/i386/dsputil_mmx_avg.h b/libavcodec/i386/dsputil_mmx_avg_template.c
index a3f2068f0a..a3f2068f0a 100644
--- a/libavcodec/i386/dsputil_mmx_avg.h
+++ b/libavcodec/i386/dsputil_mmx_avg_template.c
diff --git a/libavcodec/i386/dsputil_mmx_qns.h b/libavcodec/i386/dsputil_mmx_qns_template.c
index 1f484e74f0..1f484e74f0 100644
--- a/libavcodec/i386/dsputil_mmx_qns.h
+++ b/libavcodec/i386/dsputil_mmx_qns_template.c
diff --git a/libavcodec/i386/dsputil_mmx_rnd.h b/libavcodec/i386/dsputil_mmx_rnd_template.c
index 5ef06da285..5ef06da285 100644
--- a/libavcodec/i386/dsputil_mmx_rnd.h
+++ b/libavcodec/i386/dsputil_mmx_rnd_template.c
diff --git a/libavcodec/i386/dsputilenc_mmx.c b/libavcodec/i386/dsputilenc_mmx.c
index f2e2b704af..cab6853f23 100644
--- a/libavcodec/i386/dsputilenc_mmx.c
+++ b/libavcodec/i386/dsputilenc_mmx.c
@@ -1304,7 +1304,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.h"
+#include "dsputil_mmx_qns_template.c"
#undef DEF
#undef SET_RND
@@ -1318,7 +1318,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.h"
+#include "dsputil_mmx_qns_template.c"
#undef DEF
#undef SET_RND
@@ -1337,7 +1337,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.h"
+#include "dsputil_mmx_qns_template.c"
#undef DEF
#undef SET_RND