Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeMediaCommon.cpp120 int32_t refSampleRate, testSampleRate, refNumChannels, testNumChannels; in isFormatSimilar() local
129 AMediaFormat_getInt32(refFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &refNumChannels); in isFormatSimilar()
134 if (refNumChannels != testNumChannels) return false; in isFormatSimilar()
DNativeCodecTestBase.cpp694 int32_t refNumChannels = -1; in isFormatSimilar() local
698 AMediaFormat_getInt32(inpFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &refNumChannels); in isFormatSimilar()
700 return refNumChannels == testNumChannels && refSampleRate == testSampleRate && in isFormatSimilar()
DNativeExtractorTest.cpp562 int32_t refSampleRate, refNumChannels; in nativeReadAllData() local
568 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &refNumChannels), in nativeReadAllData()
570 flattenField<int32_t>(buffer, &bufferSize, refNumChannels); in nativeReadAllData()