Home
last modified time | relevance | path

Searched refs:_g_table (Results 1 – 2 of 2) sorted by relevance

/external/libxcam/modules/ocl/
Dcl_gauss_handler.cpp76 , _g_table (NULL) in CLGaussImageKernel()
83 xcam_free (_g_table); in ~CLGaussImageKernel()
92 uint32_t scale_size = scale * scale * sizeof (_g_table[0]); in set_gaussian()
94 xcam_free (_g_table); in set_gaussian()
97 _g_table = (float*) xcam_malloc0 (scale_size); in set_gaussian()
98 XCAM_ASSERT (_g_table); in set_gaussian()
103 _g_table[i * scale + j] = exp(-dis / (2.0f * sigma * sigma)); in set_gaussian()
104 sum += _g_table[i * scale + j]; in set_gaussian()
109 _g_table[i] = _g_table[i] / sum; in set_gaussian()
114 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR , _g_table); in set_gaussian()
Dcl_gauss_handler.h53 float *_g_table; variable