FFmpeg
|
pnm_parser.c
Go to the documentation of this file.
58 if (pc->index && pc->index * 2 + FF_INPUT_BUFFER_PADDING_SIZE < pc->buffer_size && buf_size > pc->index) {
Definition: libavcodec/avcodec.h:166
Definition: parser.h:28
Definition: libavcodec/avcodec.h:169
int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size)
Combine the (truncated) bitstream to a complete frame.
Definition: parser.c:214
Definition: libavcodec/avcodec.h:3883
int overread
the number of bytes which where irreversibly read from the next frame
Definition: parser.h:35
Definition: libavcodec/avcodec.h:3747
Definition: pnm.h:27
int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext *const s)
Definition: pnm.c:60
Definition: libavcodec/avcodec.h:168
Definition: libavcodec/avcodec.h:167
static int pnm_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: pnm_parser.c:26
struct ParseContext ParseContext
Definition: libavcodec/avcodec.h:165
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...
Definition: avpicture.c:49
Generated on Fri Dec 20 2024 06:56:05 for FFmpeg by 1.8.11