Home | History | Annotate | Download | only in highgui

Lines Matching refs:depth

579 bool  GrFmtExrWriter::IsFormatSupported( int depth )
581 return depth == IPL_DEPTH_8U || depth == IPL_DEPTH_8S ||
582 depth == IPL_DEPTH_16U || depth == IPL_DEPTH_16S ||
583 depth == IPL_DEPTH_32S || depth == IPL_DEPTH_32F;
590 int width, int height, int depth, int channels )
596 bool issigned = depth < 0;
597 bool isfloat = depth == IPL_DEPTH_32F || depth == IPL_DEPTH_64F;
599 if(depth == IPL_DEPTH_8U || depth == IPL_DEPTH_8S)
606 depth &= 255;
628 if( type == FLOAT && depth == 32 )
634 else if( depth > 16 || type == UINT )
647 //printf("depth %d %s\n", depth, types[type]);
660 int offset = issigned ? 1 << (depth - 1) : 0;
663 if( type == FLOAT && depth == 32 )
676 // int scale = 1 << (32 - depth);
684 if( depth <= 8 )
689 else if( depth <= 16 )
706 if( depth <= 8 )
711 else if( depth <= 16 )