|
FFmpeg
|
AAC definitions and structures. More...
Go to the source code of this file.
Data Structures | |
| struct | Pulse |
Macros | |
| #define | MAX_CHANNELS 64 |
| #define | MAX_ELEM_ID 64 |
| #define | TNS_MAX_ORDER 20 |
| #define | MAX_LTP_LONG_SFB 40 |
| #define | MPS_MAX_PARAM_SETS 9 |
| #define | MPS_MAX_PARAM_BANDS 28 |
| #define | MPS_MAX_TIME_SLOTS 16 /* 64 in non-AAC MPEG Surround */ |
| #define | MAX_PREDICTORS 672 |
| #define | SCALE_DIV_512 36 |
| scalefactor difference that corresponds to scale difference in 512 times | |
| #define | SCALE_ONE_POS 140 |
| scalefactor index that corresponds to scale=1.0 | |
| #define | SCALE_MAX_POS 255 |
| scalefactor index maximum value | |
| #define | SCALE_MAX_DIFF 60 |
| maximum scalefactor difference allowed by standard | |
| #define | SCALE_DIFF_ZERO 60 |
| codebook index corresponding to zero scalefactor indices difference | |
| #define | POW_SF2_ZERO 200 |
| ff_aac_pow2sf_tab index corresponding to pow(2, 0); | |
| #define | NOISE_PRE 256 |
| preamble for NOISE_BT, put in bitstream with the first noise band | |
| #define | NOISE_PRE_BITS 9 |
| length of preamble | |
| #define | NOISE_OFFSET 90 |
| subtracted from global gain, used as offset for the preamble | |
Enumerations | |
| enum | RawDataBlockType { TYPE_SCE , TYPE_CPE , TYPE_CCE , TYPE_LFE , TYPE_DSE , TYPE_PCE , TYPE_FIL , TYPE_END } |
| enum | ExtensionPayloadID { EXT_FILL , EXT_FILL_DATA , EXT_DATA_ELEMENT , EXT_DYNAMIC_RANGE = 0xb , EXT_SBR_DATA = 0xd , EXT_SBR_DATA_CRC = 0xe } |
| enum | WindowSequence { ONLY_LONG_SEQUENCE , LONG_START_SEQUENCE , EIGHT_SHORT_SEQUENCE , LONG_STOP_SEQUENCE } |
| enum | BandType { ZERO_BT = 0 , FIRST_PAIR_BT = 5 , ESC_BT = 11 , RESERVED_BT = 12 , NOISE_BT = 13 , INTENSITY_BT2 = 14 , INTENSITY_BT = 15 } |
| enum | ChannelPosition { AAC_CHANNEL_OFF = 0 , AAC_CHANNEL_FRONT = 1 , AAC_CHANNEL_SIDE = 2 , AAC_CHANNEL_BACK = 3 , AAC_CHANNEL_LFE = 4 , AAC_CHANNEL_CC = 5 } |
Functions | |
| static int | ff_aac_sample_rate_idx (int rate) |
AAC definitions and structures.
Definition in file aac.h.
| #define MAX_CHANNELS 64 |
Definition at line 33 of file aac.h.
Referenced by adx_decode_header(), are_gains_pure(), atrac3_decode_init(), av_downmix_matrix_alloc(), binkaudio_receive_frame(), che_configure(), check_append_extra_bits(), check_decorrelate_stereo(), checkasm_check_flacdsp(), config_props(), decode_drc_channel_exclusions(), decode_flush(), decode_init(), determine_output_shift(), determine_quant_step_size(), encode_block(), encode_init(), encode_init(), ff_aac_decode_init(), ff_mlp_pack_output(), ff_mlp_rematrix_channel(), init(), init_quantization_noise(), main(), mlp_encode_init_static(), mlp_filter_channel(), parse_channel_name(), read_header(), read_restart_header(), residue_encode(), subband_bufer_alloc(), wma_decode_block(), wma_decode_init(), write_block_data(), and write_samples_to_audio_fifo().
| #define MAX_ELEM_ID 64 |
Definition at line 34 of file aac.h.
Referenced by apply_channel_coupling(), assign_channels(), assign_pair(), che_configure(), decode_close(), decode_eld_specific_config(), decode_frame_ga(), decode_ga_specific_config(), ff_aac_decode_init(), ff_aac_get_che(), ff_aac_output_configure(), ff_aac_usac_config_decode(), flush(), frame_configure_elements(), parse_adts_frame_header(), sniff_channel_order(), and spectral_to_sample().
| #define TNS_MAX_ORDER 20 |
Definition at line 36 of file aac.h.
Referenced by aac_encode_init(), apply_tns(), ff_aac_apply_tns(), ff_aac_search_for_tns(), TemporalNoiseShaping::INTFLOAT_UNION(), and search_for_tns_short_pooled().
| #define MAX_LTP_LONG_SFB 40 |
Definition at line 37 of file aac.h.
Referenced by apply_ltp(), and decode_ltp().
| #define MPS_MAX_PARAM_SETS 9 |
Definition at line 39 of file aac.h.
Referenced by ff_aac_ec_data_dec(), and ff_aac_map_index_data().
| #define MPS_MAX_PARAM_BANDS 28 |
Definition at line 40 of file aac.h.
Referenced by create_mapping(), ec_pair_dec(), ff_aac_ec_data_dec(), and ff_aac_map_index_data().
| #define MPS_MAX_TIME_SLOTS 16 /* 64 in non-AAC MPEG Surround */ |
| #define MAX_PREDICTORS 672 |
Definition at line 89 of file aac.h.
Referenced by decode_subframe(), reset_all_predictors(), and reset_predictor_group().
| #define SCALE_DIV_512 36 |
scalefactor difference that corresponds to scale difference in 512 times
Definition at line 91 of file aac.h.
Referenced by coef2maxsf(), coef2minsf(), find_min_book(), quantize_and_encode_band_cost_template(), search_for_ms(), and search_for_quantizers_twoloop().
| #define SCALE_ONE_POS 140 |
scalefactor index that corresponds to scale=1.0
Definition at line 92 of file aac.h.
Referenced by coef2maxsf(), coef2minsf(), find_min_book(), quantize_and_encode_band_cost_template(), search_for_quantizers_fast(), and search_for_quantizers_twoloop().
| #define SCALE_MAX_POS 255 |
scalefactor index maximum value
Definition at line 93 of file aac.h.
Referenced by nmr_band_curve(), nmr_commit_channel(), nmr_setup_channel(), nmr_solve_group(), search_for_ms(), and search_for_quantizers_twoloop().
| #define SCALE_MAX_DIFF 60 |
maximum scalefactor difference allowed by standard
Definition at line 94 of file aac.h.
Referenced by ff_sfdelta_can_remove_band(), ff_sfdelta_can_replace(), nmr_commit_channel(), nmr_solve(), search_for_pns(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), and set_special_band_scalefactors().
| #define SCALE_DIFF_ZERO 60 |
codebook index corresponding to zero scalefactor indices difference
Definition at line 95 of file aac.h.
Referenced by decode_scalefactors(), decode_usac_scale_factors(), encode_scale_factors(), search_for_pns(), search_for_quantizers_fast(), and search_for_quantizers_twoloop().
| #define POW_SF2_ZERO 200 |
ff_aac_pow2sf_tab index corresponding to pow(2, 0);
Definition at line 97 of file aac.h.
Referenced by dequant_scalefactors(), find_min_book(), quantize_and_encode_band_cost_template(), and search_for_pns().
| #define NOISE_PRE 256 |
preamble for NOISE_BT, put in bitstream with the first noise band
Definition at line 99 of file aac.h.
Referenced by decode_scalefactors(), and encode_scale_factors().
| #define NOISE_PRE_BITS 9 |
length of preamble
Definition at line 100 of file aac.h.
Referenced by decode_scalefactors(), and encode_scale_factors().
| #define NOISE_OFFSET 90 |
subtracted from global gain, used as offset for the preamble
Definition at line 101 of file aac.h.
Referenced by decode_scalefactors(), and encode_scale_factors().
| enum RawDataBlockType |
| enum ExtensionPayloadID |
| enum WindowSequence |
| enum BandType |
| Enumerator | |
|---|---|
| ZERO_BT | Scalefactors and spectral data are all zero. |
| FIRST_PAIR_BT | This and later band types encode two values (rather than four) with one code word. |
| ESC_BT | Spectral data are coded with an escape sequence. |
| RESERVED_BT | Band types following are encoded differently from others. |
| NOISE_BT | Spectral data are scaled white noise not coded in the bitstream. |
| INTENSITY_BT2 | Scalefactor data are intensity stereo positions (out of phase). |
| INTENSITY_BT | Scalefactor data are intensity stereo positions (in phase). |
| enum ChannelPosition |
|
inlinestatic |
Definition at line 110 of file aac.h.
Referenced by ff_aac_decode_init(), and ff_aac_usac_config_decode().