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

/external/webrtc/webrtc/modules/video_processing/util/
H A Dskin_detection.cc55 uint8_t y_avg = (*y + *(y + 1) + *(y + stride_y) + *(y + stride_y + 1)) >> 2; local
59 if (y_avg < y_low || y_avg > y_high)
/external/libxcam/modules/ocl/
H A Dcl_newtonemapping_handler.cpp68 block_split_haleq(int* hist, int hist_bin_count, int pixel_num, int block_start_index, float* y_max, float* y_avg, float* map_hist) argument
83 y_avg[block_id] += i * hist[i];
87 y_avg[block_id] = y_avg[block_id] / pixel_num;
95 int thres = (int)(1500 * 1500 / (y_avg[block_id] * y_avg[block_id] + 1) * 600);
194 y_avg[block_id] = y_avg[block_id] / hist_bin_count;
/external/libxcam/cl_kernel/
H A 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_FACTOR, j)] + 1.0f;

Completed in 335 milliseconds