Searched refs:totSeg (Results 1 – 2 of 2) sorted by relevance
541 final int totSeg = (smplPerChan - signalStart) / nSegSmp; in checkEnergyUSAC() local543 final int totSmp = nSegSmp * totSeg; in checkEnergyUSAC()546 assertTrue("no segments left to test after signal search", totSeg > 0); in checkEnergyUSAC()557 double[][] nrg = new double[procNch][totSeg]; in checkEnergyUSAC()561 boolean[] sigSeg = new boolean[totSeg]; in checkEnergyUSAC()574 for (int seg = 0; seg < totSeg; seg++) { in checkEnergyUSAC()669 if (ch <= effProcNch && ofst < totSeg) { in checkEnergyUSAC()680 nrgSeg = totSeg; in checkEnergyUSAC()682 nrgSeg = Math.min(totSeg, (2 * nSegPerBlk) + ofst) - ofst; in checkEnergyUSAC()685 nrgSeg = totSeg; in checkEnergyUSAC()[all …]
1354 final int totSeg = (smplPerChan-signalStart) / nSegSmp; // max num seg that fit into signal in checkEnergy() local1355 final int totSmp = nSegSmp * totSeg; // max num relevant samples (per channel) in checkEnergy()1356 assertTrue("no segments left to test after signal search", totSeg > 0); in checkEnergy()1363 double[][] nrg = new double[procNch][totSeg]; // array receiving the segment energies in checkEnergy()1365 boolean[] sigSeg = new boolean[totSeg]; // array receiving the segment ... in checkEnergy()1369 for (int seg = 0; seg < totSeg; seg++) { in checkEnergy()1425 if (ch < effProcNch && ofst < totSeg) { in checkEnergy()1429 nrgSeg = totSeg; // stereo signal has full signal ... in checkEnergy()1431 nrgSeg = Math.min(totSeg, (2 * nSegPerBlk) + ofst) - ofst; in checkEnergy()1455 if (nrgSegEnd < totSeg) { in checkEnergy()[all …]