Home
last modified time | relevance | path

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

/external/libxcam/modules/ocl/
Dcl_kernel.cpp133 uint8_t *kernel_cache = NULL; in build_kernel() local
164kernel_cache = (uint8_t*) xcam_malloc0 (sizeof (uint8_t) * (read_cache_size + 1)); in build_kernel()
165 if (NULL != kernel_cache) { in build_kernel()
166 cache_file.read_file (kernel_cache, read_cache_size); in build_kernel()
169 ret = single_kernel->load_from_binary (kernel_cache, read_cache_size); in build_kernel()
170 xcam_free (kernel_cache); in build_kernel()
171 kernel_cache = NULL; in build_kernel()
185 …rnel->load_from_source (info.kernel_body, strlen (info.kernel_body), &kernel_cache, &write_cache_s… in build_kernel()
198 if (load_cache == false && NULL != kernel_cache) { in build_kernel()
207 ret = temp_file.write_file (kernel_cache, write_cache_size); in build_kernel()
[all …]
/external/ImageMagick/MagickCore/
Dmorphology.c494 *kernel_cache, in AcquireKernelInfo() local
503 kernel_cache=(char *) NULL; in AcquireKernelInfo()
506 kernel_cache=FileToString(kernel_string+1,~0UL,exception); in AcquireKernelInfo()
507 if (kernel_cache == (char *) NULL) in AcquireKernelInfo()
509 p=(const char *) kernel_cache; in AcquireKernelInfo()
544 if (kernel_cache != (char *) NULL) in AcquireKernelInfo()
545 kernel_cache=DestroyString(kernel_cache); in AcquireKernelInfo()