Revision da0ac0ee
libavcodec/atrac1.c | ||
---|---|---|
252 | 252 |
} |
253 | 253 |
|
254 | 254 |
|
255 |
void at1_subband_synthesis(AT1Ctx *q, AT1SUCtx* su, float *pOut) |
|
255 |
static void at1_subband_synthesis(AT1Ctx *q, AT1SUCtx* su, float *pOut)
|
|
256 | 256 |
{ |
257 | 257 |
float temp[256]; |
258 | 258 |
float iqmf_temp[512 + 46]; |
libavcodec/mpegaudiodec.c | ||
---|---|---|
101 | 101 |
* Convert region offsets to region sizes and truncate |
102 | 102 |
* size to big_values. |
103 | 103 |
*/ |
104 |
void ff_region_offset2size(GranuleDef *g){ |
|
104 |
static void ff_region_offset2size(GranuleDef *g){
|
|
105 | 105 |
int i, k, j=0; |
106 | 106 |
g->region_size[2] = (576 / 2); |
107 | 107 |
for(i=0;i<3;i++) { |
... | ... | |
111 | 111 |
} |
112 | 112 |
} |
113 | 113 |
|
114 |
void ff_init_short_region(MPADecodeContext *s, GranuleDef *g){ |
|
114 |
static void ff_init_short_region(MPADecodeContext *s, GranuleDef *g){
|
|
115 | 115 |
if (g->block_type == 2) |
116 | 116 |
g->region_size[0] = (36 / 2); |
117 | 117 |
else { |
... | ... | |
125 | 125 |
g->region_size[1] = (576 / 2); |
126 | 126 |
} |
127 | 127 |
|
128 |
void ff_init_long_region(MPADecodeContext *s, GranuleDef *g, int ra1, int ra2){ |
|
128 |
static void ff_init_long_region(MPADecodeContext *s, GranuleDef *g, int ra1, int ra2){
|
|
129 | 129 |
int l; |
130 | 130 |
g->region_size[0] = |
131 | 131 |
band_index_long[s->sample_rate_index][ra1 + 1] >> 1; |
... | ... | |
135 | 135 |
band_index_long[s->sample_rate_index][l] >> 1; |
136 | 136 |
} |
137 | 137 |
|
138 |
void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g){ |
|
138 |
static void ff_compute_band_indexes(MPADecodeContext *s, GranuleDef *g){
|
|
139 | 139 |
if (g->block_type == 2) { |
140 | 140 |
if (g->switch_point) { |
141 | 141 |
/* if switched mode, we handle the 36 first samples as |
libavcodec/rdft.c | ||
---|---|---|
80 | 80 |
* the two real FFTs into one complex FFT. Unmangle the results. |
81 | 81 |
* ref: http://www.engineeringproductivitytools.com/stuff/T0001/PT10.HTM |
82 | 82 |
*/ |
83 |
void ff_rdft_calc_c(RDFTContext* s, FFTSample* data) |
|
83 |
static void ff_rdft_calc_c(RDFTContext* s, FFTSample* data)
|
|
84 | 84 |
{ |
85 | 85 |
int i, i1, i2; |
86 | 86 |
FFTComplex ev, od; |
Also available in: Unified diff