Home
last modified time | relevance | path

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

/external/libopus/celt/
Dcelt_encoder.c964 static opus_val16 dynalloc_analysis(const opus_val16 *bandLogE, const opus_val16 *bandLogE2, in dynalloc_analysis() argument
1003 f[0] = bandLogE2[c*nbEBands]; in dynalloc_analysis()
1009 if (bandLogE2[c*nbEBands+i] > bandLogE2[c*nbEBands+i-1]+QCONST16(.5f,DB_SHIFT)) in dynalloc_analysis()
1011 f[i] = MIN16(f[i-1]+QCONST16(1.5f,DB_SHIFT), bandLogE2[c*nbEBands+i]); in dynalloc_analysis()
1014 f[i] = MIN16(f[i], MIN16(f[i+1]+QCONST16(2.f,DB_SHIFT), bandLogE2[c*nbEBands+i])); in dynalloc_analysis()
1021 f[i] = MAX16(f[i], median_of_5(&bandLogE2[c*nbEBands+i-2])-offset); in dynalloc_analysis()
1022 tmp = median_of_3(&bandLogE2[c*nbEBands])-offset; in dynalloc_analysis()
1025 tmp = median_of_3(&bandLogE2[c*nbEBands+end-3])-offset; in dynalloc_analysis()
1359 VARDECL(opus_val16, bandLogE2); in celt_encode_with_ec()
1654 ALLOC(bandLogE2, C*nbEBands, opus_val16); in celt_encode_with_ec()
[all …]