mlp_parser.h File Reference

MLP parser prototypes. More...

#include "get_bits.h"
Include dependency graph for mlp_parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MLPHeaderInfo
 

Typedefs

typedef struct MLPHeaderInfo 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. More...
 
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.

Typedef Documentation

typedef struct MLPHeaderInfo MLPHeaderInfo

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 127 of file mlp_parser.c.

Referenced by mlp_parse(), and read_major_sync().

uint64_t ff_truehd_layout ( int  chanmap)

Definition at line 110 of file mlp_parser.c.

Referenced by ff_mlp_read_major_sync().

Variable Documentation

const uint64_t ff_mlp_layout[32]

Definition at line 46 of file mlp_parser.c.

Referenced by ff_mlp_read_major_sync().