Lines Matching refs:m_width
166 m_width = ReadNumber( m_strm, INT_MAX ); in ReadHeader()
177 if( m_width > 0 && m_height > 0 && m_maxval > 0 && m_maxval < (1 << 16)) in ReadHeader()
189 m_width = m_height = -1; in ReadHeader()
205 int src_pitch = (m_width*m_bpp*m_bit_depth/8 + 7)/8; in ReadData()
207 int width3 = m_width*nch; in ReadData()
242 for( x = 0; x < m_width; x++ ) in ReadData()
246 FillColorRow8( data, src, m_width, palette ); in ReadData()
248 FillGrayRow8( data, src, m_width, gray_palette ); in ReadData()
258 FillColorRow1( data, src, m_width, palette ); in ReadData()
260 FillGrayRow1( data, src, m_width, gray_palette ); in ReadData()
311 uchar *d = data, *s = src, *end = src + m_width; in ReadData()
315 … ushort *d = (ushort *)data, *s = (ushort *)src, *end = ((ushort *)src) + m_width; in ReadData()
321 memcpy( data, src, m_width*m_bit_depth/8 ); in ReadData()
323 memcpy( data, src, m_width ); in ReadData()
330 icvCvt_RGB2BGR_8u_C3R( src, 0, data, 0, cvSize(m_width,1) ); in ReadData()
332 … icvCvt_RGB2BGR_16u_C3R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1) ); in ReadData()
335 icvCvt_BGR2Gray_8u_C3C1R( src, 0, data, 0, cvSize(m_width,1), 2 ); in ReadData()
337 … icvCvt_BGR2Gray_16u_C3C1R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1), 2 ); in ReadData()