/external/opencv3/modules/photo/src/ |
fast_nlmeans_denoising_invoker.hpp | 53 template <typename T, typename IT, typename UIT, typename D, typename WT> 78 typename pixelInfo<WT>::sampleType fixed_point_mult_; 80 std::vector<WT> almost_dist2weight_; 102 template <typename T, typename IT, typename UIT, typename D, typename WT> 103 FastNlMeansDenoisingInvoker<T, IT, UIT, D, WT>::FastNlMeansDenoisingInvoker( 123 pixelInfo<WT>::sampleMax()); 140 D::template calcWeight<T, WT>(dist, h, fixed_point_mult_); 148 template <typename T, typename IT, typename UIT, typename D, typename WT> 149 void FastNlMeansDenoisingInvoker<T, IT, UIT, D, WT>::operator() (const Range& range) const 226 IT estimation[pixelInfo<T>::channels], weights_sum[pixelInfo<WT>::channels] [all...] |
fast_nlmeans_denoising_invoker_commons.hpp | 133 template <typename T, typename WT> struct calcWeight_ 135 static inline WT f(double dist, const float *h, WT fixed_point_mult) 141 WT weight = (WT)cvRound(fixed_point_mult * w); 179 template <typename T, typename WT> 180 static inline WT calcWeight(double dist, const float *h, 181 typename pixelInfo<WT>::sampleType fixed_point_mult) 183 return calcWeight_<T, WT>::f(dist, h, fixed_point_mult); 255 template <typename T, typename WT> struct calcWeight [all...] |
fast_nlmeans_multi_denoising_invoker.hpp | 53 template <typename T, typename IT, typename UIT, typename D, typename WT> 84 typename pixelInfo<WT>::sampleType fixed_point_mult_; 86 std::vector<WT> almost_dist2weight; 97 template <typename T, typename IT, typename UIT, typename D, typename WT> 98 FastNlMeansMultiDenoisingInvoker<T, IT, UIT, D, WT>::FastNlMeansMultiDenoisingInvoker( 131 pixelInfo<WT>::sampleMax()); 151 D::template calcWeight<T, WT>(dist, h, fixed_point_mult_); 159 template <typename T, typename IT, typename UIT, typename D, typename WT> 160 void FastNlMeansMultiDenoisingInvoker<T, IT, UIT, D, WT>::operator() (const Range& range) const 246 IT estimation[pixelInfo<T>::channels], weights_sum[pixelInfo<WT>::channels] [all...] |
fast_nlmeans_denoising_opencl.hpp | 31 template <typename FT, typename ST, typename WT> 37 const WT maxEstimateSumValue = searchWindowSize * searchWindowSize * 39 int fixedPointMult = (int)std::min<WT>(std::numeric_limits<WT>::max() / maxEstimateSumValue,
|
/external/opencv3/modules/core/src/opencl/ |
convert.cl | 56 WT alpha, WT beta, int rowsPerWI)
|
/external/opencv3/modules/imgproc/src/opencl/ |
resize.cl | 154 WT data0 = convertToWT(loadpix(srcptr + src_index0)); 155 WT data1 = convertToWT(loadpix(srcptr + src_index0 + TSIZE)); 156 WT data2 = convertToWT(loadpix(srcptr + src_index1)); 157 WT data3 = convertToWT(loadpix(srcptr + src_index1 + TSIZE)); 159 WT val = ( (((data0 * a0 + data1 * a1) >> 4) * b0) >> 16) + 200 WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset)))); 201 WT data1 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x_, TSIZE, src_offset)))); 202 WT data2 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x, TSIZE, src_offset)))); 203 WT data3 = convertToWT(loadpix(srcptr + mad24(y_, src_step, mad24(x_, TSIZE, src_offset)))); 205 WT val = mul24((WT)mul24(U1, V1), data0) + mul24((WT)mul24(U, V1), data1) [all...] |
boxFilter.cl | 130 inline WT readSrcPixel(int2 pos, __global const uchar * srcptr, int src_step, const struct RectCoords srcCoords) 139 WT value = convertToWT(loadpix(srcptr + src_index)); 146 return (WT)(0); 159 WT value = convertToWT(loadpix(srcptr + src_index)); 179 WT data[KERNEL_SIZE_Y]; 180 __local WT sumOfCols[LOCAL_SIZE_X]; 187 WT tmp_sum = (WT)(0); 204 WT total_sum = (WT)(0) [all...] |
filterSep_singlePass.cl | 114 __local WT lsmem[BLK_Y + 2 * RADIUSY][BLK_X + 2 * RADIUSX]; 115 __local WT lsmemDy[BLK_Y][BLK_X + 2 * RADIUSX]; 158 WT sum = (WT) 0; 161 sum = (WT) 0; 196 storepix(convertToDstT(sum + (WT)(delta)), Dst + mad24(y + liy, dst_step, mad24(x, DSTSIZE, dst_offset)));
|
filter2D.cl | 153 WT tmp_sum = 0; \ 177 WT data[KERNEL_SIZE_Y]; 178 __local WT sumOfCols[LOCAL_SIZE]; 201 data[sy + sy_index] = (WT)(0); 208 data[sy + sy_index] = (WT)(0); 221 WT total_sum = 0; 239 storepix(convertToDstT(total_sum + (WT)(delta)), dst);
|
warp_perspective.cl | 82 #define scalar (WT)(scalar_.x, scalar_.y, scalar_.z) 139 WT v0 = (sx >= 0 && sx < src_cols && sy >= 0 && sy < src_rows) ? 141 WT v1 = (sx+1 >= 0 && sx+1 < src_cols && sy >= 0 && sy < src_rows) ? 143 WT v2 = (sx >= 0 && sx < src_cols && sy+1 >= 0 && sy+1 < src_rows) ? 145 WT v3 = (sx+1 >= 0 && sx+1 < src_cols && sy+1 >= 0 && sy+1 < src_rows) ? 159 WT val = v0 * itab0 + v1 * itab1 + v2 * itab2 + v3 * itab3; 163 WT val = v0 * tabx2 * taby2 + v1 * tabx * taby2 + v2 * tabx2 * taby + v3 * tabx * taby; 201 WT v[16]; 218 WT sum = (WT)(0) [all...] |
warp_affine.cl | 83 #define scalar (WT)(scalar_.x, scalar_.y, scalar_.z) 158 WT v0 = scalar, v1 = scalar, v2 = scalar, v3 = scalar; 185 WT val = mad24(v0, itab0, mad24(v1, itab1, mad24(v2, itab2, v3 * itab3))); 189 WT val = fma(tabx2, fma(v0, taby2, v2 * taby), tabx * fma(v1, taby2, v3 * taby)); 198 WT sum = (WT)(0), xsum; 205 xsum = (WT)(0); 287 WT v[16]; 315 WT sum = (WT)(0) [all...] |
filter2DSmall.cl | 191 inline WT getBorderPixel(const struct RectCoords bounds, int2 coord, 195 return (WT)(0); 212 inline WT readSrcPixelSingle(int2 pos, __global const uchar* srcptr, 291 WT privateData[PX_PER_WI_Y + KERNEL_SIZE_Y - 1][PRIV_DATA_WIDTH]; 314 WT p = readSrcPixelSingle(srcPos, srcptr, src_step, srcCoords); 315 *((WT*)&privateData[py][px * PX_LOAD_NUM_PX + lx]) = p; 330 WT total_sum = 0; 343 storepix(convertToDstT(total_sum + (WT)(delta)), dstPtr);
|
remap.cl | 337 WT scalar = convertToWT(convertScalar(nVal)); 359 WT a = scalar, b = scalar, c = scalar, d = scalar; 381 WT dst_data = a * (1 - u.x) * (1 - u.y) + 401 WT scalar = convertToWT(convertScalar(nVal)); 423 WT sum = (WT)(0), xsum; 431 xsum = (WT)(0); 467 WT scalar = convertToWT(convertScalar(nVal)); 468 WT a = scalar, b = scalar, c = scalar, d = scalar; 490 WT dst_data = a * (1 - u.x) * (1 - u.y) [all...] |
/external/opencv3/modules/core/src/ |
matmul.cpp | 130 template<typename T, typename WT> static void 194 WT al = WT(a_data[i])*alpha; 198 WT s0 = al*WT(b_data[j]); 199 WT s1 = al*WT(b_data[j+1]); 207 d_data[j] = T(s0 + WT(c_data[0])*beta); 208 d_data[j+1] = T(s1 + WT(c_data[c_step1])*beta); 214 WT s0 = al*WT(b_data[j]) [all...] |
arithm.cpp | 707 template<typename T, typename WT=T> struct OpAbsDiffS 710 typedef WT type2; 712 T operator()(T a, WT b) const { return saturate_cast<T>(std::abs(a - b)); } [all...] |
matrix.cpp | [all...] |
mathfuncs.cpp | 884 template <typename T, typename WT> [all...] |
convert.cpp | [all...] |
stat.cpp | [all...] |
/external/opencv3/modules/imgproc/src/ |
moments.cpp | 205 template<typename T, typename WT, typename MT> 208 int operator() (const T *, int, WT &, WT &, WT &, MT &) 392 template<typename T, typename WT, typename MT> 402 MomentsInTile_SIMD<T, WT, MT> vop; 407 WT x0 = 0, x1 = 0, x2 = 0; 413 WT p = ptr[x]; 414 WT xp = x * p, xxp; 423 WT py = y * x0, sy = y*y [all...] |
pyramids.cpp | [all...] |
imgwarp.cpp | [all...] |
smooth.cpp | [all...] |
/external/opencv3/modules/imgproc/test/ |
test_imgwarp.cpp | [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
Encodings.properties | 51 Cp037 EBCDIC-CP-US,EBCDIC-CP-CA,EBCDIC-CP-WT,EBCDIC-CP-NL,IBM037 0x0019
|