summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
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/imgconvert.c
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/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index fcdfbd973b..2087a171f0 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -1416,7 +1416,7 @@ static inline unsigned int bitcopy_n(unsigned int a, int n)
#define BPP 2
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
/* rgb565 handling */
@@ -1437,7 +1437,7 @@ static inline unsigned int bitcopy_n(unsigned int a, int n)
#define BPP 2
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
/* bgr24 handling */
@@ -1459,7 +1459,7 @@ static inline unsigned int bitcopy_n(unsigned int a, int n)
#define BPP 3
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
#undef RGB_IN
#undef RGB_OUT
@@ -1486,7 +1486,7 @@ static inline unsigned int bitcopy_n(unsigned int a, int n)
#define BPP 3
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
/* rgb32 handling */
@@ -1517,7 +1517,7 @@ static inline unsigned int bitcopy_n(unsigned int a, int n)
#define BPP 4
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
static void mono_to_gray(AVPicture *dst, const AVPicture *src,
int width, int height, int xor_mask)