LLImageJPEG Class Reference

#include <llimagejpeg.h>

Inheritance diagram for LLImageJPEG:

Inheritance graph
[legend]
Collaboration diagram for LLImageJPEG:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLImageJPEG ()
BOOL updateData ()
BOOL decode (LLImageRaw *raw_image, F32 decode_time)
BOOL encode (const LLImageRaw *raw_image, F32 encode_time)
void setEncodeQuality (S32 q)
S32 getEncodeQuality ()

Static Public Member Functions

static void encodeInitDestination (j_compress_ptr cinfo)
static boolean encodeEmptyOutputBuffer (j_compress_ptr cinfo)
static void encodeTermDestination (j_compress_ptr cinfo)
static void decodeInitSource (j_decompress_ptr cinfo)
static boolean decodeFillInputBuffer (j_decompress_ptr cinfo)
static void decodeSkipInputData (j_decompress_ptr cinfo, long num_bytes)
static void decodeTermSource (j_decompress_ptr cinfo)
static void errorExit (j_common_ptr cinfo)
static void errorEmitMessage (j_common_ptr cinfo, int msg_level)
static void errorOutputMessage (j_common_ptr cinfo)
static BOOL decompress (LLImageJPEG *imagep)

Protected Member Functions

virtual ~LLImageJPEG ()

Protected Attributes

U8mOutputBuffer
S32 mOutputBufferSize
S32 mEncodeQuality
jmp_buf mSetjmpBuffer


Detailed Description

Definition at line 49 of file llimagejpeg.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file llimagejpeg.cpp.

References llassert, and mOutputBuffer.

LLImageJPEG::LLImageJPEG (  ) 

Definition at line 38 of file llimagejpeg.cpp.


Member Function Documentation

BOOL LLImageJPEG::updateData (  )  [virtual]

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

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

void LLImageJPEG::setEncodeQuality ( S32  q  )  [inline]

Definition at line 61 of file llimagejpeg.h.

References mEncodeQuality.

S32 LLImageJPEG::getEncodeQuality (  )  [inline]

Definition at line 62 of file llimagejpeg.h.

References mEncodeQuality.

void LLImageJPEG::encodeInitDestination ( j_compress_ptr  cinfo  )  [static]

Definition at line 321 of file llimagejpeg.cpp.

Referenced by encode().

Here is the caller graph for this function:

boolean LLImageJPEG::encodeEmptyOutputBuffer ( j_compress_ptr  cinfo  )  [static]

Definition at line 351 of file llimagejpeg.cpp.

References FALSE, llendl, llerrs, S32, and TRUE.

Referenced by encode().

Here is the caller graph for this function:

void LLImageJPEG::encodeTermDestination ( j_compress_ptr  cinfo  )  [static]

Definition at line 383 of file llimagejpeg.cpp.

References S32.

Referenced by encode().

Here is the caller graph for this function:

void LLImageJPEG::decodeInitSource ( j_decompress_ptr  cinfo  )  [static]

Definition at line 139 of file llimagejpeg.cpp.

Referenced by decode(), and updateData().

Here is the caller graph for this function:

boolean LLImageJPEG::decodeFillInputBuffer ( j_decompress_ptr  cinfo  )  [static]

Definition at line 145 of file llimagejpeg.cpp.

References TRUE.

Referenced by decode(), and updateData().

Here is the caller graph for this function:

void LLImageJPEG::decodeSkipInputData ( j_decompress_ptr  cinfo,
long  num_bytes 
) [static]

Definition at line 165 of file llimagejpeg.cpp.

Referenced by decode(), and updateData().

Here is the caller graph for this function:

void LLImageJPEG::decodeTermSource ( j_decompress_ptr  cinfo  )  [static]

Definition at line 174 of file llimagejpeg.cpp.

Referenced by decode(), and updateData().

Here is the caller graph for this function:

void LLImageJPEG::errorExit ( j_common_ptr  cinfo  )  [static]

Definition at line 394 of file llimagejpeg.cpp.

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

Here is the caller graph for this function:

void LLImageJPEG::errorEmitMessage ( j_common_ptr  cinfo,
int  msg_level 
) [static]

Definition at line 417 of file llimagejpeg.cpp.

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

Here is the caller graph for this function:

void LLImageJPEG::errorOutputMessage ( j_common_ptr  cinfo  )  [static]

Definition at line 444 of file llimagejpeg.cpp.

References llendl, and llwarns.

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

Here is the caller graph for this function:

static BOOL LLImageJPEG::decompress ( LLImageJPEG imagep  )  [static]


Member Data Documentation

Definition at line 82 of file llimagejpeg.h.

Referenced by encode(), and ~LLImageJPEG().

Definition at line 83 of file llimagejpeg.h.

Referenced by encode().

Definition at line 85 of file llimagejpeg.h.

Referenced by encode(), getEncodeQuality(), and setEncodeQuality().

jmp_buf LLImageJPEG::mSetjmpBuffer [protected]

Definition at line 87 of file llimagejpeg.h.

Referenced by encode().


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

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