OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nbEBands
(Results
1 - 10
of
10
) sorted by null
/external/libopus/celt/
modes.h
56
int
nbEBands
;
modes.c
90
static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *
nbEBands
)
98
*
nbEBands
= sizeof(eband5ms)/sizeof(eband5ms[0])-1;
99
eBands = opus_alloc(sizeof(opus_int16)*(*
nbEBands
+1));
100
for (i=0;i<*
nbEBands
+1;i++)
116
*
nbEBands
= low+high;
117
eBands = opus_alloc(sizeof(opus_int16)*(*
nbEBands
+2));
136
for (i=0;i<*
nbEBands
;i++)
140
eBands[*
nbEBands
] = (bark_freq[nBark]+res)/(2*res)*2;
141
if (eBands[*
nbEBands
] > frame_size)
142
eBands[*
nbEBands
] = frame_size
[
all
...]
quant_bands.c
191
x = eBands[i+c*m->
nbEBands
];
192
oldE = MAX16(-QCONST16(9.f,DB_SHIFT), oldEBands[i+c*m->
nbEBands
]);
198
SUB32((opus_val32)oldEBands[i+c*m->
nbEBands
],max_decay)));
203
decay_bound = MAX16(-QCONST16(28.f,DB_SHIFT), oldEBands[i+c*m->
nbEBands
]) - max_decay;
246
error[i+c*m->
nbEBands
] = PSHR32(f,7) - SHL16(qi,DB_SHIFT);
254
oldEBands[i+c*m->
nbEBands
] = PSHR32(tmp, 7);
279
new_distortion = loss_distortion(eBands, oldEBands, start, effEnd, m->
nbEBands
, C);
298
ALLOC(oldEBands_intra, C*m->
nbEBands
, opus_val16);
299
ALLOC(error_intra, C*m->
nbEBands
, opus_val16);
300
OPUS_COPY(oldEBands_intra, oldEBands, C*m->
nbEBands
);
[
all
...]
celt_decoder.c
97
/* opus_val16 oldEBands[], Size = 2*mode->
nbEBands
*/
98
/* opus_val16 oldLogE[], Size = 2*mode->
nbEBands
*/
99
/* opus_val16 oldLogE2[], Size = 2*mode->
nbEBands
*/
100
/* opus_val16 backgroundLogE[], Size = 2*mode->
nbEBands
*/
114
+ 4*2*mode->
nbEBands
*sizeof(opus_val16);
290
int
nbEBands
;
296
nbEBands
= mode->
nbEBands
;
333
denormalise_bands(mode, X+N, freq2, oldBandE+
nbEBands
, start, effEnd, M,
342
denormalise_bands(mode, X+c*N, freq, oldBandE+c*
nbEBands
, start, effEnd, M
[
all
...]
rate.h
60
cache = m->cache.bits + m->cache.index[LM*m->
nbEBands
+band];
85
cache = m->cache.bits + m->cache.index[LM*m->
nbEBands
+band];
celt_encoder.c
123
/* opus_val16 oldBandE[], Size = channels*mode->
nbEBands
*/
124
/* opus_val16 oldLogE[], Size = channels*mode->
nbEBands
*/
125
/* opus_val16 oldLogE2[], Size = channels*mode->
nbEBands
*/
139
+ 3*channels*mode->
nbEBands
*sizeof(opus_val16); /* opus_val16 oldBandE[channels*mode->
nbEBands
]; */
140
/* opus_val16 oldLogE[channels*mode->
nbEBands
]; */
141
/* opus_val16 oldLogE2[channels*mode->
nbEBands
]; */
378
static int patch_transient_decision(opus_val16 *newE, opus_val16 *oldE, int
nbEBands
,
392
spread_old[start] = MAX16(oldE[start],oldE[start+
nbEBands
]);
395
MAX16(oldE[i],oldE[i+
nbEBands
]));
[
all
...]
rate.c
87
cindex = (opus_int16 *)opus_alloc(sizeof(cache->index[0])*m->
nbEBands
*(LM+2));
93
for (j=0;j<m->
nbEBands
;j++)
97
cindex[i*m->
nbEBands
+j] = -1;
102
for (n=0;n<m->
nbEBands
&& (k!=i || n<j);n++)
106
cindex[i*m->
nbEBands
+j] = cindex[k*m->
nbEBands
+n];
111
if (cache->index[i*m->
nbEBands
+j] == -1 && N!=0)
119
cindex[i*m->
nbEBands
+j] = curr;
143
cache->caps = cap = (unsigned char *)opus_alloc(sizeof(cache->caps[0])*(LM+1)*2*m->
nbEBands
);
148
for (j=0;j<m->
nbEBands
;j++
[
all
...]
bands.c
125
bandE[i+c*m->
nbEBands
] = EPSILON+VSHR32(EXTEND32(celt_sqrt(sum)),-shift);
127
bandE[i+c*m->
nbEBands
] = EPSILON;
129
/*printf ("%f ", bandE[i+c*m->
nbEBands
]);*/
146
shift = celt_zlog2(bandE[i+c*m->
nbEBands
])-13;
147
E = VSHR32(bandE[i+c*m->
nbEBands
], shift);
168
bandE[i+c*m->
nbEBands
] = celt_sqrt(sum);
169
/*printf ("%f ", bandE[i+c*m->
nbEBands
]);*/
185
opus_val16 g = 1.f/(1e-27f+bandE[i+c*m->
nbEBands
]);
310
prev1 = prev1logE[c*m->
nbEBands
+i];
311
prev2 = prev2logE[c*m->
nbEBands
+i]
[
all
...]
celt.c
258
for (i=0;i<m->
nbEBands
;i++)
262
cap[i] = (m->cache.caps[m->
nbEBands
*(2*LM+C-1)+i]+64)*C*N>>2;
/external/libopus/celt/dump_modes/
dump_modes.c
87
fprintf (file, "static const opus_int16 eBands%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->
nbEBands
+2);
88
for (j=0;j<mode->
nbEBands
+2;j++)
108
fprintf (file, "static const unsigned char allocVectors%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->
nbEBands
*mode->nbAllocVectors);
111
for (k=0;k<mode->
nbEBands
;k++)
112
fprintf (file, "%2d, ", mode->allocVectors[j*mode->
nbEBands
+k]);
122
fprintf (file, "static const opus_int16 logN%d[%d] = {\n", framerate, mode->
nbEBands
);
123
for (j=0;j<mode->
nbEBands
;j++)
132
fprintf (file, "static const opus_int16 cache_index%d[%d] = {\n", mode->Fs/mdctSize, (mode->maxLM+2)*mode->
nbEBands
);
133
for (j=0;j<mode->
nbEBands
*(mode->maxLM+2);j++)
140
fprintf (file, "static const unsigned char cache_caps%d[%d] = {\n", mode->Fs/mdctSize, (mode->maxLM+1)*2*mode->
nbEBands
);
[
all
...]
Completed in 133 milliseconds