FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/mem_internal.h"
#include "dcadec.h"
#include "dcadata.h"
#include "dcahuff.h"
#include "dca_syncwords.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | LBRChunk |
Macros | |
#define | BITSTREAM_READER_LE |
#define | AMP_MAX 56 |
Variables | |
static const int8_t | channel_reorder_nolfe [7][5] |
static const int8_t | channel_reorder_lfe [7][5] |
static const uint8_t | lfe_index [7] |
static const uint8_t | channel_counts [7] |
static const uint16_t | channel_layouts [7] |
static float | cos_tab [256] |
static float | lpc_tab [16] |
#define AMP_MAX 56 |
Definition at line 32 of file dca_lbr.c.
Referenced by filter_ts(), and parse_tonal().
enum LBRFlags |
enum LBRChunkTypes |
Definition at line 127 of file dca_lbr.c.
Referenced by ff_dca_lbr_init().
|
static |
Definition at line 144 of file dca_lbr.c.
Referenced by parse_lfe_chunk().
|
static |
Definition at line 198 of file dca_lbr.c.
Referenced by parse_lfe_chunk().
|
static |
Definition at line 248 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
inlinestatic |
Definition at line 272 of file dca_lbr.c.
Referenced by parse_grid_1_chunk(), parse_grid_1_sec_ch(), parse_grid_2(), parse_grid_3(), parse_scale_factors(), parse_st_code(), and parse_tonal().
|
static |
Definition at line 281 of file dca_lbr.c.
Referenced by parse_tonal_chunk(), and parse_tonal_group().
|
static |
Definition at line 363 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 396 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Check point to ensure that enough bits are left.
Aborts decoding by skipping to the end of chunk otherwise.
Definition at line 414 of file dca_lbr.c.
Referenced by parse_ch(), parse_grid_1_chunk(), parse_grid_1_sec_ch(), parse_grid_2(), parse_grid_3(), parse_lpc(), parse_scale_factors(), and parse_ts().
|
static |
Definition at line 426 of file dca_lbr.c.
Referenced by parse_grid_1_chunk(), parse_grid_1_sec_ch(), and parse_high_res_grid().
|
static |
Definition at line 496 of file dca_lbr.c.
Referenced by parse_grid_1_chunk().
|
static |
Definition at line 510 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 578 of file dca_lbr.c.
Referenced by parse_ts2_chunk().
Definition at line 604 of file dca_lbr.c.
Referenced by parse_ts().
|
static |
Definition at line 626 of file dca_lbr.c.
Referenced by parse_ch(), and random_ts().
Parse time samples for one subband, filling truncated samples with randomness.
Definition at line 635 of file dca_lbr.c.
Referenced by parse_ts().
|
static |
Definition at line 709 of file dca_lbr.c.
Referenced by parse_high_res_grid(), parse_ts1_chunk(), and parse_ts2_chunk().
Convert from reflection coefficients to direct form coefficients.
Definition at line 772 of file dca_lbr.c.
Referenced by parse_lpc().
Definition at line 788 of file dca_lbr.c.
Referenced by parse_high_res_grid(), and parse_ts1_chunk().
|
static |
Definition at line 809 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 871 of file dca_lbr.c.
Referenced by parse_ts1_chunk(), and parse_ts2_chunk().
|
static |
Definition at line 913 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 931 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 954 of file dca_lbr.c.
Referenced by parse_decoder_init().
|
static |
Definition at line 992 of file dca_lbr.c.
Referenced by parse_decoder_init().
|
static |
Definition at line 1016 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
int ff_dca_lbr_parse | ( | DCALbrDecoder * | s, |
uint8_t * | data, | ||
DCAExssAsset * | asset | ||
) |
Definition at line 1168 of file dca_lbr.c.
Referenced by dcadec_decode_frame().
|
static |
Reconstruct high-frequency resolution grid from first and third grids.
Definition at line 1405 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
|
static |
Fill unallocated subbands with randomness.
Definition at line 1442 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
Definition at line 1478 of file dca_lbr.c.
Referenced by synth_lpc().
|
static |
Definition at line 1490 of file dca_lbr.c.
Referenced by filter_ts().
|
static |
Definition at line 1512 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
|
static |
Modulate by interpolated partial stereo coefficients.
Definition at line 1597 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
|
static |
Synthesise tones in the given group for the given tonal subframe.
Definition at line 1623 of file dca_lbr.c.
Referenced by base_func_synth().
|
static |
Synthesise all tones in all groups for the given residual subframe.
Definition at line 1687 of file dca_lbr.c.
Referenced by transform_channel().
|
static |
Definition at line 1701 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
int ff_dca_lbr_filter_frame | ( | DCALbrDecoder * | s, |
AVFrame * | frame | ||
) |
Definition at line 1735 of file dca_lbr.c.
Referenced by dcadec_decode_frame().
av_cold void ff_dca_lbr_flush | ( | DCALbrDecoder * | s | ) |
Definition at line 1795 of file dca_lbr.c.
Referenced by dcadec_flush(), and parse_decoder_init().
av_cold int ff_dca_lbr_init | ( | DCALbrDecoder * | s | ) |
Definition at line 1819 of file dca_lbr.c.
Referenced by dcadec_init().
av_cold void ff_dca_lbr_close | ( | DCALbrDecoder * | s | ) |
Definition at line 1830 of file dca_lbr.c.
Referenced by dcadec_close().
|
static |
Definition at line 86 of file dca_lbr.c.
Referenced by encode_init(), and ff_dca_lbr_filter_frame().
|
static |
Definition at line 96 of file dca_lbr.c.
Referenced by encode_init(), and ff_dca_lbr_filter_frame().
|
static |
Definition at line 106 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame(), and lfe_downsample().
|
static |
Definition at line 110 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame(), and get_stream_info().
|
static |
Definition at line 114 of file dca_lbr.c.
Referenced by aptx_close(), aptx_decode_frame(), channelmap_query_formats(), configure_output_audio_filter(), ff_add_channel_layout(), ff_channel_layouts_unref(), ff_dca_lbr_filter_frame(), ff_make_format64_list(), ff_merge_channel_layouts(), get_video_frame(), main(), pcm_bluray_parse_header(), print_codec(), and query_formats().
|
static |
Definition at line 124 of file dca_lbr.c.
Referenced by eval_lpcenv_or_interp(), init_tables(), and synth_tones().
|
static |
Definition at line 125 of file dca_lbr.c.
Referenced by convert_lpc(), and init_tables().