/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamSplitter.cpp | 164 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 …]
|
D | Camera3StreamSplitter.h | 206 int getSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp, 209 status_t removeSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp,
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 139 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()
|
D | Client.h | 63 sp<IGraphicBufferProducer>* gbp);
|
D | SurfaceFlinger_hwc1.cpp | 245 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 …]
|
D | SurfaceFlinger.cpp | 265 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 …]
|
D | SurfaceInterceptor.cpp | 360 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()
|
D | SurfaceFlinger.h | 269 … virtual sp<ISurfaceComposerClient> createScopedConnection(const sp<IGraphicBufferProducer>& gbp); 376 sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent);
|
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 162 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/ |
D | ISurfaceComposerClient.cpp | 52 sp<IGraphicBufferProducer>* gbp) override { in createSurface() argument 57 handle, gbp); in createSurface()
|
D | SurfaceControl.cpp | 51 const sp<IGraphicBufferProducer>& gbp) in SurfaceControl() argument 52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) in SurfaceControl()
|
D | SurfaceComposerClient.cpp | 680 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/ |
D | dvr_buffer_queue.cpp | 78 sp<IGraphicBufferProducer> gbp = in dvrWriteBufferQueueGetExternalSurface() local 80 sp<Surface> surface = new Surface(gbp, true); in dvrWriteBufferQueueGetExternalSurface()
|
/frameworks/native/include/gui/ |
D | ISurfaceComposerClient.h | 54 sp<IGraphicBufferProducer>* gbp) = 0;
|
D | SurfaceControl.h | 155 const sp<IGraphicBufferProducer>& gbp);
|
/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 66 OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation,
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 684 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()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 644 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/ |
D | android_media_ImageReader.cpp | 652 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/ |
D | CameraDeviceClient.cpp | 199 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()
|
D | CameraDeviceClient.h | 268 sp<Surface>& surface, const sp<IGraphicBufferProducer>& gbp);
|