Mercurial > libavcodec.hg
diff imgconvert.c @ 8073:915bc657348f libavcodec
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.
author | flameeyes |
---|---|
date | Mon, 27 Oct 2008 14:35:58 +0000 |
parents | 573f52f011c0 |
children | 1fe764a5c33e |
line wrap: on
line diff
--- a/imgconvert.c Mon Oct 27 00:25:19 2008 +0000 +++ b/imgconvert.c Mon Oct 27 14:35:58 2008 +0000 @@ -1416,7 +1416,7 @@ #define BPP 2 -#include "imgconvert_template.h" +#include "imgconvert_template.c" /* rgb565 handling */ @@ -1437,7 +1437,7 @@ #define BPP 2 -#include "imgconvert_template.h" +#include "imgconvert_template.c" /* bgr24 handling */ @@ -1459,7 +1459,7 @@ #define BPP 3 -#include "imgconvert_template.h" +#include "imgconvert_template.c" #undef RGB_IN #undef RGB_OUT @@ -1486,7 +1486,7 @@ #define BPP 3 -#include "imgconvert_template.h" +#include "imgconvert_template.c" /* rgb32 handling */ @@ -1517,7 +1517,7 @@ #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)