Lines Matching refs:m_strm
89 m_strm.Close(); in Close()
98 if( !m_strm.Open( m_filename )) return false; in ReadHeader()
100 if( setjmp( m_strm.JmpBuf()) == 0 ) in ReadHeader()
102 m_strm.Skip( 4 ); in ReadHeader()
103 m_width = m_strm.GetDWord(); in ReadHeader()
104 m_height = m_strm.GetDWord(); in ReadHeader()
105 m_bpp = m_strm.GetDWord(); in ReadHeader()
108 m_strm.Skip( 4 ); in ReadHeader()
109 m_type = (SunRasType)m_strm.GetDWord(); in ReadHeader()
110 m_maptype = (SunRasMapType)m_strm.GetDWord(); in ReadHeader()
111 m_maplength = m_strm.GetDWord(); in ReadHeader()
127 m_strm.GetBytes( buffer, m_maplength, &readed ); in ReadHeader()
142 m_offset = m_strm.GetPos(); in ReadHeader()
155 m_offset = m_strm.GetPos(); in ReadHeader()
167 m_strm.Close(); in ReadHeader()
187 if( m_offset < 0 || !m_strm.IsOpened()) in ReadData()
199 if( setjmp( m_strm.JmpBuf()) == 0 ) in ReadData()
201 m_strm.SetPos( m_offset ); in ReadData()
211 m_strm.GetBytes( src, src_pitch ); in ReadData()
232 code = m_strm.GetByte(); in ReadData()
235 len = m_strm.GetByte(); in ReadData()
247 code = m_strm.GetByte(); in ReadData()
280 m_strm.GetBytes( src, src_pitch ); in ReadData()
301 code = m_strm.GetByte(); in ReadData()
304 len = m_strm.GetByte(); in ReadData()
325 code = m_strm.GetByte(); in ReadData()
341 if( m_strm.GetByte() != 0 ) in ReadData()
358 m_strm.GetBytes( color ? data : bgr, src_pitch ); in ReadData()
379 m_strm.GetBytes( src + 3, src_pitch ); in ReadData()
423 if( m_strm.Open( m_filename ) ) in WriteImage()
425 m_strm.PutBytes( fmtSignSunRas, (int)strlen(fmtSignSunRas) ); in WriteImage()
426 m_strm.PutDWord( width ); in WriteImage()
427 m_strm.PutDWord( height ); in WriteImage()
428 m_strm.PutDWord( channels*8 ); in WriteImage()
429 m_strm.PutDWord( fileStep*height ); in WriteImage()
430 m_strm.PutDWord( RAS_STANDARD ); in WriteImage()
431 m_strm.PutDWord( RMT_NONE ); in WriteImage()
432 m_strm.PutDWord( 0 ); in WriteImage()
435 m_strm.PutBytes( data, fileStep ); in WriteImage()
437 m_strm.Close(); in WriteImage()