Searched refs:m_bpp (Results 1 - 8 of 8) sorted by relevance

/external/opencv/otherlibs/highgui/
H A Dgrfmt_bmp.cpp110 m_bpp = m_strm.GetDWord() >> 16;
117 (((m_bpp == 1 || m_bpp == 4 || m_bpp == 8 ||
118 m_bpp == 24 || m_bpp == 32 ) && m_rle_code == BMP_RGB) ||
119 (m_bpp == 16 && (m_rle_code == BMP_RGB || m_rle_code == BMP_BITFIELDS)) ||
120 (m_bpp == 4 && m_rle_code == BMP_RLE4) ||
121 (m_bpp == 8 && m_rle_code == BMP_RLE8)))
126 if( m_bpp <
[all...]
H A Dgrfmt_sunras.cpp105 m_bpp = m_strm.GetDWord();
106 int palSize = 3*(1 << m_bpp);
114 (m_bpp == 1 || m_bpp == 8 || m_bpp == 24 || m_bpp == 32) &&
116 (m_type == RAS_BYTE_ENCODED && m_bpp == 8) || m_type == RAS_FORMAT_RGB) &&
118 m_maptype == RMT_EQUAL_RGB && m_maplength <= palSize && m_bpp <= 8))
141 m_iscolor = IsColorPalette( m_palette, m_bpp );
150 m_iscolor = m_bpp >
[all...]
H A Dgrfmt_pxm.cpp157 case '1': case '4': m_bpp = 1; break;
158 case '2': case '5': m_bpp = 8; break;
159 case '3': case '6': m_bpp = 24; break;
164 m_iscolor = m_bpp > 8;
169 m_maxval = m_bpp == 1 ? 1 : ReadNumber( m_strm, INT_MAX );
205 int src_pitch = (m_width*m_bpp*m_bit_depth/8 + 7)/8;
224 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0));
227 FillGrayPalette( palette, m_bpp==1 ? 1 : 8 , m_bpp == 1 );
234 switch( m_bpp )
[all...]
H A Dgrfmt_bmp.h72 int m_bpp; member in class:GrFmtBmpReader
H A Dgrfmt_pxm.h65 int m_bpp; member in class:GrFmtPxMReader
H A Dgrfmt_sunras.h78 int m_bpp; member in class:GrFmtSunRasterReader
H A Dgrfmt_tiff.cpp372 m_bpp = 1;
434 m_bpp = bpp_arr[0];
504 switch( m_bpp )
509 FillGrayPalette( m_palette, m_bpp, photometric == 0 );
517 photometric == 3 && pal_length == (1 << m_bpp)) &&
522 FillGrayPalette( m_palette, m_bpp, photometric == 0 );
527 m_iscolor = IsColorPalette( m_palette, m_bpp );
535 m_bpp = 8*channels;
566 int src_pitch = (m_width*m_bpp + 7)/8;
576 if( m_bpp <
[all...]
H A Dgrfmt_tiff.h128 int m_bpp; member in class:GrFmtTiffReader

Completed in 237 milliseconds