Home
last modified time | relevance | path

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

12345678910

/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()
179 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
188 IGraphicBufferProducer::QueueBufferOutput qbo; in TEST_F()
196 IGraphicBufferProducer::QueueBufferInput qbi(0, false, in TEST_F()
[all …]
DBLASTBufferQueue_test.cpp63 sp<IGraphicBufferProducer> getIGraphicBufferProducer() { in getIGraphicBufferProducer()
125 void setUpProducer(BLASTBufferQueueHelper adapter, sp<IGraphicBufferProducer>& producer) { in setUpProducer()
129 IGraphicBufferProducer::QueueBufferOutput qbOutput; in setUpProducer()
244 sp<IGraphicBufferProducer> igbProducer; in TEST_F()
253 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, ret); in TEST_F()
257 IGraphicBufferProducer::QueueBufferOutput qbOutput; in TEST_F()
258 IGraphicBufferProducer::QueueBufferInput input(desiredPresentTime, false, HAL_DATASPACE_UNKNOWN, in TEST_F()
275 sp<IGraphicBufferProducer> igbProducer; in TEST_F()
284 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, ret); in TEST_F()
293 IGraphicBufferProducer::QueueBufferOutput qbOutput; in TEST_F()
[all …]
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp79 class BpGraphicBufferProducer : public BpInterface<IGraphicBufferProducer>
83 : BpInterface<IGraphicBufferProducer>(impl) in BpGraphicBufferProducer()
91 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in requestBuffer()
113 IGraphicBufferProducer::getInterfaceDescriptor()); in setMaxDequeuedBufferCount()
127 IGraphicBufferProducer::getInterfaceDescriptor()); in setAsyncMode()
144 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in dequeueBuffer()
188 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in detachBuffer()
208 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in detachNextBuffer()
240 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in attachBuffer()
263 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in queueBuffer()
[all …]
DQueueBufferInputOutput.cpp27 constexpr size_t IGraphicBufferProducer::QueueBufferInput::minFlattenedSize() { in minFlattenedSize()
38 IGraphicBufferProducer::QueueBufferInput::QueueBufferInput(const Parcel& parcel) { in QueueBufferInput()
42 size_t IGraphicBufferProducer::QueueBufferInput::getFlattenedSize() const { in getFlattenedSize()
49 size_t IGraphicBufferProducer::QueueBufferInput::getFdCount() const { in getFdCount()
53 status_t IGraphicBufferProducer::QueueBufferInput::flatten( in flatten()
81 status_t IGraphicBufferProducer::QueueBufferInput::unflatten( in unflatten()
111 constexpr size_t IGraphicBufferProducer::QueueBufferOutput::minFlattenedSize() { in minFlattenedSize()
115 size_t IGraphicBufferProducer::QueueBufferOutput::getFlattenedSize() const { in getFlattenedSize()
119 size_t IGraphicBufferProducer::QueueBufferOutput::getFdCount() const { in getFdCount()
123 status_t IGraphicBufferProducer::QueueBufferOutput::flatten( in flatten()
[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()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h40 class IGraphicBufferProducer; variable
130 void onBufferReleasedByOutput(const sp<IGraphicBufferProducer>& from);
133 void onBufferReplacedLocked(const sp<IGraphicBufferProducer>& from, size_t surfaceId);
150 void returnOutputBufferLocked(const sp<Fence>& fence, const sp<IGraphicBufferProducer>& from,
161 wp<IGraphicBufferProducer> output);
172 wp<IGraphicBufferProducer> mOutput;
218 status_t outputBufferLocked(const sp<IGraphicBufferProducer>& output,
225 int getSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp,
243 sp<IGraphicBufferProducer> mProducer;
252 std::unordered_map<int, sp<IGraphicBufferProducer> > mOutputs;
[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
60 sp<IGraphicBufferProducer>* gbp, uint32_t* outTransformHint) = 0;
67 const sp<IGraphicBufferProducer>& parent,
69 sp<IGraphicBufferProducer>* gbp,
DSurfaceControl.h38 class IGraphicBufferProducer; variable
74 sp<IGraphicBufferProducer> getIGraphicBufferProducer() const;
88 const sp<IGraphicBufferProducer>& gbp, uint32_t transformHint = 0);
105 sp<IGraphicBufferProducer> mGraphicBufferProducer;
DIGraphicBufferProducer.h50 IGraphicBufferProducer;
53 IGraphicBufferProducer;
70 class IGraphicBufferProducer : public IInterface {
75 class IGraphicBufferProducer : public RefBase {
645 static status_t exportToParcel(const sp<IGraphicBufferProducer>& producer,
649 static sp<IGraphicBufferProducer> createFromParcel(const Parcel* parcel);
665 class BnGraphicBufferProducer : public BnInterface<IGraphicBufferProducer>
674 class BnGraphicBufferProducer : public IGraphicBufferProducer {
/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);
DBufferProducerWrapper.h32 const sp<IGraphicBufferProducer>& bufferProducer) : in BufferProducerWrapper()
35 sp<IGraphicBufferProducer> getBufferProducer() const { in getBufferProducer()
40 const sp<IGraphicBufferProducer> mBufferProducer;
DPersistentSurface.h34 const sp<IGraphicBufferProducer>& bufferProducer, in PersistentSurface()
39 sp<IGraphicBufferProducer> getBufferProducer() const { in getBufferProducer()
64 mBufferProducer = interface_cast<IGraphicBufferProducer>( in readFromParcel()
81 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.h86 struct IGraphicBufferProducer;
90 struct IGraphicBufferProducer;
359 IGraphicBufferProducer IGraphicBufferProducer; typedef
360 typedef IGraphicBufferProducer::
362 typedef IGraphicBufferProducer::
366 IGraphicBufferProducer HGraphicBufferProducer1;
368 IGraphicBufferProducer HGraphicBufferProducer2;
376 const sp<IGraphicBufferProducer>& surface,
449 typedef ::android::IGraphicBufferProducer IGraphicBufferProducer; typedef
451 sp<IGraphicBufferProducer> getGraphicBufferProducer() const;
[all …]
/frameworks/hardware/interfaces/automotive/display/1.0/
DIAutomotiveDisplayProxyService.hal19 import android.hardware.graphics.bufferqueue@2.0::IGraphicBufferProducer;
23 * Gets an IGraphicBufferProducer instance from the service.
27 * @return igbp Returns an IGraphicBufferProducer object, that can be
30 getIGraphicBufferProducer(uint64_t id) generates (IGraphicBufferProducer igbp);
34 * IGraphicBufferProducer, to be visible and to take over the display.
44 * IGraphicBufferProducer, to be invisible and to release the control
/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/native/services/surfaceflinger/
DSurfaceFlingerFactory.h42 class IGraphicBufferProducer; variable
90 virtual void createBufferQueue(sp<IGraphicBufferProducer>* outProducer,
93 virtual sp<IGraphicBufferProducer> createMonitoredProducer(const sp<IGraphicBufferProducer>&,
101 const sp<IGraphicBufferProducer>&) = 0;
DSurfaceFlingerDefaultFactory.h44 void createBufferQueue(sp<IGraphicBufferProducer>* outProducer,
47 sp<IGraphicBufferProducer> createMonitoredProducer(const sp<IGraphicBufferProducer>&,
54 const sp<IGraphicBufferProducer>&) override;
/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/libs/hostgraphics/gui/
DSurface.h29 explicit Surface(const sp<IGraphicBufferProducer>& bufferProducer,
41 IGraphicBufferProducer::DisconnectMode mode =
42 IGraphicBufferProducer::DisconnectMode::Api) {
/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);

12345678910