| FFmpeg
    | 
#include "libavutil/channel_layout.h"#include "libavutil/float_dsp.h"#include "libavutil/thread.h"#include "libavutil/mem.h"#include "libavutil/mem_internal.h"#include "libavutil/opt.h"#include "codec_internal.h"#include "internal.h"#include "get_bits.h"#include "dolby_e.h"#include "kbdwin.h"#include "fft.h"Go to the source code of this file.
| Data Structures | |
| struct | DBEGroup | 
| struct | DBEChannel | 
| struct | DBEDecodeContext | 
| Macros | |
| #define | MAX_SEGMENTS 2 | 
| #define | MAX_GROUPS 8 | 
| #define | MAX_EXPONENTS 304 | 
| #define | MAX_MANTISSAS 1024 | 
| #define | MAX_MSTR_EXP 2 | 
| #define | MAX_BIAS_EXP 50 | 
| #define | OFFSET(x) offsetof(DBEDecodeContext, x) | 
| #define | FLAGS (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM) | 
| Enumerations | |
| enum | DBEOutputChannelOrder { CHANNEL_ORDER_DEFAULT, CHANNEL_ORDER_CODED } | 
| Variables | |
| static const int8_t | lfe_channel_tab [MAX_PROG_CONF+1] | 
| static const uint8_t | ch_reorder_4 [4] = { 0, 2, 1, 3 } | 
| static const uint8_t | ch_reorder_6 [6] = { 0, 2, 4, 1, 3, 5 } | 
| static const uint8_t | ch_reorder_8 [8] = { 0, 2, 6, 4, 1, 3, 7, 5 } | 
| static const uint8_t | ch_reorder_n [8] = { 0, 2, 4, 6, 1, 3, 5, 7 } | 
| static const uint8_t | nb_groups_tab [4] = { 1, 8, 7, 1 } | 
| static const uint8_t | nb_mstr_exp_tab [4] = { 2, 2, 2, 1 } | 
| static const uint8_t | nb_mantissa_38 [38] | 
| static const uint8_t | nb_mantissa_44 [44] | 
| static const uint8_t | nb_mantissa_50 [50] | 
| static const uint8_t | imdct_bits_tab [3] = { 8, 9, 11 } | 
| static const DBEGroup | grp_tab_0 [1] | 
| static const DBEGroup | grp_tab_1 [8] | 
| static const DBEGroup | grp_tab_2 [7] | 
| static const DBEGroup | grp_tab_3 [1] | 
| static const DBEGroup | grp_tab_4 [1] | 
| static const DBEGroup | grp_tab_5 [8] | 
| static const DBEGroup | grp_tab_6 [7] | 
| static const DBEGroup | grp_tab_7 [1] | 
| static const DBEGroup *const | frm_ofs_tab [2][4] | 
| static const uint8_t | mantissa_size1 [16][4] | 
| static const uint8_t | mantissa_size2 [16][4] | 
| static const float | start_window [192] | 
| static const float | short_window2 [192] | 
| static const float | short_window3 [64] | 
| static const uint8_t | dc_code_tab [5] = { 0, 0, 0, 1, 1 } | 
| static const uint8_t | ht_code_tab [5] = { 0, 0, 1, 2, 2 } | 
| static const uint8_t | band_ofs_tab [3][4] | 
| static const uint8_t | band_low_tab [3] = { 9, 17, 24 } | 
| static const uint16_t | fast_gain_tab [8] | 
| static const uint16_t | slow_decay_tab [2][2] = { { 27, -1 }, { 32, 21 } } | 
| static const uint16_t | misc_decay_tab [3][2][2] | 
| static const uint16_t | fast_decay_tab [3][2][2][50] | 
| static const uint16_t | fast_gain_adj_tab [3][2][62] | 
| static const uint16_t | slow_gain_tab [3][2][50] | 
| static const uint16_t | hearing_thresh_tab [3][3][50] | 
| static const int16_t | lwc_gain_tab [11][7] | 
| static const int16_t | lwc_adj_tab [7] | 
| static const uint8_t | log_add_tab [212] | 
| static const uint8_t | bap_tab [64] | 
| static float | mantissa_tab1 [17][4] | 
| static float | mantissa_tab2 [17][4] | 
| static float | mantissa_tab3 [17][4] | 
| static float | exponent_tab [50] | 
| static float | gain_tab [1024] | 
| static float | window [3712] | 
| static const AVOption | options [] | 
| static const AVClass | dolby_e_decoder_class | 
| const FFCodec | ff_dolby_e_decoder | 
| #define OFFSET | ( | x | ) | offsetof(DBEDecodeContext, x) | 
| #define FLAGS (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM) | 
| 
 | static | 
Definition at line 613 of file dolby_e.c.
Referenced by parse_audio(), parse_key(), parse_metadata_ext(), and parse_meter().
| 
 | static | 
Definition at line 625 of file dolby_e.c.
Referenced by amf_tag_skip(), and parse_audio().
| 
 | static | 
Definition at line 637 of file dolby_e.c.
Referenced by dolby_e_decode_frame().
| 
 | static | 
Definition at line 645 of file dolby_e.c.
Referenced by parse_exponents().
| 
 | static | 
Definition at line 662 of file dolby_e.c.
Referenced by encode_block(), and parse_channel().
Definition at line 681 of file dolby_e.c.
Referenced by bit_allocate(), and calc_lowcomp().
| 
 | static | 
Definition at line 687 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 720 of file dolby_e.c.
Referenced by parse_bit_alloc().
| 
 | static | 
Definition at line 769 of file dolby_e.c.
Referenced by parse_channel().
| 
 | static | 
Definition at line 816 of file dolby_e.c.
Referenced by parse_channel().
| 
 | static | 
Definition at line 847 of file dolby_e.c.
Referenced by parse_channel().
| 
 | static | 
Definition at line 903 of file dolby_e.c.
Referenced by parse_audio().
| 
 | static | 
Definition at line 954 of file dolby_e.c.
Referenced by dolby_e_decode_frame().
| 
 | static | 
Definition at line 982 of file dolby_e.c.
Referenced by dolby_e_decode_frame().
| 
 | static | 
Definition at line 990 of file dolby_e.c.
Referenced by transform().
| 
 | static | 
Definition at line 1016 of file dolby_e.c.
Referenced by filter_frame().
| 
 | static | 
Definition at line 1041 of file dolby_e.c.
Referenced by filter_frame().
| 
 | static | 
Definition at line 1058 of file dolby_e.c.
Referenced by dolby_e_decode_frame(), ff_filter_frame(), and ff_filter_frame_framed().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
Definition at line 1165 of file dolby_e.c.
Referenced by dolby_e_init().
| 
 | static | 
| 
 | static | 
Definition at line 92 of file dolby_e.c.
Referenced by parse_channel().
| 
 | static | 
Definition at line 97 of file dolby_e.c.
Referenced by filter_frame().
| 
 | static | 
Definition at line 98 of file dolby_e.c.
Referenced by filter_frame().
| 
 | static | 
Definition at line 99 of file dolby_e.c.
Referenced by filter_frame().
| 
 | static | 
Definition at line 100 of file dolby_e.c.
Referenced by filter_frame().
| 
 | static | 
Definition at line 103 of file dolby_e.c.
Referenced by parse_channel().
| 
 | static | 
Definition at line 105 of file dolby_e.c.
Referenced by parse_channel().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
Definition at line 126 of file dolby_e.c.
Referenced by dolby_e_init(), and imdct_calc().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
Definition at line 191 of file dolby_e.c.
Referenced by parse_mantissas().
| 
 | static | 
Definition at line 198 of file dolby_e.c.
Referenced by parse_mantissas().
| 
 | static | 
Definition at line 205 of file dolby_e.c.
Referenced by init_tables().
| 
 | static | 
Definition at line 258 of file dolby_e.c.
Referenced by init_tables().
| 
 | static | 
Definition at line 311 of file dolby_e.c.
Referenced by init_tables().
| 
 | static | 
Definition at line 330 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 332 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 334 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 338 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 340 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 344 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 346 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 352 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 424 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 470 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 508 of file dolby_e.c.
Referenced by bit_allocate().
| 
 | static | 
Definition at line 563 of file dolby_e.c.
Referenced by calc_lowcomp().
| 
 | static | 
Definition at line 577 of file dolby_e.c.
Referenced by calc_lowcomp().
| 
 | static | 
Definition at line 581 of file dolby_e.c.
Referenced by log_add().
| 
 | static | 
Definition at line 598 of file dolby_e.c.
Referenced by ac3_bit_alloc_calc_bap_c(), bit_allocate(), and decode_audio_block().
| 
 | static | 
Definition at line 605 of file dolby_e.c.
Referenced by init_tables(), and parse_mantissas().
| 
 | static | 
Definition at line 606 of file dolby_e.c.
Referenced by init_tables(), and parse_mantissas().
| 
 | static | 
Definition at line 607 of file dolby_e.c.
Referenced by init_tables(), and parse_mantissas().
| 
 | static | 
Definition at line 608 of file dolby_e.c.
Referenced by init_tables(), and parse_mantissas().
| 
 | static | 
Definition at line 609 of file dolby_e.c.
Referenced by apply_gain(), and init_tables().
| 
 | static | 
Definition at line 611 of file dolby_e.c.
Referenced by init_tables(), and transform().
| 
 | static | 
| 
 | static | 
| const FFCodec ff_dolby_e_decoder | 
 1.8.17
 1.8.17