Code to read compressed and PNG encoded image data

This commit is contained in:
Kovid Goyal
2017-09-27 17:31:11 +05:30
parent df1e06ec2c
commit 01fb9436dd
4 changed files with 171 additions and 4 deletions

View File

@@ -24,6 +24,8 @@ typedef struct {
size_t mapped_file_sz;
size_t data_sz;
uint8_t *data;
bool is_4byte_aligned;
} LoadData;
typedef struct {