LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GIFLZWDecompressor Class Reference

#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
 
GIFLZWDecompressoroperator= (const GIFLZWDecompressor &)=delete
 

Private Attributes

std::unique_ptr< GIFLZWTableEntry[]> pTable
 
std::array< sal_uInt8, 4096 > pOutBuf
 
sal_uInt8pOutBufData
 
sal_uInt8pBlockBuf
 
sal_uLong nInputBitsBuf
 
bool bEOIFound
 
sal_uInt8 const nDataSize
 
sal_uInt8 nBlockBufSize
 
sal_uInt8 nBlockBufPos
 
sal_uInt16 const nClearCode
 
sal_uInt16 const nEOICode
 
sal_uInt16 nTableSize
 
sal_uInt16 nCodeSize
 
sal_uInt16 nOldCode
 
sal_uInt16 nOutBufDataLen
 
sal_uInt16 nInputBitsBufSize
 

Detailed Description

Definition at line 30 of file decode.hxx.

Constructor & Destructor Documentation

GIFLZWDecompressor::GIFLZWDecompressor ( const GIFLZWDecompressor )
privatedelete
GIFLZWDecompressor::GIFLZWDecompressor ( sal_uInt8  cDataSize)
explicit

Definition at line 32 of file decode.cxx.

References i, nTableSize, and pTable.

GIFLZWDecompressor::~GIFLZWDecompressor ( )

Definition at line 59 of file decode.cxx.

Member Function Documentation

bool GIFLZWDecompressor::AddToTable ( sal_uInt16  nPrevCode,
sal_uInt16  nCodeFirstData 
)
private
Scanline GIFLZWDecompressor::DecompressBlock ( sal_uInt8 pSrc,
sal_uInt8  cBufSize,
sal_uLong rCount,
bool &  rEOI 
)
GIFLZWDecompressor& GIFLZWDecompressor::operator= ( const GIFLZWDecompressor )
privatedelete
bool GIFLZWDecompressor::ProcessOneCode ( )
private

Member Data Documentation

bool GIFLZWDecompressor::bEOIFound
private

Definition at line 39 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

sal_uInt8 GIFLZWDecompressor::nBlockBufPos
private

Definition at line 42 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

sal_uInt8 GIFLZWDecompressor::nBlockBufSize
private

Definition at line 41 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

sal_uInt16 const GIFLZWDecompressor::nClearCode
private

Definition at line 43 of file decode.hxx.

Referenced by ProcessOneCode().

sal_uInt16 GIFLZWDecompressor::nCodeSize
private

Definition at line 46 of file decode.hxx.

Referenced by AddToTable(), and ProcessOneCode().

sal_uInt8 const GIFLZWDecompressor::nDataSize
private

Definition at line 40 of file decode.hxx.

Referenced by ProcessOneCode().

sal_uInt16 const GIFLZWDecompressor::nEOICode
private

Definition at line 44 of file decode.hxx.

Referenced by ProcessOneCode().

sal_uLong GIFLZWDecompressor::nInputBitsBuf
private

Definition at line 38 of file decode.hxx.

Referenced by ProcessOneCode().

sal_uInt16 GIFLZWDecompressor::nInputBitsBufSize
private

Definition at line 49 of file decode.hxx.

Referenced by ProcessOneCode().

sal_uInt16 GIFLZWDecompressor::nOldCode
private

Definition at line 47 of file decode.hxx.

Referenced by ProcessOneCode().

sal_uInt16 GIFLZWDecompressor::nOutBufDataLen
private

Definition at line 48 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

sal_uInt16 GIFLZWDecompressor::nTableSize
private

Definition at line 45 of file decode.hxx.

Referenced by AddToTable(), GIFLZWDecompressor(), and ProcessOneCode().

sal_uInt8* GIFLZWDecompressor::pBlockBuf
private

Definition at line 37 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

std::array<sal_uInt8, 4096> GIFLZWDecompressor::pOutBuf
private

Definition at line 35 of file decode.hxx.

Referenced by ProcessOneCode().

sal_uInt8* GIFLZWDecompressor::pOutBufData
private

Definition at line 36 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

std::unique_ptr<GIFLZWTableEntry[]> GIFLZWDecompressor::pTable
private

Definition at line 33 of file decode.hxx.

Referenced by AddToTable(), GIFLZWDecompressor(), and ProcessOneCode().


The documentation for this class was generated from the following files: