#include <string.h>
#include <stdint.h>
#include "checkasm.h"
#include "libavcodec/rv40dsp.c"
#include "libavutil/mem_internal.h"
Go to the source code of this file.
◆ randomize_buffers
#define randomize_buffers |
( |
| ) |
|
Value: do { \
for (
int i = 0;
i < 16*18*2;
i++) \
} while (0)
Definition at line 27 of file rv40dsp.c.
◆ CHECK_CHROMA_MC
#define CHECK_CHROMA_MC |
( |
|
name | ) |
|
Value: do { \
for (int x = 0; x < 2; x++) { \
for (int y = 0; y < 2; y++) { \
memcpy(dst0,
src, 16 * 18); \
memcpy(dst1,
src, 16 * 18); \
call_ref(dst0,
src, 16, 16, x, y); \
call_new(dst1,
src, 16, 16, x, y); \
if (memcmp(dst0, dst1, 16 * 16)) { \
fprintf(stderr, #
name ": x:%i, y:%i\n", x, y); \
fail(); \
} \
bench_new(dst1,
src, 16, 16, x, y); \
} \
} \
} \
} while (0)
◆ check_chroma_mc()
static void check_chroma_mc |
( |
void |
| ) |
|
|
static |
◆ checkasm_check_rv40dsp()
void checkasm_check_rv40dsp |
( |
void |
| ) |
|