Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_multistream_encoder.c220 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32… in surround_analysis() argument
271 amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1); in surround_analysis()
274 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i-1]-QCONST16(1.f, DB_SHIFT)); in surround_analysis()
276 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i+1]-QCONST16(2.f, DB_SHIFT)); in surround_analysis()
280 maskLogE[0][i] = logSum(maskLogE[0][i], bandLogE[21*c+i]); in surround_analysis()
284 maskLogE[2][i] = logSum(maskLogE[2][i], bandLogE[21*c+i]); in surround_analysis()
289 maskLogE[0][i] = logSum(maskLogE[0][i], bandLogE[21*c+i]-QCONST16(.5f, DB_SHIFT)); in surround_analysis()
290 maskLogE[2][i] = logSum(maskLogE[2][i], bandLogE[21*c+i]-QCONST16(.5f, DB_SHIFT)); in surround_analysis()
295 printf("%f ", bandLogE[21*c+i]); in surround_analysis()
298 sum += bandLogE[21*c+i]; in surround_analysis()
[all …]
/external/libopus/celt/
Dcelt_encoder.c755 const opus_val16 *bandLogE, int end, int LM, int C, int N0, in alloc_trim_analysis() argument
817 diff += bandLogE[i+c*m->nbEBands]*(opus_int32)(2+2*i-end); in alloc_trim_analysis()
889 static opus_val16 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, in dynalloc_analysis() argument
917 maxDepth = MAX16(maxDepth, bandLogE[c*nbEBands+i]-noise_floor[i]); in dynalloc_analysis()
947 …follower[i] = HALF16(MAX16(0, bandLogE[i]-follower[i]) + MAX16(0, bandLogE[nbEBands+i]-follower[nb… in dynalloc_analysis()
952 follower[i] = MAX16(0, bandLogE[i]-follower[i]); in dynalloc_analysis()
1257 VARDECL(opus_val16, bandLogE); in celt_encode_with_ec()
1532 ALLOC(bandLogE,nbEBands*CC, opus_val16); in celt_encode_with_ec()
1558 amp2Log2(mode, effEnd, st->end, bandE, bandLogE, C); in celt_encode_with_ec()
1645 follow = MAX16(follow-QCONST16(1.f, DB_SHIFT), bandLogE[i]-offset); in celt_encode_with_ec()
[all …]
Dquant_bands.h45 celt_ener *bandE, opus_val16 *bandLogE, int C);
Dquant_bands.c544 celt_ener *bandE, opus_val16 *bandLogE, int C) in amp2Log2() argument
550 bandLogE[i+c*m->nbEBands] = in amp2Log2()
554 bandLogE[c*m->nbEBands+i] = -QCONST16(14.f,DB_SHIFT); in amp2Log2()
Dbands.c193 celt_sig * OPUS_RESTRICT freq, const opus_val16 *bandLogE, int start, int end, int C, int M) in denormalise_bands() argument
216 lg = ADD16(bandLogE[i+c*m->nbEBands], SHL16((opus_val16)eMeans[i],6)); in denormalise_bands()