FFmpeg
|
#include "get_bits.h"
#include "aac/aacdec.h"
#include "aac_defines.h"
#include "libavutil/attributes_internal.h"
Go to the source code of this file.
Macros | |
#define | ENVELOPE_ADJUSTMENT_OFFSET 2 |
#define | NOISE_FLOOR_OFFSET 6 |
Enumerations | |
enum | { T_HUFFMAN_ENV_1_5DB, F_HUFFMAN_ENV_1_5DB, T_HUFFMAN_ENV_BAL_1_5DB, F_HUFFMAN_ENV_BAL_1_5DB, T_HUFFMAN_ENV_3_0DB, F_HUFFMAN_ENV_3_0DB, T_HUFFMAN_ENV_BAL_3_0DB, F_HUFFMAN_ENV_BAL_3_0DB, T_HUFFMAN_NOISE_3_0DB, T_HUFFMAN_NOISE_BAL_3_0DB } |
SBR VLC tables. More... | |
enum | { FIXFIX, FIXVAR, VARFIX, VARVAR } |
bs_frame_class - frame class of current SBR frame (14496-3 sp04 p98) More... | |
enum | { EXTENSION_ID_PS = 2 } |
anonymous enum |
anonymous enum |
FF_VISIBILITY_PUSH_HIDDEN void ff_aac_sbr_init | ( | void | ) |
Initialize SBR.
Definition at line 52 of file aacsbr_template.c.
Referenced by init_tables_fixed_fn(), and init_tables_float_fn().
void ff_aac_sbr_init_fixed | ( | void | ) |
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.
Definition at line 69 of file aacsbr_template.c.
Referenced by che_configure().
int ff_aac_sbr_ctx_alloc_init_fixed | ( | AACDecContext * | ac, |
ChannelElement ** | che, | ||
int | id_aac | ||
) |
Referenced by che_configure().
void ff_aac_sbr_ctx_close | ( | ChannelElement * | che | ) |
Close the SBR context implicitly contained in a ChannelElement.
Definition at line 114 of file aacsbr_template.c.
Referenced by che_configure(), and decode_close().
void ff_aac_sbr_ctx_close_fixed | ( | ChannelElement * | che | ) |
Referenced by che_configure(), and decode_close().
int ff_aac_sbr_decode_extension | ( | AACDecContext * | ac, |
ChannelElement * | che, | ||
GetBitContext * | gb_host, | ||
int | crc, | ||
int | cnt, | ||
int | id_aac | ||
) |
Decode one SBR element.
Decode one SBR element.
crc | flag indicating the presence of CRC checksum |
cnt | length of TYPE_FIL syntactic element in bytes |
Definition at line 1103 of file aacsbr_template.c.
Referenced by decode_extension_payload().
int ff_aac_sbr_decode_extension_fixed | ( | AACDecContext * | ac, |
ChannelElement * | che, | ||
GetBitContext * | gb, | ||
int | crc, | ||
int | cnt, | ||
int | id_aac | ||
) |
Referenced by decode_extension_payload().
void ff_aac_sbr_apply | ( | AACDecContext * | ac, |
ChannelElement * | che, | ||
int | id_aac, | ||
INTFLOAT * | L, | ||
INTFLOAT * | R | ||
) |
Apply one SBR element to one AAC element.
Definition at line 1471 of file aacsbr_template.c.
Referenced by spectral_to_sample().
void ff_aac_sbr_apply_fixed | ( | AACDecContext * | ac, |
ChannelElement * | che, | ||
int | id_aac, | ||
INTFLOAT * | L, | ||
INTFLOAT * | R | ||
) |
Referenced by spectral_to_sample().