FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
png_parser.c File Reference

PNG parser. More...

#include "parser.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

AVCodecParser ff_png_parser
 

Detailed Description

PNG parser.

Definition in file png_parser.c.

Function Documentation

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 37 of file png_parser.c.

Variable Documentation

AVCodecParser ff_png_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_PNG },
.priv_data_size = sizeof(PNGParseContext),
.parser_parse = png_parse,
.parser_close = ff_parse_close,
}
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:37
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:326

Definition at line 112 of file png_parser.c.