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"
#include "parser_internal.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 FFCodecParser 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 47 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 53 of file mlp_parser.c.

Variable Documentation

◆ ff_mlp_parser

const FFCodecParser ff_mlp_parser
Initial value:

Definition at line 208 of file mlp_parser.c.

ff_parse_close
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:298
AV_CODEC_ID_TRUEHD
@ AV_CODEC_ID_TRUEHD
Definition: codec_id.h:503
close
static av_cold void close(AVCodecParserContext *s)
Definition: apv_parser.c:136
parse
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: apv_parser.c:46
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:550
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:53
MLPParseContext
Definition: mlp_parser.c:36
PARSER_CODEC_LIST
#define PARSER_CODEC_LIST(...)
Definition: parser_internal.h:76
mlp_init
static av_cold int mlp_init(AVCodecParserContext *s)
Definition: mlp_parser.c:47
AV_CODEC_ID_MLP
@ AV_CODEC_ID_MLP
Definition: codec_id.h:488