Searched refs:mCurrentPos (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | MP3Extractor.cpp | 236 off64_t mCurrentPos; member in android::MP3Source 446 mCurrentPos(0), in MP3Source() 468 mCurrentPos = mFirstFramePos; in start() 505 || !mSeeker->getOffsetForTime(&actualSeekTimeUs, &mCurrentPos)) { in read() 515 mCurrentPos = mFirstFramePos + seekTimeUs * bitrate / 8000000; in read() 536 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), 4); in read() 553 mCurrentTimeUs = (mCurrentPos - mFirstFramePos) * 8000 / bitrate; in read() 563 off64_t pos = mCurrentPos; in read() 573 mCurrentPos = pos; in read() 580 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), frame_size); in read() [all …]
|
D | WAVExtractor.cpp | 89 off64_t mCurrentPos; member 388 mCurrentPos = mOffset; in start() 434 mCurrentPos = pos + mOffset; in read() 449 (mCurrentPos - mOffset >= (off64_t)mSize) in read() 450 ? 0 : mSize - (mCurrentPos - mOffset); in read() 470 mCurrentPos, buffer->data(), in read() 521 timeStampUs = 1000000LL * (mCurrentPos - mOffset) * 320 / 65 / mSampleRate; in read() 524 timeStampUs = 1000000LL * (mCurrentPos - mOffset) in read() 531 mCurrentPos += n; in read()
|
D | FLACExtractor.cpp | 131 off64_t mCurrentPos; member in android::FLACParser 271 ssize_t actual = mDataSource->readAt(mCurrentPos, buffer, requested); in readCallback() 282 mCurrentPos += actual; in readCallback() 290 mCurrentPos = absolute_byte_offset; in seekCallback() 298 *absolute_byte_offset = mCurrentPos; in tellCallback() 497 mCurrentPos(0LL), in FLACParser()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 367 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()
|
D | mp3reader.h | 44 off64_t mCurrentPos; variable
|