#include <llimagepng.h>
Inheritance diagram for LLImagePNG:


| Public Member Functions | |
| LLImagePNG () | |
| BOOL | updateData () | 
| BOOL | decode (LLImageRaw *raw_image, F32 decode_time=0.0) | 
| BOOL | encode (const LLImageRaw *raw_image, F32 encode_time=0.0) | 
| Protected Member Functions | |
| ~LLImagePNG () | |
| Private Attributes | |
| U8 * | mTmpWriteBuffer | 
Definition at line 37 of file llimagepng.h.
| LLImagePNG::~LLImagePNG | ( | ) |  [protected] | 
| LLImagePNG::LLImagePNG | ( | ) | 
Definition at line 43 of file llimagepng.cpp.
| BOOL LLImagePNG::decode | ( | LLImageRaw * | raw_image, | |
| F32 | decode_time = 0.0 | |||
| ) |  [virtual] | 
Implements LLImageFormatted.
Definition at line 88 of file llimagepng.cpp.
References FALSE, LLImageBase::getData(), LLImageBase::getDataSize(), LLPngWrapper::getErrorMessage(), llassert_always, LLPngWrapper::readPng(), LLImageBase::resetLastError(), LLImageBase::setLastError(), and TRUE.
| BOOL LLImagePNG::encode | ( | const LLImageRaw * | raw_image, | |
| F32 | encode_time = 0.0 | |||
| ) |  [virtual] | 
Implements LLImageFormatted.
Definition at line 114 of file llimagepng.cpp.
References LLImageFormatted::allocateData(), FALSE, LLImageBase::getComponents(), LLImageBase::getData(), LLPngWrapper::getErrorMessage(), LLPngWrapper::getFinalSize(), LLImageBase::getHeight(), LLImageBase::getWidth(), llassert_always, mTmpWriteBuffer, LLImageBase::resetLastError(), LLImageBase::setLastError(), LLImageBase::setSize(), TRUE, and LLPngWrapper::writePng().
| BOOL LLImagePNG::updateData | ( | ) |  [virtual] | 
Implements LLImageFormatted.
Definition at line 60 of file llimagepng.cpp.
References FALSE, LLImageBase::getData(), LLImageBase::getDataSize(), LLPngWrapper::getErrorMessage(), LLPngWrapper::ImageInfo::mComponents, LLPngWrapper::ImageInfo::mHeight, LLPngWrapper::ImageInfo::mWidth, NULL, LLPngWrapper::readPng(), LLImageBase::resetLastError(), LLImageBase::setLastError(), LLImageBase::setSize(), and TRUE.
| U8* LLImagePNG::mTmpWriteBuffer  [private] | 
 1.4.7
 1.4.7