#include <llimagej2coj.h>
Inheritance diagram for LLImageJ2COJ:
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 | |
LLImageRaw * | mRawImagep |
Definition at line 37 of file llimagej2coj.h.
LLImageJ2COJ::LLImageJ2COJ | ( | ) |
Definition at line 81 of file llimagej2coj.cpp.
LLImageJ2COJ::~LLImageJ2COJ | ( | ) | [virtual] |
Definition at line 86 of file llimagej2coj.cpp.
int LLImageJ2COJ::ceildivpow2 | ( | int | a, | |
int | b | |||
) | [inline, protected] |
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.
LLImageRaw* LLImageJ2COJ::mRawImagep [protected] |
Definition at line 55 of file llimagej2coj.h.