Searched refs:refSampleRate (Results 1 – 3 of 3) sorted by relevance
/cts/tests/media/jni/ |
D | NativeMediaCommon.cpp | 120 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()
|
D | NativeCodecTestBase.cpp | 692 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()
|
D | NativeExtractorTest.cpp | 562 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()
|