Searched refs:nCh (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestXheAac.java | 329 String effectTypeName, int nCh, int aggressiveDrc, String decoderName) in checkUsacDrcEffectType() argument 339 if (nCh == 2) { in checkUsacDrcEffectType() 341 } else if (nCh == 1){ in checkUsacDrcEffectType() 351 float[] nrg_def = checkEnergyUSAC(decSamples_def, decParams, nCh, 1, 0); in checkUsacDrcEffectType() 352 float[] nrg_test = checkEnergyUSAC(decSamples_test, decParams, nCh, 1, 1); in checkUsacDrcEffectType() 354 if (nCh == 2) { in checkUsacDrcEffectType() 361 } else if (nCh == 1){ in checkUsacDrcEffectType() 489 final int nCh = encNch; in checkEnergyUSAC() local 495 final int smplPerChan = decSamples.length / nCh; in checkEnergyUSAC() 497 final int nSegSmpTot = nSegSmp * nCh; in checkEnergyUSAC() [all …]
|
D | DecoderTest.java | 1313 final int nCh = decParams.getNumChannels(); // the number of input channels in checkEnergy() local 1316 final int smplPerChan = decSamples.length / nCh; // actual # samples per channel (total) in checkEnergy() 1318 final int nSegSmpTot = nSegSmp * nCh; // actual # samples per segment (all ch) in checkEnergy() 1320 final int procNch = Math.min(nCh, encNch); // the number of channels to be analyzed in checkEnergy() 1323 encNch, nCh), procNch > 4); in checkEnergy() 1325 assertTrue(String.format("got less channels(%d) than encoded (%d)", nCh, encNch), in checkEnergy() 1326 nCh >= encNch); in checkEnergy() 1331 final boolean isDmx = nCh < encNch; // flag telling that input is dmx signal in checkEnergy() 1345 noiseStart = smpl / nCh; // store start of prepended noise in checkEnergy() 1348 signalStart = smpl / nCh; // store signal start offset [samples] in checkEnergy() [all …]
|