Lines Matching defs:dst_ref
37 static void check_horiz_slice(float *dst_ref, float *dst_new, float *localbuf)
44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale, localbuf);
46 if (!float_near_abs_eps_array(dst_ref, dst_new, 0.01f, PIXELS)) {
52 static void check_verti_slice(float *dst_ref, float *dst_new)
60 call_ref(dst_ref, WIDTH, HEIGHT, 0, WIDTH, steps, nu, bscale);
62 if (!float_near_abs_eps_array(dst_ref, dst_new, 0.01f, PIXELS)) {
68 static void check_postscale_slice(float *dst_ref, float *dst_new)
73 call_ref(dst_ref, PIXELS, postscale, -FLT_MAX, FLT_MAX);
75 if (!float_near_abs_eps_array(dst_ref, dst_new, FLT_EPSILON, PIXELS)) {
83 float *dst_ref = av_malloc(BUF_SIZE);
87 randomize_buffers(dst_ref, PIXELS);
88 memcpy(dst_new, dst_ref, BUF_SIZE);
95 check_horiz_slice(dst_ref, dst_new, s.localbuf);
99 randomize_buffers(dst_ref, PIXELS);
100 memcpy(dst_new, dst_ref, BUF_SIZE);
102 check_postscale_slice(dst_ref, dst_new);
106 randomize_buffers(dst_ref, PIXELS);
107 memcpy(dst_new, dst_ref, BUF_SIZE);
109 check_verti_slice(dst_ref, dst_new);
116 av_freep(&dst_ref);