uint32_t chunk_pos
position inside current chunk
uint32_t state
contains the last few bytes in MSB order
uint32_t chunk_length
length of the current chunk
uint32_t remaining_size
remaining size of the current chunk
static int png_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size)
Combine the (truncated) bitstream to a complete frame.
main external API structure.
uint64_t state64
contains the last 8 bytes in MSB order