Searched refs:bandLogE (Results 1 – 5 of 5) sorted by relevance
/external/libopus/src/ |
D | opus_multistream_encoder.c | 233 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32… in surround_analysis() argument 299 amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1); in surround_analysis() 302 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i-1]-QCONST16(1.f, DB_SHIFT)); in surround_analysis() 304 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i+1]-QCONST16(2.f, DB_SHIFT)); in surround_analysis() 308 maskLogE[0][i] = logSum(maskLogE[0][i], bandLogE[21*c+i]); in surround_analysis() 312 maskLogE[2][i] = logSum(maskLogE[2][i], bandLogE[21*c+i]); in surround_analysis() 317 maskLogE[0][i] = logSum(maskLogE[0][i], bandLogE[21*c+i]-QCONST16(.5f, DB_SHIFT)); in surround_analysis() 318 maskLogE[2][i] = logSum(maskLogE[2][i], bandLogE[21*c+i]-QCONST16(.5f, DB_SHIFT)); in surround_analysis() 323 printf("%f ", bandLogE[21*c+i]); in surround_analysis() 326 sum += bandLogE[21*c+i]; in surround_analysis() [all …]
|
/external/libopus/celt/ |
D | celt_encoder.c | 755 const opus_val16 *bandLogE, int end, int LM, int C, int N0, in alloc_trim_analysis() argument 807 diff += bandLogE[i+c*m->nbEBands]*(opus_int32)(2+2*i-end); in alloc_trim_analysis() 930 static opus_val16 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, in dynalloc_analysis() argument 957 maxDepth = MAX16(maxDepth, bandLogE[c*nbEBands+i]-noise_floor[i]); in dynalloc_analysis() 1005 …follower[i] = HALF16(MAX16(0, bandLogE[i]-follower[i]) + MAX16(0, bandLogE[nbEBands+i]-follower[nb… in dynalloc_analysis() 1010 follower[i] = MAX16(0, bandLogE[i]-follower[i]); in dynalloc_analysis() 1323 VARDECL(opus_val16, bandLogE); in celt_encode_with_ec() 1606 ALLOC(bandLogE,nbEBands*CC, opus_val16); in celt_encode_with_ec() 1632 amp2Log2(mode, effEnd, end, bandE, bandLogE, C); in celt_encode_with_ec() 1718 follow = MAX16(follow-QCONST16(1.f, DB_SHIFT), bandLogE[i]-offset); in celt_encode_with_ec() [all …]
|
D | quant_bands.h | 45 celt_ener *bandE, opus_val16 *bandLogE, int C);
|
D | quant_bands.c | 544 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()
|
D | bands.c | 196 celt_sig * OPUS_RESTRICT freq, const opus_val16 *bandLogE, int start, in denormalise_bands() argument 227 lg = ADD16(bandLogE[i], SHL16((opus_val16)eMeans[i],6)); in denormalise_bands()
|