LodePNG::Decoder Class Reference
#include <lodepng.h>
List of all members.
|
Public Member Functions |
| | Decoder () |
| void | decode (std::vector< unsigned char > &out, const unsigned char *in, unsigned long size) |
| void | decode (std::vector< unsigned char > &out, const std::vector< unsigned char > &in) |
| void | inspect (const unsigned char *in, unsigned long size) |
| void | inspect (const std::vector< unsigned char > &in) |
| bool | hasError () const |
| int | getError () const |
| unsigned long | getWidth () const |
| unsigned long | getHeight () const |
| void | setSettings (const Settings &settings) |
| const Settings & | getSettings () const |
| Settings & | getSettings () |
| const InfoPng & | getInfoPng () const |
| void | setInfoRaw (const InfoRaw &infoRaw) |
| const InfoRaw & | getInfoRaw () const |
| InfoRaw & | getInfoRaw () |
Private Member Functions |
| void | readPngHeader (const unsigned char *in, size_t inlength) |
| void | unFilterScanline (unsigned char *recon, const unsigned char *scanline, const unsigned char *precon, size_t bytewidth, unsigned long filterType, size_t length) |
| void | adam7Pass (unsigned char *out, unsigned char *scanlinen, unsigned char *scanlineo, const unsigned char *in, unsigned long w, size_t bytewidth, size_t passleft, size_t passtop, size_t spacex, size_t spacey, size_t passw, size_t passh, unsigned long bpp) |
| void | resetParameters () |
| void | decodeGeneric (std::vector< unsigned char > &out, const unsigned char *in, unsigned long size) |
Private Attributes |
| InfoPng | infoPng |
| InfoRaw | infoRaw |
| Settings | settings |
| int | error |
Classes |
| struct | Settings |
Constructor & Destructor Documentation
| LodePNG::Decoder::Decoder |
( |
|
) |
|
Member Function Documentation
| void LodePNG::Decoder::decode |
( |
std::vector< unsigned char > & |
out, |
|
|
const unsigned char * |
in, |
|
|
unsigned long |
size | |
|
) |
| | |
| void LodePNG::Decoder::decode |
( |
std::vector< unsigned char > & |
out, |
|
|
const std::vector< unsigned char > & |
in | |
|
) |
| | |
| void LodePNG::Decoder::inspect |
( |
const unsigned char * |
in, |
|
|
unsigned long |
size | |
|
) |
| | |
| void LodePNG::Decoder::inspect |
( |
const std::vector< unsigned char > & |
in |
) |
|
| bool LodePNG::Decoder::hasError |
( |
|
) |
const |
| int LodePNG::Decoder::getError |
( |
|
) |
const |
| unsigned long LodePNG::Decoder::getWidth |
( |
|
) |
const |
| unsigned long LodePNG::Decoder::getHeight |
( |
|
) |
const |
| void LodePNG::Decoder::setSettings |
( |
const Settings & |
settings |
) |
|
| const InfoPng & LodePNG::Decoder::getInfoPng |
( |
|
) |
const |
| void LodePNG::Decoder::setInfoRaw |
( |
const InfoRaw & |
infoRaw |
) |
|
| const InfoRaw & LodePNG::Decoder::getInfoRaw |
( |
|
) |
const |
| InfoRaw & LodePNG::Decoder::getInfoRaw |
( |
|
) |
|
| void LodePNG::Decoder::readPngHeader |
( |
const unsigned char * |
in, |
|
|
size_t |
inlength | |
|
) |
| | [private] |
| void LodePNG::Decoder::unFilterScanline |
( |
unsigned char * |
recon, |
|
|
const unsigned char * |
scanline, |
|
|
const unsigned char * |
precon, |
|
|
size_t |
bytewidth, |
|
|
unsigned long |
filterType, |
|
|
size_t |
length | |
|
) |
| | [private] |
| void LodePNG::Decoder::adam7Pass |
( |
unsigned char * |
out, |
|
|
unsigned char * |
scanlinen, |
|
|
unsigned char * |
scanlineo, |
|
|
const unsigned char * |
in, |
|
|
unsigned long |
w, |
|
|
size_t |
bytewidth, |
|
|
size_t |
passleft, |
|
|
size_t |
passtop, |
|
|
size_t |
spacex, |
|
|
size_t |
spacey, |
|
|
size_t |
passw, |
|
|
size_t |
passh, |
|
|
unsigned long |
bpp | |
|
) |
| | [private] |
| void LodePNG::Decoder::resetParameters |
( |
|
) |
[private] |
| void LodePNG::Decoder::decodeGeneric |
( |
std::vector< unsigned char > & |
out, |
|
|
const unsigned char * |
in, |
|
|
unsigned long |
size | |
|
) |
| | [private] |
Member Data Documentation
The documentation for this class was generated from the following files:
- /Users/ccliffe/Dev/cubicvr/cubicvr/include/CubicVR/lodepng.h
- /Users/ccliffe/Dev/cubicvr/cubicvr/src/lodepng.cpp