Data Structures | Functions | Variables
mlp_parser.c File Reference

MLP parser. More...

#include <stdint.h>
#include "libavutil/internal.h"
#include "get_bits.h"
#include "parser.h"
#include "mlp_parse.h"
#include "mlp.h"

Go to the source code of this file.

Data Structures

struct  MLPParseContext


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


AVCodecParser ff_mlp_parser

Detailed Description

MLP parser.

Definition in file mlp_parser.c.

Function Documentation

static av_cold int mlp_init ( AVCodecParserContext s)

Definition at line 46 of file mlp_parser.c.

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

Definition at line 52 of file mlp_parser.c.

Variable Documentation

AVCodecParser ff_mlp_parser
Initial value:
= {
.priv_data_size = sizeof(MLPParseContext),
.parser_init = mlp_init,
.parser_parse = mlp_parse,
.parser_close = ff_parse_close,
static int mlp_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: mlp_parser.c:52
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:319
static av_cold int mlp_init(AVCodecParserContext *s)
Definition: mlp_parser.c:46

Definition at line 211 of file mlp_parser.c.