Home | History | Annotate | Download | only in src

Lines Matching refs:depth

549                                   "Depth is not the same for all arrays" );
989 int depth = img->depth;
992 if( img->depth == IPL_DEPTH_32F || img->nChannels == 64 )
994 img->width *= img->depth == IPL_DEPTH_32F ? sizeof(float) : sizeof(double);
995 img->depth = IPL_DEPTH_8U;
1001 img->depth = depth;
1084 pix_size = ((img->depth & 255) >> 3)*img->nChannels;
1276 type = CV_MAKETYPE( icvIplToCvDepth(img->depth), img->nChannels );
1705 int depth = type & CV_MAT_DEPTH_MASK;
1711 switch( depth )
1761 int offset = CV_ELEM_SIZE1(depth)*12;
2035 int pix_size = (img->depth & 255) >> 3;
2073 int type = icvIplToCvDepth(img->depth);
2793 int depth, order;
2798 depth = icvIplToCvDepth( img->depth );
2799 if( depth < 0 )
2808 int type = depth;
2823 int type = CV_MAKETYPE( depth, img->nChannels );
2839 int type = CV_MAKETYPE( depth, img->nChannels );
3192 int depth;
3207 depth = cvCvToIplDepth(mat->type);
3210 depth, CV_MAT_CN(mat->type) );
3282 cvCreateImageHeader( CvSize size, int depth, int channels )
3293 CV_CALL( cvInitImageHeader( img, size, depth, channels, IPL_ORIGIN_TL,
3302 img = CvIPL.createHeader( channels, 0, depth, (char*)colorModel, (char*)channelSeq,
3319 cvCreateImage( CvSize size, int depth, int channels )
3327 CV_CALL( img = cvCreateImageHeader( size, depth, channels ));
3342 cvInitImageHeader( IplImage * image, CvSize size, int depth,
3366 if( (depth != (int)IPL_DEPTH_1U && depth != (int)IPL_DEPTH_8U &&
3367 depth != (int)IPL_DEPTH_8S && depth != (int)IPL_DEPTH_16U &&
3368 depth != (int)IPL_DEPTH_16S && depth != (int)IPL_DEPTH_32S &&
3369 depth != (int)IPL_DEPTH_32F && depth != (int)IPL_DEPTH_64F) ||
3390 image->depth = depth;
3393 (image->depth & ~IPL_DEPTH_SIGN) + 7)/8)+ align - 1) & (~(align - 1));