29 #ifndef AVCODEC_AACSBR_H
30 #define AVCODEC_AACSBR_H
36 #define ENVELOPE_ADJUSTMENT_OFFSET 2
37 #define NOISE_FLOOR_OFFSET 6
70 { 60, 60, 24, 24, 31, 31, 12, 12, 31, 12 };
72 #define SBR_INIT_VLC_STATIC(num, size) \
73 INIT_VLC_STATIC(&vlc_sbr[num], 9, sbr_tmp[num].table_size / sbr_tmp[num].elem_size, \
74 sbr_tmp[num].sbr_bits , 1, 1, \
75 sbr_tmp[num].sbr_codes, sbr_tmp[num].elem_size, sbr_tmp[num].elem_size, \
78 #define SBR_VLC_ROW(name) \
79 { name ## _codes, name ## _bits, sizeof(name ## _codes), sizeof(name ## _codes[0]) }
static const int8_t vlc_sbr_lav[10]
void ff_aacsbr_func_ptr_init_mips(AACSBRContext *c)
bitstream reader API header.
void AAC_RENAME() ff_sbr_apply(AACContext *ac, SpectralBandReplication *sbr, int id_aac, INTFLOAT *L, INTFLOAT *R)
Apply one SBR element to one AAC element.
Spectral Band Replication definitions and structures.
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
int AAC_RENAME() ff_decode_sbr_extension(AACContext *ac, SpectralBandReplication *sbr, GetBitContext *gb, int crc, int cnt, int id_aac)
Decode one SBR element.
void AAC_RENAME() ff_aac_sbr_ctx_close(SpectralBandReplication *sbr)
Close one SBR context.
AAC definitions and structures.
void AAC_RENAME() ff_aac_sbr_init(void)
Initialize SBR.
void AAC_RENAME() ff_aac_sbr_ctx_init(AACContext *ac, SpectralBandReplication *sbr)
Initialize one SBR context.
aacsbr functions pointers
Spectral Band Replication.