| /external/opencv3/modules/video/src/ |
| bgfg_gaussmix2.cpp | 274 virtual void setShadowValue(int value) { nShadowDetection = (uchar)value; } 309 nShadowDetection = saturate_cast<uchar>((int)fn["shadowValue"]); 526 uchar* _modesUsed, 531 uchar _shadowVal) 570 uchar* modesUsed = modesUsed0 + ncols*y; 571 uchar* mask = dst->ptr(y); 728 modesUsed[x] = uchar(nmodes); 740 uchar* modesUsed0; 747 uchar shadowVal; [all...] |
| /external/opencv3/samples/cpp/ |
| detect_blob.cpp | 122 palette.push_back(Vec3b((uchar)rand(), (uchar)rand(), (uchar)rand()));
|
| /external/opencv3/samples/gpu/ |
| pyrlk_optical_flow.cpp | 23 static void download(const GpuMat& d_mat, vector<uchar>& vec) 30 static void drawArrows(Mat& frame, const vector<Point2f>& prevPts, const vector<Point2f>& nextPts, const vector<uchar>& status, Scalar line_color = Scalar(0, 0, 255)) 170 vector<uchar> status(d_status.cols);
|
| /frameworks/rs/cpu_ref/ |
| rsCpuIntrinsic3DLUT.cpp | 71 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; 109 const uchar *bp2 = bp + (coord1.x * 4) + (coord1.y * stride_y) + (coord1.z * stride_z);
|
| /external/opencv/cv/src/ |
| cvlkpyramid.cpp | 78 uchar *** imgI, uchar *** imgJ, 80 double **scale, uchar ** buffer ) 149 CV_CALL( *buffer = (uchar *)cvAlloc( bufferBytes )); 151 *imgI = (uchar **) buffer[0]; 165 uchar *bufPtr = (uchar *) (*size + level1); 166 uchar *ptrA = pyrA->data.ptr; 167 uchar *ptrB = pyrB->data.ptr; 194 imgI[0][i] = (uchar *) ptrA [all...] |
| cvkdtree.cpp | 85 uchar* dptr = d->data.ptr; 86 uchar* resultsptr = results->data.ptr; 87 uchar* distptr = dist->data.ptr;
|
| /external/opencv3/modules/imgproc/src/ |
| smooth.cpp | 82 virtual void operator()(const uchar* src, uchar* dst, int width, int cn) 120 virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) 209 struct ColumnSum<int, uchar> : 223 virtual void operator()(const uchar** src, uchar* dst, int dststep, int count, int width) 276 uchar* D = (uchar*)dst; 325 D[i] = saturate_cast<uchar>(s0*_scale) [all...] |
| hough.cpp | 88 const uchar* image = img.ptr(); 229 const uchar* image_src = img.ptr(); 253 std::vector<uchar> _caccum(rn * tn, (uchar)0); 254 uchar* caccum = &_caccum[0]; 307 caccum[i] = (uchar) (caccum[i] + ((i ^ iprev) != 0)); 333 std::vector<uchar> _buffer(srn * stn + 2); 334 uchar* buffer = &_buffer[0]; 335 uchar* mcaccum = buffer + 1; 345 memset( mcaccum, 0, sfn * sizeof( uchar )); [all...] |
| /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
| TestClamp.rs | 91 uchar __attribute__((kernel)) testClampUcharUcharUcharUchar(uchar inValue, unsigned int x) { 92 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x); 93 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x); 278 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x); 279 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x); 284 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x); 285 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x); 290 uchar inMinValue = rsGetElementAt_uchar(gAllocInMinValue, x); 291 uchar inMaxValue = rsGetElementAt_uchar(gAllocInMaxValue, x) [all...] |
| /external/opencv/cxcore/src/ |
| cxmean.cpp | 243 const uchar* mask, int maskstep, \ 274 const uchar* mask, int maskstep, \ 295 const uchar* mask, int maskstep, \ 327 const uchar* mask, int maskstep, \ 365 ICV_IMPL_MEAN_BLOCK_ALL( 8u, uchar, int64, unsigned, 1 << 24 )
|
| cxarithm.cpp | 223 ICV_DEF_BIN_ARI_OP_2D_SFS( __op__, icv##name##_8u_C1R, uchar, int, cast_8u ) \ 231 ICV_DEF_UN_ARI_OP_2D( __op__, icv##name##_8u_C1R, uchar, int, CV_CAST_8U ) \ 277 uchar* buffer = 0; 448 CV_CALL( buffer = (uchar*)cvAlloc( buf_size )); 452 buffer = (uchar*)cvStackAlloc( buf_size ); 529 uchar* buffer = 0; 692 CV_CALL( buffer = (uchar*)cvAlloc( buf_size )); 696 buffer = (uchar*)cvStackAlloc( buf_size ); 753 uchar* buffer = 0; [all...] |
| cxarray.cpp | 188 arr->data.ptr = (uchar*)data; 316 mat->data.ptr = (uchar*)data; 585 iterator->ptr[i] = (uchar*)hdr->data.ptr; 788 static uchar* 792 uchar* ptr = 0; 832 ptr = (uchar*)CV_NODE_VAL(mat,node); 874 ptr = (uchar*)CV_NODE_VAL(mat,node); 972 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ); 1031 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ); 1075 mat->data.ptr = (uchar*)data [all...] |
| /external/opencv3/modules/core/src/ |
| array.cpp | 158 arr->data.ptr = (uchar*)data; 262 mat->data.ptr = (uchar*)data; 316 uchar* data0 = dst->data.ptr; 484 iterator->ptr[i] = (uchar*)hdr->data.ptr; 649 static uchar* 653 uchar* ptr = 0; 690 ptr = (uchar*)CV_NODE_VAL(mat,node); 733 ptr = (uchar*)CV_NODE_VAL(mat,node); 824 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ); 886 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ) [all...] |
| dxt.cpp | 470 const void* spec, uchar* buf) 477 const void* spec, uchar* buf) 484 const void* spec, uchar* buf) 491 const void* spec, uchar* buf) 498 const void* spec, uchar* buf) 504 const void* spec, uchar* buf) 510 const void* spec, uchar* buf) 516 const void* spec, uchar* buf) 555 if (ippsDFTFwd_CToC( src, dst, spec, (uchar*)buf ) >= 0) 563 if (ippsDFTInv_CToC( src, dst, spec, (uchar*)buf ) >= 0 [all...] |
| matmul.cpp | 56 GEMM_CopyBlock( const uchar* src, size_t src_step, 57 uchar* dst, size_t dst_step, 86 GEMM_TransposeBlock( const uchar* src, size_t src_step, 87 uchar* dst, size_t dst_step, 93 const uchar* _src = src; [all...] |
| cuda_gpu_mat.cpp | 51 step(step_), data((uchar*)data_), refcount(0), 52 datastart((uchar*)data_), dataend((const uchar*)data_), 77 step(step_), data((uchar*)data_), refcount(0), 78 datastart((uchar*)data_), dataend((const uchar*)data_),
|
| /external/opencv3/modules/core/test/ |
| test_rand.cpp | 186 const uchar* data = arr[0].ptr(); 198 double val = depth == CV_8U ? ((const uchar*)data)[i] : 258 const uchar* data = arr[0].ptr(); 268 double val = depth == CV_8U ? ((const uchar*)data)[i] : 326 int v = a.at<uchar>(i,j);
|
| test_io.cpp | 18 uchar* ptr = m.ptr(idx, true, 0); 20 *(uchar*)ptr = saturate_cast<uchar>(val); 51 uchar* v1 = (uchar*)CV_NODE_VAL(m1,node1); 52 uchar* v2 = cvPtrND( m2, CV_NODE_IDX(m1,node1), 0, 0, &node1->hashval ); 181 const uchar arr[] = {0, 1, 1, 0, 1, 1, 0, 1};
|
| test_arithm.cpp | 511 inRangeS_(const _Tp* src, const _WTp* a, const _WTp* b, uchar* dst, size_t total, int cn) 518 dst[i] = (a[0] <= val && val <= b[0]) ? uchar(255) : 0; 530 template<typename _Tp> static void inRange_(const _Tp* src, const _Tp* a, const _Tp* b, uchar* dst, size_t total, int cn) 565 const uchar* sptr = planes[0].ptr(); 566 const uchar* aptr = planes[1].ptr(); 567 const uchar* bptr = planes[2].ptr(); 568 uchar* dptr = planes[3].ptr(); 573 inRange_((const uchar*)sptr, (const uchar*)aptr, (const uchar*)bptr, dptr, total, cn) [all...] |
| /external/opencv3/modules/objdetect/test/ |
| test_cascadeandhog.cpp | 297 bool isZero( uchar i ) {return i == 0;} 333 vector<uchar> map(valRects.size(), 0); 627 Mat_<uchar> blockCacheFlags; 842 Mat_<uchar> cacheRow = blockCacheFlags.row(cacheIdx.y); 843 cacheRow = (uchar)0; 848 uchar& computedFlag = blockCacheFlags(cacheIdx.y, cacheIdx.x); 851 computedFlag = (uchar)1; // set it at once, before actual computing 856 const uchar* qanglePtr = qangle.ptr(pt.y) + pt.x*2; 869 const uchar* h = qanglePtr + pk.qangleOfs; 882 const uchar* h = qanglePtr + pk.qangleOfs [all...] |
| /external/opencv3/modules/photo/src/ |
| denoising.cpp | 136 fastNlMeansDenoising_<uchar, int, unsigned, DistSquared>(src, dst, h, 148 fastNlMeansDenoising_<uchar, int, unsigned, DistAbs>(src, dst, h, 254 FastNlMeansMultiDenoisingInvoker<uchar, IT, UIT, D, int>( 338 fastNlMeansDenoisingMulti_<uchar, int, unsigned, 352 fastNlMeansDenoisingMulti_<uchar, int, unsigned,
|
| /external/opencv3/apps/traincascade/ |
| old_ml.hpp | 82 uchar** ptr; 672 float* values, uchar* missing, float* responses, bool get_class_idx=false ); 824 float init_quality = 0, CvDTreeSplit* _split = 0, uchar* ext_buf = 0 ); 826 float init_quality = 0, CvDTreeSplit* _split = 0, uchar* ext_buf = 0 ); 828 float init_quality = 0, CvDTreeSplit* _split = 0, uchar* ext_buf = 0 ); 830 float init_quality = 0, CvDTreeSplit* _split = 0, uchar* ext_buf = 0 ); 831 virtual CvDTreeSplit* find_surrogate_split_ord( CvDTreeNode* n, int vi, uchar* ext_buf = 0 ); 832 virtual CvDTreeSplit* find_surrogate_split_cat( CvDTreeNode* n, int vi, uchar* ext_buf = 0 ); [all...] |
| /external/opencv3/modules/features2d/src/ |
| orb.cpp | 137 const uchar* ptr00 = img.ptr<uchar>(); 156 const uchar* ptr0 = ptr00 + (y0 - r + layerinfo[z].y)*step + x0 - r + layerinfo[z].x; 161 const uchar* ptr = ptr0 + ofs[k]; 184 const uchar* center = &img.at<uchar>(cvRound(pts[ptidx].pt.y) + layer.y, cvRound(pts[ptidx].pt.x) + layer.x); 231 const uchar* center = &imagePyramid.at<uchar>(cvRound(kpt.pt.y*scale) + layer.y, 236 uchar* desc = descriptors.ptr<uchar>(j) [all...] |
| /frameworks/rs/driver/runtime/arch/ |
| generic.c | 104 _CLAMP(uchar); variable 315 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { 516 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { 632 extern uchar4 __attribute__((overloadable)) rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v) [all...] |
| /external/opencv3/modules/imgcodecs/src/ |
| grfmt_jpeg.cpp | 452 uchar* data = img.ptr(); 486 std::vector<uchar> *buf, *dst; 560 std::vector<uchar> out_buf(1 << 12); 561 AutoBuffer<uchar> _buffer; 562 uchar* buffer; 690 uchar *data = img.data + img.step*y, *ptr = data;
|