Revision 782fc0c3 libavcodec/armv4l/dsputil_iwmmxt.c

View differences:

libavcodec/armv4l/dsputil_iwmmxt.c
24 24
#define DEF(x, y) x ## _no_rnd_ ## y ##_iwmmxt
25 25
#define SET_RND(regd)  __asm__ volatile ("mov r12, #1 \n\t tbcsth " #regd ", r12":::"r12");
26 26
#define WAVG2B "wavg2b"
27
#include "dsputil_iwmmxt_rnd.h"
27
#include "dsputil_iwmmxt_rnd_template.c"
28 28
#undef DEF
29 29
#undef SET_RND
30 30
#undef WAVG2B
......
32 32
#define DEF(x, y) x ## _ ## y ##_iwmmxt
33 33
#define SET_RND(regd)  __asm__ volatile ("mov r12, #2 \n\t tbcsth " #regd ", r12":::"r12");
34 34
#define WAVG2B "wavg2br"
35
#include "dsputil_iwmmxt_rnd.h"
35
#include "dsputil_iwmmxt_rnd_template.c"
36 36
#undef DEF
37 37
#undef SET_RND
38 38
#undef WAVG2BR

Also available in: Unified diff