LLImageJ2COJ Class Reference

#include <llimagej2coj.h>

Inheritance diagram for LLImageJ2COJ:

Inheritance graph
[legend]
Collaboration diagram for LLImageJ2COJ:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLImageJ2COJ ()
virtual ~LLImageJ2COJ ()

Protected Member Functions

BOOL getMetadata (LLImageJ2C &base)
BOOL decodeImpl (LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count)
BOOL encodeImpl (LLImageJ2C &base, const LLImageRaw &raw_image, const char *comment_text, F32 encode_time=0.0, BOOL reversible=FALSE)
int ceildivpow2 (int a, int b)

Protected Attributes

LLImageRawmRawImagep

Detailed Description

Definition at line 37 of file llimagej2coj.h.


Constructor & Destructor Documentation

LLImageJ2COJ::LLImageJ2COJ (  ) 

Definition at line 81 of file llimagej2coj.cpp.

LLImageJ2COJ::~LLImageJ2COJ (  )  [virtual]

Definition at line 86 of file llimagej2coj.cpp.


Member Function Documentation

int LLImageJ2COJ::ceildivpow2 ( int  a,
int  b 
) [inline, protected]

Definition at line 48 of file llimagej2coj.h.

Referenced by decodeImpl().

BOOL LLImageJ2COJ::decodeImpl ( LLImageJ2C base,
LLImageRaw raw_image,
F32  decode_time,
S32  first_channel,
S32  max_channel_count 
) [protected, virtual]

Implements LLImageJ2CImpl.

Definition at line 91 of file llimagej2coj.cpp.

References base, ceildivpow2(), error_callback(), f, LLImageBase::getData(), height, info_callback(), NULL, LLImageRaw::resize(), S32, TRUE, warning_callback(), width, x, and y.

BOOL LLImageJ2COJ::encodeImpl ( LLImageJ2C base,
const LLImageRaw raw_image,
const char *  comment_text,
F32  encode_time = 0.0,
BOOL  reversible = FALSE 
) [protected, virtual]

Implements LLImageJ2CImpl.

Definition at line 204 of file llimagej2coj.cpp.

References base, c, error_callback(), FALSE, LLImageBase::getComponents(), LLImageBase::getData(), LLImageBase::getHeight(), LLImageBase::getWidth(), height, i, info_callback(), llendl, llinfos, NULL, S32, TRUE, warning_callback(), width, x, and y.

BOOL LLImageJ2COJ::getMetadata ( LLImageJ2C base  )  [protected, virtual]

Implements LLImageJ2CImpl.

Definition at line 328 of file llimagej2coj.cpp.

References base, error_callback(), FALSE, height, info_callback(), NULL, S32, TRUE, warning_callback(), and width.


Member Data Documentation

LLImageRaw* LLImageJ2COJ::mRawImagep [protected]

Definition at line 55 of file llimagej2coj.h.


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