Home
last modified time | relevance | path

Searched refs:CV_CAST_8U (Results 1 – 21 of 21) sorted by relevance

/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg2000.cpp288 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()
Dgrfmt_exr.cpp360 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/
Dcxconvert.cpp973 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 …]
Dcxrand.cpp395 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 )
Dcxarithm.cpp231 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 )
Dcxmatmul.cpp1481 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()
Dcxcmp.cpp1124 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()
Dcxarray.cpp1717 ((uchar*)data)[cn] = CV_CAST_8U(t); in cvScalarToRawData()
1863 *(uchar*)data = CV_CAST_8U(ivalue); in icvSetReal()
Dcxmathfuncs.cpp1684 ICV_DEF_IPOW_OP( 8u, uchar, int, CV_CAST_8U )
Dcxpersistence.cpp3265 *(uchar*)data = CV_CAST_8U(ival); in cvReadRawDataSlice()
3309 *(uchar*)data = CV_CAST_8U(ival); in cvReadRawDataSlice()
Dcxdrawing.cpp1688 scalar.val[0] = CV_CAST_8U( icolor ); in cvColorToScalar()
/external/opencv/cv/src/
Dcvcolor.cpp731 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 …]
Dcvthresh.cpp395 imaxval = CV_CAST_8U(imaxval); in cvThreshold()
447 ithresh = CV_CAST_8U(ithresh); in cvThreshold()
Dcvinpaint.cpp387 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()
Dcvhistogram.cpp1591 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()
Dcvfloodfill.cpp1138 ld_buf.b[i] = CV_CAST_8U(t); in cvFloodFill()
1140 ud_buf.b[i] = CV_CAST_8U(t); in cvFloodFill()
Dcvdistransform.cpp642 lut[x] = CV_CAST_8U(x+1); in icvDistanceATS_L1_8u()
Dcvfilter.cpp1500 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 )
Dcvimgwarp.cpp544 ICV_DEF_RESIZE_BICUBIC_FUNC( 8u, uchar, int, CV_8TO32F, cvRound, CV_CAST_8U )
/external/opencv/cvaux/src/
Dcvmat.cpp86 ((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/
Dcxmisc.h192 #define CV_CAST_8U(t) (uchar)(!((t) & ~255) ? (t) : (t) > 0 ? 255 : 0) macro