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.cpp236 off64_t mCurrentPos; member in android::MP3Source
450 mCurrentPos(0), in MP3Source()
472 mCurrentPos = mFirstFramePos; in start()
510 || !mSeeker->getOffsetForTime(&actualSeekTimeUs, &mCurrentPos)) { in read()
520 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; in read()
541 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), 4); in read()
558 mCurrentTimeUs = (mCurrentPos - mFirstFramePos) * 8000 / bitrate; in read()
568 off64_t pos = mCurrentPos; in read()
578 mCurrentPos = pos; in read()
585 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), frame_size); in read()
[all …]
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp91 off64_t mCurrentPos; member
390 mCurrentPos = mOffset; in start()
441 mCurrentPos = pos + mOffset; in read()
456 (mCurrentPos - mOffset >= (off64_t)mSize) in read()
457 ? 0 : mSize - (mCurrentPos - mOffset); in read()
477 mCurrentPos, buffer->data(), in read()
528 timeStampUs = 1000000LL * (mCurrentPos - mOffset) * 320 / 65 / mSampleRate; in read()
531 timeStampUs = 1000000LL * (mCurrentPos - mOffset) in read()
538 mCurrentPos += n; in read()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp133 off64_t mCurrentPos; member in android::FLACParser
273 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested); in readCallback()
284 mCurrentPos += actual; in readCallback()
292 mCurrentPos = absolute_byte_offset; in seekCallback()
300 *absolute_byte_offset = mCurrentPos; in tellCallback()
499 mCurrentPos(0LL), in FLACParser()