Home
last modified time | relevance | path

Searched refs:gbp (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp164 sp<IGraphicBufferProducer> gbp = outputQueue->getIGraphicBufferProducer(); in addOutputLocked() local
166 sp<OutputListener> listener(new OutputListener(this, gbp)); in addOutputLocked()
167 IInterface::asBinder(gbp)->linkToDeath(listener); in addOutputLocked()
206 res = gbp->allowAllocation(false); in addOutputLocked()
213 mOutputs.push_back(gbp); in addOutputLocked()
214 mNotifiers[gbp] = listener; in addOutputLocked()
215 mOutputSlots[gbp] = std::make_unique<OutputSlots>(totalBufferCount); in addOutputLocked()
285 sp<IGraphicBufferProducer>& gbp = mOutputs[surface]; in notifyBufferReleased() local
286 OutputSlots& outputSlots = *(mOutputSlots[gbp]); in notifyBufferReleased()
287 int slot = getSlotForOutputLocked(gbp, buffer); in notifyBufferReleased()
[all …]
DCamera3StreamSplitter.h206 int getSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp,
209 status_t removeSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp,
/frameworks/native/services/surfaceflinger/
DClient.cpp139 sp<IGraphicBufferProducer>* gbp) in createSurface() argument
166 sp<IGraphicBufferProducer>* gbp; in createSurface() member in android::Client::createSurface::MessageCreateLayer
180 sp<IGraphicBufferProducer>* gbp, in createSurface() argument
183 handle(handle), gbp(gbp), result(NO_ERROR), in createSurface()
190 windowType, ownerUid, handle, gbp, parent); in createSurface()
197 windowType, ownerUid, gbp, &parent); in createSurface()
DClient.h63 sp<IGraphicBufferProducer>* gbp);
DSurfaceFlinger_hwc1.cpp245 const sp<IGraphicBufferProducer>& gbp) { in createScopedConnection() argument
246 if (authenticateSurfaceTexture(gbp) == false) { in createScopedConnection()
249 const auto& layer = (static_cast<MonitoredProducer*>(gbp.get()))->getLayer(); in createScopedConnection()
2631 const sp<IGraphicBufferProducer>& gbp = s.barrierGbp; in setClientStateLocked() local
2632 if (authenticateSurfaceTextureLocked(gbp)) { in setClientStateLocked()
2634 (static_cast<MonitoredProducer*>(gbp.get()))->getLayer(); in setClientStateLocked()
2666 sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) in createLayer() argument
2684 handle, gbp, &layer); in createLayer()
2689 handle, gbp, &layer); in createLayer()
2702 result = addClientLayer(client, *handle, *gbp, layer, *parent); in createLayer()
[all …]
DSurfaceFlinger.cpp265 const sp<IGraphicBufferProducer>& gbp) { in createScopedConnection() argument
266 if (authenticateSurfaceTexture(gbp) == false) { in createScopedConnection()
269 const auto& layer = (static_cast<MonitoredProducer*>(gbp.get()))->getLayer(); in createScopedConnection()
2971 const sp<IGraphicBufferProducer>& gbp = s.barrierGbp; in setClientStateLocked() local
2972 if (authenticateSurfaceTextureLocked(gbp)) { in setClientStateLocked()
2974 (static_cast<MonitoredProducer*>(gbp.get()))->getLayer(); in setClientStateLocked()
3006 sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) in createLayer() argument
3024 handle, gbp, &layer); in createLayer()
3029 handle, gbp, &layer); in createLayer()
3042 result = addClientLayer(client, *handle, *gbp, layer, *parent); in createLayer()
[all …]
DSurfaceInterceptor.cpp360 auto const& gbp = state.barrierGbp; in addSurfaceChangesLocked() local
361 if (mFlinger->authenticateSurfaceTextureLocked(gbp)) { in addSurfaceChangesLocked()
362 otherLayer = (static_cast<MonitoredProducer*>(gbp.get()))->getLayer(); in addSurfaceChangesLocked()
DSurfaceFlinger.h269 … virtual sp<ISurfaceComposerClient> createScopedConnection(const sp<IGraphicBufferProducer>& gbp);
376 sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent);
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp162 OutputConfiguration::OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation, in OutputConfiguration() argument
164 mGbps.push_back(gbp); in OutputConfiguration()
198 for (auto& gbp : mGbps) { in writeToParcel() local
201 surfaceShim.graphicBufferProducer = gbp; in writeToParcel()
/frameworks/native/libs/gui/
DISurfaceComposerClient.cpp52 sp<IGraphicBufferProducer>* gbp) override { in createSurface() argument
57 handle, gbp); in createSurface()
DSurfaceControl.cpp51 const sp<IGraphicBufferProducer>& gbp) in SurfaceControl() argument
52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) in SurfaceControl()
DSurfaceComposerClient.cpp680 sp<IGraphicBufferProducer> gbp; in createSurface() local
686 windowType, ownerUid, &handle, &gbp); in createSurface()
689 sur = new SurfaceControl(this, handle, gbp); in createSurface()
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp78 sp<IGraphicBufferProducer> gbp = in dvrWriteBufferQueueGetExternalSurface() local
80 sp<Surface> surface = new Surface(gbp, true); in dvrWriteBufferQueueGetExternalSurface()
/frameworks/native/include/gui/
DISurfaceComposerClient.h54 sp<IGraphicBufferProducer>* gbp) = 0;
DSurfaceControl.h155 const sp<IGraphicBufferProducer>& gbp);
/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h66 OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation,
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp684 sp<IGraphicBufferProducer> gbp; in android_hardware_Camera_setPreviewSurface() local
689 gbp = surface->getIGraphicBufferProducer(); in android_hardware_Camera_setPreviewSurface()
693 if (camera->setPreviewTarget(gbp) != NO_ERROR) { in android_hardware_Camera_setPreviewSurface()
730 sp<IGraphicBufferProducer> gbp; in android_hardware_Camera_setPreviewCallbackSurface() local
735 gbp = surface->getIGraphicBufferProducer(); in android_hardware_Camera_setPreviewCallbackSurface()
741 if (camera->setPreviewCallbackTarget(gbp) != NO_ERROR) { in android_hardware_Camera_setPreviewCallbackSurface()
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp644 sp<IGraphicBufferProducer> gbp = s->getIGraphicBufferProducer(); in LegacyCameraDevice_nativeGetSurfaceId() local
645 if (gbp == NULL) { in LegacyCameraDevice_nativeGetSurfaceId()
649 sp<IBinder> b = IInterface::asBinder(gbp); in LegacyCameraDevice_nativeGetSurfaceId()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp652 IGraphicBufferProducer* gbp = ImageReader_getProducer(env, thiz); in ImageReader_getSurface() local
653 if (gbp == NULL) { in ImageReader_getSurface()
659 return android_view_Surface_createFromIGraphicBufferProducer(env, gbp); in ImageReader_getSurface()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp199 sp<IGraphicBufferProducer> gbp = surface->getIGraphicBufferProducer(); in submitRequestList() local
200 int idx = mStreamMap.indexOfKey(IInterface::asBinder(gbp)); in submitRequestList()
755 sp<Surface>& surface, const sp<IGraphicBufferProducer>& gbp) { in createSurfaceFromGbp() argument
758 if (gbp == nullptr) { in createSurfaceFromGbp()
769 if ((err = gbp->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, in createSurfaceFromGbp()
790 surface = new Surface(gbp, useAsync); in createSurfaceFromGbp()
DCameraDeviceClient.h268 sp<Surface>& surface, const sp<IGraphicBufferProducer>& gbp);