LLImageBMP Class Reference

#include <llimagebmp.h>

Inheritance diagram for LLImageBMP:

Inheritance graph
[legend]
Collaboration diagram for LLImageBMP:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLImageBMP ()
BOOL updateData ()
BOOL decode (LLImageRaw *raw_image, F32 decode_time)
BOOL encode (const LLImageRaw *raw_image, F32 encode_time)

Protected Member Functions

virtual ~LLImageBMP ()
BOOL decodeColorTable8 (U8 *dst, U8 *src)
BOOL decodeColorMask16 (U8 *dst, U8 *src)
BOOL decodeTruecolor24 (U8 *dst, U8 *src)
BOOL decodeColorMask32 (U8 *dst, U8 *src)
U32 countTrailingZeros (U32 m)

Protected Attributes

S32 mColorPaletteColors
U8mColorPalette
S32 mBitmapOffset
S32 mBitsPerPixel
U32 mBitfieldMask [4]
BOOL mOriginAtTop


Detailed Description

Definition at line 39 of file llimagebmp.h.


Constructor & Destructor Documentation

LLImageBMP::~LLImageBMP (  )  [protected, virtual]

Definition at line 94 of file llimagebmp.cpp.

References mColorPalette.

LLImageBMP::LLImageBMP (  ) 

LLImageBMP

Definition at line 79 of file llimagebmp.cpp.

References mBitfieldMask.


Member Function Documentation

BOOL LLImageBMP::updateData (  )  [virtual]

BOOL LLImageBMP::decode ( LLImageRaw raw_image,
F32  decode_time 
) [virtual]

BOOL LLImageBMP::encode ( const LLImageRaw raw_image,
F32  encode_time 
) [virtual]

BOOL LLImageBMP::decodeColorTable8 ( U8 dst,
U8 src 
) [protected]

Definition at line 477 of file llimagebmp.cpp.

References LLImageBase::getHeight(), LLImageBase::getWidth(), llassert, mBitsPerPixel, mColorPalette, mColorPaletteColors, S32, and TRUE.

Referenced by decode().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLImageBMP::decodeColorMask16 ( U8 dst,
U8 src 
) [protected]

Definition at line 401 of file llimagebmp.cpp.

References countTrailingZeros(), LLImageBase::getHeight(), LLImageBase::getWidth(), llassert, mBitfieldMask, mBitsPerPixel, S32, and TRUE.

Referenced by decode().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLImageBMP::decodeTruecolor24 ( U8 dst,
U8 src 
) [protected]

Definition at line 502 of file llimagebmp.cpp.

References LLImageBase::getComponents(), LLImageBase::getHeight(), LLImageBase::getWidth(), llassert, mBitsPerPixel, S32, and TRUE.

Referenced by decode().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLImageBMP::decodeColorMask32 ( U8 dst,
U8 src 
) [protected]

Definition at line 437 of file llimagebmp.cpp.

References countTrailingZeros(), LLImageBase::getHeight(), LLImageBase::getWidth(), llassert, mBitfieldMask, mBitsPerPixel, S32, and TRUE.

Referenced by decode().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLImageBMP::countTrailingZeros ( U32  m  )  [protected]

Definition at line 389 of file llimagebmp.cpp.

Referenced by decodeColorMask16(), and decodeColorMask32().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 60 of file llimagebmp.h.

Referenced by decode(), decodeColorTable8(), and updateData().

Definition at line 61 of file llimagebmp.h.

Referenced by decodeColorTable8(), updateData(), and ~LLImageBMP().

Definition at line 62 of file llimagebmp.h.

Referenced by decode(), and updateData().

Definition at line 64 of file llimagebmp.h.

Referenced by decodeColorMask16(), decodeColorMask32(), LLImageBMP(), and updateData().

Definition at line 65 of file llimagebmp.h.

Referenced by decode(), and updateData().


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

Generated on Fri May 16 08:49:30 2008 for SecondLife by  doxygen 1.5.5