Go to the documentation of this file.
26 #define WIDTH_PADDED 256 + 32
28 #define randomize_buffers(buf, size) \
31 uint8_t *tmp_buf = (uint8_t *)buf;\
32 for (j = 0; j < size; j++) \
33 tmp_buf[j] = rnd() & 0xFF; \
42 int step_array[4] = {1, 1, 1, 1};
55 for (
i = 0;
i < 4;
i++)
61 if (
check_func(
s.flip_line[0],
"hflip_%s", report_name)) {
62 for (
i = 1;
i <
w;
i++) {
65 if (memcmp(dst_ref, dst_new,
i *
step))
trying all byte sequences megabyte in length and selecting the best looking sequence will yield cases to try But a word about which is also called distortion Distortion can be quantified by almost any quality measurement one chooses the sum of squared differences is used but more complex methods that consider psychovisual effects can be used as well It makes no difference in this discussion First step
#define check_func(func,...)
#define LOCAL_ALIGNED_32(t, v,...)
static void check_hflip(int step, const char *report_name)
int ff_hflip_init(FlipContext *s, int step[4], int nb_planes)
void checkasm_check_vf_hflip(void)
#define i(width, name, range_min, range_max)
#define randomize_buffers(buf, size)
#define declare_func(ret,...)