/external/opencv/otherlibs/highgui/ |
D | utils.h | 51 (((uchar*)(ptr))[0] = (clr).b, \ 52 ((uchar*)(ptr))[1] = (clr).g, \ 53 ((uchar*)(ptr))[2] = (clr).r) 56 #define saturate(x) (uchar)(((x) & ~255) == 0 ? (x) : ~((x)>>31)) 61 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* bgr, int bgr_step, 62 uchar* gray, int gray_step, 64 void icvCvt_BGRA2Gray_8u_C4C1R( const uchar* bgra, int bgra_step, 65 uchar* gray, int gray_step, 67 void icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, int gray_step, 68 uchar* bgr, int bgr_step, CvSize size ); [all …]
|
D | utils.cpp | 83 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step, in icvCvt_BGR2Gray_8u_C3C1R() 84 uchar* gray, int gray_step, in icvCvt_BGR2Gray_8u_C3C1R() 94 gray[i] = (uchar)t; in icvCvt_BGR2Gray_8u_C3C1R() 121 void icvCvt_BGRA2Gray_8u_C4C1R( const uchar* rgba, int rgba_step, in icvCvt_BGRA2Gray_8u_C4C1R() 122 uchar* gray, int gray_step, in icvCvt_BGRA2Gray_8u_C4C1R() 132 gray[i] = (uchar)t; in icvCvt_BGRA2Gray_8u_C4C1R() 140 void icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, int gray_step, in icvCvt_Gray2BGR_8u_C1C3R() 141 uchar* bgr, int bgr_step, CvSize size ) in icvCvt_Gray2BGR_8u_C1C3R() 155 void icvCvt_BGRA2BGR_8u_C4C3R( const uchar* bgra, int bgra_step, in icvCvt_BGRA2BGR_8u_C4C3R() 156 uchar* bgr, int bgr_step, in icvCvt_BGRA2BGR_8u_C4C3R() [all …]
|
D | bitstrm.cpp | 59 void bsBSwapBlock( uchar *start, uchar *end ) in bsBSwapBlock() 88 m_start = new uchar[m_block_size + m_unGetsize]; in Allocate() 235 uchar *current = m_current; in GetByte() 244 val = *((uchar*)current); in GetByte() 252 uchar* data = (uchar*)buffer; in GetBytes() 286 uchar *current = m_current; in GetWord() 305 uchar *current = m_current; in GetDWord() 327 uchar *current = m_current; in GetWord() 346 uchar *current = m_current; in GetDWord() 405 if( (m_current = (uchar*)(current - mask)) >= m_end ) in Get() [all …]
|
D | bitstrm.h | 56 typedef unsigned char uchar; typedef 79 uchar* m_start; 80 uchar* m_end; 81 uchar* m_current; 175 uchar* m_start; 176 uchar* m_end; 177 uchar* m_current; 262 int* bsCreateSourceHuffmanTable( const uchar* src, int* dst, 267 void bsBSwapBlock( uchar *start, uchar *end );
|
D | grfmt_sunras.cpp | 125 uchar buffer[256*3]; in ReadHeader() 173 bool GrFmtSunRasterReader::ReadData( uchar* data, int step, int color ) in ReadData() 176 uchar buffer[buffer_size]; in ReadData() 177 uchar bgr_buffer[buffer_size]; in ReadData() 178 uchar gray_palette[256]; in ReadData() 180 uchar* src = buffer; in ReadData() 181 uchar* bgr = bgr_buffer; in ReadData() 191 src = new uchar[src_pitch+32]; in ReadData() 194 bgr = new uchar[m_width*3 + 32]; in ReadData() 221 uchar* line_end = src + (m_width*m_bpp + 7)/8; in ReadData() [all …]
|
D | grfmt_pxm.cpp | 196 bool GrFmtPxMReader::ReadData( uchar* data, int step, int color ) in ReadData() 199 uchar buffer[buffer_size]; in ReadData() 200 uchar pal_buffer[buffer_size]; in ReadData() 203 uchar* src = buffer; in ReadData() 204 uchar* gray_palette = pal_buffer; in ReadData() 214 src = new uchar[width3*m_bit_depth/8 + 32]; in ReadData() 220 gray_palette = new uchar[m_maxval + 1]; in ReadData() 224 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0)); in ReadData() 290 uchar v = src[x * 2]; in ReadData() 302 src[x] = (uchar)(v >> 8); in ReadData() [all …]
|
/external/v8/src/ |
D | unicode.h | 40 typedef unsigned int uchar; typedef 53 inline bool get(uchar c); 56 bool CalculateValue(uchar c); 59 inline CacheEntry(uchar code_point, bool value) in CacheEntry() 62 uchar code_point_ : 21; 78 inline int get(uchar c, uchar n, uchar* result); 81 int CalculateValue(uchar c, uchar n, uchar* result); 84 inline CacheEntry(uchar code_point, signed offset) in CacheEntry() 87 uchar code_point_; 100 static const uchar kMaxCodePoint; [all …]
|
D | unicode-inl.h | 35 template <class T, int s> bool Predicate<T, s>::get(uchar code_point) { in get() 42 uchar code_point) { in CalculateValue() 48 template <class T, int s> int Mapping<T, s>::get(uchar c, uchar n, in get() 49 uchar* result) { in get() 63 template <class T, int s> int Mapping<T, s>::CalculateValue(uchar c, uchar n, in CalculateValue() 64 uchar* result) { in CalculateValue() 81 unsigned Utf8::Encode(char* str, uchar c) { in Encode() 105 uchar Utf8::ValueOf(const byte* bytes, unsigned length, unsigned* cursor) { in ValueOf() 116 unsigned Utf8::Length(uchar c) { in Length() 128 uchar CharacterStream::GetNext() { in GetNext() [all …]
|
D | unicode.cc | 38 static const uchar kSentinel = static_cast<uchar>(-1); 51 static inline uchar TableGet(const int32_t* table, int index) { in TableGet() 55 static inline uchar GetEntry(int32_t entry) { in GetEntry() 73 static bool LookupPredicate(const int32_t* table, uint16_t size, uchar chr) { in LookupPredicate() 80 uchar current_value = GetEntry(TableGet<kEntryDist>(table, mid)); in LookupPredicate() 98 uchar entry = GetEntry(field); in LookupPredicate() 105 static const uchar kEndOfEncoding = kSentinel; 106 uchar chars[kW]; 124 uchar chr, in LookupMapping() 125 uchar next, in LookupMapping() [all …]
|
/external/opencv/cv/src/ |
D | cvinpaint.cpp | 91 num += CV_MAT_ELEM(*f,uchar,i,j)!=0; in Init() 121 if (CV_MAT_ELEM(*f,uchar,i,j)!=0) { in Add() 217 if( CV_MAT_ELEM(*f,uchar,i1,j1) != INSIDE ) in FastMarching_solve() 218 if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve() 225 else if( CV_MAT_ELEM(*f,uchar,i2,j2) != INSIDE ) in FastMarching_solve() 244 CV_MAT_ELEM(*f,uchar,ii,jj) = (uchar)known; in icvCalcFMM() 254 if (CV_MAT_ELEM(*f,uchar,i,j)==INSIDE) { in icvCalcFMM() 260 CV_MAT_ELEM(*f,uchar,i,j) = BAND; in icvCalcFMM() 269 if (CV_MAT_ELEM(*f,uchar,i,j) == CHANGE) { in icvCalcFMM() 270 CV_MAT_ELEM(*f,uchar,i,j) = KNOWN; in icvCalcFMM() [all …]
|
D | _cvipp.h | 120 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \ 124 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \ 129 const uchar* mask, int maskstep, acctype* dst, int dststep, CvSize size )) \ 132 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \ 137 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \ 141 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \ 146 const uchar* mask, int maskstep, acctype* dst, int dststep, CvSize size )) \ 149 ( const arrtype* src, int srcstep, const uchar* mask, int maskstep, \ 152 IPCV_ACCUM( 8u32f, uchar, float ) 330 CV_PLUGINS1(CV_PLUGIN_IPPCV), ( int width, const uchar* element, \ [all …]
|
D | cvcanny.cpp | 53 uchar **stack_top, **stack_bottom = 0; in cvCanny() 65 uchar* map; in cvCanny() 131 map = (uchar*)(mag_buf[2] + size.width + 2); in cvCanny() 135 CV_CALL( stack_top = stack_bottom = (uchar**)cvAlloc( maxsize*sizeof(stack_top[0]) )); in cvCanny() 153 #define CANNY_PUSH(d) *(d) = (uchar)2, *stack_top++ = (d) in cvCanny() 169 uchar* _map; in cvCanny() 221 uchar** new_stack_bottom; in cvCanny() 223 CV_CALL( new_stack_bottom = (uchar**)cvAlloc( maxsize * sizeof(stack_top[0])) ); in cvCanny() 259 _map[j] = (uchar)0; in cvCanny() 273 _map[j] = (uchar)0; in cvCanny() [all …]
|
D | cvcolor.cpp | 195 CV_IMPL_BGRX2BGR( 8u, uchar ) 198 CV_IMPL_BGR2BGRX( 8u, uchar ) 201 CV_IMPL_BGRA2RGBA( 8u, uchar ) 211 icvBGR5x52BGRx_8u_C2CnR( const uchar* src, int srcstep, in icvBGR5x52BGRx_8u_C2CnR() 212 uchar* dst, int dststep, in icvBGR5x52BGRx_8u_C2CnR() 226 dst[blue_idx] = (uchar)(t << 3); in icvBGR5x52BGRx_8u_C2CnR() 227 dst[1] = (uchar)((t >> 3) & ~3); in icvBGR5x52BGRx_8u_C2CnR() 228 dst[blue_idx ^ 2] = (uchar)((t >> 8) & ~7); in icvBGR5x52BGRx_8u_C2CnR() 236 dst[blue_idx] = (uchar)(t << 3); in icvBGR5x52BGRx_8u_C2CnR() 237 dst[1] = (uchar)((t >> 2) & ~7); in icvBGR5x52BGRx_8u_C2CnR() [all …]
|
D | _cvimgproc.h | 79 icvCopyReplicateBorder_8u( const uchar* src, int srcstep, CvSize srcroi, 80 uchar* dst, int dststep, CvSize dstroi, 81 int left, int right, int cn, const uchar* value = 0 ); 104 ( const uchar* src, int src_step, CvSize src_size, 105 uchar* dst, int dst_step, CvSize win_size, CvPoint2D32f center ); 107 ( const uchar* src, int src_step, CvSize src_size, 114 ( const uchar* src, int src_step, CvSize src_size, 115 uchar* dst, int dst_step, CvSize win_size, const float *matrix ); 117 ( const uchar* src, int src_step, CvSize src_size,
|
/external/opencv/ |
D | WLNonFileByteStream.cpp | 36 m_start = new uchar[data_size]; in Allocate() 73 *m_current++ = (uchar)val; in PutByte() 79 uchar* data = (uchar*)buffer; in PutBytes() 103 uchar *current = m_current; in PutWord() 107 current[0] = (uchar)val; in PutWord() 108 current[1] = (uchar)(val >> 8); in PutWord() 121 uchar *current = m_current; in PutDWord() 125 current[0] = (uchar)val; in PutDWord() 126 current[1] = (uchar)(val >> 8); in PutDWord() 127 current[2] = (uchar)(val >> 16); in PutDWord() [all …]
|
/external/opencv/cvaux/src/ |
D | cvmorphing.cpp | 46 icvMorphEpilines8uC3( uchar * first_pix, /* raster epiline from image 1 */ in icvMorphEpilines8uC3() 47 uchar * second_pix, /* raster epiline from image 2 */ in icvMorphEpilines8uC3() 48 uchar * dst_pix, /* raster epiline from dest image */ in icvMorphEpilines8uC3() 120 dst_pix[indexImg1] = (uchar) (((int) (first_pix[begLineIndex]) * s) >> 8); in icvMorphEpilines8uC3() 125 dst_pix[indexImg1] = (uchar) (((int) (first_pix[begLineIndex + 1]) * s) >> 8); in icvMorphEpilines8uC3() 130 dst_pix[indexImg1] = (uchar) (((int) (first_pix[begLineIndex + 2]) * s) >> 8); in icvMorphEpilines8uC3() 210 (uchar) (dst_pix[indexImg1] + in icvMorphEpilines8uC3() 211 (uchar) (((unsigned int) (second_pix[begLineIndex]) * s1) >> 8)); in icvMorphEpilines8uC3() 217 (uchar) (dst_pix[indexImg1] + in icvMorphEpilines8uC3() 218 (uchar) (((unsigned int) (second_pix[begLineIndex + 1]) * s1) >> in icvMorphEpilines8uC3() [all …]
|
D | cvdpstereo.cpp | 70 uchar step; //local-optimal step 76 uchar min_val, max_val; 82 void icvFindStereoCorrespondenceByBirchfieldDP( uchar* src1, uchar* src2, in icvFindStereoCorrespondenceByBirchfieldDP() 83 uchar* disparities, in icvFindStereoCorrespondenceByBirchfieldDP() 93 uchar *dispdata; in icvFindStereoCorrespondenceByBirchfieldDP() 96 uchar val, prevval, prev, curr; in icvFindStereoCorrespondenceByBirchfieldDP() 98 uchar* dest = disparities; in icvFindStereoCorrespondenceByBirchfieldDP() 107 uchar* dsi = (uchar*)cvAlloc(sizeof(uchar)*imgW*dispH); in icvFindStereoCorrespondenceByBirchfieldDP() 108 uchar* edges = (uchar*)cvAlloc(sizeof(uchar)*imgW*imgH); in icvFindStereoCorrespondenceByBirchfieldDP() 115 uchar* srcdata1 = src1 + widthStep * y; in icvFindStereoCorrespondenceByBirchfieldDP() [all …]
|
D | cvbgfg_acmmm2003.cpp | 255 uchar* rowStart1 = (uchar*)curr_frame->imageData + y * curr_frame->widthStep + b; in cvChangeDetection() 256 uchar* rowStart2 = (uchar*)prev_frame->imageData + y * prev_frame->widthStep + b; in cvChangeDetection() 289 uchar bestThres = 0; in cvChangeDetection() 292 bestThres = (uchar)(*pBestThres); if (bestThres <10) bestThres=10; in cvChangeDetection() 296 uchar* rowStart1 = (uchar*)(curr_frame->imageData) + y * curr_frame->widthStep + b; in cvChangeDetection() 297 uchar* rowStart2 = (uchar*)(prev_frame->imageData) + y * prev_frame->widthStep + b; in cvChangeDetection() 298 uchar* rowStart3 = (uchar*)(change_mask->imageData) + y * change_mask->widthStep; in cvChangeDetection() 358 …if( ((uchar*)model->Fbd->imageData)[i*mask_step+j] || ((uchar*)model->Ftd->imageData)[i*mask_step+… in icvUpdateFGDStatModel() 369 uchar* curr_data = (uchar*)(curr_frame->imageData) + i*curr_frame->widthStep + j*3; in icvUpdateFGDStatModel() 370 uchar* prev_data = (uchar*)(prev_frame->imageData) + i*prev_frame->widthStep + j*3; in icvUpdateFGDStatModel() [all …]
|
D | cveigenobjects.cpp | 213 int ioFlags, int ioBufSize, uchar* buffer, in icvCalcCovarMatrixEx_8u32fR() 240 uchar *buffer2; in icvCalcCovarMatrixEx_8u32fR() 249 buffer2 = (uchar *)cvAlloc( sizeof( uchar ) * n ); in icvCalcCovarMatrixEx_8u32fR() 257 uchar *bu1 = buffer, *bu2; in icvCalcCovarMatrixEx_8u32fR() 318 uchar u1 = bu1[ij]; in icvCalcCovarMatrixEx_8u32fR() 319 uchar u2 = bu2[ij]; in icvCalcCovarMatrixEx_8u32fR() 354 uchar **objects = (uchar **) (((CvInput *) & input)->data); in icvCalcCovarMatrixEx_8u32fR() 358 uchar *bu = objects[i]; in icvCalcCovarMatrixEx_8u32fR() 365 uchar *bu1 = bu; in icvCalcCovarMatrixEx_8u32fR() 366 uchar *bu2 = objects[j]; in icvCalcCovarMatrixEx_8u32fR() [all …]
|
D | cvprewarp.cpp | 48 uchar * prewarp_1, /* prewarp image 1 */ in icvFindRuns() 49 uchar * prewarp_2, /* prewarp image 2 */ in icvFindRuns() 74 icvGetColor( uchar * valueRGB ) in icvGetColor() 88 uchar * prewarp, /* prewarp image */ in icvFindRunsInOneImage() 98 uchar *curr_point; in icvFindRunsInOneImage() 145 uchar * prewarp_1, /* prewarp image 1 */ in cvFindRuns() 146 uchar * prewarp_2, /* prewarp image 2 */ in cvFindRuns()
|
/external/opencv/cxcore/src/ |
D | _cxcore.h | 84 extern const uchar icvSaturate8u[]; 298 CvStatus CV_STDCALL icvSetZero_8u_C1R( uchar* dst, int dststep, CvSize size ); 303 CvStatus CV_STDCALL icvLUT_Transform8u_8u_C1R( const uchar* src, int srcstep, uchar* dst, 304 int dststep, CvSize size, const uchar* lut ); 305 CvStatus CV_STDCALL icvLUT_Transform8u_16u_C1R( const uchar* src, int srcstep, ushort* dst, 307 CvStatus CV_STDCALL icvLUT_Transform8u_32s_C1R( const uchar* src, int srcstep, int* dst, 309 CvStatus CV_STDCALL icvLUT_Transform8u_64f_C1R( const uchar* src, int srcstep, double* dst, 312 CvStatus CV_STDCALL icvLUT_Transform8u_8u_C2R( const uchar* src, int srcstep, uchar* dst, 313 int dststep, CvSize size, const uchar* lut ); 314 CvStatus CV_STDCALL icvLUT_Transform8u_8u_C3R( const uchar* src, int srcstep, uchar* dst, [all …]
|
D | _cxipp.h | 51 ( const uchar* src, int src_step, 52 uchar* dst, int dst_step, CvSize size )) 55 ( uchar value, uchar* dst, int dst_step, CvSize size )) 67 const uchar* mask, int maskstep )) \ 71 const uchar* mask, int maskstep, \ 74 IPCV_COPYSET( _8u_C1MR, uchar, int ) 76 IPCV_COPYSET( _8u_C3MR, uchar, int ) 93 ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, \ 94 uchar* dst, int dststep, CvSize size, int scalefactor )) \ 129 ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, \ [all …]
|
D | cxlogic.cpp | 63 ( const uchar* src1, int step1, const uchar* src2, int step2, \ 64 uchar* dst, int step, CvSize size ), (src1, step1, src2, step2, dst, step, size) )\ 96 int t = __op__(((const uchar*)src1)[i],((const uchar*)src2)[i]); \ 97 dst[i] = (uchar)t; \ 112 ( const uchar* src0, int step1, uchar* dst0, int step, CvSize size, \ 113 const uchar* scalar, int pix_size ) \ 119 const uchar* src = (const uchar*)src0; \ 120 uchar* dst = dst0; \ 149 dst[i] = (uchar)t0; \ 150 dst[i+1] = (uchar)t1; \ [all …]
|
/external/opencv/cv/include/ |
D | cv.hpp | 57 typedef void (*CvRowFilterFunc)( const uchar* src, uchar* dst, void* params ); 58 typedef void (*CvColumnFilterFunc)( uchar** src, uchar* dst, int dst_step, int count, void* params … 129 virtual int fill_cyclic_buffer( const uchar* src, int src_step, 143 uchar* buffer; 144 uchar** rows; 146 uchar *buf_start, *buf_end, *buf_head, *buf_tail; 154 uchar* const_row; 238 uchar* get_kernel_sparse_buf() { return k_sparse; } in get_kernel_sparse_buf() 243 uchar* k_sparse; 267 uchar* get_sum_buf() { return sum; } in get_sum_buf() [all …]
|
/external/icu4c/common/unicode/ |
D | utf_old.h | 237 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) argument 285 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) argument 287 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e) argument 289 #define UTF8_IS_TRAIL(uchar) (((uchar)&0xc0)==0x80) argument 505 #define UTF_IS_FIRST_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xd800) argument 508 #define UTF_IS_SECOND_SURROGATE(uchar) (((uchar)&0xfffffc00)==0xdc00) argument 533 #define UTF16_IS_SINGLE(uchar) !UTF_IS_SURROGATE(uchar) argument 536 #define UTF16_IS_LEAD(uchar) UTF_IS_FIRST_SURROGATE(uchar) argument 539 #define UTF16_IS_TRAIL(uchar) UTF_IS_SECOND_SURROGATE(uchar) argument 780 #define UTF32_IS_SINGLE(uchar) 1 argument [all …]
|