FFmpeg
|
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
Go to the source code of this file.
Functions | |
static int | ff_dca_count_chs_for_mask (unsigned int mask) |
Return number of individual channels in DCASpeakerPair mask. More... | |
int | avpriv_dca_convert_bitstream (const uint8_t *src, int src_size, uint8_t *dst, int max_size) |
Convert bitstream to one representation based on sync marker. More... | |
Variables | |
av_export const uint32_t | avpriv_dca_sample_rates [16] |
const uint32_t | ff_dca_sampling_freqs [16] |
const uint8_t | ff_dca_freq_ranges [16] |
#define DCA_SPEAKER_LAYOUT_MONO (DCA_SPEAKER_MASK_C) |
#define DCA_SPEAKER_LAYOUT_STEREO (DCA_SPEAKER_MASK_L | DCA_SPEAKER_MASK_R) |
Definition at line 80 of file dca.h.
Referenced by chs_parse_header(), dcadec_init(), ff_dca_core_filter_frame(), ff_dca_xll_filter_frame(), parse_decoder_init(), and parse_sub_headers().
#define DCA_SPEAKER_LAYOUT_2POINT1 (DCA_SPEAKER_LAYOUT_STEREO | DCA_SPEAKER_MASK_LFE1) |
#define DCA_SPEAKER_LAYOUT_3_0 (DCA_SPEAKER_LAYOUT_STEREO | DCA_SPEAKER_MASK_C) |
#define DCA_SPEAKER_LAYOUT_2_1 (DCA_SPEAKER_LAYOUT_STEREO | DCA_SPEAKER_MASK_Cs) |
#define DCA_SPEAKER_LAYOUT_3_1 (DCA_SPEAKER_LAYOUT_3_0 | DCA_SPEAKER_MASK_Cs) |
#define DCA_SPEAKER_LAYOUT_2_2 (DCA_SPEAKER_LAYOUT_STEREO | DCA_SPEAKER_MASK_Ls | DCA_SPEAKER_MASK_Rs) |
#define DCA_SPEAKER_LAYOUT_5POINT0 (DCA_SPEAKER_LAYOUT_3_0 | DCA_SPEAKER_MASK_Ls | DCA_SPEAKER_MASK_Rs) |
Definition at line 86 of file dca.h.
Referenced by dcadec_init(), and parse_sub_headers().
#define DCA_SPEAKER_LAYOUT_5POINT1 (DCA_SPEAKER_LAYOUT_5POINT0 | DCA_SPEAKER_MASK_LFE1) |
Definition at line 87 of file dca.h.
Referenced by dcadec_init(), and parse_sub_headers().
#define DCA_SPEAKER_LAYOUT_7POINT0_WIDE (DCA_SPEAKER_LAYOUT_5POINT0 | DCA_SPEAKER_MASK_Lw | DCA_SPEAKER_MASK_Rw) |
Definition at line 88 of file dca.h.
Referenced by ff_dca_set_channel_layout().
#define DCA_SPEAKER_LAYOUT_7POINT1_WIDE (DCA_SPEAKER_LAYOUT_7POINT0_WIDE | DCA_SPEAKER_MASK_LFE1) |
Definition at line 89 of file dca.h.
Referenced by ff_dca_set_channel_layout().
#define DCA_HAS_STEREO | ( | mask | ) | ((mask & DCA_SPEAKER_LAYOUT_STEREO) == DCA_SPEAKER_LAYOUT_STEREO) |
Definition at line 91 of file dca.h.
Referenced by ff_dca_downmix_to_stereo_fixed(), ff_dca_downmix_to_stereo_float(), and ff_dca_xll_filter_frame().
enum DCASpeaker |
enum DCASpeakerMask |
enum DCASpeakerPair |
enum DCAExtensionMask |
enum DCADownMixType |
|
inlinestatic |
Return number of individual channels in DCASpeakerPair mask.
Definition at line 116 of file dca.h.
Referenced by dtshd_read_header(), ff_dca_exss_parse(), parse_decoder_init(), and parse_descriptor().
Convert bitstream to one representation based on sync marker.
Definition at line 48 of file dca.c.
Referenced by dca_parse_params(), dcadec_decode_frame(), and dts_probe().
av_export const uint32_t avpriv_dca_sample_rates[16] |
Definition at line 34 of file dca.c.
Referenced by dca_parse_params(), dts_probe(), parse_frame_header(), and spdif_header_dts().
const uint32_t ff_dca_sampling_freqs[16] |
Definition at line 39 of file dca.c.
Referenced by chs_parse_header(), dca_parse_params(), parse_decoder_init(), and parse_descriptor().
const uint8_t ff_dca_freq_ranges[16] |
Definition at line 44 of file dca.c.
Referenced by dca_parse_params(), and parse_decoder_init().