Home
last modified time | relevance | path

Searched refs:bandLogE (Results 1 – 5 of 5) sorted by relevance

/external/libopus/src/
Dopus_multistream_encoder.c224 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32… in surround_analysis() argument
303 amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1); in surround_analysis()
306 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i-1]-QCONST16(1.f, DB_SHIFT)); in surround_analysis()
308 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i+1]-QCONST16(2.f, DB_SHIFT)); in surround_analysis()
312 maskLogE[0][i] = logSum(maskLogE[0][i], bandLogE[21*c+i]); in surround_analysis()
316 maskLogE[2][i] = logSum(maskLogE[2][i], bandLogE[21*c+i]); in surround_analysis()
321 maskLogE[0][i] = logSum(maskLogE[0][i], bandLogE[21*c+i]-QCONST16(.5f, DB_SHIFT)); in surround_analysis()
322 maskLogE[2][i] = logSum(maskLogE[2][i], bandLogE[21*c+i]-QCONST16(.5f, DB_SHIFT)); in surround_analysis()
327 printf("%f ", bandLogE[21*c+i]); in surround_analysis()
330 sum += bandLogE[21*c+i]; in surround_analysis()
[all …]
/external/libopus/celt/
Dcelt_encoder.c787 const opus_val16 *bandLogE, int end, int LM, int C, int N0, in alloc_trim_analysis() argument
847 diff += bandLogE[i+c*m->nbEBands]*(opus_int32)(2+2*i-end); in alloc_trim_analysis()
970 static opus_val16 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, in dynalloc_analysis() argument
998 maxDepth = MAX16(maxDepth, bandLogE[c*nbEBands+i]-noise_floor[i]); in dynalloc_analysis()
1008 mask[i] = bandLogE[i]-noise_floor[i]; in dynalloc_analysis()
1012 mask[i] = MAX16(mask[i], bandLogE[nbEBands+i]-noise_floor[i]); in dynalloc_analysis()
1082 …follower[i] = HALF16(MAX16(0, bandLogE[i]-follower[i]) + MAX16(0, bandLogE[nbEBands+i]-follower[nb… in dynalloc_analysis()
1087 follower[i] = MAX16(0, bandLogE[i]-follower[i]); in dynalloc_analysis()
1417 VARDECL(opus_val16, bandLogE); in celt_encode_with_ec()
1713 ALLOC(bandLogE,nbEBands*CC, opus_val16); in celt_encode_with_ec()
[all …]
Dquant_bands.c545 celt_ener *bandE, opus_val16 *bandLogE, int C) in amp2Log2() argument
552 bandLogE[i+c*m->nbEBands] = in amp2Log2()
557 bandLogE[i+c*m->nbEBands] += QCONST16(2.f, DB_SHIFT); in amp2Log2()
561 bandLogE[c*m->nbEBands+i] = -QCONST16(14.f,DB_SHIFT); in amp2Log2()
Dquant_bands.h45 celt_ener *bandE, opus_val16 *bandLogE, int C);
Dbands.c197 celt_sig * OPUS_RESTRICT freq, const opus_val16 *bandLogE, int start, in denormalise_bands() argument
228 lg = SATURATE16(ADD32(bandLogE[i], SHL32((opus_val32)eMeans[i],6))); in denormalise_bands()