LLBitPack Class Reference

#include <bitpack.h>

List of all members.

Public Member Functions

 LLBitPack (U8 *buffer, U32 max_size)
 ~LLBitPack ()
void resetBitPacking ()
U32 bitPack (U8 *total_data, U32 total_dsize)
U32 bitCopy (U8 *total_data, U32 total_dsize)
U32 bitUnpack (U8 *total_retval, U32 total_dsize)
U32 flushBitPack ()

Public Attributes

U8mBuffer
U32 mBufferSize
U8 mLoad
U32 mLoadSize
U32 mTotalBits
U32 mMaxSize


Detailed Description

Definition at line 40 of file bitpack.h.


Constructor & Destructor Documentation

LLBitPack::LLBitPack ( U8 buffer,
U32  max_size 
) [inline]

Definition at line 43 of file bitpack.h.

LLBitPack::~LLBitPack (  )  [inline]

Definition at line 47 of file bitpack.h.


Member Function Documentation

U32 LLBitPack::bitCopy ( U8 total_data,
U32  total_dsize 
) [inline]

Definition at line 103 of file bitpack.h.

References llerror, MAX_DATA_BITS, mBuffer, mBufferSize, mLoad, mLoadSize, mMaxSize, and mTotalBits.

U32 LLBitPack::bitPack ( U8 total_data,
U32  total_dsize 
) [inline]

Definition at line 59 of file bitpack.h.

References llerror, MAX_DATA_BITS, mBuffer, mBufferSize, mLoad, mLoadSize, mMaxSize, and mTotalBits.

Referenced by code_end_of_data(), code_patch(), code_patch_group_header(), and code_patch_header().

U32 LLBitPack::bitUnpack ( U8 total_retval,
U32  total_dsize 
) [inline]

Definition at line 146 of file bitpack.h.

References llendl, llerrs, MAX_DATA_BITS, mBuffer, mBufferSize, mLoad, mLoadSize, and mMaxSize.

Referenced by decode_patch(), decode_patch_group_header(), and decode_patch_header().

U32 LLBitPack::flushBitPack (  )  [inline]

Definition at line 190 of file bitpack.h.

References llerror, MAX_DATA_BITS, mBuffer, mBufferSize, mLoad, mLoadSize, and mMaxSize.

Referenced by end_patch_coding().

void LLBitPack::resetBitPacking (  )  [inline]

Definition at line 51 of file bitpack.h.

References mBufferSize, mLoad, mLoadSize, and mTotalBits.

Referenced by init_patch_coding(), and init_patch_decoding().


Member Data Documentation

U8* LLBitPack::mBuffer

Definition at line 205 of file bitpack.h.

Referenced by bitCopy(), bitPack(), bitUnpack(), and flushBitPack().

U32 LLBitPack::mBufferSize

Definition at line 206 of file bitpack.h.

Referenced by bitCopy(), bitPack(), bitUnpack(), flushBitPack(), and resetBitPacking().

U8 LLBitPack::mLoad

Definition at line 207 of file bitpack.h.

Referenced by bitCopy(), bitPack(), bitUnpack(), flushBitPack(), and resetBitPacking().

U32 LLBitPack::mLoadSize

Definition at line 208 of file bitpack.h.

Referenced by bitCopy(), bitPack(), bitUnpack(), flushBitPack(), and resetBitPacking().

U32 LLBitPack::mMaxSize

Definition at line 210 of file bitpack.h.

Referenced by bitCopy(), bitPack(), bitUnpack(), and flushBitPack().

U32 LLBitPack::mTotalBits

Definition at line 209 of file bitpack.h.

Referenced by bitCopy(), bitPack(), and resetBitPacking().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:11 2010 for Second Life Viewer by  doxygen 1.4.7