enum AVPixelFormat pix_fmt
Pixel format, see AV_PIX_FMT_xxx.
int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size)
Combine the (truncated) bitstream to a complete frame.
int overread_index
the index into ParseContext.buffer of the overread bytes
int overread
the number of bytes which where irreversibly read from the next frame
main external API structure.
static int pnm_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
uint8_t * bytestream_start
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height)
Calculate the size in bytes that a picture of the given width and height would occupy if stored in th...