FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
mlp_parser.h File Reference

MLP parser prototypes. More...

#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  MLPHeaderInfo
 

Functions

int ff_mlp_read_major_sync (void *log, MLPHeaderInfo *mh, GetBitContext *gb)
 Read a major sync info header - contains high level information about the stream - sample rate, channel arrangement etc.
 
uint64_t ff_truehd_layout (int chanmap)
 

Variables

const uint64_t ff_mlp_layout [32]
 

Detailed Description

MLP parser prototypes.

Definition in file mlp_parser.h.

Function Documentation

int ff_mlp_read_major_sync ( void log,
MLPHeaderInfo mh,
GetBitContext gb 
)

Read a major sync info header - contains high level information about the stream - sample rate, channel arrangement etc.

Most of this information is not actually necessary for decoding, only for playback. gb must be a freshly initialized GetBitContext with no bits read.

Definition at line 145 of file mlp_parser.c.

Referenced by mlp_parse(), and read_major_sync().

uint64_t ff_truehd_layout ( int  chanmap)

Definition at line 111 of file mlp_parser.c.

Referenced by ff_mlp_read_major_sync().

Variable Documentation

const uint64_t ff_mlp_layout[32]

Definition at line 47 of file mlp_parser.c.

Referenced by ff_mlp_read_major_sync().