Home
last modified time | relevance | path

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

/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaSampleReaderNDK.cpp338 size_t totalSampleSize = 0; in getEstimatedBitrateForTrack() local
345 if (totalSampleSize == 0) { in getEstimatedBitrateForTrack()
350 totalSampleSize += lastSampleSize; in getEstimatedBitrateForTrack()
378 totalSampleSize -= lastSampleSize; in getEstimatedBitrateForTrack()
382 if (totalSampleSize == 0 || durationUs <= 0) { in getEstimatedBitrateForTrack()
387 *bitrate = roundf((float)totalSampleSize * 8 * 1000000 / durationUs); in getEstimatedBitrateForTrack()