Searched refs:encNch (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestXheAac.java | 372 private void checkUsacStreamSwitching(float nrg_ref, int encNch, int testinput, in checkUsacStreamSwitching() argument 381 float[] nrg = checkEnergyUSAC(decSamples, decParams, encNch, 1); in checkUsacStreamSwitching() 464 int encNch, int drcContext) in checkEnergyUSAC() argument 466 final float[] nrg = checkEnergyUSAC(decSamples, decParams, encNch, drcContext, 0); in checkEnergyUSAC() 481 int encNch, int drcContext, int drcApplied) in checkEnergyUSAC() argument 489 final int nCh = encNch; in checkEnergyUSAC() 501 final int procNch = Math.min(nCh, encNch); in checkEnergyUSAC() 503 final int encEffNch = (encNch > 5) ? encNch-1 : encNch; in checkEnergyUSAC() 507 final boolean isDmx = nCh < encNch; in checkEnergyUSAC() 679 if ((encNch <= 2) && (ch == 0)) { in checkEnergyUSAC()
|
D | DecoderTest.java | 1309 protected void checkEnergy(short[] decSamples, AudioParameter decParams, int encNch, in checkEnergy() argument 1320 final int procNch = Math.min(nCh, encNch); // the number of channels to be analyzed in checkEnergy() 1321 if (encNch > 4) { 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() local 1328 final int encEffNch = (encNch > 5) ? encNch-1 : encNch; // all original configs with more in checkEnergy() 1331 final boolean isDmx = nCh < encNch; // flag telling that input is dmx signal in checkEnergy() 1428 if ((encNch <= 2) && (ch == 0)) { // the first channel of a mono or ... in checkEnergy() 1481 private void checkEnergy(short[] decSamples, AudioParameter decParams, int encNch) [all …]
|