Lines Matching refs:m_strm
137 m_strm.Close(); in Close()
146 if( !m_strm.Open( m_filename )) return false; in ReadHeader()
148 if( setjmp( m_strm.JmpBuf()) == 0 ) in ReadHeader()
150 int code = m_strm.GetByte(); in ReadHeader()
154 code = m_strm.GetByte(); in ReadHeader()
166 m_width = ReadNumber( m_strm, INT_MAX ); in ReadHeader()
167 m_height = ReadNumber( m_strm, INT_MAX ); in ReadHeader()
169 m_maxval = m_bpp == 1 ? 1 : ReadNumber( m_strm, INT_MAX ); in ReadHeader()
179 m_offset = m_strm.GetPos(); in ReadHeader()
190 m_strm.Close(); in ReadHeader()
210 if( m_offset < 0 || !m_strm.IsOpened()) in ReadData()
230 if( setjmp( m_strm.JmpBuf()) == 0 ) in ReadData()
232 m_strm.SetPos( m_offset ); in ReadData()
243 src[x] = ReadNumber( m_strm, 1 ) != 0; in ReadData()
255 m_strm.GetBytes( src, src_pitch ); in ReadData()
275 int code = ReadNumber( m_strm, INT_MAX ); in ReadData()
285 m_strm.GetBytes( src, src_pitch ); in ReadData()
387 if( m_strm.Open( m_filename ) ) in WriteImage()
404 m_strm.Close(); in WriteImage()
413 m_strm.PutBytes( buffer, (int)strlen(buffer) ); in WriteImage()
441 m_strm.PutBytes( (channels > 1 || depth > 8) ? buffer : (char*)data, fileStep ); in WriteImage()
500 m_strm.PutBytes( buffer, (int)(ptr - buffer) ); in WriteImage()
504 m_strm.Close(); in WriteImage()