
Go to the source code of this file.
Data Structures | |
| struct | AC3BitAllocParameters |
Defines | |
| #define | AC3_MAX_CODED_FRAME_SIZE 3840 |
| #define | AC3_MAX_CHANNELS 6 |
| #define | NB_BLOCKS 6 |
| #define | AC3_FRAME_SIZE (NB_BLOCKS * 256) |
| #define | EXP_REUSE 0 |
| #define | EXP_NEW 1 |
| #define | EXP_D15 1 |
| #define | EXP_D25 2 |
| #define | EXP_D45 3 |
Functions | |
| void | ac3_common_init (void) |
| void | ac3_parametric_bit_allocation (AC3BitAllocParameters *s, uint8_t *bap, int8_t *exp, int start, int end, int snroffset, int fgain, int is_lfe, int deltbae, int deltnseg, uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba) |
| #define AC3_FRAME_SIZE (NB_BLOCKS * 256) |
| #define AC3_MAX_CHANNELS 6 |
| #define AC3_MAX_CODED_FRAME_SIZE 3840 |
| #define EXP_D15 1 |
Definition at line 35 of file ac3.h.
Referenced by compute_exp_strategy(), encode_exp(), output_audio_block(), and parse_exponents().
| #define EXP_D25 2 |
Definition at line 36 of file ac3.h.
Referenced by compute_exp_strategy(), encode_exp(), output_audio_block(), and parse_exponents().
| #define EXP_D45 3 |
Definition at line 37 of file ac3.h.
Referenced by compute_exp_strategy(), encode_exp(), output_audio_block(), and parse_exponents().
| #define EXP_NEW 1 |
| #define EXP_REUSE 0 |
Definition at line 32 of file ac3.h.
Referenced by a52_block(), AC3_encode_frame(), compute_bit_allocation(), compute_exp_strategy(), and output_audio_block().
| #define NB_BLOCKS 6 |
Definition at line 28 of file ac3.h.
Referenced by AC3_encode_frame(), bit_alloc(), compute_bit_allocation(), and compute_exp_strategy().
| void ac3_common_init | ( | void | ) |
| void ac3_parametric_bit_allocation | ( | AC3BitAllocParameters * | s, | |
| uint8_t * | bap, | |||
| int8_t * | exp, | |||
| int | start, | |||
| int | end, | |||
| int | snroffset, | |||
| int | fgain, | |||
| int | is_lfe, | |||
| int | deltbae, | |||
| int | deltnseg, | |||
| uint8_t * | deltoffst, | |||
| uint8_t * | deltlen, | |||
| uint8_t * | deltba | |||
| ) |
Definition at line 118 of file ac3enc.c.
References baptab, bndsz, bndtab, c, calc_lowcomp(), calc_lowcomp1(), AC3BitAllocParameters::cplfleak, AC3BitAllocParameters::cplsleak, AC3BitAllocParameters::dbknee, AC3BitAllocParameters::fdecay, AC3BitAllocParameters::floor, AC3BitAllocParameters::fscod, AC3BitAllocParameters::halfratecod, hth, latab, masktab, AC3BitAllocParameters::sdecay, and AC3BitAllocParameters::sgain.
Referenced by bit_alloc().

1.5.5