FFmpeg
Data Structures | Functions
mlp_parse.h File Reference
#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. More...
 

Function Documentation

◆ ff_mlp_read_major_sync()

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 136 of file mlp_parse.c.

Referenced by mlp_parse(), read_major_sync(), and truehd_core_filter().