Searched refs:clipDurationUs (Results 1 – 3 of 3) sorted by relevance
85 int64_t clipDurationUs; in Java_com_android_media_benchmark_library_Native_Encode() local90 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()
214 int64_t clipDurationUs; in validateOutput() local215 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()
976 int64_t clipDurationUs = -1; in allocateOutputBuffers() local990 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()