Go to the source code of this file.
Classes | |
struct | vector |
struct | uivector |
struct | ucvector |
struct | Coin |
struct | HuffmanTree |
Macros | |
#define | USE_BRUTE_FORCE_ENCODING 1 |
#define | VERSION_STRING "20080927" |
#define | FIRST_LENGTH_CODE_INDEX 257 |
#define | LAST_LENGTH_CODE_INDEX 285 |
#define | NUM_DEFLATE_CODE_SYMBOLS 288 /*256 literals, the end code, some length codes, and 2 unused codes*/ |
#define | NUM_DISTANCE_SYMBOLS 32 /*the distance codes have their own symbols, 30 used, 2 unused*/ |
#define | NUM_CODE_LENGTH_CODES 19 /*the code length codes. 0-15: code lengths, 16: copy previous 3-6 times, 17: 3-10 zeros, 18: 11-138 zeros*/ |
#define | encodeLZ77 encodeLZ77_brute |
Typedefs | |
typedef struct vector | vector |
typedef struct uivector | uivector |
typedef struct ucvector | ucvector |
typedef struct Coin | Coin |
typedef struct HuffmanTree | HuffmanTree |
Functions | |
static unsigned | vector_resize (vector *p, size_t size) |
static unsigned | vector_resized (vector *p, size_t size, void dtor(void *)) |
static void | vector_cleanup (void *p) |
static void | vector_cleanupd (vector *p, void dtor(void *)) |
static void | vector_init (vector *p, unsigned typesize) |
static void | vector_swap (vector *p, vector *q) |
static void * | vector_get (vector *p, size_t index) |
static void | uivector_cleanup (void *p) |
static unsigned | uivector_resize (uivector *p, size_t size) |
static unsigned | uivector_resizev (uivector *p, size_t size, unsigned value) |
static void | uivector_init (uivector *p) |
static unsigned | uivector_push_back (uivector *p, unsigned c) |
static unsigned | uivector_copy (uivector *p, const uivector *q) |
static void | uivector_swap (uivector *p, uivector *q) |
static void | ucvector_cleanup (void *p) |
static unsigned | ucvector_resize (ucvector *p, size_t size) |
static void | ucvector_init (ucvector *p) |
static void | ucvector_init_buffer (ucvector *p, unsigned char *buffer, size_t size) |
static unsigned | ucvector_push_back (ucvector *p, unsigned char c) |
static void | addBitToStream (size_t *bitpointer, ucvector *bitstream, unsigned char bit) |
static void | addBitsToStream (size_t *bitpointer, ucvector *bitstream, unsigned value, size_t nbits) |
static void | addBitsToStreamReversed (size_t *bitpointer, ucvector *bitstream, unsigned value, size_t nbits) |
static void | Coin_init (Coin *c) |
static void | Coin_cleanup (void *c) |
static void | Coin_copy (Coin *c1, const Coin *c2) |
static void | addCoins (Coin *c1, const Coin *c2) |
static void | Coin_sort (Coin *data, size_t amount) |
static void | HuffmanTree_init (HuffmanTree *tree) |
static void | HuffmanTree_cleanup (HuffmanTree *tree) |
static unsigned | HuffmanTree_make2DTree (HuffmanTree *tree) |
static unsigned | HuffmanTree_makeFromLengths2 (HuffmanTree *tree) |
static unsigned | HuffmanTree_makeFromLengths (HuffmanTree *tree, const unsigned *bitlen, size_t numcodes, unsigned maxbitlen) |
static unsigned | HuffmanTree_fillInCoins (vector *coins, const unsigned *frequencies, unsigned numcodes, size_t sum) |
static unsigned | HuffmanTree_makeFromFrequencies (HuffmanTree *tree, const unsigned *frequencies, size_t numcodes, unsigned maxbitlen) |
static unsigned | HuffmanTree_getCode (const HuffmanTree *tree, unsigned index) |
static unsigned | HuffmanTree_getLength (const HuffmanTree *tree, unsigned index) |
static unsigned | generateFixedTree (HuffmanTree *tree) |
static unsigned | generateDistanceTree (HuffmanTree *tree) |
static void | addHuffmanSymbol (size_t *bp, ucvector *compressed, unsigned code, unsigned bitlen) |
static size_t | searchCodeIndex (const unsigned *array, size_t array_size, size_t value) |
static void | addLengthDistance (uivector *values, size_t length, size_t distance) |
static unsigned | encodeLZ77_brute (uivector *out, const unsigned char *in, size_t size, unsigned windowSize) |
static unsigned | deflateNoCompression (ucvector *out, const unsigned char *data, size_t datasize) |
static void | writeLZ77data (size_t *bp, ucvector *out, const uivector *lz77_encoded, const HuffmanTree *codes, const HuffmanTree *codesD) |
static unsigned | deflateDynamic (ucvector *out, const unsigned char *data, size_t datasize, const LodeZlib_DeflateSettings *settings) |
static unsigned | deflateFixed (ucvector *out, const unsigned char *data, size_t datasize, const LodeZlib_DeflateSettings *settings) |
unsigned | LodeFlate_deflate (ucvector *out, const unsigned char *data, size_t datasize, const LodeZlib_DeflateSettings *settings) |
static unsigned | update_adler32 (unsigned adler, const unsigned char *data, unsigned len) |
static unsigned | adler32 (const unsigned char *data, unsigned len) |
void | LodeZlib_add32bitInt (ucvector *buffer, unsigned value) |
unsigned | LodeZlib_read32bitInt (const unsigned char *buffer) |
unsigned | LodeZlib_compress (unsigned char **out, size_t *outsize, const unsigned char *in, size_t insize, const LodeZlib_DeflateSettings *settings) |
void | LodeZlib_DeflateSettings_init (LodeZlib_DeflateSettings *settings) |
static unsigned | LodePNG_compress (unsigned char **out, size_t *outsize, const unsigned char *in, size_t insize, const LodeZlib_DeflateSettings *settings) |
static void | Crc32_make_crc_table (void) |
static unsigned | Crc32_update_crc (const unsigned char *buf, unsigned int crc, size_t len) |
static unsigned | Crc32_crc (const unsigned char *buf, size_t len) |
static unsigned char | readBitFromReversedStream (size_t *bitpointer, const unsigned char *bitstream) |
static unsigned | readBitsFromReversedStream (size_t *bitpointer, const unsigned char *bitstream, size_t nbits) |
static void | setBitOfReversedStream (size_t *bitpointer, unsigned char *bitstream, unsigned char bit) |
static unsigned | LodePNG_read32bitInt (const unsigned char *buffer) |
static void | LodePNG_set32bitInt (unsigned char *buffer, unsigned value) |
static void | LodePNG_add32bitInt (ucvector *buffer, unsigned value) |
unsigned | LodePNG_chunk_length (const unsigned char *chunk) |
void | LodePNG_chunk_type (char type[5], const unsigned char *chunk) |
unsigned char | LodePNG_chunk_type_equals (const unsigned char *chunk, const char *type) |
unsigned char | LodePNG_chunk_critical (const unsigned char *chunk) |
unsigned char | LodePNG_chunk_private (const unsigned char *chunk) |
unsigned char | LodePNG_chunk_safetocopy (const unsigned char *chunk) |
unsigned char * | LodePNG_chunk_data (unsigned char *chunk) |
const unsigned char * | LodePNG_chunk_data_const (const unsigned char *chunk) |
unsigned | LodePNG_chunk_check_crc (const unsigned char *chunk) |
void | LodePNG_chunk_generate_crc (unsigned char *chunk) |
unsigned char * | LodePNG_chunk_next (unsigned char *chunk) |
const unsigned char * | LodePNG_chunk_next_const (const unsigned char *chunk) |
unsigned | LodePNG_append_chunk (unsigned char **out, size_t *outlength, const unsigned char *chunk) |
unsigned | LodePNG_create_chunk (unsigned char **out, size_t *outlength, unsigned length, const char *type, const unsigned char *data) |
static unsigned | checkColorValidity (unsigned colorType, unsigned bd) |
static unsigned | getNumColorChannels (unsigned colorType) |
static unsigned | getBpp (unsigned colorType, unsigned bitDepth) |
void | LodePNG_InfoColor_init (LodePNG_InfoColor *info) |
void | LodePNG_InfoColor_cleanup (LodePNG_InfoColor *info) |
void | LodePNG_InfoColor_clearPalette (LodePNG_InfoColor *info) |
unsigned | LodePNG_InfoColor_addPalette (LodePNG_InfoColor *info, unsigned char r, unsigned char g, unsigned char b, unsigned char a) |
unsigned | LodePNG_InfoColor_getBpp (const LodePNG_InfoColor *info) |
unsigned | LodePNG_InfoColor_getChannels (const LodePNG_InfoColor *info) |
unsigned | LodePNG_InfoColor_isGreyscaleType (const LodePNG_InfoColor *info) |
unsigned | LodePNG_InfoColor_isAlphaType (const LodePNG_InfoColor *info) |
unsigned | LodePNG_InfoColor_equal (const LodePNG_InfoColor *info1, const LodePNG_InfoColor *info2) |
void | LodePNG_InfoPng_init (LodePNG_InfoPng *info) |
void | LodePNG_InfoPng_cleanup (LodePNG_InfoPng *info) |
unsigned | LodePNG_InfoPng_copy (LodePNG_InfoPng *dest, const LodePNG_InfoPng *source) |
void | LodePNG_InfoPng_swap (LodePNG_InfoPng *a, LodePNG_InfoPng *b) |
unsigned | LodePNG_InfoColor_copy (LodePNG_InfoColor *dest, const LodePNG_InfoColor *source) |
void | LodePNG_InfoRaw_init (LodePNG_InfoRaw *info) |
void | LodePNG_InfoRaw_cleanup (LodePNG_InfoRaw *info) |
unsigned | LodePNG_InfoRaw_copy (LodePNG_InfoRaw *dest, const LodePNG_InfoRaw *source) |
unsigned | LodePNG_convert (unsigned char *out, const unsigned char *in, LodePNG_InfoColor *infoOut, LodePNG_InfoColor *infoIn, unsigned w, unsigned h) |
static int | paethPredictor (int a, int b, int c) |
static void | Adam7_getpassvalues (unsigned passw[7], unsigned passh[7], size_t filter_passstart[8], size_t padded_passstart[8], size_t passstart[8], unsigned w, unsigned h, unsigned bpp) |
static unsigned | addChunk (ucvector *out, const char *chunkName, const unsigned char *data, size_t length) |
static void | writeSignature (ucvector *out) |
static unsigned | addChunk_IHDR (ucvector *out, unsigned w, unsigned h, unsigned bitDepth, unsigned colorType, unsigned interlaceMethod) |
static unsigned | addChunk_PLTE (ucvector *out, const LodePNG_InfoColor *info) |
static unsigned | addChunk_tRNS (ucvector *out, const LodePNG_InfoColor *info) |
static unsigned | addChunk_IDAT (ucvector *out, const unsigned char *data, size_t datasize, LodeZlib_DeflateSettings *zlibsettings) |
static unsigned | addChunk_IEND (ucvector *out) |
static void | filterScanline (unsigned char *out, const unsigned char *scanline, const unsigned char *prevline, size_t length, size_t bytewidth, unsigned char filterType) |
static unsigned | filter (unsigned char *out, const unsigned char *in, unsigned w, unsigned h, const LodePNG_InfoColor *info) |
static void | addPaddingBits (unsigned char *out, const unsigned char *in, size_t olinebits, size_t ilinebits, unsigned h) |
static void | Adam7_interlace (unsigned char *out, const unsigned char *in, unsigned w, unsigned h, unsigned bpp) |
static unsigned | preProcessScanlines (unsigned char **out, size_t *outsize, const unsigned char *in, const LodePNG_InfoPng *infoPng) |
static unsigned | isPaletteFullyOpaque (const unsigned char *palette, size_t palettesize) |
static unsigned | isFullyOpaque (const unsigned char *image, unsigned w, unsigned h, const LodePNG_InfoColor *info) |
void | LodePNG_encode (LodePNG_Encoder *encoder, unsigned char **out, size_t *outsize, const unsigned char *image, unsigned w, unsigned h) |
unsigned | LodePNG_encode32 (unsigned char **out, size_t *outsize, const unsigned char *image, unsigned w, unsigned h) |
unsigned | LodePNG_encode32f (const char *filename, const unsigned char *image, unsigned w, unsigned h) |
void | LodePNG_EncodeSettings_init (LodePNG_EncodeSettings *settings) |
void | LodePNG_Encoder_init (LodePNG_Encoder *encoder) |
void | LodePNG_Encoder_cleanup (LodePNG_Encoder *encoder) |
void | LodePNG_Encoder_copy (LodePNG_Encoder *dest, const LodePNG_Encoder *source) |
unsigned | LodePNG_loadFile (unsigned char **out, size_t *outsize, const char *filename) |
unsigned | LodePNG_saveFile (const unsigned char *buffer, size_t buffersize, const char *filename) |
Variables | |
static const unsigned | LENGTHBASE [29] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258} |
static const unsigned | LENGTHEXTRA [29] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0} |
static const unsigned | DISTANCEBASE [30] = {1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577} |
static const unsigned | DISTANCEEXTRA [30] = {0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13} |
static const unsigned | CLCL [NUM_CODE_LENGTH_CODES] = {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15} |
static const size_t | MAX_SUPPORTED_DEFLATE_LENGTH = 258 |
const LodeZlib_DeflateSettings | LodeZlib_defaultDeflateSettings = {2, 1, 2048} |
static unsigned | Crc32_crc_table_computed = 0 |
static unsigned | Crc32_crc_table [256] |
static const unsigned | ADAM7_IX [7] = { 0, 4, 0, 2, 0, 1, 0 } |
static const unsigned | ADAM7_IY [7] = { 0, 0, 4, 0, 2, 0, 1 } |
static const unsigned | ADAM7_DX [7] = { 8, 8, 4, 4, 2, 2, 1 } |
static const unsigned | ADAM7_DY [7] = { 8, 8, 8, 4, 4, 2, 2 } |
#define encodeLZ77 encodeLZ77_brute |
Definition at line 1039 of file lodepng.cpp.
#define FIRST_LENGTH_CODE_INDEX 257 |
Definition at line 347 of file lodepng.cpp.
#define LAST_LENGTH_CODE_INDEX 285 |
Definition at line 348 of file lodepng.cpp.
#define NUM_CODE_LENGTH_CODES 19 /*the code length codes. 0-15: code lengths, 16: copy previous 3-6 times, 17: 3-10 zeros, 18: 11-138 zeros*/ |
Definition at line 351 of file lodepng.cpp.
#define NUM_DEFLATE_CODE_SYMBOLS 288 /*256 literals, the end code, some length codes, and 2 unused codes*/ |
Definition at line 349 of file lodepng.cpp.
#define NUM_DISTANCE_SYMBOLS 32 /*the distance codes have their own symbols, 30 used, 2 unused*/ |
Definition at line 350 of file lodepng.cpp.
#define USE_BRUTE_FORCE_ENCODING 1 |
Definition at line 34 of file lodepng.cpp.
#define VERSION_STRING "20080927" |
Definition at line 36 of file lodepng.cpp.
typedef struct HuffmanTree HuffmanTree |
|
static |
Definition at line 2570 of file lodepng.cpp.
|
static |
Definition at line 3712 of file lodepng.cpp.
|
static |
Definition at line 314 of file lodepng.cpp.
|
static |
Definition at line 320 of file lodepng.cpp.
|
static |
Definition at line 307 of file lodepng.cpp.
|
static |
Definition at line 3277 of file lodepng.cpp.
|
static |
Definition at line 3368 of file lodepng.cpp.
|
static |
Definition at line 3382 of file lodepng.cpp.
|
static |
Definition at line 3298 of file lodepng.cpp.
|
static |
Definition at line 3318 of file lodepng.cpp.
|
static |
Definition at line 3331 of file lodepng.cpp.
Definition at line 390 of file lodepng.cpp.
|
static |
Definition at line 994 of file lodepng.cpp.
|
static |
Definition at line 1019 of file lodepng.cpp.
|
static |
Definition at line 3692 of file lodepng.cpp.
|
static |
Definition at line 1582 of file lodepng.cpp.
|
static |
Definition at line 1991 of file lodepng.cpp.
|
static |
Definition at line 379 of file lodepng.cpp.
Definition at line 384 of file lodepng.cpp.
|
static |
Definition at line 374 of file lodepng.cpp.
|
static |
Definition at line 397 of file lodepng.cpp.
|
static |
Definition at line 1799 of file lodepng.cpp.
|
static |
Definition at line 1766 of file lodepng.cpp.
|
static |
Definition at line 1785 of file lodepng.cpp.
|
static |
Definition at line 1327 of file lodepng.cpp.
|
static |
Definition at line 1502 of file lodepng.cpp.
|
static |
Definition at line 1264 of file lodepng.cpp.
|
static |
search for the longest string
encode it as length/distance pair or literal value
Definition at line 1041 of file lodepng.cpp.
|
static |
Definition at line 3576 of file lodepng.cpp.
|
static |
Definition at line 3532 of file lodepng.cpp.
|
static |
Definition at line 668 of file lodepng.cpp.
|
static |
Definition at line 646 of file lodepng.cpp.
|
static |
Definition at line 2018 of file lodepng.cpp.
|
static |
Definition at line 2005 of file lodepng.cpp.
|
static |
Definition at line 451 of file lodepng.cpp.
|
static |
Definition at line 538 of file lodepng.cpp.
|
static |
Definition at line 641 of file lodepng.cpp.
|
static |
Definition at line 642 of file lodepng.cpp.
|
static |
Definition at line 444 of file lodepng.cpp.
|
static |
Definition at line 459 of file lodepng.cpp.
|
static |
Definition at line 555 of file lodepng.cpp.
|
static |
Definition at line 527 of file lodepng.cpp.
|
static |
Definition at line 496 of file lodepng.cpp.
|
static |
Definition at line 3857 of file lodepng.cpp.
|
static |
Definition at line 3846 of file lodepng.cpp.
unsigned LodeFlate_deflate | ( | ucvector * | out, |
const unsigned char * | data, | ||
size_t | datasize, | ||
const LodeZlib_DeflateSettings * | settings | ||
) |
Definition at line 1542 of file lodepng.cpp.
|
static |
Definition at line 1854 of file lodepng.cpp.
unsigned LodePNG_append_chunk | ( | unsigned char ** | out, |
size_t * | outlength, | ||
const unsigned char * | chunk | ||
) |
Definition at line 1937 of file lodepng.cpp.
unsigned LodePNG_chunk_check_crc | ( | const unsigned char * | chunk | ) |
Definition at line 1909 of file lodepng.cpp.
unsigned char LodePNG_chunk_critical | ( | const unsigned char * | chunk | ) |
Definition at line 1884 of file lodepng.cpp.
unsigned char* LodePNG_chunk_data | ( | unsigned char * | chunk | ) |
Definition at line 1899 of file lodepng.cpp.
const unsigned char* LodePNG_chunk_data_const | ( | const unsigned char * | chunk | ) |
Definition at line 1904 of file lodepng.cpp.
void LodePNG_chunk_generate_crc | ( | unsigned char * | chunk | ) |
Definition at line 1918 of file lodepng.cpp.
unsigned LodePNG_chunk_length | ( | const unsigned char * | chunk | ) |
Definition at line 1865 of file lodepng.cpp.
unsigned char* LodePNG_chunk_next | ( | unsigned char * | chunk | ) |
Definition at line 1925 of file lodepng.cpp.
const unsigned char* LodePNG_chunk_next_const | ( | const unsigned char * | chunk | ) |
Definition at line 1931 of file lodepng.cpp.
unsigned char LodePNG_chunk_private | ( | const unsigned char * | chunk | ) |
Definition at line 1889 of file lodepng.cpp.
unsigned char LodePNG_chunk_safetocopy | ( | const unsigned char * | chunk | ) |
Definition at line 1894 of file lodepng.cpp.
void LodePNG_chunk_type | ( | char | type[5], |
const unsigned char * | chunk | ||
) |
Definition at line 1870 of file lodepng.cpp.
unsigned char LodePNG_chunk_type_equals | ( | const unsigned char * | chunk, |
const char * | type | ||
) |
Definition at line 1877 of file lodepng.cpp.
|
static |
Definition at line 1752 of file lodepng.cpp.
unsigned LodePNG_convert | ( | unsigned char * | out, |
const unsigned char * | in, | ||
LodePNG_InfoColor * | infoOut, | ||
LodePNG_InfoColor * | infoIn, | ||
unsigned | w, | ||
unsigned | h | ||
) |
Definition at line 2361 of file lodepng.cpp.
unsigned LodePNG_create_chunk | ( | unsigned char ** | out, |
size_t * | outlength, | ||
unsigned | length, | ||
const char * | type, | ||
const unsigned char * | data | ||
) |
Definition at line 1956 of file lodepng.cpp.
void LodePNG_encode | ( | LodePNG_Encoder * | encoder, |
unsigned char ** | out, | ||
size_t * | outsize, | ||
const unsigned char * | image, | ||
unsigned | w, | ||
unsigned | h | ||
) |
Definition at line 3910 of file lodepng.cpp.
unsigned LodePNG_encode32 | ( | unsigned char ** | out, |
size_t * | outsize, | ||
const unsigned char * | image, | ||
unsigned | w, | ||
unsigned | h | ||
) |
Definition at line 4042 of file lodepng.cpp.
unsigned LodePNG_encode32f | ( | const char * | filename, |
const unsigned char * | image, | ||
unsigned | w, | ||
unsigned | h | ||
) |
Definition at line 4054 of file lodepng.cpp.
void LodePNG_Encoder_cleanup | ( | LodePNG_Encoder * | encoder | ) |
Definition at line 4084 of file lodepng.cpp.
void LodePNG_Encoder_copy | ( | LodePNG_Encoder * | dest, |
const LodePNG_Encoder * | source | ||
) |
Definition at line 4090 of file lodepng.cpp.
void LodePNG_Encoder_init | ( | LodePNG_Encoder * | encoder | ) |
Definition at line 4076 of file lodepng.cpp.
void LodePNG_EncodeSettings_init | ( | LodePNG_EncodeSettings * | settings | ) |
Definition at line 4065 of file lodepng.cpp.
unsigned LodePNG_InfoColor_addPalette | ( | LodePNG_InfoColor * | info, |
unsigned char | r, | ||
unsigned char | g, | ||
unsigned char | b, | ||
unsigned char | a | ||
) |
Definition at line 2046 of file lodepng.cpp.
void LodePNG_InfoColor_cleanup | ( | LodePNG_InfoColor * | info | ) |
Definition at line 2035 of file lodepng.cpp.
void LodePNG_InfoColor_clearPalette | ( | LodePNG_InfoColor * | info | ) |
Definition at line 2040 of file lodepng.cpp.
unsigned LodePNG_InfoColor_copy | ( | LodePNG_InfoColor * | dest, |
const LodePNG_InfoColor * | source | ||
) |
Definition at line 2323 of file lodepng.cpp.
unsigned LodePNG_InfoColor_equal | ( | const LodePNG_InfoColor * | info1, |
const LodePNG_InfoColor * | info2 | ||
) |
Definition at line 2071 of file lodepng.cpp.
unsigned LodePNG_InfoColor_getBpp | ( | const LodePNG_InfoColor * | info | ) |
Definition at line 2066 of file lodepng.cpp.
unsigned LodePNG_InfoColor_getChannels | ( | const LodePNG_InfoColor * | info | ) |
Definition at line 2067 of file lodepng.cpp.
void LodePNG_InfoColor_init | ( | LodePNG_InfoColor * | info | ) |
Definition at line 2025 of file lodepng.cpp.
unsigned LodePNG_InfoColor_isAlphaType | ( | const LodePNG_InfoColor * | info | ) |
Definition at line 2069 of file lodepng.cpp.
unsigned LodePNG_InfoColor_isGreyscaleType | ( | const LodePNG_InfoColor * | info | ) |
Definition at line 2068 of file lodepng.cpp.
void LodePNG_InfoPng_cleanup | ( | LodePNG_InfoPng * | info | ) |
Definition at line 2284 of file lodepng.cpp.
unsigned LodePNG_InfoPng_copy | ( | LodePNG_InfoPng * | dest, |
const LodePNG_InfoPng * | source | ||
) |
Definition at line 2296 of file lodepng.cpp.
void LodePNG_InfoPng_init | ( | LodePNG_InfoPng * | info | ) |
Definition at line 2262 of file lodepng.cpp.
void LodePNG_InfoPng_swap | ( | LodePNG_InfoPng * | a, |
LodePNG_InfoPng * | b | ||
) |
Definition at line 2316 of file lodepng.cpp.
void LodePNG_InfoRaw_cleanup | ( | LodePNG_InfoRaw * | info | ) |
Definition at line 2339 of file lodepng.cpp.
unsigned LodePNG_InfoRaw_copy | ( | LodePNG_InfoRaw * | dest, |
const LodePNG_InfoRaw * | source | ||
) |
Definition at line 2344 of file lodepng.cpp.
void LodePNG_InfoRaw_init | ( | LodePNG_InfoRaw * | info | ) |
Definition at line 2334 of file lodepng.cpp.
unsigned LodePNG_loadFile | ( | unsigned char ** | out, |
size_t * | outsize, | ||
const char * | filename | ||
) |
Definition at line 4110 of file lodepng.cpp.
|
static |
Definition at line 1840 of file lodepng.cpp.
unsigned LodePNG_saveFile | ( | const unsigned char * | buffer, |
size_t | buffersize, | ||
const char * | filename | ||
) |
Definition at line 4141 of file lodepng.cpp.
|
static |
Definition at line 1845 of file lodepng.cpp.
void LodeZlib_add32bitInt | ( | ucvector * | buffer, |
unsigned | value | ||
) |
Definition at line 1592 of file lodepng.cpp.
unsigned LodeZlib_compress | ( | unsigned char ** | out, |
size_t * | outsize, | ||
const unsigned char * | in, | ||
size_t | insize, | ||
const LodeZlib_DeflateSettings * | settings | ||
) |
Definition at line 1651 of file lodepng.cpp.
void LodeZlib_DeflateSettings_init | ( | LodeZlib_DeflateSettings * | settings | ) |
Definition at line 1697 of file lodepng.cpp.
unsigned LodeZlib_read32bitInt | ( | const unsigned char * | buffer | ) |
Definition at line 1601 of file lodepng.cpp.
|
static |
Definition at line 2551 of file lodepng.cpp.
|
static |
Definition at line 3762 of file lodepng.cpp.
|
static |
Definition at line 1808 of file lodepng.cpp.
|
static |
Definition at line 1815 of file lodepng.cpp.
|
static |
Definition at line 1000 of file lodepng.cpp.
|
static |
Definition at line 1832 of file lodepng.cpp.
|
static |
Definition at line 206 of file lodepng.cpp.
|
static |
Definition at line 243 of file lodepng.cpp.
|
static |
Definition at line 251 of file lodepng.cpp.
|
static |
Definition at line 258 of file lodepng.cpp.
|
static |
Definition at line 213 of file lodepng.cpp.
|
static |
Definition at line 131 of file lodepng.cpp.
Definition at line 178 of file lodepng.cpp.
|
static |
Definition at line 164 of file lodepng.cpp.
|
static |
Definition at line 171 of file lodepng.cpp.
|
static |
Definition at line 138 of file lodepng.cpp.
|
static |
Definition at line 156 of file lodepng.cpp.
Definition at line 186 of file lodepng.cpp.
|
static |
Definition at line 1558 of file lodepng.cpp.
|
static |
Definition at line 85 of file lodepng.cpp.
|
static |
Definition at line 92 of file lodepng.cpp.
|
static |
Definition at line 114 of file lodepng.cpp.
|
static |
Definition at line 98 of file lodepng.cpp.
|
static |
Definition at line 60 of file lodepng.cpp.
|
static |
Definition at line 78 of file lodepng.cpp.
Definition at line 105 of file lodepng.cpp.
|
static |
Definition at line 1301 of file lodepng.cpp.
|
static |
Definition at line 3285 of file lodepng.cpp.
|
static |
Definition at line 2567 of file lodepng.cpp.
|
static |
Definition at line 2568 of file lodepng.cpp.
|
static |
Definition at line 2565 of file lodepng.cpp.
|
static |
Definition at line 2566 of file lodepng.cpp.
|
static |
Definition at line 362 of file lodepng.cpp.
|
static |
Definition at line 1763 of file lodepng.cpp.
|
static |
Definition at line 1762 of file lodepng.cpp.
|
static |
Definition at line 358 of file lodepng.cpp.
|
static |
Definition at line 360 of file lodepng.cpp.
|
static |
Definition at line 354 of file lodepng.cpp.
|
static |
Definition at line 356 of file lodepng.cpp.
const LodeZlib_DeflateSettings LodeZlib_defaultDeflateSettings = {2, 1, 2048} |
Definition at line 1704 of file lodepng.cpp.
|
static |
Definition at line 991 of file lodepng.cpp.