Lines Matching refs:mrPNGStream
97 SvStream& mrPNGStream; member in vcl::PNGReaderImpl
198 : mrPNGStream( rPNGStream ), in PNGReaderImpl()
225 mnOrigStreamMode = mrPNGStream.GetNumberFormatInt(); in PNGReaderImpl()
226 mrPNGStream.SetNumberFormatInt( NUMBERFORMAT_INT_BIGENDIAN ); in PNGReaderImpl()
233 const sal_Size nStreamPos = mrPNGStream.Tell(); in PNGReaderImpl()
234 mrPNGStream.Seek( STREAM_SEEK_TO_END ); in PNGReaderImpl()
235 mnStreamSize = mrPNGStream.Tell(); in PNGReaderImpl()
236 mrPNGStream.Seek( nStreamPos ); in PNGReaderImpl()
240 mrPNGStream >> nDummy; in PNGReaderImpl()
242 mrPNGStream >> nDummy; in PNGReaderImpl()
253 mrPNGStream.SetNumberFormatInt( mnOrigStreamMode ); in ~PNGReaderImpl()
282 if( mrPNGStream.IsEof() || (mrPNGStream.GetError() != ERRCODE_NONE) ) in ReadNextChunk()
292 mrPNGStream >> mnChunkLen >> mnChunkType; in ReadNextChunk()
298 const sal_Size nStreamPos = mrPNGStream.Tell(); in ReadNextChunk()
310 if( mnChunkLen && !mrPNGStream.IsEof() ) in ReadNextChunk()
317 nBytesRead += mrPNGStream.Read( pPtr, mnChunkLen - nBytesRead ); in ReadNextChunk()
318 } while ( ( nBytesRead < mnChunkLen ) && ( mrPNGStream.GetError() == ERRCODE_NONE ) ); in ReadNextChunk()
324 mrPNGStream >> nCheck; in ReadNextChunk()
360 const sal_Size nStreamPos = mrPNGStream.Tell(); in SkipRemainingChunks()
361 while( !mrPNGStream.IsEof() && (mrPNGStream.GetError() == ERRCODE_NONE) ) in SkipRemainingChunks()
363 mrPNGStream >> mnChunkLen >> mnChunkType; in SkipRemainingChunks()
368 mrPNGStream.SeekRel( mnChunkLen + 4 ); // skip data + CRC in SkipRemainingChunks()