Go to the source code of this file.
#define randomize_buffers |
( |
|
mask | ) |
|
Value:do { \
int i,
size =
sizeof(*y0);
\
for (i = 0; i < BUF_SIZE / 2; i += 4 /
size) { \
for (i = 0; i <
width * 8 / 3; i += 4) { \
} \
} while (0)
static const uint16_t mask[17]
Definition at line 30 of file v210enc.c.
Value:
for (width = step; width <
BUF_SIZE - 15; width += step) { \
int y_offset =
rnd() & 15; \
int uv_offset = y_offset / 2;
\
call_ref(y0 + y_offset, u0 + uv_offset,
v0 + uv_offset, dst0, width);
\
call_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width);
\
if (memcmp(y0, y1, BUF_SIZE) || memcmp(u0, u1, BUF_SIZE / 2) || \
memcmp(
v0, v1, BUF_SIZE / 2) || memcmp(dst0, dst1, width * 8 / 3))
\
bench_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \
} \
} while (0)
#define randomize_buffers(mask)
static const uint16_t mask[17]
#define declare_func(ret,...)
#define LOCAL_ALIGNED_16(t, v,...)
Definition at line 53 of file v210enc.c.
Referenced by checkasm_check_v210enc().