Lines Matching refs:mnChunkLen
117 sal_Int32 mnChunkLen; // Length of current PNG chunk member in vcl::PNGReaderImpl
292 mrPNGStream >> mnChunkLen >> mnChunkType; in ReadNextChunk()
296 if( mnChunkLen < 0 ) in ReadNextChunk()
299 if( nStreamPos + mnChunkLen >= mnStreamSize ) in ReadNextChunk()
310 if( mnChunkLen && !mrPNGStream.IsEof() ) in ReadNextChunk()
312 rChunkData.aData.resize( mnChunkLen ); in ReadNextChunk()
317 nBytesRead += mrPNGStream.Read( pPtr, mnChunkLen - nBytesRead ); in ReadNextChunk()
318 } while ( ( nBytesRead < mnChunkLen ) && ( mrPNGStream.GetError() == ERRCODE_NONE ) ); in ReadNextChunk()
320 nCRC32 = rtl_crc32( nCRC32, &rChunkData.aData[ 0 ], mnChunkLen ); in ReadNextChunk()
332 mnChunkLen = (*maChunkIter).aData.size(); in ReadNextChunk()
363 mrPNGStream >> mnChunkLen >> mnChunkType; in SkipRemainingChunks()
364 if( mnChunkLen < 0 ) in SkipRemainingChunks()
366 if( nStreamPos + mnChunkLen >= mnStreamSize ) in SkipRemainingChunks()
368 mrPNGStream.SeekRel( mnChunkLen + 4 ); // skip data + CRC in SkipRemainingChunks()
443 if ( !mbIDAT && mnChunkLen == 9 ) in GetBitmapEx()
515 if( mnChunkLen < 13 ) in ImplReadHeader()
753 sal_uInt16 nCount = static_cast<sal_uInt16>( mnChunkLen / 3 ); in ImplReadPalette()
755 if ( ( ( mnChunkLen % 3 ) == 0 ) && ( ( 0 < nCount ) && ( nCount <= 256 ) ) && mpAcc ) in ImplReadPalette()
786 if ( mnChunkLen == 2 ) in ImplReadTransparent()
801 if ( mnChunkLen == 6 ) in ImplReadTransparent()
813 if ( mnChunkLen <= 256 ) in ImplReadTransparent()
817 rtl_copyMemory( mpTransTab, &(*maDataIter), mnChunkLen ); in ImplReadTransparent()
818 maDataIter += mnChunkLen; in ImplReadTransparent()
821 for( int i = 0; i < mnChunkLen; ++i ) in ImplReadTransparent()
856 if( mnChunkLen < 4 ) in ImplGetGamma()
886 if ( mnChunkLen == 1 ) in ImplGetBackground()
901 if ( mnChunkLen == 2 ) in ImplGetBackground()
914 if ( mnChunkLen == 6 ) in ImplGetBackground()
948 if( mnChunkLen > 0 ) in ImplReadIDAT()
955 mpZCodec->SetBreak( mnChunkLen ); in ImplReadIDAT()
956 SvMemoryStream aIStrm( &(*maDataIter), mnChunkLen, STREAM_READ ); in ImplReadIDAT()