FFmpeg
|
#include "dcadec.h"
#include "dcadata.h"
#include "dcahuff.h"
#include "dcamath.h"
#include "dca_syncwords.h"
Go to the source code of this file.
Data Structures | |
struct | DCAVLC |
Macros | |
#define | DCA_INIT_VLC(vlc, a, b, c, d) |
Enumerations | |
enum | HeaderType { HEADER_CORE, HEADER_XCH, HEADER_XXCH } |
enum | AudioMode { AMODE_MONO, AMODE_MONO_DUAL, AMODE_STEREO, AMODE_STEREO_SUMDIFF, AMODE_STEREO_TOTAL, AMODE_3F, AMODE_2F1R, AMODE_3F1R, AMODE_2F2R, AMODE_3F2R, AMODE_COUNT } |
enum | ExtAudioType { EXT_AUDIO_XCH = 0, EXT_AUDIO_X96 = 2, EXT_AUDIO_XXCH = 6 } |
enum | LFEFlag { LFE_FLAG_NONE, LFE_FLAG_128, LFE_FLAG_64, LFE_FLAG_INVALID } |
Variables | |
static const int8_t | prm_ch_to_spkr_map [AMODE_COUNT][5] |
static const uint8_t | audio_mode_ch_mask [AMODE_COUNT] |
static const uint8_t | block_code_nbits [7] |
static const uint8_t | quant_index_sel_nbits [DCA_CODE_BOOKS] |
static const uint8_t | quant_index_group_size [DCA_CODE_BOOKS] |
static DCAVLC | vlc_bit_allocation |
static DCAVLC | vlc_transition_mode |
static DCAVLC | vlc_scale_factor |
static DCAVLC | vlc_quant_index [DCA_CODE_BOOKS] |
Referenced by dca_init_vlcs().
enum HeaderType |
Enumerator | |
---|---|
HEADER_CORE | |
HEADER_XCH | |
HEADER_XXCH |
Definition at line 31 of file dca_core.c.
enum AudioMode |
Enumerator | |
---|---|
AMODE_MONO | |
AMODE_MONO_DUAL | |
AMODE_STEREO | |
AMODE_STEREO_SUMDIFF | |
AMODE_STEREO_TOTAL | |
AMODE_3F | |
AMODE_2F1R | |
AMODE_3F1R | |
AMODE_2F2R | |
AMODE_3F2R | |
AMODE_COUNT |
Definition at line 37 of file dca_core.c.
enum ExtAudioType |
Enumerator | |
---|---|
EXT_AUDIO_XCH | |
EXT_AUDIO_X96 | |
EXT_AUDIO_XXCH |
Definition at line 52 of file dca_core.c.
enum LFEFlag |
Enumerator | |
---|---|
LFE_FLAG_NONE | |
LFE_FLAG_128 | |
LFE_FLAG_64 | |
LFE_FLAG_INVALID |
Definition at line 58 of file dca_core.c.
Definition at line 114 of file dca_core.c.
Referenced by ff_dca_core_init().
|
static |
Definition at line 159 of file dca_core.c.
Referenced by parse_huffman_codes(), parse_joint_scale(), parse_scale(), parse_subframe_header(), and parse_x96_subframe_header().
|
static |
Definition at line 164 of file dca_core.c.
Referenced by extract_audio(), parse_subframe_audio(), and parse_xbr_subframe().
|
static |
Definition at line 173 of file dca_core.c.
Referenced by ff_dca_core_parse().
|
static |
Definition at line 288 of file dca_core.c.
Referenced by parse_frame_data().
|
inlinestatic |
Definition at line 485 of file dca_core.c.
Referenced by parse_subframe_header(), and parse_x96_subframe_header().
|
inlinestatic |
Definition at line 514 of file dca_core.c.
Referenced by parse_subframe_header(), and parse_x96_subframe_header().
|
static |
Definition at line 537 of file dca_core.c.
Referenced by parse_frame_data().
|
inlinestatic |
Definition at line 664 of file dca_core.c.
Referenced by parse_block_codes().
|
inlinestatic |
Definition at line 684 of file dca_core.c.
Referenced by extract_audio(), and parse_xbr_subframe().
|
inlinestatic |
Definition at line 700 of file dca_core.c.
Referenced by extract_audio().
|
inlinestatic |
Definition at line 711 of file dca_core.c.
Referenced by parse_subframe_audio(), and parse_x96_subframe_audio().
|
inlinestatic |
Definition at line 738 of file dca_core.c.
Referenced by parse_subframe_audio(), parse_x96_subframe_audio(), and parse_xbr_subframe().
|
inlinestatic |
Definition at line 761 of file dca_core.c.
Referenced by parse_subframe_audio(), and parse_x96_subframe_audio().
|
static |
Definition at line 784 of file dca_core.c.
Referenced by parse_frame_data().
|
static |
Definition at line 921 of file dca_core.c.
Referenced by alloc_sample_buffer(), and ff_dca_core_flush().
|
static |
Definition at line 934 of file dca_core.c.
Referenced by ff_dca_core_parse().
|
static |
Definition at line 962 of file dca_core.c.
Referenced by ff_dca_core_parse(), parse_xch_frame(), and parse_xxch_frame().
|
static |
Definition at line 1000 of file dca_core.c.
Referenced by ff_dca_core_parse_exss().
|
static |
Definition at line 1021 of file dca_core.c.
Referenced by ff_dca_core_parse_exss().
|
static |
Definition at line 1099 of file dca_core.c.
Referenced by parse_xbr_frame().
|
static |
Definition at line 1234 of file dca_core.c.
Referenced by ff_dca_core_parse_exss().
|
static |
Definition at line 1318 of file dca_core.c.
Referenced by parse_x96_subframe_audio().
|
static |
Definition at line 1324 of file dca_core.c.
Referenced by parse_x96_frame_data().
|
static |
Definition at line 1432 of file dca_core.c.
Referenced by alloc_x96_sample_buffer(), and ff_dca_core_flush().
|
static |
Definition at line 1445 of file dca_core.c.
Referenced by parse_x96_frame(), and parse_x96_frame_exss().
|
static |
Definition at line 1471 of file dca_core.c.
Referenced by parse_x96_frame_data().
|
static |
Definition at line 1555 of file dca_core.c.
Referenced by parse_x96_frame_data().
|
static |
Definition at line 1643 of file dca_core.c.
Referenced by parse_x96_frame(), and parse_x96_frame_exss().
|
static |
Definition at line 1678 of file dca_core.c.
Referenced by ff_dca_core_parse_exss().
|
static |
Definition at line 1707 of file dca_core.c.
Referenced by ff_dca_core_parse_exss().
|
static |
Definition at line 1783 of file dca_core.c.
Referenced by parse_optional_info().
|
static |
Definition at line 1852 of file dca_core.c.
Referenced by ff_dca_core_parse().
int ff_dca_core_parse | ( | DCACoreDecoder * | s, |
uint8_t * | data, | ||
int | size | ||
) |
Definition at line 1960 of file dca_core.c.
Referenced by dcadec_decode_frame().
int ff_dca_core_parse_exss | ( | DCACoreDecoder * | s, |
uint8_t * | data, | ||
DCAExssAsset * | asset | ||
) |
Definition at line 1995 of file dca_core.c.
Referenced by dcadec_decode_frame().
|
static |
Definition at line 2071 of file dca_core.c.
Referenced by ff_dca_core_filter_fixed(), filter_frame_fixed(), and filter_frame_float().
|
static |
Definition at line 2107 of file dca_core.c.
Referenced by ff_dca_core_flush(), and set_filter_mode().
|
static |
Definition at line 2114 of file dca_core.c.
Referenced by ff_dca_core_filter_fixed(), and filter_frame_float().
int ff_dca_core_filter_fixed | ( | DCACoreDecoder * | s, |
int | x96_synth | ||
) |
Definition at line 2122 of file dca_core.c.
Referenced by dcadec_decode_frame(), and filter_frame_fixed().
|
static |
Definition at line 2226 of file dca_core.c.
Referenced by ff_dca_core_filter_frame().
|
static |
Definition at line 2323 of file dca_core.c.
Referenced by ff_dca_core_filter_frame().
int ff_dca_core_filter_frame | ( | DCACoreDecoder * | s, |
AVFrame * | frame | ||
) |
Definition at line 2508 of file dca_core.c.
Referenced by dcadec_decode_frame().
av_cold void ff_dca_core_flush | ( | DCACoreDecoder * | s | ) |
Definition at line 2562 of file dca_core.c.
Referenced by dcadec_flush().
av_cold int ff_dca_core_init | ( | DCACoreDecoder * | s | ) |
Definition at line 2575 of file dca_core.c.
Referenced by dcadec_init().
av_cold void ff_dca_core_close | ( | DCACoreDecoder * | s | ) |
Definition at line 2595 of file dca_core.c.
Referenced by dcadec_close().
|
static |
Definition at line 65 of file dca_core.c.
Referenced by map_prm_ch_to_spkr().
|
static |
Definition at line 78 of file dca_core.c.
Referenced by ff_dca_core_parse_exss(), and parse_coding_header().
|
static |
Definition at line 91 of file dca_core.c.
Referenced by parse_block_codes().
|
static |
Definition at line 95 of file dca_core.c.
Referenced by parse_coding_header(), and parse_x96_coding_header().
|
static |
Definition at line 99 of file dca_core.c.
Referenced by dca_init_vlcs(), extract_audio(), and parse_coding_header().
|
static |
Definition at line 109 of file dca_core.c.
|
static |
Definition at line 110 of file dca_core.c.
|
static |
Definition at line 111 of file dca_core.c.
|
static |
Definition at line 112 of file dca_core.c.