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

const AVCodecParser ff_mlp_parser
 

Detailed Description

MLP parser

Definition in file mlp_parser.c.

Function Documentation

◆ mlp_init()

static av_cold int mlp_init ( AVCodecParserContext s)
static

Definition at line 46 of file mlp_parser.c.

◆ mlp_parse()

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

◆ ff_mlp_parser

const AVCodecParser ff_mlp_parser
Initial value:
= {
.priv_data_size = sizeof(MLPParseContext),
.parser_init = mlp_init,
.parser_parse = mlp_parse,
.parser_close = ff_parse_close,
}

Definition at line 211 of file mlp_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:286
AV_CODEC_ID_TRUEHD
@ AV_CODEC_ID_TRUEHD
Definition: codec_id.h:467
mlp_parse
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
MLPParseContext
Definition: mlp_parser.c:35
mlp_init
static av_cold int mlp_init(AVCodecParserContext *s)
Definition: mlp_parser.c:46
AV_CODEC_ID_MLP
@ AV_CODEC_ID_MLP
Definition: codec_id.h:452