#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
#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
#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
#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
#define DEF(x) x ## _3dnow
#define PAVGB "pavgusb"
-#include "dsputil_mmx_avg.h"
+#include "dsputil_mmx_avg_template.c"
#undef DEF
#undef PAVGB
/* Introduced only in MMX2 set */
#define PAVGB "pavgb"
-#include "dsputil_mmx_avg.h"
+#include "dsputil_mmx_avg_template.c"
#undef DEF
#undef PAVGB
#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
"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
"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
#define BPP 2
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
/* rgb565 handling */
#define BPP 2
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
/* bgr24 handling */
#define BPP 3
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
#undef RGB_IN
#undef RGB_OUT
#define BPP 3
-#include "imgconvert_template.h"
+#include "imgconvert_template.c"
/* rgb32 handling */
#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)