FFmpeg
|
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/fixed_dsp.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "dca.h"
#include "dca_exss.h"
#include "dcadsp.h"
#include "dcadct.h"
#include "fft.h"
#include "synth_filter.h"
Go to the source code of this file.
Data Structures | |
struct | DCADSPData |
struct | DCACoreDecoder |
Macros | |
#define | DCA_CHANNELS 7 |
#define | DCA_SUBBANDS 32 |
#define | DCA_SUBBANDS_X96 64 |
#define | DCA_SUBFRAMES 16 |
#define | DCA_SUBBAND_SAMPLES 8 |
#define | DCA_PCMBLOCK_SAMPLES 32 |
#define | DCA_ADPCM_COEFFS 4 |
#define | DCA_LFE_HISTORY 8 |
#define | DCA_CODE_BOOKS 10 |
#define | DCA_ABITS_MAX 26 |
#define | DCA_CORE_CHANNELS_MAX 6 |
#define | DCA_DMIX_CHANNELS_MAX 4 |
#define | DCA_XXCH_CHANNELS_MAX 2 |
#define | DCA_EXSS_CHANNELS_MAX 8 |
#define | DCA_EXSS_CHSETS_MAX 4 |
#define | DCA_FILTER_MODE_X96 0x01 |
#define | DCA_FILTER_MODE_FIXED 0x02 |
Functions | |
static int | ff_dca_core_map_spkr (DCACoreDecoder *core, int spkr) |
int | ff_dca_core_parse (DCACoreDecoder *s, uint8_t *data, int size) |
int | ff_dca_core_parse_exss (DCACoreDecoder *s, uint8_t *data, DCAExssAsset *asset) |
int | ff_dca_core_filter_fixed (DCACoreDecoder *s, int x96_synth) |
int | ff_dca_core_filter_frame (DCACoreDecoder *s, AVFrame *frame) |
av_cold void | ff_dca_core_flush (DCACoreDecoder *s) |
av_cold int | ff_dca_core_init (DCACoreDecoder *s) |
av_cold void | ff_dca_core_close (DCACoreDecoder *s) |
#define DCA_CHANNELS 7 |
Definition at line 39 of file dca_core.h.
Referenced by alloc_sample_buffer(), alloc_x96_sample_buffer(), erase_adpcm_history(), erase_x96_adpcm_history(), parse_coding_header(), and parse_xbr_subframe().
#define DCA_SUBBANDS 32 |
Definition at line 40 of file dca_core.h.
Referenced by alloc_sample_buffer(), erase_adpcm_history(), parse_coding_header(), parse_frame_data(), parse_subframe_audio(), parse_x96_coding_header(), parse_xbr_frame(), and parse_xbr_subframe().
#define DCA_SUBBANDS_X96 64 |
Definition at line 41 of file dca_core.h.
Referenced by alloc_x96_sample_buffer(), erase_x96_adpcm_history(), and parse_x96_frame_data().
#define DCA_SUBFRAMES 16 |
Definition at line 42 of file dca_core.h.
#define DCA_SUBBAND_SAMPLES 8 |
Definition at line 43 of file dca_core.h.
Referenced by decode_blockcodes(), dequantize(), extract_audio(), parse_frame_header(), parse_huffman_codes(), parse_subframe_audio(), parse_x96_subframe_audio(), and parse_xbr_subframe().
#define DCA_PCMBLOCK_SAMPLES 32 |
Definition at line 44 of file dca_core.h.
Referenced by ff_dca_core_filter_fixed(), filter_frame_float(), and parse_frame_header().
#define DCA_ADPCM_COEFFS 4 |
Definition at line 45 of file dca_core.h.
Referenced by alloc_sample_buffer(), alloc_x96_sample_buffer(), erase_adpcm_history(), erase_x96_adpcm_history(), inverse_adpcm(), parse_frame_data(), and parse_x96_frame_data().
#define DCA_LFE_HISTORY 8 |
Definition at line 46 of file dca_core.h.
Referenced by alloc_sample_buffer(), ff_dca_core_filter_fixed(), ff_dca_core_flush(), filter_frame_float(), and parse_frame_data().
#define DCA_CODE_BOOKS 10 |
Definition at line 47 of file dca_core.h.
Referenced by dca_init_vlcs(), extract_audio(), and parse_coding_header().
#define DCA_ABITS_MAX 26 |
Definition at line 48 of file dca_core.h.
Referenced by extract_audio(), parse_subframe_header(), and parse_xbr_subframe().
#define DCA_CORE_CHANNELS_MAX 6 |
Definition at line 50 of file dca_core.h.
#define DCA_DMIX_CHANNELS_MAX 4 |
Definition at line 51 of file dca_core.h.
#define DCA_XXCH_CHANNELS_MAX 2 |
Definition at line 52 of file dca_core.h.
Referenced by filter_frame_fixed(), filter_frame_float(), and parse_coding_header().
#define DCA_EXSS_CHANNELS_MAX 8 |
Definition at line 53 of file dca_core.h.
Referenced by parse_xbr_frame().
#define DCA_EXSS_CHSETS_MAX 4 |
Definition at line 54 of file dca_core.h.
Referenced by parse_x96_frame_exss(), and parse_xbr_frame().
#define DCA_FILTER_MODE_X96 0x01 |
Definition at line 56 of file dca_core.h.
#define DCA_FILTER_MODE_FIXED 0x02 |
Definition at line 57 of file dca_core.h.
Referenced by dcadec_decode_frame(), and ff_dca_core_filter_fixed().
|
inlinestatic |
Definition at line 187 of file dca_core.h.
Referenced by combine_residual_frame(), and force_lossy_output().
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().
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().
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().