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 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
 

Detailed Description

Definition at line 29 of file decode.hxx.

Constructor & Destructor Documentation

◆ GIFLZWDecompressor() [1/2]

GIFLZWDecompressor::GIFLZWDecompressor ( const GIFLZWDecompressor )
privatedelete

◆ GIFLZWDecompressor() [2/2]

GIFLZWDecompressor::GIFLZWDecompressor ( sal_uInt8  cDataSize)
explicit

Definition at line 32 of file decode.cxx.

References i, nTableSize, and pTable.

◆ ~GIFLZWDecompressor()

GIFLZWDecompressor::~GIFLZWDecompressor ( )

Definition at line 59 of file decode.cxx.

Member Function Documentation

◆ AddToTable()

bool GIFLZWDecompressor::AddToTable ( sal_uInt16  nPrevCode,
sal_uInt16  nCodeFirstData 
)
private

Definition at line 111 of file decode.cxx.

References nCodeSize, GIFLZWTableEntry::nData, nTableSize, pE, and pTable.

Referenced by ProcessOneCode().

◆ DecompressBlock()

Scanline GIFLZWDecompressor::DecompressBlock ( sal_uInt8 pSrc,
sal_uInt8  cBufSize,
sal_uLong rCount,
bool &  rEOI 
)

◆ operator=()

GIFLZWDecompressor & GIFLZWDecompressor::operator= ( const GIFLZWDecompressor )
privatedelete

◆ ProcessOneCode()

bool GIFLZWDecompressor::ProcessOneCode ( )
private

Member Data Documentation

◆ bEOIFound

bool GIFLZWDecompressor::bEOIFound
private

Definition at line 38 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

◆ nBlockBufPos

sal_uInt8 GIFLZWDecompressor::nBlockBufPos
private

Definition at line 41 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

◆ nBlockBufSize

sal_uInt8 GIFLZWDecompressor::nBlockBufSize
private

Definition at line 40 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

◆ nClearCode

sal_uInt16 GIFLZWDecompressor::nClearCode
private

Definition at line 42 of file decode.hxx.

Referenced by ProcessOneCode().

◆ nCodeSize

sal_uInt16 GIFLZWDecompressor::nCodeSize
private

Definition at line 45 of file decode.hxx.

Referenced by AddToTable(), and ProcessOneCode().

◆ nDataSize

sal_uInt8 GIFLZWDecompressor::nDataSize
private

Definition at line 39 of file decode.hxx.

Referenced by ProcessOneCode().

◆ nEOICode

sal_uInt16 GIFLZWDecompressor::nEOICode
private

Definition at line 43 of file decode.hxx.

Referenced by ProcessOneCode().

◆ nInputBitsBuf

sal_uLong GIFLZWDecompressor::nInputBitsBuf
private

Definition at line 37 of file decode.hxx.

Referenced by ProcessOneCode().

◆ nInputBitsBufSize

sal_uInt16 GIFLZWDecompressor::nInputBitsBufSize
private

Definition at line 48 of file decode.hxx.

Referenced by ProcessOneCode().

◆ nOldCode

sal_uInt16 GIFLZWDecompressor::nOldCode
private

Definition at line 46 of file decode.hxx.

Referenced by ProcessOneCode().

◆ nOutBufDataLen

sal_uInt16 GIFLZWDecompressor::nOutBufDataLen
private

Definition at line 47 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

◆ nTableSize

sal_uInt16 GIFLZWDecompressor::nTableSize
private

Definition at line 44 of file decode.hxx.

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

◆ pBlockBuf

sal_uInt8* GIFLZWDecompressor::pBlockBuf
private

Definition at line 36 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

◆ pOutBuf

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

Definition at line 34 of file decode.hxx.

Referenced by ProcessOneCode().

◆ pOutBufData

sal_uInt8* GIFLZWDecompressor::pOutBufData
private

Definition at line 35 of file decode.hxx.

Referenced by DecompressBlock(), and ProcessOneCode().

◆ pTable

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

Definition at line 32 of file decode.hxx.

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


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