Go to the documentation of this file.
27 #define WIDTH_PADDED 256 + 32
29 #define randomize_buffers(buf, size) \
32 uint8_t *tmp_buf = (uint8_t *)buf;\
33 for (j = 0; j < size; j++) \
34 tmp_buf[j] = rnd() & 0xFF; \
43 int step_array[4] = {1, 1, 1, 1};
56 for (
i = 0;
i < 4;
i++)
62 if (
check_func(
s.flip_line[0],
"hflip_%s", report_name)) {
63 for (
i = 1;
i <
w;
i++) {
66 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)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
void checkasm_check_vf_hflip(void)
#define i(width, name, range_min, range_max)
#define randomize_buffers(buf, size)
#define declare_func(ret,...)
static av_unused int ff_hflip_init(FlipContext *s, int step[4], int nb_planes)