Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DDecoderTestXheAac.java331 int testinput = -1; in checkUsacDrcEffectType() local
337 testinput = R.raw.noise_2ch_32khz_aot42_19_lufs_drc_mp4; in checkUsacDrcEffectType()
340 testinput = R.raw.noise_2ch_35_28khz_aot42_19_lufs_drc_config_change_mp4; in checkUsacDrcEffectType()
342 testinput = R.raw.noise_1ch_29_4khz_aot42_19_lufs_drc_config_change_mp4; in checkUsacDrcEffectType()
346 short[] decSamples_def = decodeToMemory(decParams, testinput, in checkUsacDrcEffectType()
348 short[] decSamples_test = decodeToMemory(decParams, testinput, in checkUsacDrcEffectType()
372 private void checkUsacStreamSwitching(float nrg_ref, int encNch, int testinput, in checkUsacStreamSwitching() argument
379 short[] decSamples = decodeToMemory(decParams, testinput, in checkUsacStreamSwitching()
396 private void checkUsacSamplingRate(int testinput, String decoderName) throws Exception { in checkUsacSamplingRate() argument
401 short[] decSamples_def = decodeToMemory(decParams, testinput, in checkUsacSamplingRate()
[all …]
DDecoderTestAacDrc.java397 private short[] decodeToMemory(AudioParameter audioParams, int testinput, in decodeToMemory() argument
405 AssetFileDescriptor testFd = mResources.openRawResourceFd(testinput); in decodeToMemory()
DDecoderTest.java1520 private void decodeNtest(int testinput, float maxerror) throws Exception {
1524 short[] decoded = decodeToMemory(decParams, testinput, RESET_MODE_NONE, CONFIG_MODE_NONE,
1566 private void decode(int testinput, float maxerror) throws IOException {
1568 short[] decoded = decodeToMemory(testinput, RESET_MODE_NONE, CONFIG_MODE_NONE, -1, null);
1586 if (conf == CONFIG_MODE_QUEUE && !hasAudioCsd(testinput)) {
1591 short[] decoded2 = decodeToMemory(testinput, reset, conf, -1, null);
1601 private boolean hasAudioCsd(int testinput) throws IOException {
1605 fd = mResources.openRawResourceFd(testinput);
1651 private short[] decodeToMemory(int testinput, int resetMode, int configMode,
1655 return decodeToMemory(audioParams, testinput, resetMode, configMode, eossample, timestamps);
[all …]