Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/mp3dec/test/
Dmp3reader.cpp367 mCurrentPos = pos; in init()
383 ssize_t n = sourceReadAt(mFp, mCurrentPos, buffer, 4); in getFrame()
398 off64_t pos = mCurrentPos; in getFrame()
404 mCurrentPos = pos; in getFrame()
408 ssize_t n = sourceReadAt(mFp, mCurrentPos, buffer, frame_size); in getFrame()
414 mCurrentPos += frame_size; in getFrame()
Dmp3reader.h44 off64_t mCurrentPos; variable
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp234 off64_t mCurrentPos; member in android::MP3Source
453 mCurrentPos(0), in MP3Source()
472 mCurrentPos = mFirstFramePos; in start()
506 || !mSeeker->getOffsetForTime(&actualSeekTimeUs, &mCurrentPos)) { in read()
516 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; in read()
537 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), 4); in read()
555 mCurrentTimeUs = (mCurrentPos - mFirstFramePos) * 8000 / bitrate; in read()
565 off64_t pos = mCurrentPos; in read()
575 mCurrentPos = pos; in read()
582 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), frame_size); in read()
[all …]
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp102 off64_t mCurrentPos; member
401 mCurrentPos = mOffset; in start()
454 mCurrentPos = pos + mOffset; in read()
473 (mCurrentPos - mOffset >= (off64_t)mSize) in read()
474 ? 0 : mSize - (mCurrentPos - mOffset); in read()
494 mCurrentPos, buffer->data(), in read()
559 timeStampUs = 1000000LL * (mCurrentPos - mOffset) * 320 / 65 / mSampleRate; in read()
562 timeStampUs = 1000000LL * (mCurrentPos - mOffset) in read()
570 mCurrentPos += n; in read()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp152 off64_t mCurrentPos; member in android::FLACParser
293 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested); in readCallback()
304 mCurrentPos += actual; in readCallback()
312 mCurrentPos = absolute_byte_offset; in seekCallback()
320 *absolute_byte_offset = mCurrentPos; in tellCallback()
457 mCurrentPos(0LL), in FLACParser()