Go to the documentation of this file.
29 #ifndef AVCODEC_AACSBR_H
30 #define AVCODEC_AACSBR_H
37 #define ENVELOPE_ADJUSTMENT_OFFSET 2
38 #define NOISE_FLOOR_OFFSET 6
100 int sbr_ch,
int indep_flag);
104 int id_aac,
void *
L,
void *
R);
106 int id_aac,
void *
L,
void *
R);
#define FF_VISIBILITY_PUSH_HIDDEN
void ff_aac_sbr_init_fixed(void)
void ff_aac_sbr_ctx_close(ChannelElement *che)
Close the SBR context implicitly contained in a ChannelElement.
int ff_aac_sbr_decode_extension(AACDecContext *ac, ChannelElement *che, GetBitContext *gb, int crc, int cnt, int id_aac)
Decode one SBR element.
#define ue(name, range_min, range_max)
int ff_aac_sbr_ctx_alloc_init(AACDecContext *ac, ChannelElement **che, int id_aac)
Allocate an ExtChannelElement (if necessary) and initialize the SBR context contained in it.
void ff_aac_sbr_ctx_close_fixed(ChannelElement *che)
FF_VISIBILITY_PUSH_HIDDEN void ff_aac_sbr_init(void)
Initialize SBR.
int ff_aac_sbr_ctx_alloc_init_fixed(AACDecContext *ac, ChannelElement **che, int id_aac)
#define FF_VISIBILITY_POP_HIDDEN
@ F_HUFFMAN_ENV_BAL_1_5DB
channel element - generic struct for SCE/CPE/CCE/LFE
int ff_aac_sbr_decode_extension_fixed(AACDecContext *ac, ChannelElement *che, GetBitContext *gb, int crc, int cnt, int id_aac)
@ T_HUFFMAN_NOISE_BAL_3_0DB
@ T_HUFFMAN_ENV_BAL_1_5DB
@ F_HUFFMAN_ENV_BAL_3_0DB
main AAC decoding context
void ff_aac_sbr_apply(AACDecContext *ac, ChannelElement *che, int id_aac, void *L, void *R)
Apply one SBR element to one AAC element.
int ff_aac_sbr_decode_usac_data(AACDecContext *ac, ChannelElement *che, AACUsacElemConfig *ue, GetBitContext *gb, int sbr_ch, int indep_flag)
Decode frame SBR data, USAC.
void ff_aac_sbr_apply_fixed(AACDecContext *ac, ChannelElement *che, int id_aac, void *L, void *R)
@ T_HUFFMAN_ENV_BAL_3_0DB
int ff_aac_sbr_config_usac(AACDecContext *ac, ChannelElement *che, AACUsacElemConfig *ue)
Due to channel allocation not being known upon SBR parameter transmission, supply the parameters sepa...