Lines Matching refs:m_width
158 m_width = ReadNumber( m_strm, INT_MAX );
169 if( m_width > 0 && m_height > 0 && m_maxval > 0 && m_maxval < (1 << 16))
182 m_width = m_height = -1;
197 int src_pitch = (m_width*m_bpp*bit_depth/8 + 7)/8;
199 int width3 = m_width*nch;
234 for( x = 0; x < m_width; x++ )
238 FillColorRow8( data, src, m_width, palette );
240 FillGrayRow8( data, src, m_width, gray_palette );
250 FillColorRow1( data, src, m_width, palette );
252 FillGrayRow1( data, src, m_width, gray_palette );
303 uchar *d = data, *s = src, *end = src + m_width;
307 ushort *d = (ushort *)data, *s = (ushort *)src, *end = ((ushort *)src) + m_width;
313 memcpy( data, src, m_width*(bit_depth/8) );
320 icvCvt_RGB2BGR_8u_C3R( src, 0, data, 0, cvSize(m_width,1) );
322 icvCvt_RGB2BGR_16u_C3R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1) );
325 icvCvt_BGR2Gray_8u_C3C1R( src, 0, data, 0, cvSize(m_width,1), 2 );
327 icvCvt_BGRA2Gray_16u_CnC1R( (ushort *)src, 0, (ushort *)data, 0, cvSize(m_width,1), 3, 2 );