Searched refs:v_avg (Results 1 - 3 of 3) sorted by relevance
/external/opencv3/modules/cudalegacy/src/ |
H A D | needle_map.cpp | 58 void NeedleMapAverage_gpu(PtrStepSzf u, PtrStepSzf v, PtrStepSzf u_avg, PtrStepSzf v_avg); 59 void CreateOpticalFlowNeedleMap_gpu(PtrStepSzf u_avg, PtrStepSzf v_avg, float* vertex_buffer, float* color_data, float max_flow, float xscale, float yscale); 76 GpuMat v_avg(y_needles, x_needles, CV_32FC1); 78 NeedleMapAverage_gpu(u, v, u_avg, v_avg); 91 cuda::minMax(v_avg, 0, &vMax); 95 CreateOpticalFlowNeedleMap_gpu(u_avg, v_avg, vertex.ptr<float>(), colors.ptr<float>(), max_flow, 1.0f / u.cols, 1.0f / u.rows);
|
/external/webrtc/webrtc/modules/video_processing/util/ |
H A D | skin_detection.cc | 57 uint8_t v_avg = (*v + *(v + 1) + *(v + stride_v) + *(v + stride_v + 1)) >> 2; local 62 return (EvaluateSkinColorDifference(u_avg, v_avg) < skin_threshold);
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
H A D | needle_map.cu | 54 __global__ void NeedleMapAverageKernel(const PtrStepSzf u, const PtrStepf v, PtrStepf u_avg, PtrStepf v_avg) 112 v_avg(blockIdx.y, blockIdx.x) = v_col_sum[0]; 116 void NeedleMapAverage_gpu(PtrStepSzf u, PtrStepSzf v, PtrStepSzf u_avg, PtrStepSzf v_avg) 121 NeedleMapAverageKernel<<<grid, block>>>(u, v, u_avg, v_avg); 127 __global__ void NeedleMapVertexKernel(const PtrStepSzf u_avg, const PtrStepf v_avg, float* vertex_data, float* color_data, float max_flow, float xscale, float yscale) 141 const float v_avg_val = v_avg(y, x); 207 void CreateOpticalFlowNeedleMap_gpu(PtrStepSzf u_avg, PtrStepSzf v_avg, float* vertex_buffer, float* color_data, float max_flow, float xscale, float yscale) 212 NeedleMapVertexKernel<<<grid, block>>>(u_avg, v_avg, vertex_buffer, color_data, max_flow, xscale, yscale);
|
Completed in 86 milliseconds