FFmpeg
|
#include <stdint.h>
#include "libavutil/channel_layout.h"
#include "get_bits.h"
#include "mlp_parse.h"
#include "mlp.h"
Go to the source code of this file.
Functions | |
static int | mlp_get_major_sync_size (const uint8_t *buf, int bufsize) |
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... | |
Variables | |
static const uint8_t | mlp_quants [16] |
static const uint8_t | mlp_channels [32] |
static const uint64_t | mlp_layout [32] |
Definition at line 63 of file mlp_parse.c.
Referenced by 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 86 of file mlp_parse.c.
Referenced by mlp_parse(), read_major_sync(), and truehd_core_filter().
|
static |
Definition at line 28 of file mlp_parse.c.
Referenced by ff_mlp_read_major_sync().
|
static |
Definition at line 33 of file mlp_parse.c.
Referenced by ff_mlp_read_major_sync().
|
static |
Definition at line 38 of file mlp_parse.c.
Referenced by ff_mlp_read_major_sync().