Go to the documentation of this file.
27 #define randomize_buffers() \
29 for (int i = 0; i < 16*18*2; i++) \
30 src[i] = rnd() & 0x3; \
41 ptrdiff_t
stride,
int h,
int x,
int y);
47 #define CHECK_CHROMA_MC(name) \
49 if (check_func(h.name## _pixels_tab[size], #name "_mc%d", 1 << (3 - size))) { \
50 for (int x = 0; x < 2; x++) { \
51 for (int y = 0; y < 2; y++) { \
52 memcpy(dst0, src, 16 * 18); \
53 memcpy(dst1, src, 16 * 18); \
54 call_ref(dst0, src, 16, 16, x, y); \
55 call_new(dst1, src, 16, 16, x, y); \
56 if (memcmp(dst0, dst1, 16 * 16)) { \
57 fprintf(stderr, #name ": x:%i, y:%i\n", x, y); \
60 bench_new(dst1, src, 16, 16, x, y); \
#define declare_func_emms(cpu_flags, ret,...)
void checkasm_check_rv40dsp(void)
#define LOCAL_ALIGNED_32(t, v,...)
static void check_chroma_mc(void)
#define CHECK_CHROMA_MC(name)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
#define randomize_buffers()
#define AV_CPU_FLAG_MMX
standard MMX
av_cold void ff_rv40dsp_init(RV34DSPContext *c)