Home
last modified time | relevance | path

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

12345678910

/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp22 constexpr size_t IGraphicBufferProducer::QueueBufferInput::minFlattenedSize() { in minFlattenedSize()
34 size_t IGraphicBufferProducer::QueueBufferInput::getFlattenedSize() const { in getFlattenedSize()
41 size_t IGraphicBufferProducer::QueueBufferInput::getFdCount() const { in getFdCount()
45 status_t IGraphicBufferProducer::QueueBufferInput::flatten( in flatten()
79 status_t IGraphicBufferProducer::QueueBufferInput::unflatten( in unflatten()
115 constexpr size_t IGraphicBufferProducer::QueueBufferOutput::minFlattenedSize() { in minFlattenedSize()
120 size_t IGraphicBufferProducer::QueueBufferOutput::getFlattenedSize() const { in getFlattenedSize()
124 size_t IGraphicBufferProducer::QueueBufferOutput::getFdCount() const { in getFdCount()
128 status_t IGraphicBufferProducer::QueueBufferOutput::flatten( in flatten()
151 status_t IGraphicBufferProducer::QueueBufferOutput::unflatten( in unflatten()
[all …]
DIGraphicBufferProducer.cpp86 class BpGraphicBufferProducer : public BpInterface<IGraphicBufferProducer>
90 : BpInterface<IGraphicBufferProducer>(impl) in BpGraphicBufferProducer()
98 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in requestBuffer()
121 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in requestBuffers()
141 IGraphicBufferProducer::getInterfaceDescriptor()); in setMaxDequeuedBufferCount()
155 IGraphicBufferProducer::getInterfaceDescriptor()); in setAsyncMode()
172 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in dequeueBuffer()
218 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in dequeueBuffers()
239 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in detachBuffer()
252 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); in detachBuffers()
[all …]
DBatchBufferOps.cpp32 status_t IGraphicBufferProducer::requestBuffers( in requestBuffers()
45 status_t IGraphicBufferProducer::dequeueBuffers( in dequeueBuffers()
65 status_t IGraphicBufferProducer::detachBuffers( in detachBuffers()
76 status_t IGraphicBufferProducer::attachBuffers( in attachBuffers()
88 status_t IGraphicBufferProducer::queueBuffers( in queueBuffers()
100 status_t IGraphicBufferProducer::cancelBuffers( in cancelBuffers()
111 status_t IGraphicBufferProducer::query(const std::vector<int32_t> inputs, in query()
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/native/libs/gui/tests/
DStreamSplitter_test.cpp44 sp<IGraphicBufferProducer> inputProducer; in TEST_F()
48 sp<IGraphicBufferProducer> outputProducer; in TEST_F()
61 IGraphicBufferProducer::QueueBufferOutput qbOutput; in TEST_F()
69 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
80 IGraphicBufferProducer::QueueBufferInput qbInput(0, false, in TEST_F()
103 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
111 sp<IGraphicBufferProducer> inputProducer; in TEST_F()
115 sp<IGraphicBufferProducer> outputProducers[NUM_OUTPUTS] = {}; in TEST_F()
133 IGraphicBufferProducer::QueueBufferOutput qbOutput; in TEST_F()
141 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
[all …]
DIGraphicBufferProducer_test.cpp110 IGraphicBufferProducer::QueueBufferOutput output; in TryConnectProducer()
126 static IGraphicBufferProducer::QueueBufferInput CreateBufferInput() { in CreateBufferInput()
146 IGraphicBufferProducer::QueueBufferInput build() { in build()
147 return IGraphicBufferProducer::QueueBufferInput( in build()
224 IGraphicBufferProducer::DequeueBufferOutput* result) { in dequeueBuffer()
242 ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & in setupDequeueRequestBuffer()
258 sp<IGraphicBufferProducer> mProducer;
263 IGraphicBufferProducer::QueueBufferOutput output; in TEST_P()
284 IGraphicBufferProducer::QueueBufferOutput output; in TEST_P()
350 using QueryOutput = IGraphicBufferProducer::QueryOutput; in TEST_P()
[all …]
DBufferQueue_test.cpp74 void testBufferItem(const IGraphicBufferProducer::QueueBufferInput& input, in testBufferItem()
95 sp<IGraphicBufferProducer> mProducer;
116 sp<IGraphicBufferProducer> producer; in TEST_F()
129 mProducer = interface_cast<IGraphicBufferProducer>(binderProducer); in TEST_F()
138 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
145 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F()
156 IGraphicBufferProducer::QueueBufferInput input(0, false, in TEST_F()
178 IGraphicBufferProducer::QueueBufferOutput output; in TEST_F()
187 IGraphicBufferProducer::QueueBufferOutput qbo; in TEST_F()
194 IGraphicBufferProducer::QueueBufferInput qbi(0, false, in TEST_F()
[all …]
DBLASTBufferQueue_test.cpp154 sp<IGraphicBufferProducer> getIGraphicBufferProducer() { in getIGraphicBufferProducer()
236 void setUpProducer(BLASTBufferQueueHelper& adapter, sp<IGraphicBufferProducer>& producer, in setUpProducer()
242 void setUpProducer(sp<IGraphicBufferProducer>& igbProducer, int32_t maxBufferCount) { in setUpProducer()
245 IGraphicBufferProducer::QueueBufferOutput qbOutput; in setUpProducer()
320 void queueBuffer(sp<IGraphicBufferProducer> igbp, uint8_t r, uint8_t g, uint8_t b, in queueBuffer()
328 ASSERT_TRUE(ret == IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION || ret == NO_ERROR); in queueBuffer()
337 IGraphicBufferProducer::QueueBufferOutput qbOutput; in queueBuffer()
339 IGraphicBufferProducer::QueueBufferInput input(timestampNanos, false, HAL_DATASPACE_UNKNOWN, in queueBuffer()
380 sp<IGraphicBufferProducer> igbProducer; in TEST_F()
401 sp<IGraphicBufferProducer> igbProducer; 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/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h42 class IGraphicBufferProducer; variable
135 void onBufferReleasedByOutput(const sp<IGraphicBufferProducer>& from);
138 void onBufferReplacedLocked(const sp<IGraphicBufferProducer>& from, size_t surfaceId);
155 void returnOutputBufferLocked(const sp<Fence>& fence, const sp<IGraphicBufferProducer>& from,
166 wp<IGraphicBufferProducer> output);
177 wp<IGraphicBufferProducer> mOutput;
223 status_t outputBufferLocked(const sp<IGraphicBufferProducer>& output,
230 int getSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp,
249 sp<IGraphicBufferProducer> mProducer;
258 std::unordered_map<int, sp<IGraphicBufferProducer> > mOutputs;
[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;
/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.h36 const sp<IGraphicBufferProducer>& bufferProducer, in PersistentSurface()
45 const sp<IGraphicBufferProducer>& bufferProducer, in PersistentSurface()
52 sp<IGraphicBufferProducer> getBufferProducer() const { in getBufferProducer()
101 mBufferProducer = interface_cast<IGraphicBufferProducer>( in readFromParcel()
138 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/camera/tests/fuzzer/
Dcamera_c2OutputConfiguration_fuzzer.cpp40 sp<IGraphicBufferProducer> createIGraphicBufferProducer();
44 sp<IGraphicBufferProducer> C2OutputConfigurationFuzzer::createIGraphicBufferProducer() { in createIGraphicBufferProducer()
56 sp<IGraphicBufferProducer> gbp; in createIGraphicBufferProducer()
72 sp<IGraphicBufferProducer> iGBP = createIGraphicBufferProducer(); in getC2OutputConfig()
83 vector<sp<IGraphicBufferProducer>> iGBPs; in getC2OutputConfig()
85 sp<IGraphicBufferProducer> iGBP = createIGraphicBufferProducer(); in getC2OutputConfig()
116 sp<IGraphicBufferProducer> gbp = createIGraphicBufferProducer(); in invokeC2OutputConfigFuzzer()
/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/media/ndk/tests/
DAImageReaderWindowTest.cpp35 IGraphicBufferProducer;
41 typedef IGraphicBufferProducer::QueueBufferInput QueueBufferInput;
42 typedef IGraphicBufferProducer::QueueBufferOutput QueueBufferOutput;
130 void validateIGBP(sp<IGraphicBufferProducer>& igbp) { in validateIGBP()
133 IGraphicBufferProducer::QueueBufferOutput output; in validateIGBP()
138 ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & in validateIGBP()
203 sp<IGraphicBufferProducer> igbp = new H2BGraphicBufferProducer(hgbp); in TEST_F()
214 sp<IGraphicBufferProducer> igbp = Surface::getIGraphicBufferProducer(window); in TEST_F()
/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/codec2/hal/client/include/codec2/hidl/
Dclient.h104 struct IGraphicBufferProducer;
108 struct IGraphicBufferProducer;
428 IGraphicBufferProducer IGraphicBufferProducer; typedef
429 typedef IGraphicBufferProducer::
431 typedef IGraphicBufferProducer::
435 IGraphicBufferProducer HGraphicBufferProducer1;
437 IGraphicBufferProducer HGraphicBufferProducer2;
445 const sp<IGraphicBufferProducer>& surface,
558 typedef ::android::IGraphicBufferProducer IGraphicBufferProducer; typedef
560 sp<IGraphicBufferProducer> getGraphicBufferProducer() const;
[all …]
/frameworks/base/libs/hostgraphics/gui/
DSurface.h30 explicit Surface(const sp<IGraphicBufferProducer>& bufferProducer, bool controlledByApp = false)
52 IGraphicBufferProducer::DisconnectMode mode =
53 IGraphicBufferProducer::DisconnectMode::Api) {
139 const sp<IGraphicBufferProducer> mBufferProducer;
/frameworks/av/media/codec2/hal/client/include/codec2/aidl/
DGraphicsTracker.h36 using ::android::IGraphicBufferProducer;
79 c2_status_t configureGraphics(const sp<IGraphicBufferProducer>& igbp, uint32_t generation);
132 const IGraphicBufferProducer::QueueBufferInput& input,
133 IGraphicBufferProducer::QueueBufferOutput *output);
202 ::android::sp<IGraphicBufferProducer> mIgbp;
221 BufferCache(uint64_t bqId, uint32_t generation, const sp<IGraphicBufferProducer>& igbp) : in BufferCache()
DGraphicBufferAllocator.h55 bool configure(const ::android::sp<::android::IGraphicBufferProducer>& igbp,
130 const ::android::IGraphicBufferProducer::QueueBufferInput& input,
131 ::android::IGraphicBufferProducer::QueueBufferOutput *output);
/frameworks/av/media/module/bqhelper/include/media/stagefright/bqhelper/
DGraphicBufferSource.h36 class IGraphicBufferProducer; variable
85 sp<IGraphicBufferProducer> getIGraphicBufferProducer() const;
89 sp<::android::hardware::graphics::bufferqueue::V1_0::IGraphicBufferProducer>
94 sp<::android::hardware::graphics::bufferqueue::V2_0::IGraphicBufferProducer>
385 sp<IGraphicBufferProducer> mProducer;

12345678910