Searched refs:decSamples (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestAacDrc.java | 65 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot5_drclevel_mp4, in testDecodeAacDrcLevelM4a() local 68 decTester.checkEnergy(decSamples, decParams, 2, 0.70f); in testDecodeAacDrcLevelM4a() 78 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot5_drcfull_mp4, in testDecodeAacDrcFullM4a() local 81 decTester.checkEnergy(decSamples, decParams, 2, 0.80f); in testDecodeAacDrcFullM4a() 93 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot2_drchalf_mp4, in testDecodeAacDrcHalfM4a() local 96 decTester.checkEnergy(decSamples, decParams, 2, 0.80f); in testDecodeAacDrcHalfM4a() 108 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot5_drcoff_mp4, in testDecodeAacDrcOffM4a() local 111 decTester.checkEnergy(decSamples, decParams, 2, 0.80f); in testDecodeAacDrcOffM4a() 123 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot2_drcheavy_mp4, in testDecodeAacDrcHeavyM4a() local 126 decTester.checkEnergy(decSamples, decParams, 2, 0.80f); in testDecodeAacDrcHeavyM4a() [all …]
|
D | DecoderTest.java | 1122 short[] decSamples = decodeToMemory(decParams, R.raw.noise_6ch_48khz_aot2_mp4, in testDecodeAacLcMcM4a() local 1124 checkEnergy(decSamples, decParams, 6); in testDecodeAacLcMcM4a() 1127 decSamples = decodeToMemory(decParams, R.raw.noise_5ch_44khz_aot2_mp4, in testDecodeAacLcMcM4a() 1129 checkEnergy(decSamples, decParams, 5); in testDecodeAacLcMcM4a() 1139 short[] decSamples = decodeToMemory(decParams, R.raw.noise_1ch_24khz_aot5_dr_sbr_sig1_mp4, in testDecodeHeAacM4a() local 1141 checkEnergy(decSamples, decParams, 1); in testDecodeHeAacM4a() 1144 decSamples = decodeToMemory(decParams, R.raw.noise_1ch_24khz_aot5_ds_sbr_sig1_mp4, in testDecodeHeAacM4a() 1146 checkEnergy(decSamples, decParams, 1); in testDecodeHeAacM4a() 1149 decSamples = decodeToMemory(decParams, R.raw.noise_1ch_32khz_aot5_dr_sbr_sig2_mp4, in testDecodeHeAacM4a() 1151 checkEnergy(decSamples, decParams, 1); in testDecodeHeAacM4a() [all …]
|
D | DecoderTestXheAac.java | 379 short[] decSamples = decodeToMemory(decParams, testinput, in checkUsacStreamSwitching() local 381 float[] nrg = checkEnergyUSAC(decSamples, decParams, encNch, 1); in checkUsacStreamSwitching() 428 short[] decSamples = decodeToMemory(decParams, testinput, -1, null, drcParams, decoderName); in checkUsacSamplingRateWoLoudness() local 430 float[] nrg = checkEnergyUSAC(decSamples, decParams, 2, 1); in checkUsacSamplingRateWoLoudness() 463 protected float[] checkEnergyUSAC(short[] decSamples, AudioParameter decParams, in checkEnergyUSAC() argument 466 final float[] nrg = checkEnergyUSAC(decSamples, decParams, encNch, drcContext, 0); in checkEnergyUSAC() 480 private float[] checkEnergyUSAC(short[] decSamples, AudioParameter decParams, in checkEnergyUSAC() argument 495 final int smplPerChan = decSamples.length / nCh; in checkEnergyUSAC() 520 for (int smpl = 0; smpl < decSamples.length; smpl++) { in checkEnergyUSAC() 521 int value = Math.abs(decSamples[smpl]); in checkEnergyUSAC() [all …]
|