Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeMediaCommon.cpp120 int32_t refSampleRate, testSampleRate, refNumChannels, testNumChannels; in isFormatSimilar() local
122 AMediaFormat_getInt32(refFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &refSampleRate); in isFormatSimilar()
127 if (refSampleRate != testSampleRate) return false; in isFormatSimilar()
DNativeCodecTestBase.cpp692 int32_t refSampleRate = -1; in isFormatSimilar() local
696 AMediaFormat_getInt32(inpFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &refSampleRate); in isFormatSimilar()
700 return refNumChannels == testNumChannels && refSampleRate == testSampleRate && in isFormatSimilar()
DNativeExtractorTest.cpp562 int32_t refSampleRate, refNumChannels; in nativeReadAllData() local
564 CHECK_KEY(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &refSampleRate), in nativeReadAllData()
566 flattenField<int32_t>(buffer, &bufferSize, refSampleRate); in nativeReadAllData()