Lines Matching refs:dst_ref
37 static void check_horiz_slice(float *dst_ref, float *dst_new) in check_horiz_slice() argument
44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale); in check_horiz_slice()
46 if (!float_near_abs_eps_array(dst_ref, dst_new, 0.01f, PIXELS)) { in check_horiz_slice()
52 static void check_postscale_slice(float *dst_ref, float *dst_new) in check_postscale_slice() argument
57 call_ref(dst_ref, PIXELS, postscale, -FLT_MAX, FLT_MAX); in check_postscale_slice()
59 if (!float_near_abs_eps_array(dst_ref, dst_new, FLT_EPSILON, PIXELS)) { in check_postscale_slice()
67 float *dst_ref = av_malloc(BUF_SIZE); in checkasm_check_vf_gblur() local
71 randomize_buffers(dst_ref, PIXELS); in checkasm_check_vf_gblur()
72 memcpy(dst_new, dst_ref, BUF_SIZE); in checkasm_check_vf_gblur()
77 check_horiz_slice(dst_ref, dst_new); in checkasm_check_vf_gblur()
81 randomize_buffers(dst_ref, PIXELS); in checkasm_check_vf_gblur()
82 memcpy(dst_new, dst_ref, BUF_SIZE); in checkasm_check_vf_gblur()
84 check_postscale_slice(dst_ref, dst_new); in checkasm_check_vf_gblur()
88 av_freep(&dst_ref); in checkasm_check_vf_gblur()