HomeSort by relevance Sort by last modified time
    Searched full:bufferqueue (Results 1 - 25 of 246) 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::onBuffersReleased() {
49 void BufferQueue::ProxyConsumerListener::onSidebandStreamChanged() {
56 void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer,
60 "BufferQueue: outProducer must not be NULL");
62 "BufferQueue: outConsumer must not be NULL")
    [all...]
ConsumerBase.cpp 56 ConsumerBase::ConsumerBase(const sp<IGraphicBufferConsumer>& bufferQueue, bool controlledByApp) :
58 mConsumer(bufferQueue) {
67 sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener);
71 CB_LOGE("ConsumerBase: error connecting to BufferQueue: %s (%d)",
128 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) {
150 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) {
153 // disconnect from the BufferQueue
182 status_t ConsumerBase::acquireBufferLocked(BufferQueue::BufferItem *item,
262 if (slot < 0 || slot >= 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...]
  /external/chromium_org/content/browser/compositor/
buffer_queue.cc 17 BufferQueue::BufferQueue(scoped_refptr<cc::ContextProvider> context_provider,
25 BufferQueue::~BufferQueue() {
33 bool BufferQueue::Initialize() {
39 void BufferQueue::BindFramebuffer() {
53 void BufferQueue::CopyBufferDamage(int texture,
70 void BufferQueue::UpdateBufferDamage(const gfx::Rect& damage) {
80 void BufferQueue::SwapBuffers(const gfx::Rect& damage) {
96 void BufferQueue::Reshape(const gfx::Size& size, float scale_factor)
    [all...]
gpu_surfaceless_browser_compositor_output_surface.h 12 class BufferQueue;
35 scoped_ptr<BufferQueue> output_surface_;
buffer_queue.h 27 class CONTENT_EXPORT BufferQueue {
29 BufferQueue(scoped_refptr<cc::ContextProvider> context_provider,
31 virtual ~BufferQueue();
81 DISALLOW_COPY_AND_ASSIGN(BufferQueue);
buffer_queue_unittest.cc 22 class MockBufferQueue : public BufferQueue {
26 : BufferQueue(context_provider, internalformat) {}
44 const std::vector<BufferQueue::AllocatedSurface>& available_surfaces() {
47 const std::deque<BufferQueue::AllocatedSurface>& in_flight_surfaces() {
51 const BufferQueue::AllocatedSurface& last_frame() {
54 const BufferQueue::AllocatedSurface& next_frame() {
72 for (std::deque<BufferQueue::AllocatedSurface>::const_iterator it =
128 scoped_ptr<BufferQueue> CreateOutputSurfaceWithMock(MockedContext** context) {
134 scoped_ptr<BufferQueue> buffer_queue(
135 new BufferQueue(context_provider, GL_RGBA8_OES))
    [all...]
  /external/chromium_org/media/formats/mp2t/
es_adapter_video_unittest.cc 37 StreamParserBuffer::BufferQueue
43 StreamParserBuffer::BufferQueue buffers(frame_count);
65 std::string RunAdapterTest(const StreamParser::BufferQueue& buffer_queue);
95 const StreamParserBuffer::BufferQueue& buffer_queue) {
99 for (StreamParserBuffer::BufferQueue::const_iterator it =
116 StreamParserBuffer::BufferQueue buffer_queue =
129 StreamParserBuffer::BufferQueue buffer_queue =
140 StreamParserBuffer::BufferQueue buffer_queue =
  /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.
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
45 typedef BufferQueue::BufferItem BufferItem;
48 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT };
49 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
95 // setDefaultBufferFormat allows the BufferQueue to create
BufferQueue.h 31 class BufferQueue {
33 // 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
74 // BufferQueue manages a pool of gralloc memory slots to be used by
82 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
104 // BufferQueue. The onFrameAvailable and onBuffersReleased methods should
124 // abandonLocked puts the BufferQueue into the abandoned state, causing
149 // acquireBufferLocked fetches the next buffer from the BufferQueue and
160 // control to the BufferQueue.
163 // must take place when a buffer is released back to the BufferQueue. If
184 // ConsumerBase maintains about a BufferQueue buffer slot.
200 // mSlots stores the buffers that have been allocated by the BufferQueue
    [all...]
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...]
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
  /frameworks/av/media/libstagefright/omx/
GraphicBufferSource.h 22 #include <gui/BufferQueue.h>
34 * This class is used to feed OMX codecs from a Surface via BufferQueue.
39 * - Availability of a new frame of data from the BufferQueue (notified
49 class GraphicBufferSource : public BufferQueue::ConsumerListener {
62 // Returns the handle to the producer side of the BufferQueue. Buffers
70 // sitting in the BufferQueue, this will send them to the codec.
101 // in the BufferQueue) will be discarded until the suspension is lifted.
134 // BufferQueue::ConsumerListener interface, called when a new frame of
142 // BufferQueue::ConsumerListener interface, called when the client has
147 // BufferQueue::ConsumerListener interface, called when the client ha
    [all...]
  /external/chromium_org/media/filters/
source_buffer_range.h 26 typedef StreamParser::BufferQueue BufferQueue;
54 const BufferQueue& new_buffers,
63 void AppendBuffersToEnd(const BufferQueue& buffers);
64 bool CanAppendBuffersToEnd(const BufferQueue& buffers) const;
108 BufferQueue* deleted_buffers, bool is_exclusive);
110 void DeleteAll(BufferQueue* deleted_buffers);
115 int DeleteGOPFromFront(BufferQueue* deleted_buffers);
116 int DeleteGOPFromBack(BufferQueue* deleted_buffers);
203 BufferQueue* buffers)
    [all...]
source_buffer_range.cc 29 GapPolicy gap_policy, const BufferQueue& new_buffers,
46 void SourceBufferRange::AppendBuffersToEnd(const BufferQueue& new_buffers) {
51 for (BufferQueue::const_iterator itr = new_buffers.begin();
123 BufferQueue::iterator starting_point = buffers_.begin() + keyframe_index;
124 BufferQueue removed_buffers(starting_point, buffers_.end());
155 SourceBufferRange::BufferQueue::iterator SourceBufferRange::GetBufferItrAt(
190 void SourceBufferRange::DeleteAll(BufferQueue* removed_buffers) {
195 DecodeTimestamp timestamp, BufferQueue* removed_buffers,
198 BufferQueue::iterator starting_point =
203 int SourceBufferRange::DeleteGOPFromFront(BufferQueue* deleted_buffers)
    [all...]
  /external/chromium_org/media/base/
stream_parser.cc 23 const std::vector<const StreamParser::BufferQueue*>& buffer_queues,
24 StreamParser::BufferQueue* merged_buffers) {
43 std::vector<StreamParser::BufferQueue::const_iterator> itrs(num_itrs);
104 // input BufferQueue iterator, and continue.
113 bool MergeBufferQueues(const StreamParser::BufferQueue& audio_buffers,
114 const StreamParser::BufferQueue& video_buffers,
116 StreamParser::BufferQueue* merged_buffers) {
120 std::vector<const StreamParser::BufferQueue*> buffer_queues;
audio_buffer_converter.h 73 typedef std::deque<scoped_refptr<AudioBuffer> > BufferQueue;
77 BufferQueue queued_inputs_;
84 BufferQueue queued_outputs_;
audio_buffer_queue.h 62 typedef std::deque<scoped_refptr<AudioBuffer> > BufferQueue;
77 BufferQueue::iterator current_buffer_;
78 BufferQueue buffers_;
  /frameworks/av/services/camera/libcameraservice/gui/
RingBufferConsumer.h 42 * that during its duration it will not be released back into the BufferQueue).
57 typedef BufferQueue::BufferItem BufferItem;
59 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT };
60 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
79 // setDefaultBufferFormat allows the BufferQueue to create
84 // setConsumerUsage allows the BufferQueue consumer usage to be
137 return mBufferItem.mBuf == BufferQueue::INVALID_BUFFER_SLOT;
  /frameworks/native/libs/gui/tests/
StreamSplitter_test.cpp 20 #include <gui/BufferQueue.h>
83 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator);
87 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer, allocator);
143 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer, allocator);
148 BufferQueue::createBufferQueue(&outputProducers[output],
209 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer);
213 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),
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/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),

Completed in 756 milliseconds

1 2 3 4 5 6 7 8 910