LibreOffice Module vcl (master)
1
|
#include <lzwdecom.hxx>
Public Member Functions | |
LZWDecompressor () | |
~LZWDecompressor () | |
void | StartDecompression (SvStream &rIStream) |
sal_uInt64 | Decompress (sal_uInt8 *pTarget, sal_uInt32 nMaxCount) |
Private Member Functions | |
sal_uInt16 | GetNextCode () |
void | AddToTable (sal_uInt16 nPrevCode, sal_uInt16 nCodeFirstData) |
void | DecompressSome () |
Private Attributes | |
SvStream * | pIStream |
std::array< LZWTableEntry, MAX_TABLE_SIZE > | aTable |
sal_uInt16 | nTableSize |
bool | bEOIFound |
bool | bInvert |
bool | bFirst |
sal_uInt16 | nOldCode |
std::array< sal_uInt8, MAX_TABLE_SIZE > | pOutBuf |
sal_uInt8 * | pOutBufData |
sal_uInt16 | nOutBufDataLen |
sal_uInt8 | nInputBitsBuf |
sal_uInt16 | nInputBitsBufSize |
Definition at line 37 of file lzwdecom.hxx.
LZWDecompressor::LZWDecompressor | ( | ) |
Definition at line 25 of file lzwdecom.cxx.
LZWDecompressor::~LZWDecompressor | ( | ) |
Definition at line 47 of file lzwdecom.cxx.
|
private |
Definition at line 148 of file lzwdecom.cxx.
References aTable, bEOIFound, MAX_TABLE_SIZE, nTableSize, and SAL_WARN.
Referenced by DecompressSome().
sal_uInt64 LZWDecompressor::Decompress | ( | sal_uInt8 * | pTarget, |
sal_uInt32 | nMaxCount | ||
) |
Definition at line 77 of file lzwdecom.cxx.
References bEOIFound, DecompressSome(), SvStream::GetError(), nCount, nOutBufDataLen, pIStream, and pOutBufData.
|
private |
Definition at line 180 of file lzwdecom.cxx.
References AddToTable(), aTable, bEOIFound, GetNextCode(), i, nCode, nOldCode, nOutBufDataLen, nTableSize, pOutBuf, and pOutBufData.
Referenced by Decompress().
|
private |
Definition at line 115 of file lzwdecom.cxx.
References bInvert, nCode, nInputBitsBuf, nInputBitsBufSize, nTableSize, pIStream, and SvStream::ReadUChar().
Referenced by DecompressSome().
Definition at line 52 of file lzwdecom.cxx.
References bEOIFound, bFirst, bInvert, nInputBitsBuf, nInputBitsBufSize, nOutBufDataLen, nTableSize, pIStream, and SvStream::ReadUChar().
|
private |
Definition at line 56 of file lzwdecom.hxx.
Referenced by AddToTable(), and DecompressSome().
|
private |
Definition at line 59 of file lzwdecom.hxx.
Referenced by AddToTable(), Decompress(), DecompressSome(), and StartDecompression().
|
private |
Definition at line 59 of file lzwdecom.hxx.
Referenced by StartDecompression().
|
private |
Definition at line 59 of file lzwdecom.hxx.
Referenced by GetNextCode(), and StartDecompression().
|
private |
Definition at line 67 of file lzwdecom.hxx.
Referenced by GetNextCode(), and StartDecompression().
|
private |
Definition at line 68 of file lzwdecom.hxx.
Referenced by GetNextCode(), and StartDecompression().
|
private |
Definition at line 61 of file lzwdecom.hxx.
Referenced by DecompressSome().
|
private |
Definition at line 65 of file lzwdecom.hxx.
Referenced by Decompress(), DecompressSome(), and StartDecompression().
|
private |
Definition at line 57 of file lzwdecom.hxx.
Referenced by AddToTable(), DecompressSome(), GetNextCode(), and StartDecompression().
|
private |
Definition at line 54 of file lzwdecom.hxx.
Referenced by Decompress(), GetNextCode(), and StartDecompression().
|
private |
Definition at line 63 of file lzwdecom.hxx.
Referenced by DecompressSome().
|
private |
Definition at line 64 of file lzwdecom.hxx.
Referenced by Decompress(), and DecompressSome().