Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java62 AudioParameter decParams = new AudioParameter(); in testDecodeAacDrcLevelM4a() local
65 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot5_drclevel_mp4, in testDecodeAacDrcLevelM4a()
68 decTester.checkEnergy(decSamples, decParams, 2, 0.70f); in testDecodeAacDrcLevelM4a()
77 AudioParameter decParams = new AudioParameter(); in testDecodeAacDrcFullM4a() local
78 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot5_drcfull_mp4, in testDecodeAacDrcFullM4a()
81 decTester.checkEnergy(decSamples, decParams, 2, 0.80f); in testDecodeAacDrcFullM4a()
90 AudioParameter decParams = new AudioParameter(); in testDecodeAacDrcHalfM4a() local
93 short[] decSamples = decodeToMemory(decParams, R.raw.sine_2ch_48khz_aot2_drchalf_mp4, in testDecodeAacDrcHalfM4a()
96 decTester.checkEnergy(decSamples, decParams, 2, 0.80f); in testDecodeAacDrcHalfM4a()
105 AudioParameter decParams = new AudioParameter(); in testDecodeAacDrcOffM4a() local
[all …]
DDecoderTest.java1121 AudioParameter decParams = new AudioParameter(); in testDecodeAacLcMcM4a() local
1122 short[] decSamples = decodeToMemory(decParams, R.raw.noise_6ch_48khz_aot2_mp4, in testDecodeAacLcMcM4a()
1124 checkEnergy(decSamples, decParams, 6); in testDecodeAacLcMcM4a()
1125 decParams.reset(); in testDecodeAacLcMcM4a()
1127 decSamples = decodeToMemory(decParams, R.raw.noise_5ch_44khz_aot2_mp4, in testDecodeAacLcMcM4a()
1129 checkEnergy(decSamples, decParams, 5); in testDecodeAacLcMcM4a()
1130 decParams.reset(); in testDecodeAacLcMcM4a()
1137 AudioParameter decParams = new AudioParameter(); in testDecodeHeAacM4a() local
1139 short[] decSamples = decodeToMemory(decParams, R.raw.noise_1ch_24khz_aot5_dr_sbr_sig1_mp4, in testDecodeHeAacM4a()
1141 checkEnergy(decSamples, decParams, 1); in testDecodeHeAacM4a()
[all …]
DDecoderTestXheAac.java332 AudioParameter decParams = new AudioParameter(); in checkUsacDrcEffectType() local
346 short[] decSamples_def = decodeToMemory(decParams, testinput, in checkUsacDrcEffectType()
348 short[] decSamples_test = decodeToMemory(decParams, testinput, 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()
375 AudioParameter decParams = new AudioParameter(); in checkUsacStreamSwitching() local
379 short[] decSamples = decodeToMemory(decParams, testinput, in checkUsacStreamSwitching()
381 float[] nrg = checkEnergyUSAC(decSamples, decParams, encNch, 1); in checkUsacStreamSwitching()
397 AudioParameter decParams = new AudioParameter(); in checkUsacSamplingRate() local
401 short[] decSamples_def = decodeToMemory(decParams, testinput, in checkUsacSamplingRate()
[all …]