Home
last modified time | relevance | path

Searched refs:IGraphicBufferProducer (Results 1 – 25 of 212) sorted by relevance

123456789

/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp128 IGraphicBufferProducer::QueueBufferOutput output; in TryConnectProducer()
144 static IGraphicBufferProducer::QueueBufferInput CreateBufferInput() { in CreateBufferInput()
161 IGraphicBufferProducer::QueueBufferInput build() { in build()
162 return IGraphicBufferProducer::QueueBufferInput( in build()
239 ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & in setupDequeueRequestBuffer()
255 sp<IGraphicBufferProducer> mProducer;
260 IGraphicBufferProducer::QueueBufferOutput output; in TEST_P()
281 IGraphicBufferProducer::QueueBufferOutput output; in TEST_P()
384 ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & in TEST_P()
397 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); in TEST_P()
[all …]
DStreamSplitter_test.cpp60 sp<IGraphicBufferProducer> inputProducer; in TEST_F()
64 sp<IGraphicBufferProducer> outputProducer; in TEST_F()
77 IGraphicBufferProducer::QueueBufferOutput qbOutput; in TEST_F()
84 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
95 IGraphicBufferProducer::QueueBufferInput qbInput(0, false, in TEST_F()
118 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
126 sp<IGraphicBufferProducer> inputProducer; in TEST_F()
130 sp<IGraphicBufferProducer> outputProducers[NUM_OUTPUTS] = {}; in TEST_F()
149 IGraphicBufferProducer::QueueBufferOutput qbOutput; in TEST_F()
156 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
[all …]
DBufferQueue_test.cpp74 void testBufferItem(const IGraphicBufferProducer::QueueBufferInput& input, in testBufferItem()
95 sp<IGraphicBufferProducer> mProducer;
116 sp<IGraphicBufferProducer> producer; in TEST_F()
130 mProducer = interface_cast<IGraphicBufferProducer>(binderProducer); in TEST_F()
139 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
146 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
157 IGraphicBufferProducer::QueueBufferInput input(0, false, in TEST_F()
176 IGraphicBufferProducer::QueueBufferOutput qbo; in TEST_F()
184 IGraphicBufferProducer::QueueBufferInput qbi(0, false, in TEST_F()
190 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
[all …]
DBufferItemConsumer_test.cpp55 IGraphicBufferProducer::QueueBufferOutput bufferOutput; in SetUp()
84 if (ret & IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION) { in DequeueBuffer()
93 IGraphicBufferProducer::QueueBufferInput bufferInput( in QueueBuffer()
96 IGraphicBufferProducer::QueueBufferOutput bufferOutput; in QueueBuffer()
126 sp<IGraphicBufferProducer> mProducer;
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp78 class BpGraphicBufferProducer : public BpInterface<IGraphicBufferProducer>
82 : BpInterface<IGraphicBufferProducer>(impl) in BpGraphicBufferProducer()
90 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in requestBuffer()
112 IGraphicBufferProducer::getInterfaceDescriptor()); in setMaxDequeuedBufferCount()
126 IGraphicBufferProducer::getInterfaceDescriptor()); in setAsyncMode()
143 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in dequeueBuffer()
187 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in detachBuffer()
207 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in detachNextBuffer()
239 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in attachBuffer()
262 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in queueBuffer()
[all …]
DStreamSplitter.cpp65 Vector<sp<IGraphicBufferProducer> >::iterator output = mOutputs.begin(); in ~StreamSplitter()
76 const sp<IGraphicBufferProducer>& outputQueue) { in addOutput()
84 IGraphicBufferProducer::QueueBufferOutput queueBufferOutput; in addOutput()
145 IGraphicBufferProducer::QueueBufferInput queueInput( in onFrameAvailable()
152 Vector<sp<IGraphicBufferProducer> >::iterator output = mOutputs.begin(); in onFrameAvailable()
169 IGraphicBufferProducer::QueueBufferOutput queueOutput; in onFrameAvailable()
190 const sp<IGraphicBufferProducer>& from) { in onBufferReleasedByOutput()
264 const sp<IGraphicBufferProducer>& output) in OutputListener()
DSurfaceControl.cpp51 const sp<IGraphicBufferProducer>& gbp, in SurfaceControl()
134 sp<IGraphicBufferProducer> bp; in writeSurfaceToParcel()
171 sp<IGraphicBufferProducer> SurfaceControl::getIGraphicBufferProducer() const in getIGraphicBufferProducer()
186 parcel->writeStrongBinder(IGraphicBufferProducer::asBinder(mGraphicBufferProducer)); in writeToParcel()
204 handle.get(), interface_cast<IGraphicBufferProducer>(gbp), false /* owned */); in readFromParcel()
DBufferQueue.cpp85 void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer, in createBufferQueue()
97 sp<IGraphicBufferProducer> producer(new BufferQueueProducer(core, consumerIsSurfaceFlinger)); in createBufferQueue()
110 void BufferQueue::createBufferHubQueue(sp<IGraphicBufferProducer>* outProducer, in createBufferHubQueue()
115 sp<IGraphicBufferProducer> producer; in createBufferHubQueue()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h40 class IGraphicBufferProducer; variable
123 void onBufferReleasedByOutput(const sp<IGraphicBufferProducer>& from);
126 void onBufferReplacedLocked(const sp<IGraphicBufferProducer>& from, size_t surfaceId);
143 void returnOutputBufferLocked(const sp<Fence>& fence, const sp<IGraphicBufferProducer>& from,
154 wp<IGraphicBufferProducer> output);
165 wp<IGraphicBufferProducer> mOutput;
211 status_t outputBufferLocked(const sp<IGraphicBufferProducer>& output,
218 int getSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp,
236 sp<IGraphicBufferProducer> mProducer;
245 std::unordered_map<int, sp<IGraphicBufferProducer> > mOutputs;
[all …]
DCamera3StreamSplitter.cpp127 sp<IGraphicBufferProducer> producer = notifier.first; in disconnect()
207 sp<IGraphicBufferProducer> gbp = outputQueue->getIGraphicBufferProducer(); in addOutputLocked()
300 sp<IGraphicBufferProducer> gbp = mOutputs[surfaceId]; in removeOutputLocked()
343 status_t Camera3StreamSplitter::outputBufferLocked(const sp<IGraphicBufferProducer>& output, in outputBufferLocked()
347 IGraphicBufferProducer::QueueBufferInput queueInput( in outputBufferLocked()
353 IGraphicBufferProducer::QueueBufferOutput queueOutput; in outputBufferLocked()
427 sp<IGraphicBufferProducer>& gbp = mOutputs[surface_id]; in attachBufferToOutputs()
626 const sp<IGraphicBufferProducer>& from) { in onBufferReleasedByOutput()
657 const sp<IGraphicBufferProducer>& from, size_t surfaceId) { in onBufferReplacedLocked()
673 const sp<IGraphicBufferProducer>& from, size_t surfaceId, int slot) { in returnOutputBufferLocked()
[all …]
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp36 IGraphicBufferProducer::QueueBufferInput build() { in build()
37 return IGraphicBufferProducer::QueueBufferInput( in build()
109 IGraphicBufferProducer::QueueBufferOutput output; in ConnectProducer()
130 ASSERT_EQ(0, ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & ret); in DequeueBuffer()
139 static IGraphicBufferProducer::QueueBufferInput CreateBufferInput() { in CreateBufferInput()
150 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
165 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
247 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); in TEST_F()
248 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
273 IGraphicBufferProducer::QueueBufferInput input = CreateBufferInput(); in TEST_F()
[all …]
/frameworks/native/libs/gui/include/gui/
DStreamSplitter.h32 class IGraphicBufferProducer; variable
64 status_t addOutput(const sp<IGraphicBufferProducer>& outputQueue);
98 void onBufferReleasedByOutput(const sp<IGraphicBufferProducer>& from);
115 const sp<IGraphicBufferProducer>& output);
126 sp<IGraphicBufferProducer> mOutput;
174 Vector<sp<IGraphicBufferProducer> > mOutputs;
DISurfaceComposerClient.h29 class IGraphicBufferProducer; variable
59 sp<IGraphicBufferProducer>* gbp) = 0;
66 const sp<IGraphicBufferProducer>& parent,
68 sp<IGraphicBufferProducer>* gbp) = 0;
DSurfaceControl.h38 class IGraphicBufferProducer; variable
78 sp<IGraphicBufferProducer> getIGraphicBufferProducer() const;
88 const sp<IGraphicBufferProducer>& gbp, bool owned);
105 sp<IGraphicBufferProducer> mGraphicBufferProducer;
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSync.h38 class IGraphicBufferProducer; variable
79 status_t setSurface(const sp<IGraphicBufferProducer> &output);
89 status_t createInputSurface(sp<IGraphicBufferProducer> *outBufferProducer);
174 OutputListener(const sp<MediaSync> &sync, const sp<IGraphicBufferProducer> &output);
185 sp<IGraphicBufferProducer> mOutput;
197 sp<IGraphicBufferProducer> mOutput;
257 void onBufferReleasedByOutput(sp<IGraphicBufferProducer> &output);
DPersistentSurface.h37 const sp<IGraphicBufferProducer>& bufferProducer, in PersistentSurface()
44 const sp<IGraphicBufferProducer>& bufferProducer, in PersistentSurface()
49 sp<IGraphicBufferProducer> getBufferProducer() const { in getBufferProducer()
80 mBufferProducer = interface_cast<IGraphicBufferProducer>( in readFromParcel()
99 sp<IGraphicBufferProducer> mBufferProducer;
DBufferProducerWrapper.h32 const sp<IGraphicBufferProducer>& bufferProducer) : in BufferProducerWrapper()
35 sp<IGraphicBufferProducer> getBufferProducer() const { in getBufferProducer()
40 const sp<IGraphicBufferProducer> mBufferProducer;
/frameworks/av/cmds/screenrecord/
DOverlay.h59 status_t start(const sp<IGraphicBufferProducer>& outputSurface,
60 sp<IGraphicBufferProducer>* pBufferProducer);
68 static status_t drawInfoPage(const sp<IGraphicBufferProducer>& outputSurface);
124 sp<IGraphicBufferProducer> mOutputSurface;
128 sp<IGraphicBufferProducer> mProducer;
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h82 struct IGraphicBufferProducer;
326 IGraphicBufferProducer IGraphicBufferProducer; typedef
327 typedef IGraphicBufferProducer::
329 typedef IGraphicBufferProducer::
333 IGraphicBufferProducer HGraphicBufferProducer1;
335 IGraphicBufferProducer HGraphicBufferProducer2;
343 const sp<IGraphicBufferProducer>& surface,
414 typedef ::android::IGraphicBufferProducer IGraphicBufferProducer; typedef
416 sp<IGraphicBufferProducer> getGraphicBufferProducer() const;
427 sp<IGraphicBufferProducer> mGraphicBufferProducer;
/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h41 const std::vector<sp<IGraphicBufferProducer>>& getGraphicBufferProducers() const;
67 OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation,
71 OutputConfiguration(const std::vector<sp<IGraphicBufferProducer>>& gbps,
125 void addGraphicProducer(sp<IGraphicBufferProducer> gbp) {mGbps.push_back(gbp);} in addGraphicProducer()
127 std::vector<sp<IGraphicBufferProducer>> mGbps;
/frameworks/av/camera/include/camera/android/hardware/
DICamera.h29 class IGraphicBufferProducer; variable
66 const sp<IGraphicBufferProducer>& bufferProducer) = 0;
77 const sp<IGraphicBufferProducer>& callbackProducer) = 0;
142 const sp<IGraphicBufferProducer>& bufferProducer) = 0;
/frameworks/base/media/jni/
Dandroid_media_MediaSync.h29 class IGraphicBufferProducer; variable
36 status_t setSurface(const sp<IGraphicBufferProducer> &bufferProducer);
39 status_t createInputSurface(sp<IGraphicBufferProducer>* bufferProducer);
/frameworks/av/media/ndk/tests/
DAImageReaderWindowHandleTest.cpp31 IGraphicBufferProducer;
35 typedef IGraphicBufferProducer::QueueBufferInput QueueBufferInput;
36 typedef IGraphicBufferProducer::QueueBufferOutput QueueBufferOutput;
146 sp<IGraphicBufferProducer> igbp = new H2BGraphicBufferProducer(hgbp); in TEST_F()
149 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
154 ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & in TEST_F()
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DGraphicBufferSource.h38 class IGraphicBufferProducer; variable
87 sp<IGraphicBufferProducer> getIGraphicBufferProducer() const;
91 sp<::android::hardware::graphics::bufferqueue::V1_0::IGraphicBufferProducer>
96 sp<::android::hardware::graphics::bufferqueue::V2_0::IGraphicBufferProducer>
375 sp<IGraphicBufferProducer> mProducer;
/frameworks/av/media/codec2/hidl/1.0/utils/
DClientBlockHelper.cpp40 V2_0::IGraphicBufferProducer;
98 sp<HGraphicBufferProducer> getHgbp(const sp<IGraphicBufferProducer>& igbp) { in getHgbp()
106 const sp<IGraphicBufferProducer>& igbp, in attachToBufferQueue()
152 sp<IGraphicBufferProducer> mIgbp;
164 bool configure(const sp<IGraphicBufferProducer>& igbp, in configure()
271 sp<IGraphicBufferProducer> outputIgbp = mIgbp; in outputBuffer()
294 sp<IGraphicBufferProducer> outputIgbp = mIgbp; in outputBuffer()
339 bool OutputBufferQueue::configure(const sp<IGraphicBufferProducer>& igbp, in configure()

123456789