Flutter Engine
The Flutter Engine
|
Go to the source code of this file.
Macros | |
#define | ETC1_ENCODED_BLOCK_SIZE 8 |
#define | ETC1_DECODED_BLOCK_SIZE 48 |
#define | ETC1_RGB8_OES 0x8D64 |
#define | ETC_PKM_HEADER_SIZE 16 |
Typedefs | |
typedef unsigned char | etc1_byte |
typedef int | etc1_bool |
typedef unsigned int | etc1_uint32 |
Functions | |
void | etc1_encode_block (const etc1_byte *pIn, etc1_uint32 validPixelMask, etc1_byte *pOut) |
void | etc1_decode_block (const etc1_byte *pIn, etc1_byte *pOut) |
etc1_uint32 | etc1_get_encoded_data_size (etc1_uint32 width, etc1_uint32 height) |
int | etc1_encode_image (const etc1_byte *pIn, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte *pOut) |
int | etc1_decode_image (const etc1_byte *pIn, etc1_byte *pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) |
void | etc1_pkm_format_header (etc1_byte *pHeader, etc1_uint32 width, etc1_uint32 height) |
etc1_bool | etc1_pkm_is_valid (const etc1_byte *pHeader) |
etc1_uint32 | etc1_pkm_get_width (const etc1_byte *pHeader) |
etc1_uint32 | etc1_pkm_get_height (const etc1_byte *pHeader) |
typedef unsigned int etc1_uint32 |
Definition at line 208 of file etc1.cpp.
int etc1_decode_image | ( | const etc1_byte * | pIn, |
etc1_byte * | pOut, | ||
etc1_uint32 | width, | ||
etc1_uint32 | height, | ||
etc1_uint32 | pixelSize, | ||
etc1_uint32 | stride | ||
) |
Definition at line 573 of file etc1.cpp.
void etc1_encode_block | ( | const etc1_byte * | pIn, |
etc1_uint32 | validPixelMask, | ||
etc1_byte * | pOut | ||
) |
Definition at line 489 of file etc1.cpp.
int etc1_encode_image | ( | const etc1_byte * | pIn, |
etc1_uint32 | width, | ||
etc1_uint32 | height, | ||
etc1_uint32 | pixelSize, | ||
etc1_uint32 | stride, | ||
etc1_byte * | pOut | ||
) |
Definition at line 517 of file etc1.cpp.
etc1_uint32 etc1_get_encoded_data_size | ( | etc1_uint32 | width, |
etc1_uint32 | height | ||
) |
void etc1_pkm_format_header | ( | etc1_byte * | pHeader, |
etc1_uint32 | width, | ||
etc1_uint32 | height | ||
) |
Definition at line 638 of file etc1.cpp.
etc1_uint32 etc1_pkm_get_height | ( | const etc1_byte * | pHeader | ) |
etc1_uint32 etc1_pkm_get_width | ( | const etc1_byte * | pHeader | ) |