Mercurial > libavcodec.hg
diff armv4l/dsputil_iwmmxt.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 | eebc7209c47f |
children | 0d108ec85620 |
line wrap: on
line diff
--- a/armv4l/dsputil_iwmmxt.c Mon Oct 27 00:25:19 2008 +0000 +++ b/armv4l/dsputil_iwmmxt.c Mon Oct 27 14:35:58 2008 +0000 @@ -24,7 +24,7 @@ #define DEF(x, y) x ## _no_rnd_ ## y ##_iwmmxt #define SET_RND(regd) __asm__ volatile ("mov r12, #1 \n\t tbcsth " #regd ", r12":::"r12"); #define WAVG2B "wavg2b" -#include "dsputil_iwmmxt_rnd.h" +#include "dsputil_iwmmxt_rnd_template.c" #undef DEF #undef SET_RND #undef WAVG2B @@ -32,7 +32,7 @@ #define DEF(x, y) x ## _ ## y ##_iwmmxt #define SET_RND(regd) __asm__ volatile ("mov r12, #2 \n\t tbcsth " #regd ", r12":::"r12"); #define WAVG2B "wavg2br" -#include "dsputil_iwmmxt_rnd.h" +#include "dsputil_iwmmxt_rnd_template.c" #undef DEF #undef SET_RND #undef WAVG2BR