/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
vignette.rs | 71 float4 wsum = pixel; 72 wsum.xyz = wsum.xyz * (1 - t) + t * (rsMatrixMultiply(&colorMatrix, wsum.xyz) + offset); 73 wsum.a = 1.0f; 74 uchar4 out = rsPackColorTo8888(clamp(wsum, 0.f, 1.0f));
|
grad.rs | 103 float4 wsum = pixel; 104 wsum.a = 0.f; 108 wsum.xyz = wsum.xyz*(1-t)+ 109 t*(rsMatrixMultiply(&grad->colorMatrix ,wsum.xyz)+grad->rgbOff); 113 pixel.rgb = wsum.rgb;
|
/external/opencv3/modules/imgproc/test/ |
test_bilateral_filter.cpp | 190 float sum = 0, wsum = 0; local 200 wsum += w; 202 dptr[j] = (float)(sum/wsum); 210 float sum_b = 0, sum_g = 0, sum_r = 0, wsum = 0; local 222 wsum += w; 224 wsum = 1.f/wsum; 225 b0 = sum_b*wsum; 226 g0 = sum_g*wsum; 227 r0 = sum_r*wsum; [all...] |
/external/opencv3/modules/cudawarping/test/ |
interpolation.hpp | 113 float wsum = 0.0f; local 121 wsum += w; 125 float res = (!wsum)? 0 : sum / wsum;
|
/external/opencv3/modules/cudabgsegm/src/cuda/ |
mog.cu | 152 float wsum = 0.0f; 155 wsum += gmm_weight(k * frame.rows + y, x); 157 if (wsum > backgroundRatio) 207 float wsum = 0.0f; 215 wsum += w; 227 wsum -= w; 290 wsum += w0 - gmm_weight(k * frame.rows + y, x); 300 wsum += gmm_weight(k * frame.rows + y, x); 303 float wscale = 1.0f / wsum; 304 wsum = 0 [all...] |
/external/opencv3/modules/core/include/opencv2/core/cuda/ |
filters.hpp | 158 float wsum = 0.0f; local 166 wsum += w; 170 work_type res = (!wsum)? VecTraits<work_type>::all(0) : sum / wsum;
|
/external/opencv3/modules/video/src/opencl/ |
optical_flow_tvl1.cl | 115 float wsum = 0.0f; 129 wsum += w; 132 float coeff = 1.0f / wsum; 195 float wsum = 0.0f; 207 wsum += w; 211 float coeff = 1.0f / wsum;
|
/external/opencv/cv/src/ |
cvsmooth.cpp | [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/ |
interpolation.hpp | 193 float wsum = 0.0f; local 203 wsum += w; 207 work_type res = (wsum > numeric_limits<float>::epsilon()) ? VecTraits<work_type>::all(0) : sum / static_cast<work_elem_type>(wsum);
|
/external/opencv3/modules/photo/src/ |
merge.cpp | 324 Mat wsum = Mat::zeros(images[0].size(), CV_32FCC); local 331 wsum += times.at<float>((int)i) * times.at<float>((int)i) * w; 333 result = result.mul(1 / wsum);
|
/external/opencv3/modules/cudaoptflow/src/cuda/ |
tvl1flow.cu | 131 float wsum = 0.0f; 143 wsum += w; 147 const float coeff = 1.0f / wsum;
|
/external/opencv3/modules/imgproc/src/ |
smooth.cpp | [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
NPP_staging.cu | [all...] |