Home
last modified time | relevance | path

Searched refs:hist_bin_count (Results 1 – 3 of 3) sorted by relevance

/external/libxcam/modules/ocl/
Dcl_newtonemapping_handler.cpp68 block_split_haleq(int* hist, int hist_bin_count, int pixel_num, int block_start_index, float* y_max… in block_split_haleq() argument
70 int block_id = block_start_index / hist_bin_count; in block_split_haleq()
72 for(int i = hist_bin_count - 1; i >= 0; i--) in block_split_haleq()
81 for(int i = 0; i < hist_bin_count; i++) in block_split_haleq()
89 int *hist_log = (int *) xcam_malloc0 (hist_bin_count * sizeof (int)); in block_split_haleq()
91 int *map_index_leq = (int *) xcam_malloc0 (hist_bin_count * sizeof (int)); in block_split_haleq()
92 int *map_index_log = (int *) xcam_malloc0 (hist_bin_count * sizeof (int)); in block_split_haleq()
109 factor0 = (hist_bin_count - 1) / (max0_log - t0_log + 0.001f); in block_split_haleq()
144 for(int i = y_max[block_id]; i < hist_bin_count; i++) in block_split_haleq()
151 for(int i = 0; i < hist_bin_count; i++) in block_split_haleq()
[all …]
Dcl_tonemapping_handler.cpp138 int hist_bin_count = 1 << stats_ptr->info.bit_depth; in prepare_parameters() local
148 for (int i = (hist_bin_count - 1); i >= 0; i--) in prepare_parameters()
168 if (y_saturated < (hist_bin_count - 1)) { in prepare_parameters()
172 y_target = (hist_bin_count / y_saturated) * (1.5 * y_medium + 0.5 * y_average) / 2; in prepare_parameters()
181 y_max = hist_bin_count * (2 * y_saturated + y_target) / y_saturated - y_saturated - y_target; in prepare_parameters()
Dcl_newwavelet_denoise_handler.cpp211 uint32_t hist_bin_count = 1 << video_info.color_bits; in estimate_noise_variance() local
225 for (uint32_t i = 0; i < (hist_bin_count - 1); i++) { in estimate_noise_variance()
246 for (uint32_t i = 0; i < (hist_bin_count - 1); i++) { in estimate_noise_variance()
258 for (uint32_t i = 0; i < (hist_bin_count - 1); i++) { in estimate_noise_variance()