Lines Matching refs:depth
289 if( img.depth() == CV_8U && bit_depth == 16 )
302 if( img.depth() == CV_8U ) {
319 if( img.depth() == CV_8U )
324 else if( img.depth() == CV_8U )
364 bool PxMEncoder::isFormatSupported( int depth ) const
366 return depth == CV_8U || depth == CV_16U;
375 int _channels = img.channels(), depth = (int)img.elemSize1()*8;
390 int t = CV_MAKETYPE(img.depth(), channels);
415 width, height, (1 << depth) - 1 );
426 if( depth == 8 )
435 if( depth == 16 && !isBigEndian() )
446 strm.putBytes( (channels > 1 || depth > 8) ? buffer : (const char*)data, fileStep );
454 if( depth == 8 )
485 if( depth == 8 )