Home | History | Annotate | Download | only in src

Lines Matching refs:fpUsed

413 MP3ErrorType MP3Parser::ParseMP3File(PVFile * fpUsed, bool aEnableCRC)
417 fp = fpUsed;
689 * Input : fpUsed
694 MP3ErrorType MP3Parser::ScanMP3File(PVFile * fpUsed, uint32 aFramesToScan)
734 MP3ErrorType err = MP3Utils::SeektoOffset(fpUsed, audioOffset, Oscl_File::SEEKSET);
759 if (fpUsed->Read(pFrameHeader, 1, MP3_FRAME_HEADER_SIZE) != MP3_FRAME_HEADER_SIZE)
761 if (fpUsed->GetFileBufferingCapacity() == 0)
778 uint32 offset = MP3Utils::getCurrentFilePosition(fpUsed);
782 MP3ErrorType err = mp3FindSync(offset, seekOffset, fpUsed);
786 err = MP3Utils::SeektoOffset(fpUsed, seekOffset, Oscl_File::SEEKCUR);
792 if (!MP3FileIO::readByteData(fpUsed, MP3_FRAME_HEADER_SIZE, pFrameHeader))
858 MP3Utils::SeektoOffset(fpUsed, mp3ConfigInfo.FrameLengthInBytes - MP3_FRAME_HEADER_SIZE, Oscl_File::SEEKCUR);
861 iLastScanPosition = fpUsed->Tell();
2231 PVFile* fpUsed = fp;
2234 fpUsed = aFile;
2267 MP3ErrorType err = MP3Utils::SeektoOffset(fpUsed, flength, Oscl_File::SEEKCUR);
2274 if (!MP3FileIO::readByteData(fpUsed, MP3_FRAME_HEADER_SIZE, (uint8 *)&mp3Header))
2276 MP3Utils::SeektoOffset(fpUsed, revSeek , Oscl_File::SEEKCUR);
2287 err = MP3Utils::SeektoOffset(fpUsed, flength - MP3_FRAME_HEADER_SIZE, Oscl_File::SEEKCUR);
2290 MP3Utils::SeektoOffset(fpUsed, revSeek - MP3_FRAME_HEADER_SIZE, Oscl_File::SEEKCUR);
2295 if (!MP3FileIO::readByteData(fpUsed, MP3_FRAME_HEADER_SIZE, (uint8 *)&mp3Header))
2297 MP3Utils::SeektoOffset(fpUsed, revSeek , Oscl_File::SEEKCUR);
2307 err = MP3Utils::SeektoOffset(fpUsed, flength - MP3_FRAME_HEADER_SIZE, Oscl_File::SEEKCUR);
2310 MP3Utils::SeektoOffset(fpUsed, revSeek - MP3_FRAME_HEADER_SIZE, Oscl_File::SEEKCUR);
2315 if (!MP3FileIO::readByteData(fpUsed, MP3_FRAME_HEADER_SIZE, (uint8 *)&mp3Header))
2317 MP3Utils::SeektoOffset(fpUsed, revSeek, Oscl_File::SEEKCUR);
2336 MP3Utils::SeektoOffset(fpUsed, revSeek, Oscl_File::SEEKCUR);
2344 MP3Utils::SeektoOffset(fpUsed, revSeek, Oscl_File::SEEKCUR);
2349 MP3Utils::SeektoOffset(fpUsed, revSeek, Oscl_File::SEEKCUR);
2891 MP3ErrorType MP3Parser::ComputeDurationFromNRandomFrames(PVFile * fpUsed, int32 aNumFrames, int32 aNumRandomLoc)
2927 uint32 currFilePosn = MP3Utils::getCurrentFilePosition(fpUsed);
2937 MP3Utils::SeektoOffset(fpUsed, audioOffset, Oscl_File::SEEKSET);
2940 err = mp3FindSync(audioOffset, seekOffset, fpUsed);
2946 MP3Utils::SeektoOffset(fpUsed, seekOffset, Oscl_File::SEEKCUR);
2951 if (!MP3FileIO::readByteData(fpUsed, MP3_FRAME_HEADER_SIZE, pFrameHeader))
2971 MP3Utils::SeektoOffset(fpUsed, mp3ConfigInfo.FrameLengthInBytes - MP3_FRAME_HEADER_SIZE, Oscl_File::SEEKCUR);