Home
last modified time | relevance | path

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

/external/libxcam/modules/ocl/
Dcl_newtonemapping_handler.cpp68 … hist_bin_count, int pixel_num, int block_start_index, float* y_max, float* y_avg, float* map_hist) in block_split_haleq() argument
83 y_avg[block_id] += i * hist[i]; in block_split_haleq()
87 y_avg[block_id] = y_avg[block_id] / pixel_num; in block_split_haleq()
95 int thres = (int)(1500 * 1500 / (y_avg[block_id] * y_avg[block_id] + 1) * 600); in block_split_haleq()
194 y_avg[block_id] = y_avg[block_id] / hist_bin_count; in block_split_haleq()
/external/webrtc/webrtc/modules/video_processing/util/
Dskin_detection.cc55 uint8_t y_avg = (*y + *(y + 1) + *(y + stride_y) + *(y + stride_y + 1)) >> 2; in MbHasSkinColor() local
59 if (y_avg < y_low || y_avg > y_high) in MbHasSkinColor()
/external/libxcam/cl_kernel/
Dkernel_newtonemapping.cl14 __global float *y_max, __global float *y_avg, __global float *hist_leq,
73 …s = fabs(src_y_data - (float4)y_avg[mad24(i, BLOCK_FACTOR, j)]) / (float4)y_max[mad24(i, BLOCK_FAC…