Home
last modified time | relevance | path

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

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeEncoder.cpp85 int64_t clipDurationUs; in Java_com_android_media_benchmark_library_Native_Encode() local
90 clipDurationUs = in Java_com_android_media_benchmark_library_Native_Encode()
95 clipDurationUs = (eleSize / (jSampleRate * jNumChannels)) * 1000000; in Java_com_android_media_benchmark_library_Native_Encode()
97 encoder->dumpStatistics(inputReference, clipDurationUs, sCodecName, in Java_com_android_media_benchmark_library_Native_Encode()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp214 int64_t clipDurationUs; in validateOutput() local
215 AMediaFormat_getInt64(format, AMEDIAFORMAT_KEY_DURATION, &clipDurationUs); in validateOutput()
216 int32_t diff = abs((mExpectedDurationInMs * 1000) - clipDurationUs); in validateOutput()
219 << " Actual duration: " << clipDurationUs << " Difference: " << diff in validateOutput()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp976 int64_t clipDurationUs = -1; in allocateOutputBuffers() local
990 if (!AMediaFormat_getInt64(extractorFormat, AMEDIAFORMAT_KEY_DURATION, &clipDurationUs) || in allocateOutputBuffers()
991 clipDurationUs <= 0) { in allocateOutputBuffers()
1000 bufferSize = bitsPerSampple * channelCount * sampleRate * (clipDurationUs / 1000000 + 1); in allocateOutputBuffers()