pnm_parser.c File Reference
#include "parser.h"
#include "pnm.h"
Include dependency graph for pnm_parser.c:

Go to the source code of this file.

Functions

static int pnm_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Variables

AVCodecParser ff_pnm_parser
 

Function Documentation

static int pnm_parse ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size 
)
static

Definition at line 26 of file pnm_parser.c.

Variable Documentation

AVCodecParser ff_pnm_parser
Initial value:
= {
.priv_data_size = sizeof(ParseContext),
.parser_parse = pnm_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:279
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 at line 86 of file pnm_parser.c.