LibreOffice Module vcl (master) 1
|
#include <decode.hxx>
Public Member Functions | |
GIFLZWDecompressor (sal_uInt8 cDataSize) | |
~GIFLZWDecompressor () | |
Scanline | DecompressBlock (sal_uInt8 *pSrc, sal_uInt8 cBufSize, sal_uLong &rCount, bool &rEOI) |
Private Member Functions | |
bool | AddToTable (sal_uInt16 nPrevCode, sal_uInt16 nCodeFirstData) |
bool | ProcessOneCode () |
GIFLZWDecompressor (const GIFLZWDecompressor &)=delete | |
GIFLZWDecompressor & | operator= (const GIFLZWDecompressor &)=delete |
Private Attributes | |
std::unique_ptr< GIFLZWTableEntry[]> | pTable |
std::array< sal_uInt8, 4096 > | pOutBuf |
sal_uInt8 * | pOutBufData |
sal_uInt8 * | pBlockBuf |
sal_uLong | nInputBitsBuf |
bool | bEOIFound |
sal_uInt8 | nDataSize |
sal_uInt8 | nBlockBufSize |
sal_uInt8 | nBlockBufPos |
sal_uInt16 | nClearCode |
sal_uInt16 | nEOICode |
sal_uInt16 | nTableSize |
sal_uInt16 | nCodeSize |
sal_uInt16 | nOldCode |
sal_uInt16 | nOutBufDataLen |
sal_uInt16 | nInputBitsBufSize |
Definition at line 29 of file decode.hxx.
|
privatedelete |
|
explicit |
Definition at line 32 of file decode.cxx.
References i, nTableSize, and pTable.
GIFLZWDecompressor::~GIFLZWDecompressor | ( | ) |
Definition at line 59 of file decode.cxx.
|
private |
Definition at line 111 of file decode.cxx.
References nCodeSize, GIFLZWTableEntry::nData, nTableSize, pE, and pTable.
Referenced by ProcessOneCode().
Scanline GIFLZWDecompressor::DecompressBlock | ( | sal_uInt8 * | pSrc, |
sal_uInt8 | cBufSize, | ||
sal_uLong & | rCount, | ||
bool & | rEOI | ||
) |
Definition at line 63 of file decode.cxx.
References bEOIFound, nBlockBufPos, nBlockBufSize, nCount, nOutBufDataLen, p, pBlockBuf, pOutBufData, and ProcessOneCode().
|
privatedelete |
|
private |
Definition at line 130 of file decode.cxx.
References AddToTable(), bEOIFound, nBlockBufPos, nBlockBufSize, nClearCode, nCodeSize, nDataSize, nEOICode, nInputBitsBuf, nInputBitsBufSize, nOldCode, nOutBufDataLen, nTableSize, pBlockBuf, pE, pOutBuf, pOutBufData, and pTable.
Referenced by DecompressBlock().
|
private |
Definition at line 38 of file decode.hxx.
Referenced by DecompressBlock(), and ProcessOneCode().
|
private |
Definition at line 41 of file decode.hxx.
Referenced by DecompressBlock(), and ProcessOneCode().
|
private |
Definition at line 40 of file decode.hxx.
Referenced by DecompressBlock(), and ProcessOneCode().
|
private |
Definition at line 42 of file decode.hxx.
Referenced by ProcessOneCode().
|
private |
Definition at line 45 of file decode.hxx.
Referenced by AddToTable(), and ProcessOneCode().
|
private |
Definition at line 39 of file decode.hxx.
Referenced by ProcessOneCode().
|
private |
Definition at line 43 of file decode.hxx.
Referenced by ProcessOneCode().
|
private |
Definition at line 37 of file decode.hxx.
Referenced by ProcessOneCode().
|
private |
Definition at line 48 of file decode.hxx.
Referenced by ProcessOneCode().
|
private |
Definition at line 46 of file decode.hxx.
Referenced by ProcessOneCode().
|
private |
Definition at line 47 of file decode.hxx.
Referenced by DecompressBlock(), and ProcessOneCode().
|
private |
Definition at line 44 of file decode.hxx.
Referenced by AddToTable(), GIFLZWDecompressor(), and ProcessOneCode().
|
private |
Definition at line 36 of file decode.hxx.
Referenced by DecompressBlock(), and ProcessOneCode().
|
private |
Definition at line 34 of file decode.hxx.
Referenced by ProcessOneCode().
|
private |
Definition at line 35 of file decode.hxx.
Referenced by DecompressBlock(), and ProcessOneCode().
|
private |
Definition at line 32 of file decode.hxx.
Referenced by AddToTable(), GIFLZWDecompressor(), and ProcessOneCode().