Mercurial > libavcodec.hg
diff i386/dsputil_mmx.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 | 24761747ac3d |
children | 0d108ec85620 |
line wrap: on
line diff
--- a/i386/dsputil_mmx.c Mon Oct 27 00:25:19 2008 +0000 +++ b/i386/dsputil_mmx.c Mon Oct 27 14:35:58 2008 +0000 @@ -155,7 +155,7 @@ #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 @@ #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 @@ #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 @@ /* Introduced only in MMX2 set */ #define PAVGB "pavgb" -#include "dsputil_mmx_avg.h" +#include "dsputil_mmx_avg_template.c" #undef DEF #undef PAVGB