Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java194 float smpl = samples[smplIndex]; in drawChannelFloat() local
195 if (smpl > maxMagnitude) { in drawChannelFloat()
196 maxMagnitude = smpl; in drawChannelFloat()
197 } else if (-smpl > maxMagnitude) { in drawChannelFloat()
198 maxMagnitude = -smpl; in drawChannelFloat()
201 yCoord = zeroY - (smpl * yScale); in drawChannelFloat()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTestXheAac.java959 for (int smpl = 0; smpl < decSamples.length; smpl++) { in checkEnergyUSAC()
960 int value = Math.abs(decSamples[smpl]); in checkEnergyUSAC()
964 noiseStart = smpl / nCh; in checkEnergyUSAC()
969 signalStart = smpl / nCh; in checkEnergyUSAC()
1017 for (int smpl = smpStart; smpl < smpStop; smpl += nCh) { in checkEnergyUSAC()
1019 nrgPerChannel[ch] += decSamples[smpl] * decSamples[smpl]; in checkEnergyUSAC()
DDecoderTest.java1246 for (int smpl = 0; smpl < decSamples.length; smpl++) { in checkEnergy()
1247 int value = Math.abs(decSamples[smpl]); in checkEnergy()
1249 noiseStart = smpl / nCh; // store start of prepended noise in checkEnergy()
1252 signalStart = smpl / nCh; // store signal start offset [samples] in checkEnergy()
1276 for (int smpl = smpStart; smpl < smpStop; smpl += nCh) { in checkEnergy()
1277 nrg[ch][seg] += decSamples[smpl] * decSamples[smpl]; // accumulate segment nrg in checkEnergy()