34 , pOutBufData(pOutBuf.data() + 4096)
38 , nDataSize(cDataSize)
41 , nClearCode(1 << nDataSize)
42 , nEOICode(nClearCode + 1)
43 , nTableSize(nEOICode + 1)
44 , nCodeSize(nDataSize + 1)
47 , nInputBitsBufSize(0)
83 if (
auto p =
static_cast<sal_uInt8*
>(std::realloc(pTarget, nNewSize)))
92 nTargetSize = nNewSize;
93 pTmpTarget = pTarget + nOffset;
116 pE->pPrev =
pTable.get() + nPrevCode;
117 pE->pFirst =
pE->pPrev->pFirst;
133 bool bEndOfBlock =
false;
150 sal_uInt16 nCode = sal::static_int_cast< sal_uInt16 >(
sal_uInt16 nOutBufDataLen
sal_uInt16 nInputBitsBufSize
std::unique_ptr< GIFLZWTableEntry[]> pTable
GIFLZWDecompressor(const GIFLZWDecompressor &)=delete
Scanline DecompressBlock(sal_uInt8 *pSrc, sal_uInt8 cBufSize, sal_uLong &rCount, bool &rEOI)
std::array< sal_uInt8, 4096 > pOutBuf
bool AddToTable(sal_uInt16 nPrevCode, sal_uInt16 nCodeFirstData)
GIFLZWTableEntry * pFirst