FFmpeg
Data Structures | Functions | Variables
pnm_parser.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "parser.h"
#include "parser_internal.h"
#include "pnm.h"

Go to the source code of this file.

Data Structures

struct  PNMParseContext
 

Functions

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

Variables

const FFCodecParser ff_pnm_parser
 

Function Documentation

◆ pnm_parse()

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 35 of file pnm_parser.c.

Variable Documentation

◆ ff_pnm_parser

const FFCodecParser ff_pnm_parser
AV_CODEC_ID_PBM
@ AV_CODEC_ID_PBM
Definition: codec_id.h:115
ff_parse_close
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:298
AV_CODEC_ID_PFM
@ AV_CODEC_ID_PFM
Definition: codec_id.h:307
AV_CODEC_ID_PPM
@ AV_CODEC_ID_PPM
Definition: codec_id.h:114
AV_CODEC_ID_PGM
@ AV_CODEC_ID_PGM
Definition: codec_id.h:116
AV_CODEC_ID_PHM
@ AV_CODEC_ID_PHM
Definition: codec_id.h:319
close
static av_cold void close(AVCodecParserContext *s)
Definition: apv_parser.c:136
pnm_parse
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:35
AV_CODEC_ID_PGMYUV
@ AV_CODEC_ID_PGMYUV
Definition: codec_id.h:117
parse
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: apv_parser.c:46
AV_CODEC_ID_PAM
@ AV_CODEC_ID_PAM
Definition: codec_id.h:118
PARSER_CODEC_LIST
#define PARSER_CODEC_LIST(...)
Definition: parser_internal.h:76
PNMParseContext
Definition: pnm_parser.c:29