Go to the source code of this file.
|
static void | io_read (png_struct *png_ptr, rpU8 data, png_size_t size) |
|
static void | io_write (png_struct *png_ptr, u8 *data, png_size_t length) |
|
static void | io_flush (png_structp png_ptr) |
|
static Status | png_transform (Tex *t, size_t transforms) |
|
static Status | png_decode_impl (MemoryStream *stream, png_structp png_ptr, png_infop info_ptr, Tex *t) |
|
static Status | png_encode_impl (Tex *t, png_structp png_ptr, png_infop info_ptr, DynArray *da) |
|
static bool | png_is_hdr (const u8 *file) |
|
static bool | png_is_ext (const OsPath &extension) |
|
static size_t | png_hdr_size (const u8 *file) |
|
| TIMER_ADD_CLIENT (tc_png_decode) |
|
static Status | png_decode (rpU8 data, size_t size, Tex *RESTRICT t) |
|
static Status | png_encode (Tex *RESTRICT t, DynArray *RESTRICT da) |
|
| TEX_CODEC_REGISTER (png) |
|
static void io_flush |
( |
png_structp |
png_ptr | ) |
|
|
static |
static void io_read |
( |
png_struct * |
png_ptr, |
|
|
rpU8 |
data, |
|
|
png_size_t |
size |
|
) |
| |
|
static |
static void io_write |
( |
png_struct * |
png_ptr, |
|
|
u8 * |
data, |
|
|
png_size_t |
length |
|
) |
| |
|
static |
static Status png_decode_impl |
( |
MemoryStream * |
stream, |
|
|
png_structp |
png_ptr, |
|
|
png_infop |
info_ptr, |
|
|
Tex * |
t |
|
) |
| |
|
static |
static Status png_encode_impl |
( |
Tex * |
t, |
|
|
png_structp |
png_ptr, |
|
|
png_infop |
info_ptr, |
|
|
DynArray * |
da |
|
) |
| |
|
static |
static size_t png_hdr_size |
( |
const u8 * |
file | ) |
|
|
static |
static bool png_is_ext |
( |
const OsPath & |
extension | ) |
|
|
static |
static bool png_is_hdr |
( |
const u8 * |
file | ) |
|
|
static |
static Status png_transform |
( |
Tex * |
t, |
|
|
size_t |
transforms |
|
) |
| |
|
static |
TEX_CODEC_REGISTER |
( |
png |
| ) |
|
TIMER_ADD_CLIENT |
( |
tc_png_decode |
| ) |
|