Searched refs:nrg (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestXheAac.java | 381 float[] nrg = checkEnergyUSAC(decSamples, decParams, encNch, 1); in checkUsacStreamSwitching() local 383 float nrgRatio = nrg[0] / nrg_ref; in checkUsacStreamSwitching() 430 float[] nrg = checkEnergyUSAC(decSamples, decParams, 2, 1); in checkUsacSamplingRateWoLoudness() local 433 float nrgRatio = nrg_ref/nrg[0]; in checkUsacSamplingRateWoLoudness() 466 final float[] nrg = checkEnergyUSAC(decSamples, decParams, encNch, drcContext, 0); in checkEnergyUSAC() local 467 return nrg; in checkEnergyUSAC() 557 double[][] nrg = new double[procNch][totSeg]; in checkEnergyUSAC() local 582 nrg[ch][seg] += nrgPerChannel[ch]; in checkEnergyUSAC() 587 if (nrg[ch][seg] > zeroNrgThresh && offset[ch] < 0) { in checkEnergyUSAC() 592 if (nrg[ch][seg] > totMaxNrg) { in checkEnergyUSAC() [all …]
|
D | DecoderTestAacDrc.java | 251 double nrg = 0.0; in getEnergy() local 254 nrg += v * v; in getEnergy() 256 return nrg; in getEnergy()
|
D | DecoderTest.java | 1363 double[][] nrg = new double[procNch][totSeg]; // array receiving the segment energies in checkEnergy() local 1373 nrg[ch][seg] += decSamples[smpl] * decSamples[smpl]; // accumulate segment nrg in checkEnergy() 1375 if (nrg[ch][seg] > zeroNrgThresh && offset[ch] < 0) { // store 1st segment (index) in checkEnergy() 1378 if (nrg[ch][seg] > totMaxNrg) { in checkEnergy() 1379 totMaxNrg = nrg[ch][seg]; // store the max segment nrg over all ch in checkEnergy() 1381 sigSeg[seg] |= nrg[ch][seg] > zeroNrgThresh; // store whether the channel has in checkEnergy() 1435 double minNrg = nrg[idx][ofst]; // channels minimum segment energy in checkEnergy() 1436 double maxNrg = nrg[idx][ofst]; // channels maximum segment energy in checkEnergy() 1438 if (nrg[idx][seg] < minNrg) minNrg = nrg[idx][seg]; // ... already assigned in checkEnergy() 1439 if (nrg[idx][seg] > maxNrg) maxNrg = nrg[idx][seg]; in checkEnergy() [all …]
|