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

123456

/frameworks/av/cmds/stagefright/
H A DSineSource.cpp61 status_t SineSource::read( function in class:android::SineSource
H A Drecordvideo.cpp92 virtual status_t read( function in class:DummySource
109 // read() much faster.
H A Dstagefright.cpp152 err = source->read(&mbuf);
236 err = rawSource->read(&buffer, &options);
323 status_t err = rawSource->read(&buffer, &options);
413 virtual status_t read(
479 status_t DetectSyncSource::read( function in class:DetectSyncSource
482 status_t err = mSource->read(buffer, options);
563 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/libaaudio/src/client/
H A DAudioStreamInternalCapture.cpp40 aaudio_result_t AudioStreamInternalCapture::read(void *buffer, int32_t numFrames, function in class:AudioStreamInternalCapture
62 // If the write index passed the read index then consider it an overrun.
70 //ALOGD("AudioStreamInternalCapture::processDataNow() - tried to read %d frames, read %d",
84 case AAUDIO_STREAM_STATE_STARTED: // When do we expect the next read burst to occur?
101 // ALOGD("AudioStreamInternalCapture::readNow finished: now = %llu, read# = %llu, wrote# = %llu",
201 result = read(mCallbackBuffer, mCallbackFrames, timeoutNanos);
203 ALOGE("AudioStreamInternalCapture(): callbackLoop: read() returned %d", result);
205 // Only read some of the frames requested. Must have timed out.
/frameworks/av/media/libaaudio/src/core/
H A DAudioStream.h220 // A Stream will only implement read() or write() depending on its direction.
227 virtual aaudio_result_t read(void *buffer, function in class:aaudio::AudioStream
320 // These are set by the application thread and then read by the audio pthread.
/frameworks/av/media/libaaudio/src/fifo/
H A DFifoBuffer.cpp120 fifo_frames_t FifoBuffer::read(void *buffer, fifo_frames_t numFrames) { function in class:FifoBuffer
185 fifo_frames_t framesRead = read(buffer, numFrames);
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp276 aaudio_result_t AudioStreamRecord::read(void *buffer, function in class:AudioStreamRecord
293 ssize_t bytesRead = mAudioRecord->read(buffer, numBytes, blocking);
/frameworks/av/media/libaudioclient/
H A DAudioRecord.cpp311 // read before stop could be partial.
584 // use case 2: blocking read mode
588 // This is needed so that AAudio apps can do a low latency non-blocking read from a
885 ssize_t AudioRecord::read(void* buffer, size_t userSize, bool blocking) function in class:android::AudioRecord
894 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize);
898 ssize_t read = 0; local
907 if (read > 0) {
920 read += bytesRead;
924 if (read > 0) {
925 mFramesRead += read / mFrameSiz
[all...]
/frameworks/av/media/libaudiohal/
H A DStreamHalLocal.cpp265 status_t StreamInHalLocal::read(void *buffer, size_t bytes, size_t *read) { argument
266 ssize_t readResult = mStream->read(mStream, buffer, bytes);
268 *read = readResult;
271 *read = 0;
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerSinc.cpp272 // Not critical now since the read functions are fast, but would be important if read was slow.
318 // read one frame
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
321 // read 2 frames
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
335 // Always read-in the first samples from the input buffer
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
373 * read()
379 void AudioResamplerSinc::read( function in class:android::AudioResamplerSinc
[all...]
/frameworks/av/media/libmedia/
H A DIMediaSource.cpp116 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options) { function in class:android::BpMediaSource
120 ALOGV("read status %d, bufferCount %u, sinceStop %u",
177 reply.read(buf->data(), len);
325 // Get max number of buffers to read.
332 // Get read options, if any.
338 && data.read((void *)&opts, len) == NO_ERROR;
347 ret = read(&buf, useOptions ? &opts : nullptr);
/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, size_t count) function in class:android::AudioBufferProviderSource
H A DAudioStreamInSource.cpp75 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource
81 status_t result = mStream->read(buffer, count * mFrameSize, &bytesRead);
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) function in class:android::MonoPipeReader
49 ssize_t actual = mFifoReader.read(buffer, count);
H A DPipeReader.cpp62 ssize_t PipeReader::read(void *buffer, size_t count) function in class:android::PipeReader
65 ssize_t actual = mFifoReader.read(buffer, count, NULL /*timeout*/, &lost);
94 mFramesRead += (size_t) flushed; // we consider flushed frames as read, but not lost frames
/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.
288 status_t AACSource::read( function in class:android::AACSource
H A DAMRExtractor.cpp47 virtual status_t read(
256 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.cpp235 status_t AudioSource::read( function in class:android::AudioSource
H A DCameraSource.cpp1051 status_t CameraSource::read( function in class:android::CameraSource
1053 ALOGV("read");
H A DCameraSourceTimeLapse.cpp119 // 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 DFLACExtractor.cpp50 virtual status_t read(
758 status_t FLACSource::read( function in class:android::FLACSource
777 // otherwise read sequentially
853 // no need to read rest of the header, as a premature EOF will be caught later

Completed in 7325 milliseconds

123456