#include <llimagepng.h>


Public Member Functions | |
| LLImagePNG () | |
| BOOL | updateData () |
| BOOL | decode (LLImageRaw *raw_image, F32 decode_time) |
| BOOL | encode (const LLImageRaw *raw_image, F32 encode_time) |
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::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.

| BOOL LLImagePNG::decode | ( | LLImageRaw * | raw_image, | |
| F32 | decode_time | |||
| ) | [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 | |||
| ) | [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().

U8* LLImagePNG::mTmpWriteBuffer [private] |
1.5.5