Move function prototypes to rpng_decode.h

This commit is contained in:
twinaphex 2015-09-01 13:42:28 +02:00
parent 7874eb9890
commit 6d188a4840
2 changed files with 5 additions and 5 deletions

View File

@ -35,6 +35,11 @@ enum png_chunk_type png_chunk_type(const struct png_chunk *chunk);
bool png_process_ihdr(struct png_ihdr *ihdr);
bool png_read_plte(uint8_t *buf,
uint32_t *buffer, unsigned entries);
bool png_realloc_idat(const struct png_chunk *chunk, struct idat_buffer *buf);
int png_reverse_filter_iterate(struct rpng_t *rpng,
uint32_t **data);

View File

@ -165,11 +165,6 @@ static INLINE uint32_t dword_be(const uint8_t *buf)
return (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | (buf[3] << 0);
}
bool png_read_plte(uint8_t *buf,
uint32_t *buffer, unsigned entries);
bool png_realloc_idat(const struct png_chunk *chunk, struct idat_buffer *buf);
int rpng_load_image_argb_process_inflate_init(struct rpng_t *rpng,
uint32_t **data, unsigned *width, unsigned *height);