Lines Matching full:buffers
46 * buffers may still be returned.
48 * STATE_CONSTRUCTED: The stream is ready for configuration, but buffers cannot
49 * be gotten yet. Not connected to any endpoint, no buffers are registered
58 * re-registering buffers with HAL.
60 * STATE_CONFIGURED: Stream is configured, and has registered buffers with the
64 * STATE_PREPARING: The stream's buffers are being pre-allocated for use. On
66 * buffers may be allocated at time of first use. But some use cases require
82 * When finishConfiguration() fails to allocate or register buffers.
89 * When finishConfiguration() fails to allocate or register buffers.
98 * all stream buffers, or cancelPrepare is called.
109 * - ACTIVE: One or more buffers have been handed out (with #getBuffer).
110 * - IDLE: All buffers have been returned (with #returnBuffer), and their
113 * A typical use case is output streams. When the HAL has any buffers
114 * dequeued, the stream is marked ACTIVE. When the HAL returns all buffers
181 * NO_MEMORY in case of an error registering buffers
203 * when no valid buffers have yet been returned to this stream. Prepares
204 * up to maxCount buffers, or the maximum number of buffers needed by the
214 * OK if no more buffers need to be preallocated
232 * Returns OK and transitions to the CONFIGURED state if all buffers
236 * large buffers.
239 * OK if no more buffers need to be preallocated, and transitions
252 * Buffers that have been allocated with prepareNextBuffer remain that way,
264 * Tear down memory for this stream. This frees all unused gralloc buffers
284 * buffers for those surfaces.
288 * buffers.
297 * This method may only be called for buffers provided by getBuffer().
298 * For bidirectional streams, this method applies to the output-side buffers
309 * buffers.
317 * This method may only be called for buffers provided by getBuffer().
318 * For bidirectional streams, this method applies to the input-side buffers
327 * Whether any of the stream's buffers are currently in use by the HAL,
328 * including buffers that have been returned but not yet had their
346 * buffers.
386 * doesn't intend to share buffers with any other streams, and this stream will fall back to
391 * with the same stream set id will potentially share the buffers allocated by
445 // the stream must be ready to produce all buffers for registration with
449 // Get the total number of buffers in the queue
484 // Return whether the buffer is in the list of outstanding buffers.
487 // Remove the buffer from the list of outstanding buffers.
494 // had to register buffers with the HAL
500 // Number of buffers allocated on last prepare call.
503 // Outstanding buffers dequeued from the stream's buffer queue.