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

1 2 3 4 5 6 7 8 910

  /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 void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer,
68 "BufferQueue: outProducer must not be NULL")
    [all...]
  /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.mBuf < 0 || item.mBuf >= BufferQueue::NUM_BUFFER_SLOTS) {
143 if (item.mBuf < 0 || item.mBuf >= 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.
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
75 // BufferQueue manages a pool of gralloc memory slots to be used by
83 BufferQueue(); // Create through createBufferQueue
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
120 // fail if a producer is connected to the BufferQueue
    [all...]
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
113 // BufferQueue. The onFrameAvailable, onFrameReplaced, and
135 // abandonLocked puts the BufferQueue into the abandoned state, causing
160 // acquireBufferLocked fetches the next buffer from the BufferQueue and
171 // control to the BufferQueue.
174 // must take place when a buffer is released back to the BufferQueue. If
195 // ConsumerBase maintains about a BufferQueue buffer slot.
211 // 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 33 // ConsumerListener is the interface through which the BufferQueue notifies
36 // the consumer to the BufferQueue, these calls from the BufferQueue to the
37 // consumer *MUST* be called only when the BufferQueue mutex is NOT locked.
68 // BufferQueue has released its references to one or more GraphicBuffers
70 // BufferQueue::getReleasedBuffers to retrieve the list of buffers
77 // 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
BufferQueueDefs.h 26 // BufferQueue will keep track of at most this value of buffers.
  /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>
36 * This class is used to feed OMX codecs from a Surface via BufferQueue.
41 * - Availability of a new frame of data from the BufferQueue (notified
51 class GraphicBufferSource : public BufferQueue::ConsumerListener {
70 // Returns the handle to the producer side of the BufferQueue. Buffers
78 // sitting in the BufferQueue, this will send them to the codec.
109 // in the BufferQueue) will be discarded until the suspension is lifted.
145 // BufferQueue::ConsumerListener interface, called when a new frame of
153 // BufferQueue::ConsumerListener interface, called when the client has
158 // 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
  /frameworks/native/libs/gui/tests/
StreamSplitter_test.cpp 21 #include <gui/BufferQueue.h>
86 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator);
90 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer, allocator);
147 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator);
152 BufferQueue::createBufferQueue(&outputProducers[output],
214 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer);
218 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
67 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)
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DynamicRingBufferFactory.java 19 import com.android.camera.async.BufferQueue;
43 private final BufferQueue<ImageProxy> mRingBufferOutput;
70 public BufferQueue<ImageProxy> provideRingBufferOutput() {
  /frameworks/wilhelm/src/itf/
IOutputMixExt.c 71 // application thread(s) that call BufferQueue::Clear while mixer is active
273 IBufferQueue *bufferQueue = &track->mAudioPlayer->mBufferQueue;
274 interface_lock_exclusive(bufferQueue);
276 oldFront = bufferQueue->mFront;
277 rear = bufferQueue->mRear;
281 if (++newFront == &bufferQueue->mArray[bufferQueue->mNumBuffers + 1]) {
282 newFront = bufferQueue->mArray;
284 bufferQueue->mFront = (BufferHeader *) newFront;
285 assert(0 < bufferQueue->mState.count)
    [all...]

Completed in 405 milliseconds

1 2 3 4 5 6 7 8 910