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