FFmpeg
4.0
|
#include "libavutil/channel_layout.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 31 of file dca_lbr.c.
Referenced by filter_ts(), and parse_tonal().
enum LBRFlags |
enum LBRChunkTypes |
Definition at line 126 of file dca_lbr.c.
Referenced by dolby_e_init(), and ff_dca_lbr_init().
|
static |
Definition at line 143 of file dca_lbr.c.
Referenced by parse_lfe_chunk().
|
static |
Definition at line 197 of file dca_lbr.c.
Referenced by parse_lfe_chunk().
|
static |
Definition at line 247 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
inlinestatic |
Definition at line 268 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 277 of file dca_lbr.c.
Referenced by parse_tonal_chunk(), and parse_tonal_group().
|
static |
Definition at line 359 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 388 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 403 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 415 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 485 of file dca_lbr.c.
Referenced by parse_grid_1_chunk().
|
static |
Definition at line 499 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 563 of file dca_lbr.c.
Referenced by parse_ts2_chunk().
Definition at line 587 of file dca_lbr.c.
Referenced by parse_ts().
|
static |
Definition at line 609 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 618 of file dca_lbr.c.
Referenced by parse_ts().
|
static |
Definition at line 692 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 755 of file dca_lbr.c.
Referenced by parse_lpc().
Definition at line 771 of file dca_lbr.c.
Referenced by parse_high_res_grid(), and parse_ts1_chunk().
|
static |
Definition at line 792 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 851 of file dca_lbr.c.
Referenced by parse_ts1_chunk(), and parse_ts2_chunk().
|
static |
Definition at line 893 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 910 of file dca_lbr.c.
Referenced by ff_dca_lbr_parse().
|
static |
Definition at line 931 of file dca_lbr.c.
Referenced by parse_decoder_init().
|
static |
Definition at line 967 of file dca_lbr.c.
Referenced by parse_decoder_init().
|
static |
Definition at line 991 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 1143 of file dca_lbr.c.
Referenced by dcadec_decode_frame().
|
static |
Reconstruct high-frequency resolution grid from first and third grids.
Definition at line 1380 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
|
static |
Fill unallocated subbands with randomness.
Definition at line 1417 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
Definition at line 1453 of file dca_lbr.c.
Referenced by synth_lpc().
|
static |
Definition at line 1465 of file dca_lbr.c.
Referenced by filter_ts().
|
static |
Definition at line 1487 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame().
|
static |
Modulate by interpolated partial stereo coefficients.
Definition at line 1572 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 1598 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 1662 of file dca_lbr.c.
Referenced by transform_channel().
|
static |
Definition at line 1676 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 1710 of file dca_lbr.c.
Referenced by dcadec_decode_frame().
av_cold void ff_dca_lbr_flush | ( | DCALbrDecoder * | s | ) |
Definition at line 1770 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 1794 of file dca_lbr.c.
Referenced by dcadec_init().
av_cold void ff_dca_lbr_close | ( | DCALbrDecoder * | s | ) |
Definition at line 1805 of file dca_lbr.c.
Referenced by dcadec_close().
|
static |
Definition at line 85 of file dca_lbr.c.
Referenced by encode_init(), and ff_dca_lbr_filter_frame().
|
static |
Definition at line 95 of file dca_lbr.c.
Referenced by encode_init(), and ff_dca_lbr_filter_frame().
|
static |
Definition at line 105 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame(), and lfe_downsample().
|
static |
Definition at line 109 of file dca_lbr.c.
Referenced by ff_dca_lbr_filter_frame(), and get_stream_info().
|
static |
Definition at line 113 of file dca_lbr.c.
Referenced by aptx_close(), avfilter_make_format64_list(), channelmap_query_formats(), configure_output_audio_filter(), ff_add_channel_layout(), ff_channel_layouts_unref(), ff_dca_lbr_filter_frame(), ff_make_formatu64_list(), ff_merge_channel_layouts(), ff_set_common_channel_layouts(), get_video_frame(), main(), pcm_bluray_parse_header(), print_codec(), and query_formats().
|
static |
Definition at line 123 of file dca_lbr.c.
Referenced by eval_lpcenv_or_interp(), init_tables(), lpc2lsp(), lsp2lpc(), and synth_tones().
|
static |
Definition at line 124 of file dca_lbr.c.
Referenced by convert_lpc(), and init_tables().