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

#include <giflzwc.hxx>

Collaboration diagram for GIFLZWCompressor:
[legend]

Public Member Functions

 GIFLZWCompressor ()
 
 ~GIFLZWCompressor ()
 
void StartCompression (SvStream &rGIF, sal_uInt16 nPixelSize)
 
void Compress (sal_uInt8 *pSrc, sal_uInt32 nSize)
 
void EndCompression ()
 

Private Attributes

std::unique_ptr< GIFImageDataOutputStreampIDOS
 
std::unique_ptr< GIFLZWCTreeNode[]> pTable
 
GIFLZWCTreeNodepPrefix
 
sal_uInt16 nDataSize
 
sal_uInt16 nClearCode
 
sal_uInt16 nEOICode
 
sal_uInt16 nTableSize
 
sal_uInt16 nCodeSize
 

Detailed Description

Definition at line 29 of file giflzwc.hxx.

Constructor & Destructor Documentation

◆ GIFLZWCompressor()

GIFLZWCompressor::GIFLZWCompressor ( )

Definition at line 110 of file giflzwc.cxx.

◆ ~GIFLZWCompressor()

GIFLZWCompressor::~GIFLZWCompressor ( )

Definition at line 117 of file giflzwc.cxx.

References EndCompression(), and pIDOS.

Member Function Documentation

◆ Compress()

void GIFLZWCompressor::Compress ( sal_uInt8 pSrc,
sal_uInt32  nSize 
)

◆ EndCompression()

void GIFLZWCompressor::EndCompression ( )

Definition at line 212 of file giflzwc.cxx.

References GIFLZWCTreeNode::nCode, nCodeSize, nEOICode, pIDOS, pPrefix, and pTable.

Referenced by ~GIFLZWCompressor().

◆ StartCompression()

void GIFLZWCompressor::StartCompression ( SvStream rGIF,
sal_uInt16  nPixelSize 
)

Definition at line 123 of file giflzwc.cxx.

References i, nClearCode, nCodeSize, nDataSize, nEOICode, nTableSize, pIDOS, pPrefix, and pTable.

Member Data Documentation

◆ nClearCode

sal_uInt16 GIFLZWCompressor::nClearCode
private

Definition at line 37 of file giflzwc.hxx.

Referenced by Compress(), and StartCompression().

◆ nCodeSize

sal_uInt16 GIFLZWCompressor::nCodeSize
private

Definition at line 40 of file giflzwc.hxx.

Referenced by Compress(), EndCompression(), and StartCompression().

◆ nDataSize

sal_uInt16 GIFLZWCompressor::nDataSize
private

Definition at line 36 of file giflzwc.hxx.

Referenced by Compress(), and StartCompression().

◆ nEOICode

sal_uInt16 GIFLZWCompressor::nEOICode
private

Definition at line 38 of file giflzwc.hxx.

Referenced by Compress(), EndCompression(), and StartCompression().

◆ nTableSize

sal_uInt16 GIFLZWCompressor::nTableSize
private

Definition at line 39 of file giflzwc.hxx.

Referenced by Compress(), and StartCompression().

◆ pIDOS

std::unique_ptr<GIFImageDataOutputStream> GIFLZWCompressor::pIDOS
private

Definition at line 33 of file giflzwc.hxx.

Referenced by Compress(), EndCompression(), StartCompression(), and ~GIFLZWCompressor().

◆ pPrefix

GIFLZWCTreeNode* GIFLZWCompressor::pPrefix
private

Definition at line 35 of file giflzwc.hxx.

Referenced by Compress(), EndCompression(), and StartCompression().

◆ pTable

std::unique_ptr<GIFLZWCTreeNode[]> GIFLZWCompressor::pTable
private

Definition at line 34 of file giflzwc.hxx.

Referenced by Compress(), EndCompression(), and StartCompression().


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