/frameworks/av/cmds/stagefright/ |
H A D | SineSource.cpp | 61 status_t SineSource::read( function in class:android::SineSource
|
H A D | recordvideo.cpp | 92 virtual status_t read( function in class:DummySource 109 // read() much faster.
|
H A D | stagefright.cpp | 149 err = source->read(&mbuf); 233 err = rawSource->read(&buffer, &options); 320 status_t err = rawSource->read(&buffer, &options); 410 virtual status_t read( 476 status_t DetectSyncSource::read( function in class:DetectSyncSource 479 status_t err = mSource->read(buffer, options); 560 err = source->read(&buffer, &options);
|
/frameworks/av/media/img_utils/src/ |
H A D | FileInput.cpp | 48 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 D | AudioRecord.cpp | 309 // read before stop could be partial. 869 ssize_t AudioRecord::read(void* buffer, size_t userSize, bool blocking) function in class:android::AudioRecord 878 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize); 882 ssize_t read = 0; local 891 if (read > 0) { 901 read += bytesRead; 905 if (read > 0) { 906 mFramesRead += read / mFrameSize; 909 return read;
|
H A D | IMediaSource.cpp | 153 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options) { function in class:android::BpMediaSource 154 ALOGV("read"); 187 reply.read((*buffer)->data(), len); 214 reply.read(buf->data(), len); 295 ALOGV("read"); 302 len == sizeof(opts) && data.read((void*)&opts, len) == NO_ERROR) { 303 ret = read(&buf, &opts); 305 ret = read(&buf, NULL); 391 ret = read(&buf, NULL);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.cpp | 95 ssize_t NuPlayer::NuPlayerStreamListener::read( function in class:android::NuPlayer::NuPlayerStreamListener
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) function in class:android::AudioBufferProviderSource
|
H A D | AudioStreamInSource.cpp | 67 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize);
|
H A D | LibsndfileSource.cpp | 46 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 D | MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count) function in class:android::MonoPipeReader
|
H A D | NBLog.cpp | 299 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(©[read], mShare [all...] |
H A D | PipeReader.cpp | 54 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront 67 ssize_t PipeReader::read(void *buffer, size_t count) function in class:android::PipeReader 74 // but it will be caught at next read() 85 // We could re-read the rear pointer here to detect the corruption, but why bother?
|
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 49 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 D | AMRExtractor.cpp | 47 virtual status_t read( 256 status_t AMRSource::read( function in class:android::AMRSource
|
H A D | AVIExtractor.cpp | 46 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 D | AudioSource.cpp | 234 status_t AudioSource::read( function in class:android::AudioSource
|
H A D | CameraSource.cpp | 1005 status_t CameraSource::read( function in class:android::CameraSource 1007 ALOGV("read");
|
H A D | CameraSourceTimeLapse.cpp | 119 // not skip the next frame as we want read() to get a get a frame 206 status_t CameraSourceTimeLapse::read( function in class:android::CameraSourceTimeLapse 208 ALOGV("read"); 210 mLastReadStatus = CameraSource::read(buffer, options); 212 // mQuickStop may have turned to true while read was blocked. 266 ALOGV("dataCallbackTimestamp timelapse: forced read");
|
H A D | DRMExtractor.cpp | 46 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 D | FLACExtractor.cpp | 50 virtual status_t read( 755 status_t FLACSource::read( function in class:android::FLACSource 774 // otherwise read sequentially 850 // no need to read rest of the header, as a premature EOF will be caught later
|
H A D | JPEGSource.cpp | 110 status_t JPEGSource::read( function in class:android::JPEGSource
|
H A D | MP3Extractor.cpp | 63 // 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( 494 status_t MP3Source::read( function in class:android::MP3Source
|
H A D | MPEG4Extractor.cpp | 76 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options = NULL); 485 // MPEG2 tracks do not provide CSD, so read the stream header 1098 ALOGV("read original format: %d", original_fourcc); 2132 // advance read pointer so we don't end up reading this again 3850 // read CencSampleAuxiliaryDataFormats 4183 status_t MPEG4Source::read( function in class:android::MPEG4Source
|
H A D | MediaAdapter.cpp | 57 // 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");
|