Lines Matching refs:g_radius
129 static int g_radius = 0; in get_gauss_coeffs() local
137 if (g_radius == radius && g_sigma == sigma) in get_gauss_coeffs()
151 g_radius = radius; in get_gauss_coeffs()
158 gauss_blur_buffer (SmartPtr<CLBuffer> &buf, int buf_len, int g_radius, float g_sigma) in gauss_blur_buffer() argument
165 coeff = get_gauss_coeffs (g_radius, g_sigma); in gauss_blur_buffer()
175 for (int j = -g_radius; j <= (int)g_radius; ++j) { in gauss_blur_buffer()
176 tmp_ptr[i] += buf_ptr[clamp(i + j, 0, buf_len)] * coeff[g_radius + j]; in gauss_blur_buffer()
616 int g_radius = (((float)(window.width - 1) / 2) / (1 << _layers)) * 1.2f; in allocate_cl_buffers() local
617 float g_sigma = (float)g_radius; in allocate_cl_buffers()
619 _pyramid_layers[0].init_layer0 (context, (0 == _layers - 1), need_uv(), g_radius, g_sigma); in allocate_cl_buffers()
627 …_mask (context, _pyramid_layers[index - 1], _pyramid_layers[index], need_uv (), g_radius, g_sigma); in allocate_cl_buffers()