HomeSort by relevance Sort by last modified time
    Searched full:bufferqueue (Results 1 - 25 of 268) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/native/libs/gui/
BufferQueue.cpp 17 #define LOG_TAG "BufferQueue"
21 #include <gui/BufferQueue.h>
28 BufferQueue::ProxyConsumerListener::ProxyConsumerListener(
32 BufferQueue::ProxyConsumerListener::~ProxyConsumerListener() {}
34 void BufferQueue::ProxyConsumerListener::onFrameAvailable(
42 void BufferQueue::ProxyConsumerListener::onFrameReplaced(
50 void BufferQueue::ProxyConsumerListener::onBuffersReleased() {
57 void BufferQueue::ProxyConsumerListener::onSidebandStreamChanged() {
64 bool BufferQueue::ProxyConsumerListener::getFrameTimestamps(
73 void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer
    [all...]
  /external/webrtc/webrtc/base/
bufferqueue.cc 11 #include "webrtc/base/bufferqueue.h"
15 BufferQueue::BufferQueue(size_t capacity, size_t default_size)
19 BufferQueue::~BufferQueue() {
30 size_t BufferQueue::size() const {
35 bool BufferQueue::ReadFront(void* buffer, size_t bytes, size_t* bytes_read) {
57 bool BufferQueue::WriteBack(const void* buffer, size_t bytes,
bufferqueue.h 22 class BufferQueue {
25 BufferQueue(size_t capacity, size_t default_size);
26 virtual ~BufferQueue();
52 RTC_DISALLOW_COPY_AND_ASSIGN(BufferQueue);
  /frameworks/av/media/libstagefright/filters/
GraphicBufferListener.h 20 #include <gui/BufferQueue.h>
26 struct GraphicBufferListener : public BufferQueue::ConsumerListener {
38 // Returns the handle to the producer side of the BufferQueue. Buffers
58 // Our BufferQueue interfaces. mProducer is passed to the producer through
65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
GraphicBufferListener.cpp 36 BufferQueue::createBufferQueue(&mProducer, &mConsumer);
48 wp<BufferQueue::ConsumerListener> listener =
49 static_cast<BufferQueue::ConsumerListener*>(this);
50 sp<BufferQueue::ProxyConsumerListener> proxy =
51 new BufferQueue::ProxyConsumerListener(listener);
55 ALOGE("Error connecting to BufferQueue: %s (%d)",
101 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
131 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) {
143 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) {
  /hardware/ti/omap4-aah/test/CameraHal/
camera_test_bufferqueue.h 20 class FrameConsumer : public BufferQueue::ProxyConsumerListener {
23 BufferQueue::ProxyConsumerListener(NULL), mPendingFrames(0) {
54 mBufferQueue = new BufferQueue(true, 1);
66 BufferQueue::BufferItem item;
72 if (status == BufferQueue::NO_BUFFER_AVAILABLE) {
79 // For whatever reason, BufferQueue only gives us the graphic buffer
119 sp<BufferQueue> mBufferQueue;
121 BufferQueue::BufferItem mBufferSlots[BufferQueue::NUM_BUFFER_SLOTS];
128 mBufferQueue = new BufferQueue(true, 1)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/async/
ForwardingBufferQueue.java 23 * A BufferQueue which forwards all methods to another.
25 public abstract class ForwardingBufferQueue<T> implements BufferQueue<T> {
26 private final BufferQueue<T> mDelegate;
28 public ForwardingBufferQueue(BufferQueue<T> delegate) {
BufferQueue.java 26 public interface BufferQueue<T> extends SafeCloseable {
36 * @throws com.android.camera.async.BufferQueue.BufferQueueClosedException If the stream is closed and no more values
49 * @throws com.android.camera.async.BufferQueue.BufferQueueClosedException If the stream is closed and no more values
  /frameworks/native/include/gui/
IProducerListener.h 26 // ProducerListener is the interface through which the BufferQueue notifies the
29 // producer to the BufferQueue, these calls from the BufferQueue to the
30 // producer *MUST* be called only when the BufferQueue mutex is NOT locked.
BufferQueueConsumer.h 37 // the BufferQueue. If no buffer is pending then it returns
59 // BufferQueue. This may be done while the buffer's contents are still
74 // connect connects a consumer to the BufferQueue. Only one
76 // BufferQueue is placed into the "abandoned" state, causing most
77 // interactions with the BufferQueue by the producer to fail.
85 // disconnect disconnects a consumer from the BufferQueue. All
86 // buffers will be freed and the BufferQueue is placed in the "abandoned"
87 // state, causing most interactions with the BufferQueue by the producer to
92 // indicating which buffer slots have been released by the BufferQueue
108 // fail if a producer is connected to the BufferQueue
    [all...]
BufferQueue.h 32 class BufferQueue {
34 // BufferQueue will keep track of at most this value of buffers.
57 // BufferQueue object and the consumer object. The reason this can't be a weak
58 // reference in the BufferQueue class is because we're planning to expose the
59 // consumer side of a BufferQueue as a binder interface, which doesn't support
77 // BufferQueue manages a pool of gralloc memory slots to be used by
85 BufferQueue(); // Create through createBufferQueue
ConsumerBase.h 20 #include <gui/BufferQueue.h>
34 // ConsumerBase is a base class for BufferQueue consumer end-points. It
35 // handles common tasks like management of the connection to the BufferQueue
120 // BufferQueue. The onFrameAvailable, onFrameReplaced, and
142 // abandonLocked puts the BufferQueue into the abandoned state, causing
167 // acquireBufferLocked fetches the next buffer from the BufferQueue and
178 // control to the BufferQueue.
181 // must take place when a buffer is released back to the BufferQueue. If
202 // ConsumerBase maintains about a BufferQueue buffer slot.
218 // mSlots stores the buffers that have been allocated by the BufferQueue
    [all...]
BufferItemConsumer.h 32 class BufferQueue;
35 * BufferItemConsumer is a BufferQueue consumer endpoint that allows clients
36 * access to the whole BufferItem entry from BufferQueue. Multiple buffers may
46 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT };
47 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
IConsumerListener.h 35 // ConsumerListener is the interface through which the BufferQueue notifies
38 // the consumer to the BufferQueue, these calls from the BufferQueue to the
39 // consumer *MUST* be called only when the BufferQueue mutex is NOT locked.
70 // BufferQueue has released its references to one or more GraphicBuffers
72 // BufferQueue::getReleasedBuffers to retrieve the list of buffers
79 // BufferQueue's sideband buffer stream has changed. This is called when a
StreamSplitter.h 34 // StreamSplitter is an autonomous class that manages one input BufferQueue
36 // in BufferQueue, it is able to present the illusion of a single split
37 // BufferQueue, where each buffer queued to the input is available to be
43 // the input BufferQueue. Output BufferQueues must be added using addOutput
53 // addOutput adds an output BufferQueue to the splitter. The splitter
107 // This is a thin wrapper class that lets us determine which BufferQueue
109 // create one of these per output BufferQueue, and then pass the producer
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
ImageStreamImpl.java 21 import com.android.camera.async.BufferQueue;
41 public ImageStreamImpl(BufferQueue<ImageProxy> imageStream,
54 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException,
AllocatingImageStream.java 21 import com.android.camera.async.BufferQueue;
56 BufferQueue<ImageProxy> imageStream,
77 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException,
  /frameworks/av/media/libstagefright/omx/
GraphicBufferSource.h 22 #include <gui/BufferQueue.h>
37 * This class is used to feed OMX codecs from a Surface via BufferQueue.
42 * - Availability of a new frame of data from the BufferQueue (notified
52 class GraphicBufferSource : public BufferQueue::ConsumerListener {
71 // Returns the handle to the producer side of the BufferQueue. Buffers
82 // sitting in the BufferQueue, this will send them to the codec.
113 // in the BufferQueue) will be discarded until the suspension is lifted.
159 // BufferQueue::ConsumerListener interface, called when a new frame of
167 // BufferQueue::ConsumerListener interface, called when the client has
172 // BufferQueue::ConsumerListener interface, called when the client ha
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/common/
SimpleCaptureStream.java 21 import com.android.camera.async.BufferQueue;
36 public Surface bind(BufferQueue<Long> timestamps) throws InterruptedException {
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
ImageDistributor.java 19 import com.android.camera.async.BufferQueue;
41 void addRoute(BufferQueue<Long> inputTimestampQueue,
ImageStream.java 19 import com.android.camera.async.BufferQueue;
28 * {@link BufferQueue}.
39 public interface ImageStream extends BufferQueue<ImageProxy>, CaptureStream {
53 * @throws com.android.camera.async.BufferQueue.BufferQueueClosedException
67 * @throws com.android.camera.async.BufferQueue.BufferQueueClosedException
  /docs/source.android.com/src/devices/graphics/
arch-bq-gralloc.jd 1 page.title=BufferQueue and gralloc
28 BufferQueue and the gralloc HAL.</p>
30 <p>The BufferQueue class is at the heart of everything graphical in Android. Its
34 graphical data through the system relies on BufferQueue.</p>
42 <h2 id="BufferQueue">BufferQueue producers and consumers</h2>
64 BufferQueue is responsible for allocating buffers as it needs them. Buffers are
76 <p>Buffer contents are never copied by BufferQueue (moving that much data around
109 <h2 id=tracking>Tracking BufferQueue with systrace</h2>
135 layer, which is just another BufferQueue. Because TextureView renders into th
    [all...]
  /frameworks/native/libs/gui/tests/
StreamSplitter_test.cpp 21 #include <gui/BufferQueue.h>
60 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer);
64 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer);
72 // Never allow the output BufferQueue to allocate a buffer
115 // received the buffer back from the output BufferQueue
126 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer);
131 BufferQueue::createBufferQueue(&outputProducers[output],
199 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer);
203 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer);
  /frameworks/rs/
rsGrallocConsumer.h 36 * CpuConsumer is a BufferQueue consumer endpoint that allows direct CPU
37 * access to the underlying gralloc buffers provided by BufferQueue. Multiple
73 mSlot(BufferQueue::INVALID_BUFFER_SLOT),
  /packages/apps/Camera2/src/com/android/camera/one/v2/core/
CaptureStream.java 21 import com.android.camera.async.BufferQueue;
38 * a process of taking, as input, a {@link com.android.camera.async.BufferQueue}
60 public Surface bind(BufferQueue<Long> timestamps)

Completed in 343 milliseconds

1 2 3 4 5 6 7 8 91011