Go to the documentation of this file.
25 #define WIDTH_PADDED 256 + 32
27 #define randomize_buffers(buf, size) \
30 uint8_t *tmp_buf = (uint8_t *)buf;\
31 for (j = 0; j < size; j++) \
32 tmp_buf[j] = rnd() & 0xFF; \
41 int step_array[4] = {1, 1, 1, 1};
53 for (
i = 0;
i < 4;
i++)
59 if (
check_func(
s.flip_line[0],
"hflip_%s", report_name)) {
60 for (
i = 1;
i <
w;
i++) {
63 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,...)
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,...)
#define LOCAL_ALIGNED_32(t, v,...)