| /external/opencv3/modules/imgproc/src/ |
| morph.cpp | 75 template<> inline uchar MinOp<uchar>::operator ()(const uchar a, const uchar b) const { return CV_MIN_8U(a, b); } 76 template<> inline uchar MaxOp<uchar>::operator ()(const uchar a, const uchar b) const { return CV_MAX_8U(a, b); } 81 int operator()(const uchar*, uchar*, int, int) const { return 0; [all...] |
| thresh.cpp | 50 thresh_8u( const Mat& _src, Mat& _dst, uchar thresh, uchar maxval, int type ) 53 uchar tab[256]; 144 tab[i] = (uchar)i; 152 tab[i] = (uchar)i; 156 tab[i] = (uchar)i; 175 const uchar* src = _src.ptr() + src_step*i; 176 uchar* dst = _dst.ptr() + dst_step*i; 296 const uchar* src = _src.ptr() + src_step*i; 297 uchar* dst = _dst.ptr() + dst_step*i [all...] |
| /external/opencv/cxcore/src/ |
| cxcmp.cpp | 59 dst[x] = (uchar)-(_toggle_macro_(a2) <= a1 && \ 74 dst[x] = (uchar)-f; \ 92 dst[x] = (uchar)-f; \ 114 dst[x] = (uchar)-f; \ 124 uchar* dst, int step, CvSize size ) \ 144 dst[x] = (uchar)-(scalar[0] <= a1 && a1 < scalar[1]); \ 155 dst[x] = (uchar)-f; \ 168 dst[x] = (uchar)-f; \ 183 dst[x] = (uchar)-f; \ 191 uchar* dst, int step, CvSize size, [all...] |
| cxcopy.cpp | 57 IPCVAPI_IMPL( CvStatus, icvCopy_8u_C1R, ( const uchar* src, int srcstep, 58 uchar* dst, int dststep, CvSize size ), 69 icvSet_8u_C1R( uchar* dst, int dst_step, CvSize size, 73 uchar* dst_limit = dst + size.width; 154 CvSize size, const uchar* mask, int maskstep ), \ 207 const uchar* mask, int maskstep, \ 225 ICV_DEF_SET_MASK_2D( icvSet_8u_C1MR, uchar, 1 ) 227 ICV_DEF_SET_MASK_2D( icvSet_8u_C3MR, uchar, 3 ) 236 ICV_DEF_COPY_MASK_2D( icvCopy_8u_C1MR, uchar, 1 ) 238 ICV_DEF_COPY_MASK_2D( icvCopy_8u_C3MR, uchar, 3 [all...] |
| cxconvert.cpp | 193 ICV_DEF_COPY_PX2PL_FUNC_2D( uchar, 8u, 2, ICV_DEF_PX2PL2PX_ENTRY_C2 ) 194 ICV_DEF_COPY_PX2PL_FUNC_2D( uchar, 8u, 3, ICV_DEF_PX2PL2PX_ENTRY_C3 ) 195 ICV_DEF_COPY_PX2PL_FUNC_2D( uchar, 8u, 4, ICV_DEF_PX2PL2PX_ENTRY_C4 ) 207 ICV_DEF_COPY_PX2PL_FUNC_2D_COI( uchar, 8u ) 346 ICV_DEF_COPY_PL2PX_FUNC_2D( uchar, 8u, 2, ICV_DEF_PX2PL2PX_ENTRY_C2 ) 347 ICV_DEF_COPY_PL2PX_FUNC_2D( uchar, 8u, 3, ICV_DEF_PX2PL2PX_ENTRY_C3 ) 348 ICV_DEF_COPY_PL2PX_FUNC_2D( uchar, 8u, 4, ICV_DEF_PX2PL2PX_ENTRY_C4 ) 359 ICV_DEF_COPY_PL2PX_FUNC_2D_COI( uchar, 8u ) 701 ICV_DEF_MIX_CH_FUNC_2D( uchar, 8u ) 728 uchar* buffer = 0 [all...] |
| /external/opencv3/modules/core/src/ |
| matrix.cpp | 75 uchar* srcptr = u->data; 90 uchar* ptrs[2]; 106 uchar* dstptr = u->data; 121 uchar* ptrs[2]; 136 uchar* srcptr = usrc->data; 137 uchar* dstptr = udst->data; 154 uchar* ptrs[2]; 190 uchar* data = data0 ? (uchar*)data0 : (uchar*)fastMalloc(total) [all...] |
| convert.cpp | 106 SPLIT2_KERNEL_TEMPLATE(VSplit2, uchar , uint8x16x2_t, vld2q_u8 , vst1q_u8 ); 111 SPLIT3_KERNEL_TEMPLATE(VSplit3, uchar , uint8x16x3_t, vld3q_u8 , vst1q_u8 ); 116 SPLIT4_KERNEL_TEMPLATE(VSplit4, uchar , uint8x16x4_t, vld4q_u8 , vst1q_u8 ); 263 SPLIT2_KERNEL_TEMPLATE( uchar, __m128i, __m128i, _mm_deinterleave_epi8, si128); 267 SPLIT3_KERNEL_TEMPLATE( uchar, __m128i, __m128i, _mm_deinterleave_epi8, si128); 271 SPLIT4_KERNEL_TEMPLATE( uchar, __m128i, __m128i, _mm_deinterleave_epi8, si128); 461 MERGE2_KERNEL_TEMPLATE(VMerge2, uchar , uint8x16x2_t, vld1q_u8 , vst2q_u8 ); 466 MERGE3_KERNEL_TEMPLATE(VMerge3, uchar , uint8x16x3_t, vld1q_u8 , vst3q_u8 ); 471 MERGE4_KERNEL_TEMPLATE(VMerge4, uchar , uint8x16x4_t, vld1q_u8 , vst4q_u8 ); [all...] |
| precomp.hpp | 78 typedef void (*BinaryFunc)(const uchar* src1, size_t step1, 79 const uchar* src2, size_t step2, 80 uchar* dst, size_t step, Size sz, 104 extern const uchar g_Saturate8u[]; 242 void convertAndUnrollScalar( const Mat& sc, int buftype, uchar* scbuf, size_t blocksize );
|
| /external/opencv3/apps/createsamples/ |
| utility.cpp | 139 uchar chartmp; 148 tmp = (short) (CV_MAT_ELEM( *mat, uchar, r, c )); 255 uchar* src_data; 259 uchar* dst_data; 414 uchar* s = src_data + isrc_y * src_step + isrc_x; 444 ((uchar*)(dst_data + y * dst_step))[x] = (uchar) (i0 + (i1 - i0)*delta_y); 616 uchar* pmask; 617 uchar* psrc; 618 uchar* perode [all...] |
| /external/icu/icu4c/source/common/unicode/ |
| ucharstrie.h | 37 * Traverses a UChar-serialized data structure with minimal state, 53 * The trieUChars must contain a copy of a UChar sequence from the UCharsTrieBuilder, 54 * starting with the first UChar of that sequence. 61 * @param trieUChars The UChar array that contains the serialized trie. 64 UCharsTrie(const UChar *trieUChars) 76 * but not the UChar array which will be shared. (Shallow copy.) 110 const UChar *uchars; 111 const UChar *pos; 149 * and whether another input UChar can continue a matching string. 156 * Traverses the trie from the initial state for this input UChar [all...] |
| /external/opencv/cv/src/ |
| cvdistransform.cpp | 67 icvDistanceTransform_3x3_C1R( const uchar* src, int srcstep, int* temp, 85 const uchar* s = src + i*srcstep; 139 icvDistanceTransform_5x5_C1R( const uchar* src, int srcstep, int* temp, 158 const uchar* s = src + i*srcstep; 228 icvDistanceTransformEx_5x5_C1R( const uchar* src, int srcstep, int* temp, 250 const uchar* s = src + i*srcstep; 501 const uchar* sptr = src->data.ptr + i + (m-1)*sstep; 595 typedef CvStatus (CV_STDCALL * CvIPPDistTransFunc)( const uchar* src, int srcstep, 599 typedef CvStatus (CV_STDCALL * CvIPPDistTransFunc2)( uchar* src, int srcstep, 604 typedef CvStatus (CV_STDCALL * CvDistTransFunc)( const uchar* src, int srcstep [all...] |
| cvutils.cpp | 111 icvCopyReplicateBorder_8u( const uchar* src, int srcstep, CvSize srcroi, 112 uchar* dst, int dststep, CvSize dstroi, 113 int top, int left, int cn, const uchar* ) 201 icvCopyReflect101Border_8u( const uchar* src, int srcstep, CvSize srcroi, 202 uchar* dst, int dststep, CvSize dstroi, 318 const uchar* s = dst + i*dststep; 319 uchar* d = dst + (j+top)*dststep; 334 icvCopyConstBorder_8u( const uchar* src, int srcstep, CvSize srcroi, 335 uchar* dst, int dststep, CvSize dstroi, 336 int top, int left, int cn, const uchar* value [all...] |
| /external/opencv3/samples/gpu/ |
| farneback_optical_flow.cpp | 38 dst.at<uchar>(y,3*x) = 0; 39 dst.at<uchar>(y,3*x+1) = (uchar)mapVal(-v.at<float>(y,x), -dMax, dMax, 0.f, 255.f); 40 dst.at<uchar>(y,3*x+2) = (uchar)mapVal(u.at<float>(y,x), -dMax, dMax, 0.f, 255.f);
|
| /external/opencv/cvaux/src/ |
| cvmat.cpp | 47 double CvMAT::get( const uchar* ptr, int type, int coi ) 55 t = ((uchar*)ptr)[coi]; 77 void CvMAT::set( uchar* ptr, int type, int coi, double d ) 86 ((uchar*)ptr)[coi] = CV_CAST_8U(i); 110 void CvMAT::set( uchar* ptr, int type, int coi, int i ) 117 ((uchar*)ptr)[coi] = CV_CAST_8U(i); 138 void CvMAT::set( uchar* ptr, int type, double d ) 146 ((uchar*)ptr)[0] = CV_CAST_8U(i); 148 while( --i ) ((uchar*)ptr)[i] = 0; 182 void CvMAT::set( uchar* ptr, int type, int i [all...] |
| /external/opencv3/modules/core/src/opencl/ |
| arithm.cl | 374 #define EXTRA_PARAMS , __global uchar* dstptr2, int dststep2, int dstoffset2 402 __kernel void KF(__global const uchar * srcptr1, int srcstep1, int srcoffset1, 403 __global const uchar * srcptr2, int srcstep2, int srcoffset2, 404 __global uchar * dstptr, int dststep, int dstoffset, 432 __kernel void KF(__global const uchar * srcptr1, int srcstep1, int srcoffset1, 433 __global const uchar * srcptr2, int srcstep2, int srcoffset2, 434 __global const uchar * mask, int maskstep, int maskoffset, 435 __global uchar * dstptr, int dststep, int dstoffset, 459 __kernel void KF(__global const uchar * srcptr1, int srcstep1, int srcoffset1, 460 __global uchar * dstptr, int dststep, int dstoffset [all...] |
| /external/opencv3/modules/hal/include/opencv2/hal/ |
| intrin_neon.hpp | 55 typedef uchar lane_type; 60 v_uint8x16(uchar v0, uchar v1, uchar v2, uchar v3, uchar v4, uchar v5, uchar v6, uchar v7, 61 uchar v8, uchar v9, uchar v10, uchar v11, uchar v12, uchar v13, uchar v14, uchar v15 [all...] |
| /external/opencv/cvaux/include/ |
| cvaux.h | 75 int ioBufSize, uchar* buffer, void* userData, [all...] |
| /external/opencv3/apps/traincascade/ |
| old_ml_boost.cpp | 212 cv::AutoBuffer<uchar> inn_buf(2*n*sizeof(int)+n*sizeof(float)); 213 float* values_buf = (float*)(uchar*)inn_buf; 252 CvDTreeSplit* _split, uchar* _ext_buf ) 260 cv::AutoBuffer<uchar> inn_buf; 263 uchar* ext_buf = _ext_buf ? _ext_buf : (uchar*)inn_buf; 362 CvBoostTree::find_split_cat_class( CvDTreeNode* node, int vi, float init_quality, CvDTreeSplit* _split, uchar* _ext_buf ) 369 cv::AutoBuffer<uchar> inn_buf((2*mi+3)*sizeof(double) + mi*sizeof(double*)); 372 uchar* base_buf = (uchar*)inn_buf [all...] |
| /external/opencv3/modules/core/include/opencv2/core/cuda/ |
| vec_traits.hpp | 60 uchar a0, a1, a2, a3, a4, a5, a6, a7; 62 static __host__ __device__ __forceinline__ uchar8 make_uchar8(uchar a0, uchar a1, uchar a2, uchar a3, uchar a4, uchar a5, uchar a6, uchar a7) 143 OPENCV_CUDA_IMPLEMENT_TYPE_VEC(uchar) [all...] |
| /external/opencv3/modules/core/include/opencv2/core/ |
| traits.hpp | 60 form CV_\<bit-depth\>{U|S|F}C(\<number_of_channels\>), for example: uchar \~ CV_8UC1, 3-element 71 template<> class DataType<uchar> 73 typedef uchar value_type; 75 typedef uchar channel_type; 136 template<> class DataType<uchar> 139 typedef uchar value_type; 283 typedef uchar value_type;
|
| /external/opencv3/modules/cudaarithm/src/cuda/ |
| split_merge.cu | 120 {MergeFunc<2, uchar>::call, MergeFunc<2, ushort>::call, MergeFunc<2, int>::call, 0, MergeFunc<2, double>::call}, 121 {MergeFunc<3, uchar>::call, MergeFunc<3, ushort>::call, MergeFunc<3, int>::call, 0, MergeFunc<3, double>::call}, 122 {MergeFunc<4, uchar>::call, MergeFunc<4, ushort>::call, MergeFunc<4, int>::call, 0, MergeFunc<4, double>::call} 203 {SplitFunc<2, uchar>::call, SplitFunc<2, ushort>::call, SplitFunc<2, int>::call, 0, SplitFunc<2, double>::call}, 204 {SplitFunc<3, uchar>::call, SplitFunc<3, ushort>::call, SplitFunc<3, int>::call, 0, SplitFunc<3, double>::call}, 205 {SplitFunc<4, uchar>::call, SplitFunc<4, ushort>::call, SplitFunc<4, int>::call, 0, SplitFunc<4, double>::call}
|
| /external/opencv3/modules/imgproc/test/ |
| test_color.cpp | 192 uchar* h0 = test_mat[REF_OUTPUT][0].ptr(y); 193 uchar* h = test_mat[OUTPUT][0].ptr(y); 226 const uchar* src_row = src.ptr(i); 227 uchar* dst_row = dst.ptr(i); 241 dst_row[j] = saturate_cast<uchar>(t); 321 const uchar* src_row = dst.ptr(i); 322 uchar* dst_row = dst2.ptr(i); 334 dst_row[j*cn + blue_idx] = saturate_cast<uchar>(b); 335 dst_row[j*cn + 1] = saturate_cast<uchar>(g); 336 dst_row[j*cn + (blue_idx^2)] = saturate_cast<uchar>(r) [all...] |
| /external/opencv3/modules/videostab/include/opencv2/videostab/ |
| inpainting.hpp | 168 Mat_<uchar> grayFrame_, transformedGrayFrame1_; 169 Mat_<uchar> mask1_, transformedMask1_; 171 Mat_<uchar> flowMask_;
|
| /external/opencv3/samples/cpp/tutorial_code/ImgTrans/ |
| imageSegmentation.cpp | 143 colors.push_back(Vec3b((uchar)b, (uchar)g, (uchar)r));
|
| /external/opencv3/samples/cpp/ |
| watershed.cpp | 109 colorTab.push_back(Vec3b((uchar)b, (uchar)g, (uchar)r));
|