FFmpeg
|
Go to the source code of this file.
Functions | |
static int | skip_input (DBEContext *s, int nb_words) |
static int | parse_key (DBEContext *s) |
int | ff_dolby_e_convert_input (DBEContext *s, int nb_words, int key) |
Use the provided key to transform the input into data (put into s->buffer) suitable for further processing and initialize s->gb to read said data. More... | |
int | ff_dolby_e_parse_header (DBEContext *s, const uint8_t *buf, int buf_size) |
Initialize DBEContext and parse Dolby E metadata. More... | |
Variables | |
static const uint8_t | nb_programs_tab [MAX_PROG_CONF+1] |
static const uint8_t | nb_channels_tab [MAX_PROG_CONF+1] |
static const uint16_t | sample_rate_tab [16] |
|
static |
Definition at line 37 of file dolby_e_parse.c.
Referenced by ff_dolby_e_parse_header(), and parse_key().
|
static |
Definition at line 48 of file dolby_e_parse.c.
Referenced by ff_dolby_e_parse_header().
int ff_dolby_e_convert_input | ( | DBEContext * | s, |
int | nb_words, | ||
int | key | ||
) |
Use the provided key to transform the input into data (put into s->buffer) suitable for further processing and initialize s->gb to read said data.
Definition at line 60 of file dolby_e_parse.c.
Referenced by ff_dolby_e_parse_header(), and parse_audio().
int ff_dolby_e_parse_header | ( | DBEContext * | s, |
const uint8_t * | buf, | ||
int | buf_size | ||
) |
Initialize DBEContext and parse Dolby E metadata.
Set word_bits/word_bytes, input, input_size, key_present and parse the header up to the end_gain element.
[out] | s | DBEContext. |
[in] | buf | raw input buffer. |
[in] | buf_size | must be 3 bytes at least. |
Definition at line 97 of file dolby_e_parse.c.
Referenced by dolby_e_decode_frame(), and dolby_e_parse().
|
static |
Definition at line 25 of file dolby_e_parse.c.
Referenced by ff_dolby_e_parse_header().
|
static |
Definition at line 29 of file dolby_e_parse.c.
Referenced by ff_dolby_e_parse_header().
|
static |
Definition at line 33 of file dolby_e_parse.c.
Referenced by ff_dolby_e_parse_header().