FFmpeg
Data Structures | Functions | Variables
png_parser.c File Reference
#include "parser.h"
#include "parser_internal.h"
#include "png.h"

Go to the source code of this file.

Data Structures

struct  PNGParseContext
 

Functions

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

Variables

const FFCodecParser ff_png_parser
 

Detailed Description

PNG parser

Definition in file png_parser.c.

Function Documentation

◆ png_parse()

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

Definition at line 38 of file png_parser.c.

Variable Documentation

◆ ff_png_parser

const FFCodecParser ff_png_parser
Initial value:

Definition at line 114 of file png_parser.c.

ff_parse_close
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:298
close
static av_cold void close(AVCodecParserContext *s)
Definition: apv_parser.c:197
AV_CODEC_ID_PNG
@ AV_CODEC_ID_PNG
Definition: codec_id.h:113
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:92
png_parse
static int png_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: png_parser.c:38
PNGParseContext
Definition: png_parser.c:31
PARSER_CODEC_LIST
#define PARSER_CODEC_LIST(...)
Definition: parser_internal.h:76