102 const uint8_t **buf,
size_t *size,
103 char hold_at_metadata);
132 size_t **opl,
size_t **cl);
LWS_VISIBLE LWS_EXTERN struct inflator_ctx * lws_upng_inflator_create(const uint8_t **outring, size_t *outringlen, size_t **opl, size_t **cl)
LWS_VISIBLE LWS_EXTERN lws_upng_format_t lws_upng_get_format(const lws_upng_t *upng)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_width(const lws_upng_t *upng)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_height(const lws_upng_t *upng)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_pixelsize(const lws_upng_t *upng)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_bitdepth(const lws_upng_t *upng)
@ LWS_UPNG_LUMINANCE_ALPHA8
@ LWS_UPNG_LUMINANCE_ALPHA4
@ LWS_UPNG_LUMINANCE_ALPHA1
@ LWS_UPNG_LUMINANCE_ALPHA2
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_upng_emit_next_line(lws_upng_t *upng, const uint8_t **ppix, const uint8_t **buf, size_t *size, char hold_at_metadata)
struct lws_upng_t lws_upng_t
LWS_VISIBLE LWS_EXTERN lws_upng_t * lws_upng_new(void)
LWS_VISIBLE LWS_EXTERN void lws_upng_inflator_destroy(struct inflator_ctx **inf)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_components(const lws_upng_t *upng)
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_upng_inflate_data(struct inflator_ctx *inf, const void *buf, size_t len)
LWS_VISIBLE LWS_EXTERN unsigned int lws_upng_get_bpp(const lws_upng_t *upng)
LWS_VISIBLE LWS_EXTERN void lws_upng_free(lws_upng_t **upng)