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 30 of file giflzwc.hxx.

Constructor & Destructor Documentation

GIFLZWCompressor::GIFLZWCompressor ( )

Definition at line 110 of file giflzwc.cxx.

GIFLZWCompressor::~GIFLZWCompressor ( )

Definition at line 117 of file giflzwc.cxx.

References EndCompression(), and pIDOS.

Member Function Documentation

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

Definition at line 212 of file giflzwc.cxx.

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

Referenced by ~GIFLZWCompressor().

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

sal_uInt16 GIFLZWCompressor::nClearCode
private

Definition at line 38 of file giflzwc.hxx.

Referenced by Compress(), and StartCompression().

sal_uInt16 GIFLZWCompressor::nCodeSize
private

Definition at line 41 of file giflzwc.hxx.

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

sal_uInt16 GIFLZWCompressor::nDataSize
private

Definition at line 37 of file giflzwc.hxx.

Referenced by Compress(), and StartCompression().

sal_uInt16 GIFLZWCompressor::nEOICode
private

Definition at line 39 of file giflzwc.hxx.

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

sal_uInt16 GIFLZWCompressor::nTableSize
private

Definition at line 40 of file giflzwc.hxx.

Referenced by Compress(), and StartCompression().

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

Definition at line 34 of file giflzwc.hxx.

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

GIFLZWCTreeNode* GIFLZWCompressor::pPrefix
private

Definition at line 36 of file giflzwc.hxx.

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

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

Definition at line 35 of file giflzwc.hxx.

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


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