FFmpeg
Data Structures | Functions | Variables
webp_parser.c File Reference
#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

◆ webp_parse()

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

◆ ff_webp_parser

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,
}

Definition at line 107 of file webp_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:319
webp_parse
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
WebPParseContext
Definition: webp_parser.c:31
AV_CODEC_ID_WEBP
@ AV_CODEC_ID_WEBP
Definition: codec_id.h:221