LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GIFImageDataOutputStream Class Reference
Collaboration diagram for GIFImageDataOutputStream:
[legend]

Public Member Functions

 GIFImageDataOutputStream (SvStream &rGIF, sal_uInt8 nLZWDataSize)
 
 ~GIFImageDataOutputStream ()
 
void WriteBits (sal_uInt16 nCode, sal_uInt16 nCodeLen)
 

Private Member Functions

void FlushBlockBuf ()
 
void FlushBitsBufsFullBytes ()
 

Private Attributes

SvStreamrStream
 
std::array< sal_uInt8, 255 > pBlockBuf
 
sal_uInt8 nBlockBufSize
 
sal_uInt32 nBitsBuf
 
sal_uInt16 nBitsBufSize
 

Detailed Description

Definition at line 26 of file giflzwc.cxx.

Constructor & Destructor Documentation

◆ GIFImageDataOutputStream()

GIFImageDataOutputStream::GIFImageDataOutputStream ( SvStream rGIF,
sal_uInt8  nLZWDataSize 
)

Definition at line 73 of file giflzwc.cxx.

References rStream, and SvStream::WriteUChar().

◆ ~GIFImageDataOutputStream()

GIFImageDataOutputStream::~GIFImageDataOutputStream ( )

Member Function Documentation

◆ FlushBitsBufsFullBytes()

void GIFImageDataOutputStream::FlushBitsBufsFullBytes ( )
inlineprivate

Definition at line 49 of file giflzwc.cxx.

References FlushBlockBuf(), nBitsBuf, nBitsBufSize, nBlockBufSize, and pBlockBuf.

Referenced by WriteBits(), and ~GIFImageDataOutputStream().

◆ FlushBlockBuf()

void GIFImageDataOutputStream::FlushBlockBuf ( )
private

◆ WriteBits()

void GIFImageDataOutputStream::WriteBits ( sal_uInt16  nCode,
sal_uInt16  nCodeLen 
)
inline

Definition at line 63 of file giflzwc.cxx.

References FlushBitsBufsFullBytes(), nBitsBuf, and nBitsBufSize.

Referenced by ~GIFImageDataOutputStream().

Member Data Documentation

◆ nBitsBuf

sal_uInt32 GIFImageDataOutputStream::nBitsBuf
private

Definition at line 37 of file giflzwc.cxx.

Referenced by FlushBitsBufsFullBytes(), and WriteBits().

◆ nBitsBufSize

sal_uInt16 GIFImageDataOutputStream::nBitsBufSize
private

Definition at line 38 of file giflzwc.cxx.

Referenced by FlushBitsBufsFullBytes(), and WriteBits().

◆ nBlockBufSize

sal_uInt8 GIFImageDataOutputStream::nBlockBufSize
private

Definition at line 36 of file giflzwc.cxx.

Referenced by FlushBitsBufsFullBytes(), and FlushBlockBuf().

◆ pBlockBuf

std::array<sal_uInt8, 255> GIFImageDataOutputStream::pBlockBuf
private

Definition at line 35 of file giflzwc.cxx.

Referenced by FlushBitsBufsFullBytes(), and FlushBlockBuf().

◆ rStream

SvStream& GIFImageDataOutputStream::rStream
private

Definition at line 33 of file giflzwc.cxx.

Referenced by FlushBlockBuf(), GIFImageDataOutputStream(), and ~GIFImageDataOutputStream().


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