Lines Matching refs:read
49 // 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
101 // frame wakes up any blocking read.
104 // Stores a copy of the MediaBuffer read in the last read() call after
108 // Status code for last read.
128 // Wrapper over CameraSource::read() to implement quick stop.
129 virtual status_t read(MediaBuffer **buffer, const ReadOptions *options = NULL);
141 // Convenience function to fill mLastReadBufferCopy from the just read