/external/opencv/otherlibs/highgui/ |
D | grfmt_jpeg2000.cpp | 288 dst[x*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u() 294 dst[x*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u() 301 dst[x*ncmpts] = dst[(x+1)*ncmpts] = CV_CAST_8U(pix); in ReadComponent8u() 307 pix = CV_CAST_8U(pix); in ReadComponent8u()
|
D | grfmt_exr.cpp | 360 out[x] = CV_CAST_8U(t); in ReadData() 369 out[x] = CV_CAST_8U(t); in ReadData() 501 ((uchar *)data)[y * step + x * 3] = CV_CAST_8U(t); in ChromaToBGR() 503 ((uchar *)data)[y * step + x * 3 + 1] = CV_CAST_8U(t); in ChromaToBGR() 505 ((uchar *)data)[y * step + x * 3 + 2] = CV_CAST_8U(t); in ChromaToBGR()
|
/external/opencv/cxcore/src/ |
D | cxconvert.cpp | 973 lut[i] = CV_CAST_8U(t); in icvCvtScaleAbsTo_8u_C1R() 982 lut[i] = CV_CAST_8U(t); in icvCvtScaleAbsTo_8u_C1R() 997 CV_CAST_8U, 1, 0 ); in icvCvtScaleAbsTo_8u_C1R() 1002 CV_CAST_8U, iscale, 0 ); in icvCvtScaleAbsTo_8u_C1R() 1008 CV_CAST_8U, scale, shift ); in icvCvtScaleAbsTo_8u_C1R() 1021 CV_CAST_8U, 1, 0 ); in icvCvtScaleAbsTo_8u_C1R() 1026 CV_CAST_8U, iscale, ishift ); in icvCvtScaleAbsTo_8u_C1R() 1032 CV_CAST_8U, scale, shift ); in icvCvtScaleAbsTo_8u_C1R() 1037 CV_CAST_8U, scale, shift ); in icvCvtScaleAbsTo_8u_C1R() 1041 CV_CAST_8U, scale, shift ); in icvCvtScaleAbsTo_8u_C1R() [all …]
|
D | cxrand.cpp | 395 ICV_IMPL_RAND_BITS( 8u, uchar, CV_CAST_8U ) 400 ICV_IMPL_RAND( 8u, uchar, int, cvFloor, CV_CAST_8U ) 406 ICV_IMPL_RANDN( 8u, uchar, int, cvRound, CV_CAST_8U )
|
D | cxarithm.cpp | 231 ICV_DEF_UN_ARI_OP_2D( __op__, icv##name##_8u_C1R, uchar, int, CV_CAST_8U ) \ 1292 ICV_DEF_MUL_OP_CASE( 8u, uchar, int, cvRound, CV_CAST_8U, CV_8TO32F ) 1616 cvRound, CV_CAST_8U, CV_8TO32F, CV_NONZERO, src2 ) 1635 cvRound, CV_CAST_8U, CV_8TO32F, CV_NONZERO, src ) 1936 dst[i] = CV_CAST_8U( t0 ); in icvAddWeighted_8u_fast_C1R() 1937 dst[i+1] = CV_CAST_8U( t1 ); in icvAddWeighted_8u_fast_C1R() 1942 dst[i+2] = CV_CAST_8U( t0 ); in icvAddWeighted_8u_fast_C1R() 1943 dst[i+3] = CV_CAST_8U( t1 ); in icvAddWeighted_8u_fast_C1R() 1949 dst[i] = CV_CAST_8U( t0 ); in icvAddWeighted_8u_fast_C1R() 1958 ICV_DEF_ADD_WEIGHTED_OP( 8u, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U )
|
D | cxmatmul.cpp | 1481 ICV_DEF_TRANSFORM_FUNC( 8u_C1R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 1 ) 1482 ICV_DEF_TRANSFORM_FUNC( 8u_C2R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 2 ) 1483 ICV_DEF_TRANSFORM_FUNC( 8u_C3R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 3 ) 1484 ICV_DEF_TRANSFORM_FUNC( 8u_C4R, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U, 4 ) 1818 ltab[j*cn + i] = CV_CAST_8U(t); in cvTransform()
|
D | cxcmp.cpp | 1124 buf.i = CV_CAST_8U(buf.i); in icvMinMaxS() 1390 ICV_DEF_UN_ABS_DIFF_2D( icvAbsDiffC_8u_CnR, uchar, int, CV_IABS, CV_CAST_8U ) in ICV_DEF_BIN_ABS_DIFF_2D()
|
D | cxarray.cpp | 1717 ((uchar*)data)[cn] = CV_CAST_8U(t); in cvScalarToRawData() 1863 *(uchar*)data = CV_CAST_8U(ivalue); in icvSetReal()
|
D | cxmathfuncs.cpp | 1684 ICV_DEF_IPOW_OP( 8u, uchar, int, CV_CAST_8U )
|
D | cxpersistence.cpp | 3265 *(uchar*)data = CV_CAST_8U(ival); in cvReadRawDataSlice() 3309 *(uchar*)data = CV_CAST_8U(ival); in cvReadRawDataSlice()
|
D | cxdrawing.cpp | 1688 scalar.val[0] = CV_CAST_8U( icolor ); in cvColorToScalar()
|
/external/opencv/cv/src/ |
D | cvcolor.cpp | 731 CV_IMPL_BGRx2YCrCb( 8u, uchar, int, yuv_descale, CV_CAST_8U, 778 CV_IMPL_YCrCb2BGRx( 8u, uchar, int, yuv_prescale, yuv_descale, CV_CAST_8U, 896 CV_IMPL_BGRx2XYZ( 8u, uchar, int, xyz_descale, CV_CAST_8U, _32s ) 956 CV_IMPL_XYZ2BGRx( 8u, uchar, int, xyz_descale, CV_CAST_8U, _32s ) 1008 dst[0] = CV_CAST_8U(b); in icvABC2BGRx_8u_C3CnR() 1009 dst[1] = CV_CAST_8U(g); in icvABC2BGRx_8u_C3CnR() 1010 dst[2] = CV_CAST_8U(r); in icvABC2BGRx_8u_C3CnR() 1023 dst[0] = CV_CAST_8U(b); in icvABC2BGRx_8u_C3CnR() 1024 dst[1] = CV_CAST_8U(g); in icvABC2BGRx_8u_C3CnR() 1025 dst[2] = CV_CAST_8U(r); in icvABC2BGRx_8u_C3CnR() [all …]
|
D | cvthresh.cpp | 395 imaxval = CV_CAST_8U(imaxval); in cvThreshold() 447 ithresh = CV_CAST_8U(ithresh); in cvThreshold()
|
D | cvinpaint.cpp | 387 CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = CV_CAST_8U(isat); in icvTeleaInpaintFMM() 500 CV_MAT_ELEM(*out,uchar,i-1,j-1) = CV_CAST_8U(isat); in icvTeleaInpaintFMM() 599 CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = CV_CAST_8U(out_val); in icvNSInpaintFMM() 690 CV_MAT_ELEM(*out,uchar,i-1,j-1) = CV_CAST_8U(out_val); in icvNSInpaintFMM()
|
D | cvhistogram.cpp | 1591 buffer[i] = CV_CAST_8U(v); in icvCalcBackProject_8u_C1R() 1606 tab1d[i] = CV_CAST_8U(v); in icvCalcBackProject_8u_C1R() 1668 v = CV_CAST_8U(v); in icvCalcBackProject_8u_C1R() 1713 v = CV_CAST_8U(v); in icvCalcBackProject_8u_C1R() 1762 v = CV_CAST_8U(v); in icvCalcBackProject_8u_C1R() 1798 v = CV_CAST_8U(v); in icvCalcBackProject_8u_C1R()
|
D | cvfloodfill.cpp | 1138 ld_buf.b[i] = CV_CAST_8U(t); in cvFloodFill() 1140 ud_buf.b[i] = CV_CAST_8U(t); in cvFloodFill()
|
D | cvdistransform.cpp | 642 lut[x] = CV_CAST_8U(x+1); in icvDistanceATS_L1_8u()
|
D | cvfilter.cpp | 1500 ICV_FILTER_COL( 32f8u, float, uchar, int, cvRound, CV_CAST_8U ) 1603 ICV_FILTER_COL_SYMM( 32f8u, float, uchar, int, cvRound, CV_CAST_8U ) 2279 ICV_FILTER( 8u, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U )
|
D | cvimgwarp.cpp | 544 ICV_DEF_RESIZE_BICUBIC_FUNC( 8u, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U )
|
/external/opencv/cvaux/src/ |
D | cvmat.cpp | 86 ((uchar*)ptr)[coi] = CV_CAST_8U(i); 117 ((uchar*)ptr)[coi] = CV_CAST_8U(i); 146 ((uchar*)ptr)[0] = CV_CAST_8U(i); 189 ((uchar*)ptr)[0] = CV_CAST_8U(i);
|
/external/opencv/cxcore/include/ |
D | cxmisc.h | 192 #define CV_CAST_8U(t) (uchar)(!((t) & ~255) ? (t) : (t) > 0 ? 255 : 0) macro
|