Searched defs:read (Results 1 - 25 of 133) sorted by path

123456

/frameworks/av/cmds/stagefright/
H A DSineSource.cpp60 status_t SineSource::read( function in class:android::SineSource
H A Drecordvideo.cpp85 virtual status_t read( function in class:DummySource
102 // read() much faster.
H A Dstagefright.cpp139 err = source->read(&mbuf);
229 err = rawSource->read(&buffer, &options);
316 status_t err = rawSource->read(&buffer, &options);
404 virtual status_t read(
470 status_t DetectSyncSource::read( function in class:DetectSyncSource
473 status_t err = mSource->read(buffer, options);
549 err = source->read(&buffer, &options);
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::FileInput
50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp281 // read before stop could be partial.
715 ssize_t AudioRecord::read(void* buffer, size_t userSize) function in class:android::AudioRecord
724 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize);
728 ssize_t read = 0; local
736 if (read > 0) {
746 read += bytesRead;
751 return read;
H A DSoundPoolThread.cpp38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread
84 SoundPoolMsg msg = read();
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp95 ssize_t NuPlayer::NuPlayerStreamListener::read( function in class:android::NuPlayer::NuPlayerStreamListener
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp49 ssize_t AudioBufferProviderSource::read(void *buffer, function in class:android::AudioBufferProviderSource
H A DAudioStreamInSource.cpp67 ssize_t AudioStreamInSource::read(void *buffer, size_t count, int64_t readPTS __unused) function in class:android::AudioStreamInSource
72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize);
H A DLibsndfileSource.cpp46 ssize_t LibsndfileSource::read(void *buffer, size_t count) function in class:android::LibsndfileSource
55 // Detect EOF by zero frames read, not by mFramesUntilEOF as it could be inaccurate
62 // We didn't read any frames during the current loop cycle, so disable
63 // further looping to prevent the caller from busy waiting at read().
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count, int64_t readPTS) function in class:android::MonoPipeReader
48 // Compute the "next read PTS" and cache it. Callers of read pass a read
62 // Uh-oh, looks like we are underflowing. Update the next read PTS and
H A DNBLog.cpp299 size_t remaining = avail; // remaining = number of bytes left to read
301 size_t read = mSize - front; // read = number of bytes that have been read so far local
302 if (read > remaining) {
303 read = remaining;
308 memcpy(copy, &mShared->mBuffer[front], read);
309 if (front + read == mSize) {
310 if ((remaining -= read) > 0) {
312 memcpy(&copy[read], mShare
[all...]
H A DPipeReader.cpp49 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront
62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS __unused) function in class:android::PipeReader
69 // but it will be caught at next read()
80 // We could re-read the rear pointer here to detect the corruption, but why bother?
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp49 virtual status_t read(
91 // or 0 if the size can't be read due to an error in the header or a read failure.
286 status_t AACSource::read( function in class:android::AACSource
H A DAMRExtractor.cpp47 virtual status_t read(
250 status_t AMRSource::read( function in class:android::AMRSource
H A DAVIExtractor.cpp46 virtual status_t read(
71 status_t read(MediaBuffer **buffer);
139 status_t AVIExtractor::AVISource::read( function in class:android::AVIExtractor::AVISource
163 status_t err = mSplitter->read(buffer);
322 status_t AVIExtractor::MP3Splitter::read(MediaBuffer **out) { function in class:android::AVIExtractor::MP3Splitter
H A DAudioSource.cpp214 status_t AudioSource::read( function in class:android::AudioSource
H A DCameraSource.cpp806 status_t CameraSource::read( function in class:android::CameraSource
808 ALOGV("read");
H A DCameraSourceTimeLapse.cpp117 // not skip the next frame as we want read() to get a get a frame
204 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse
206 ALOGV("read");
208 mLastReadStatus = CameraSource::read(buffer, options);
210 // mQuickStop may have turned to true while read was blocked.
264 ALOGV("dataCallbackTimestamp timelapse: forced read");
H A DDRMExtractor.cpp46 virtual status_t read(
126 status_t DRMSource::read(MediaBuffer **buffer, const ReadOptions *options) { function in class:android::DRMSource
129 if ((err = mOriginalMediaSource->read(buffer, options)) != OK) {
H A DFLACExtractor.cpp50 virtual status_t read(
751 status_t FLACSource::read( function in class:android::FLACSource
770 // otherwise read sequentially
846 // no need to read rest of the header, as a premature EOF will be caught later
H A DJPEGSource.cpp110 status_t JPEGSource::read( function in class:android::JPEGSource
H A DMP3Extractor.cpp63 // If we can't even read these 10 bytes, we might as well bail
120 * The next read position should start from the end of
224 virtual status_t read(
475 status_t MP3Source::read( function in class:android::MP3Source
H A DMPEG4Extractor.cpp65 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options = NULL);
1034 ALOGV("read original format: %d", original_fourcc);
1910 // advance read pointer so we don't end up reading this again
3332 // read CencSampleAuxiliaryDataFormats
3661 status_t MPEG4Source::read( function in class:android::MPEG4Source
H A DMediaAdapter.cpp57 // While read() is still waiting, we should signal it to finish.
77 status_t MediaAdapter::read( function in class:android::MediaAdapter
86 ALOGV("waiting @ read()");
91 ALOGV("read interrupted after stop");

Completed in 692 milliseconds

123456