Searched refs:read (Results 1 - 25 of 460) sorted by path

1234567891011>>

/frameworks/av/cmds/stagefright/
H A DSineSource.cpp60 status_t SineSource::read( function in class:android::SineSource
H A DSineSource.h19 virtual status_t read(
H A Daudioloop.cpp134 while (decoder->read(&buffer) == OK) {
H A Drecord.cpp77 virtual status_t read(
84 // printf("DummySource::read\n");
98 // printf("DummySource::read - returning buffer\n");
99 // ALOGI("DummySource::read - returning buffer");
244 while (encoder->read(&buffer) == OK) {
275 status_t err = source->read(&buffer);
336 while ((err = encoder->read(&buffer)) == OK) {
H A Drecordvideo.cpp85 virtual status_t read( function in class:DummySource
102 // read() much faster.
H A Dsf2.cpp477 status_t err = mSource->read(&inBuffer, &options);
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);
H A Dstream.cpp116 ssize_t n = read(mFd, mem->pointer(), mem->size());
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp180 reply.read(data, bufferSize);
210 reply.read(data, bufferSize);
276 reply.read(data, bufferSize);
323 reply.read(data, bufferSize);
526 reply.read(data, bufferSize);
558 reply.read(data, bufferSize);
746 reply.read((void *)(*decBuffer)->data, size);
770 ALOGV("read");
785 reply.read(buffer, result);
H A DReadWriteUtils.cpp47 if (length == read(fd, (void*) bytes, length)) {
69 if (length != read(fd, (void*) *buffer, length)) {
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c81 if (read(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) {
132 numBytesRead = read(fileDesc, pBuffer, numBytes);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c263 if (read(fileDesc, pSession->topHeader, TOP_HEADER_SIZE) == TOP_HEADER_SIZE &&
269 read(fileDesc, pSession->pContentType, pSession->contentTypeLength) ==
275 read(fileDesc, pSession->pEncryptedSessionKey,
278 read(fileDesc, pSession->dataSignature, SHA1_HASH_SIZE) ==
280 read(fileDesc, pSession->headerSignature, SHA1_HASH_SIZE) ==
307 numBytesRead = read(pSession->fileDesc, pBuffer, numBytes);
390 read(pSession->fileDesc, pData->buffer, SIG_CALC_BUFFER_SIZE)) > 0) {
/frameworks/av/include/media/
H A DAudioRecord.h42 EVENT_MORE_DATA = 0, // Request to read available data from buffer.
44 // does not want to read the available data, the handler must
90 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
122 TRANSFER_SYNC, // synchronous read()
337 * which should use read() or callback EVENT_MORE_DATA instead.
376 /* As a convenience we provide a read() interface to the audio buffer.
379 * performance use callbacks. Returns actual number of bytes read >= 0,
384 * AudioRecord was stopped during the read
387 ssize_t read(void* buffer, size_t size);
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DAudioStreamInSource.h44 // This is an over-estimate, and could dupe the caller into making a blocking read()
48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DLibsndfileSource.h46 virtual ssize_t read(void *buffer, size_t count);
H A DMonoPipeReader.h50 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DNBAIO.h23 // elsewhere. Implementations _should_ be non-blocking for all methods, especially read() and
40 OVERRUN = 0x80000011, // availableToRead(), read(), or readVia() detected lost input due
249 // Number of frames read successfully since construction.
260 // Estimate of number of frames that could be read successfully now.
261 // When a read() is actually attempted, the implementation is permitted to return a smaller or
265 // OVERRUN One or more frames were lost due to overrun, try again to read more recent data.
266 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block.
282 // OVERRUN read() has not been called frequently enough, or with enough frames to keep up.
283 // One or more frames were lost due to overrun, try again to read more recent data.
284 virtual ssize_t read(voi
[all...]
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
/frameworks/av/include/media/stagefright/
H A DAudioSource.h50 virtual status_t read(
H A DCameraSource.h92 virtual status_t read(
H A DCameraSourceTimeLapse.h49 // If the frame capture interval is large, read will block for a long time.
51 // mediaRecorder waits until the read returns, causing a long wait for
52 // stop() to return. To avoid this, we can make read() return a copy of the
53 // last read frame with the same time stamp frequently. This keeps the
54 // read() call from blocking too long. Calling this function quickly
55 // captures another frame, keeps its copy, and enables this mode of read()
94 // mQuickStop is set to true if we use quick read() returns, otherwise it is set
95 // to false. Once in this mode read() return a copy of the last read frame
99 // Forces the next frame passed to dataCallbackTimestamp() to be read
[all...]
H A DJPEGSource.h35 virtual status_t read(
H A DMediaAdapter.h42 virtual status_t read(
55 // pushBuffer() will wait for the read() finish, and read() will have a
61 // Make sure the read() wait for the incoming buffer.
H A DMediaCodecSource.h53 virtual status_t read(

Completed in 235 milliseconds

1234567891011>>