29 #define randomize_buffers(buf, size) \ 32 for (j = 0; j < size; j++) { \ 34 AV_WN16A(buf + j, r); \ 44 for (i = 2; i <= 5; i++) {
45 int block_size = 1 <<
i;
46 int size = block_size * block_size;
50 memcpy(coeffs1, coeffs0,
sizeof(*coeffs0) * size);
52 if (
check_func(h.
idct_dc[i - 2],
"idct_%dx%d_dc_%d", block_size, block_size, bit_depth)) {
55 if (memcmp(coeffs0, coeffs1,
sizeof(*coeffs0) * size))
66 for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
#define AV_CPU_FLAG_MMXEXT
SSE integer functions or AMD MMX ext.
void checkasm_check_hevc_idct(void)
#define randomize_buffers(buf, size)
void(* idct_dc[4])(int16_t *coeffs)
#define declare_func_emms(cpu_flags, ret,...)
void ff_hevc_dsp_init(HEVCDSPContext *hevcdsp, int bit_depth)
#define check_func(func,...)
#define LOCAL_ALIGNED(a, t, v,...)
static void check_idct_dc(HEVCDSPContext h, int bit_depth)