Home
last modified time | relevance | path

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

/frameworks/av/media/module/extractors/amr/
DAMRExtractor.cpp289 int64_t seekFrame = 0; in read() local
292 seekFrame = (seekTimeUs + frameDurationUs - 1) / frameDurationUs; in read()
296 seekFrame = (seekTimeUs + frameDurationUs/2) / frameDurationUs; in read()
300 seekFrame = seekTimeUs / frameDurationUs; in read()
303 mCurrentTimeUs = seekFrame * frameDurationUs; in read()
305 size_t index = seekFrame < 0 ? 0 : seekFrame / 50; in read()
312 for (size_t i = 0; i< seekFrame - index * 50; i++) { in read()
/frameworks/av/media/module/extractors/aac/
DAACExtractor.cpp282 int64_t seekFrame = 0; in read() local
286 seekFrame = (seekTimeUs + mFrameDurationUs - 1) / mFrameDurationUs; in read()
290 seekFrame = (seekTimeUs + mFrameDurationUs/2) / mFrameDurationUs; in read()
295 seekFrame = seekTimeUs / mFrameDurationUs; in read()
298 if (seekFrame < 0 || seekFrame >= (int64_t)mOffsetVector.size()) { in read()
302 mCurrentTimeUs = seekFrame * mFrameDurationUs; in read()
304 mOffset = mOffsetVector.itemAt(seekFrame); in read()