| /external/opencv3/modules/imgproc/src/opencl/ |
| cvtcolor.cl | 50 #define DATA_TYPE uchar 133 __kernel void RGB2Gray(__global const uchar * srcptr, int src_step, int src_offset, 134 __global uchar * dstptr, int dst_step, int dst_offset, 166 __kernel void Gray2RGB(__global const uchar * srcptr, int src_step, int src_offset, 167 __global uchar * dstptr, int dst_step, int dst_offset, 207 __kernel void RGB2YUV(__global const uchar* srcptr, int src_step, int src_offset, 208 __global uchar* dstptr, int dst_step, int dt_offset, 257 __kernel void YUV2RGB(__global const uchar* srcptr, int src_step, int src_offset, 258 __global uchar* dstptr, int dst_step, int dt_offset, 307 __kernel void YUV2RGB_NVx(__global const uchar* srcptr, int src_step, int src_offset [all...] |
| remap.cl | 143 __kernel void remap_2_32FC1(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 144 __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols, 145 __global const uchar * map1ptr, int map1_step, int map1_offset, 146 __global const uchar * map2ptr, int map2_step, int map2_offset, 190 __kernel void remap_32FC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 191 __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols, 192 __global const uchar * mapptr, int map_step, int map_offset, 230 __kernel void remap_16SC2(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, 231 __global uchar * dstptr, int dst_step, int dst_offset, int dst_rows, int dst_cols, 232 __global const uchar * mapptr, int map_step, int map_offset [all...] |
| clahe.cl | 142 __kernel void calcLut(__global __const uchar * src, const int srcStep, 143 const int src_offset, __global uchar * lut, 159 __global const uchar* srcPtr = src + mad24(ty * tileSize.y + i, srcStep, tx * tileSize.x + src_offset); 214 __kernel void transform(__global __const uchar * src, const int srcStep, const int src_offset, 215 __global uchar * dst, const int dstStep, const int dst_offset, 216 __global uchar * lut, const int lutStep, int lut_offset,
|
| /external/opencv3/modules/videoio/src/ |
| cap_mjpeg_encoder.cpp | 56 #define fourCC(a,b,c,d) ((int)((uchar(d)<<24) | (uchar(c)<<16) | (uchar(b)<<8) | uchar(a))) 145 *m_current++ = (uchar)val; 150 void putBytes(const uchar* buf, int count) 152 uchar* data = (uchar*)buf; 178 m_current[0] = (uchar)val; 179 m_current[1] = (uchar)(val >> 8) [all...] |
| /external/opencv/cvaux/src/ |
| cvsegment.cpp | 84 icvSegmFloodFill_Stage1( uchar* pImage, int step, 85 uchar* pMask, int maskStep, 91 uchar* img = pImage + step * seed.y; 92 uchar* mask = pMask + maskStep * (seed.y + 1); 206 icvSegmFloodFill_Stage2( uchar* pImage, int step, 207 uchar* pMask, int maskStep, 211 uchar* img = pImage + step * rect.y + rect.x * 3; 212 uchar* mask = pMask + maskStep * rect.y + rect.x; 213 uchar uv[] = { (uchar)newVal[0], (uchar)newVal[1], (uchar)newVal[2] } [all...] |
| cvbgfg_codebook.cpp | 67 static uchar satTab8u[768]; 79 satTab8u[i] = (uchar)(v < 0 ? 0 : v > 255 ? 255 : v); 97 uchar cb0, cb1, cb2; 140 const uchar* p = image->data.ptr + image->step*(y + roi.y) + roi.x*3; 141 const uchar* m = mask ? mask->data.ptr + mask->step*(y + roi.y) + roi.x : 0; 147 uchar p0, p1, p2, l0, l1, l2, h0, h1, h2; 238 uchar m0, m1, m2, M0, M1, M2; 263 const uchar* p = image->data.ptr + image->step*(y + roi.y) + roi.x*3; 264 uchar* m = mask->data.ptr + mask->step*(y + roi.y) + roi.x; 270 uchar p0 = p[0], p1 = p[1], p2 = p[2] [all...] |
| /external/opencv3/samples/cpp/ |
| intelperc_capture.cpp | 171 uchar* ptrDst = image.ptr(row) + x * 3 + 2;//+2 -> Red 190 uchar* ptrDst = image.ptr(row); 194 uchar val = (uchar) ((*ptrSrc) >> 2); 204 uchar* ptrDst = image.ptr(row) + g_closedDepthPoint[1] * 3 + 2;//+2 -> Red 216 uchar* ptrDst = image.ptr(row); 220 *ptrDst = (uchar) ((*ptrSrc) >> 2); 238 uchar* ptrDst = image.ptr(row); 250 uchar val = (uchar) ((*ptrSrc) >> 2) [all...] |
| /frameworks/rs/cpu_ref/ |
| rsCpuIntrinsicResize.cpp | 163 static uchar OneBiCubic(const uchar *yp0, const uchar *yp1, const uchar *yp2, const uchar *yp3, 184 return (uchar)p; 218 uchar *dst, 222 uchar const *srcn, 223 uchar const *src0, 224 uchar const *src1 [all...] |
| rsCpuIntrinsicConvolve3x3.cpp | 109 uchar4 o = {(uchar)px.x, (uchar)px.y, (uchar)px.z, (uchar)px.w}; 134 static void ConvolveOneU1(const RsExpandKernelDriverInfo *info, uint32_t x, uchar *out, 135 const uchar *py0, const uchar *py1, const uchar *py2, 195 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr [all...] |
| /external/opencv3/modules/ts/src/ |
| ts_func.cpp | 254 convert_(src, (uchar*)dst, total, alpha, beta); 306 const uchar* sptr = planes[0].ptr(); 307 uchar* dptr = planes[1].ptr(); 312 convertTo((const uchar*)sptr, dptr, dtype, total, alpha, beta); 366 const uchar* sptr = planes[0].ptr(); 367 uchar* dptr = planes[1].ptr(); 368 const uchar* mptr = planes[2].ptr(); 384 const uchar* gptr = (const uchar*)&buf[0]; 401 uchar* dptr = plane.ptr() [all...] |
| /external/opencv/otherlibs/highgui/ |
| grfmt_tiff.cpp | 165 bool GrFmtTiffReader::ReadData( uchar* data, int step, int color ) 168 uchar* buffer = 0; 191 buffer = new uchar[tile_height0*tile_width0*4]; 488 m_palette[i].r = (uchar)(m_temp_palette[i] >> 8); 489 m_palette[i].g = (uchar)(m_temp_palette[i + pal_length] >> 8); 490 m_palette[i].b = (uchar)(m_temp_palette[i + pal_length*2] >> 8); 559 bool GrFmtTiffReader::ReadData( uchar* data, int step, int color ) 562 uchar buffer[buffer_size]; 563 uchar gray_palette[256]; 565 uchar* src = buffer [all...] |
| /external/opencv3/modules/cudaarithm/src/cuda/ |
| mul_scalar.cu | 99 {mulScalarImpl<uchar, float, uchar>, mulScalarImpl<uchar2, float, uchar2>, mulScalarImpl<uchar3, float, uchar3>, mulScalarImpl<uchar4, float, uchar4>}, 100 {mulScalarImpl<uchar, float, schar>, mulScalarImpl<uchar2, float, char2>, mulScalarImpl<uchar3, float, char3>, mulScalarImpl<uchar4, float, char4>}, 101 {mulScalarImpl<uchar, float, ushort>, mulScalarImpl<uchar2, float, ushort2>, mulScalarImpl<uchar3, float, ushort3>, mulScalarImpl<uchar4, float, ushort4>}, 102 {mulScalarImpl<uchar, float, short>, mulScalarImpl<uchar2, float, short2>, mulScalarImpl<uchar3, float, short3>, mulScalarImpl<uchar4, float, short4>}, 103 {mulScalarImpl<uchar, float, int>, mulScalarImpl<uchar2, float, int2>, mulScalarImpl<uchar3, float, int3>, mulScalarImpl<uchar4, float, int4>}, 104 {mulScalarImpl<uchar, float, float>, mulScalarImpl<uchar2, float, float2>, mulScalarImpl<uchar3, float, float3>, mulScalarImpl<uchar4, float, float4>}, 105 {mulScalarImpl<uchar, double, double>, mulScalarImpl<uchar2, double, double2>, mulScalarImpl<uchar3, double, double3>, mulScalarImpl<uchar4, double, double4>} 108 {mulScalarImpl<schar, float, uchar>, mulScalarImpl<char2, float, uchar2>, mulScalarImpl<char3, float, uchar3>, mulScalarImpl<char4, float, uchar4>}, 117 {0 /*mulScalarImpl<ushort, float, uchar>*/, 0 /*mulScalarImpl<ushort2, float, uchar2>*/, 0 /*mulScalarImpl<ushort3, float, uchar3>*/, 0 /* (…) [all...] |
| normalize.cu | 98 gridFindMinMaxVal(src, minMaxVals, globPtr<uchar>(mask), stream); 113 gridTransformUnary(src, dst, cvt, globPtr<uchar>(mask), stream); 155 gridCalcSum(abs_(cvt_<I>(src)), normVal, globPtr<uchar>(mask), stream); 166 gridCalcSum(sqr_(cvt_<I>(src)), normVal, globPtr<uchar>(mask), stream); 177 gridFindMaxVal(abs_(cvt_<I>(src)), normVal, globPtr<uchar>(mask), stream); 194 gridTransformUnary(src, dst, cvt, globPtr<uchar>(mask), stream); 210 gridTransformUnary(src, dst, cvt, globPtr<uchar>(mask), stream); 224 normalizeMinMax<uchar, float, float>, 235 normalizeNorm<uchar, float, float>,
|
| /external/opencv/ml/src/ |
| _ml.h | 113 uchar* data; int sstep, cstep; - trainData->data 114 uchar* classes; int clstep; int ncl;- trainClasses 115 uchar* tmask; int tmstep; int ntm; - typeMask 116 uchar* missed;int msstep, mcstep; -missedMeasurements... 118 uchar* sidx;int sistep; - sampleIdx 119 uchar* cidx;int cistep; - compIdx 124 uchar* data; \ 126 uchar* classes; \ 129 uchar* tmask; \ 132 uchar* missed; [all...] |
| /external/opencv3/modules/imgproc/src/ |
| distransform.cpp | 78 const uchar* src = _src.ptr(); 91 const uchar* s = src + i*srcstep; 152 const uchar* src = _src.ptr(); 165 const uchar* s = src + i*srcstep; 243 const uchar* src = _src.ptr(); 258 const uchar* s = src + i*srcstep; 465 const uchar* sptr = src->ptr(m-1) + i; 505 AutoBuffer<uchar> _buf((n+2)*2*sizeof(float) + (n+2)*sizeof(int)); 506 float* f = (float*)(uchar*)_buf; 565 cv::AutoBuffer<uchar> _buf(std::max(m*2*sizeof(float) + (m*3+1)*sizeof(int), n*2*sizeof(float))) [all...] |
| accum.cpp | 53 int operator() (const T *, AT *, const uchar *, int, int) const 62 int operator() (const T *, AT *, const uchar *, int, int) const 71 int operator() (const T *, const T *, AT *, const uchar *, int, int) const 80 int operator() (const T *, AT *, const uchar *, int, int, AT) const 89 struct Acc_SIMD<uchar, float> 91 int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn) const 132 int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn) const 156 int operator() (const float * src, float * dst, const uchar * mask, int len, int cn) const 175 struct AccSqr_SIMD<uchar, float [all...] |
| canny.cpp | 73 AutoBuffer<uchar> buf(size + 64); 74 uchar* buffer = alignPtr((uchar*)buf, 32); 236 static tbb::concurrent_queue<uchar*> borderPeaks; 241 tbbCanny(const Range _boundaries, const Mat& _src, uchar* _map, int _low, 266 uchar ksize2 = aperture_size / 2; 331 std::vector<uchar*> stack(maxsize); 332 uchar **stack_top = &stack[0]; 333 uchar **stack_bottom = &stack[0]; 335 AutoBuffer<uchar> buffer(cn * mapstep * 3 * sizeof(int)) [all...] |
| /external/opencv3/modules/videostab/src/ |
| inpainting.cpp | 114 Point3_<uchar> color; 139 Mat_<Point3_<uchar> > frame_(frame); 140 Mat_<uchar> mask_(mask); 154 const Mat_<Point3_<uchar> > &framei = at(idx + i, *frames_); 186 frame_(y, x) = Point3_<uchar>( 187 static_cast<uchar>(c1), 188 static_cast<uchar>(c2), 189 static_cast<uchar>(c3)); 207 Mat_<uchar> mask0_(mask0); 220 err += std::abs(intensity(frame1.at<Point3_<uchar> >(y1,x1)) [all...] |
| /external/opencv3/samples/cpp/tutorial_code/HighGUI/GDAL_IO/ |
| gdal-image.cpp | 42 void add_color( cv::Vec3b& pix, const uchar& b, const uchar& g, const uchar& r ); 67 output[i] = (uchar)(((1-t)*minColor[i]) + (t * maxColor[i])); 145 void add_color( cv::Vec3b& pix, const uchar& b, const uchar& g, const uchar& r ){
|
| /external/sfntly/cpp/src/test/ |
| cmap_test.cc | 145 for (int32_t uchar = GetParam().low_char(); 146 uchar <= GetParam().high_char(); ++uchar) { 147 int32_t c1 = uchar; 149 c1 = TestUtils::EncodeOneChar(encoder1_, (int16_t)uchar); 150 int32_t c2 = uchar; 152 c2 = TestUtils::EncodeOneChar(encoder2_, (int16_t)uchar);
|
| /external/opencv3/modules/core/src/ |
| arithm.cpp | 83 for( ; sz.height--; src1 = (const T *)((const uchar *)src1 + step1), 84 src2 = (const T *)((const uchar *)src2 + step2), 85 dst = (T *)((uchar *)dst + step) ) 160 for( ; sz.height--; src1 = (const T *)((const uchar *)src1 + step1), 161 src2 = (const T *)((const uchar *)src2 + step2), 162 dst = (T *)((uchar *)dst + step) ) 255 for( ; sz.height--; src1 = (const T *)((const uchar *)src1 + step1), 256 src2 = (const T *)((const uchar *)src2 + step2), 257 dst = (T *)((uchar *)dst + step) ) 349 FUNCTOR_LOADSTORE_CAST(VLoadStore256, uchar, __m256i, _mm256_loadu_si256, _mm256_storeu_si256) [all...] |
| /external/opencv/cv/src/ |
| cvoptflowbm.cpp | 48 icvCmpBlocksL1_8u_C1( const uchar * vec1, const uchar * vec2, int len ) 73 icvCopyBM_8u_C1R( const uchar* src, int src_step, 74 uchar* dst, int dst_step, CvSize size ) 104 icvCalcOpticalFlowBM_8u32fR( uchar * imgA, uchar * imgB, 144 uchar *blockA = 0; 145 uchar *blockB = 0; 146 uchar *blockZ = 0; 169 blockA = (uchar *) cvAlloc( bufferSize * 3 ) [all...] |
| /external/opencv3/modules/core/src/opencl/ |
| flip.cl | 52 __kernel void arithm_flip_rows(__global const uchar * srcptr, int src_step, int src_offset, 53 __global uchar * dstptr, int dst_step, int dst_offset, 83 __kernel void arithm_flip_rows_cols(__global const uchar * srcptr, int src_step, int src_offset, 84 __global uchar * dstptr, int dst_step, int dst_offset, 129 __kernel void arithm_flip_cols(__global const uchar * srcptr, int src_step, int src_offset, 130 __global uchar * dstptr, int dst_step, int dst_offset,
|
| /external/opencv3/modules/stitching/src/opencl/ |
| warpers.cl | 46 __kernel void buildWarpPlaneMaps(__global uchar * xmapptr, int xmap_step, int xmap_offset, 47 __global uchar * ymapptr, int ymap_step, int ymap_offset, int rows, int cols, 87 __kernel void buildWarpCylindricalMaps(__global uchar * xmapptr, int xmap_step, int xmap_offset, 88 __global uchar * ymapptr, int ymap_step, int ymap_offset, int rows, int cols, 127 __kernel void buildWarpSphericalMaps(__global uchar * xmapptr, int xmap_step, int xmap_offset, 128 __global uchar * ymapptr, int ymap_step, int ymap_offset, int rows, int cols,
|
| /external/icu/icu4c/source/common/unicode/ |
| utf_old.h | 85 * by defining UTF_SIZE to either 8, 16, or 32. utf.h would then define the UChar type 89 * A lot of the ICU source code assumes UChar strings are in UTF-16. 95 * <p>Accordingly, utf.h defines UChar to be an unsigned 16-bit integer. If this matches wchar_t, then 96 * UChar is defined to be exactly wchar_t, otherwise uint16_t.</p> 101 * the definition of UChar. For details see the documentation for UChar32 itself.</p> 233 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) 281 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) 283 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e [all...] |