FFmpeg
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
 

Functions

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)
 

Variables

AVCodecParser ff_mlp_parser
 

Detailed Description

MLP parser.

Definition in file mlp_parser.c.

Function Documentation

static av_cold int mlp_init ( AVCodecParserContext s)
static

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 
)
static

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.