33#define MAX_CHANNELS 64
36#define TNS_MAX_ORDER 20
37#define MAX_LTP_LONG_SFB 40
39#define MPS_MAX_PARAM_SETS 9
40#define MPS_MAX_PARAM_BANDS 28
41#define MPS_MAX_TIME_SLOTS 16
89#define MAX_PREDICTORS 672
91#define SCALE_DIV_512 36
92#define SCALE_ONE_POS 140
93#define SCALE_MAX_POS 255
94#define SCALE_MAX_DIFF 60
95#define SCALE_DIFF_ZERO 60
97#define POW_SF2_ZERO 200
100#define NOISE_PRE_BITS 9
101#define NOISE_OFFSET 90
112 if (92017 <= rate)
return 0;
113 else if (75132 <= rate)
return 1;
114 else if (55426 <= rate)
return 2;
115 else if (46009 <= rate)
return 3;
116 else if (37566 <= rate)
return 4;
117 else if (27713 <= rate)
return 5;
118 else if (23004 <= rate)
return 6;
119 else if (18783 <= rate)
return 7;
120 else if (13856 <= rate)
return 8;
121 else if (11502 <= rate)
return 9;
122 else if (9391 <= rate)
return 10;
static int ff_aac_sample_rate_idx(int rate)
@ INTENSITY_BT
Scalefactor data are intensity stereo positions (in phase).
@ ZERO_BT
Scalefactors and spectral data are all zero.
@ INTENSITY_BT2
Scalefactor data are intensity stereo positions (out of phase).
@ RESERVED_BT
Band types following are encoded differently from others.
@ ESC_BT
Spectral data are coded with an escape sequence.
@ FIRST_PAIR_BT
This and later band types encode two values (rather than four) with one code word.
@ NOISE_BT
Spectral data are scaled white noise not coded in the bitstream.