FFmpeg
Data Structures | Functions | Variables
webp_parser.c File Reference

WebP parser. More...

#include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  WebPParseContext
 

Functions

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

Variables

AVCodecParser ff_webp_parser
 

Detailed Description

WebP parser.

Definition in file webp_parser.c.

Function Documentation

static int webp_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 webp_parser.c.

Variable Documentation

AVCodecParser ff_webp_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_WEBP },
.priv_data_size = sizeof(WebPParseContext),
.parser_parse = webp_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:319
static int webp_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: webp_parser.c:37

Definition at line 107 of file webp_parser.c.