Searched refs:m_bit_depth (Results 1 – 7 of 7) sorted by relevance
175 m_bit_depth = 16; in ReadHeader()205 int src_pitch = (m_width*m_bpp*m_bit_depth/8 + 7)/8; in ReadData()214 src = new uchar[width3*m_bit_depth/8 + 32]; in ReadData()217 if( m_bit_depth == 8 ) in ReadData()277 if( m_bit_depth == 8 ) in ReadData()286 if( m_bit_depth == 16 && !isBigEndian() ) in ReadData()297 if( !m_native_depth && m_bit_depth == 16 ) in ReadData()310 if( m_bit_depth == 8 || !m_native_depth ) { in ReadData()321 memcpy( data, src, m_width*m_bit_depth/8 ); in ReadData()329 if( m_bit_depth == 8 || !m_native_depth ) in ReadData()[all …]
95 m_color_type = m_bit_depth = 0; in GrFmtPngReader()167 m_bit_depth = bit_depth; in ReadHeader()199 if( m_bit_depth > 8 && !m_native_depth ) in ReadData()217 if( m_color_type == PNG_COLOR_TYPE_GRAY && m_bit_depth < 8 ) in ReadData()
73 int GetDepth() { return m_bit_depth; }; in GetDepth()86 int m_bit_depth;// bit depth per channel (normally 8) variable
126 if( depth > m_bit_depth ) in ReadHeader()127 m_bit_depth = depth; in ReadHeader()128 if( m_bit_depth > 8 ) in ReadHeader()129 m_bit_depth = 16; in ReadHeader()234 if( m_bit_depth == 8 || !m_native_depth ) in ReadData()
54 m_bit_depth = 8; in GrFmtReader()
168 m_bit_depth, /* bit depth */ in ReadData()
137 m_bit_depth = 32; in ReadHeader()