FFmpeg
Loading...
Searching...
No Matches
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"
#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:
= {
.priv_data_size = sizeof(MLPParseContext),
}
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:92
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
@ AV_CODEC_ID_TRUEHD
Definition codec_id.h:497
@ AV_CODEC_ID_MLP
Definition codec_id.h:482
static av_cold int mlp_init(AVCodecParserContext *s)
Definition mlp_parser.c:47
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
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition parser.c:300
#define PARSER_CODEC_LIST(...)

Definition at line 208 of file mlp_parser.c.