/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamSplitter.cpp | 212 sp<IGraphicBufferProducer> gbp = outputQueue->getIGraphicBufferProducer(); in addOutputLocked() local 214 sp<OutputListener> listener(new OutputListener(this, gbp)); in addOutputLocked() 215 IInterface::asBinder(gbp)->linkToDeath(listener); in addOutputLocked() 258 res = gbp->allowAllocation(false); in addOutputLocked() 265 mOutputs[surfaceId] = gbp; in addOutputLocked() 272 mNotifiers[gbp] = listener; in addOutputLocked() 273 mOutputSlots[gbp] = std::make_unique<OutputSlots>(totalBufferCount); in addOutputLocked() 306 sp<IGraphicBufferProducer> gbp = mOutputs[surfaceId]; in removeOutputLocked() local 310 auto& outputSlots = *mOutputSlots[gbp]; in removeOutputLocked() 314 auto rc = gbp->detachBuffer(i); in removeOutputLocked() [all …]
|
D | Camera3StreamSplitter.h | 228 int getSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp,
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposerClient.cpp | 52 sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, in createSurface() argument 58 handle, gbp, outLayerId, in createSurface() 66 sp<IGraphicBufferProducer>* gbp, int32_t* outLayerId, in createWithSurfaceParent() argument 72 std::move(metadata), handle, gbp, in createWithSurfaceParent()
|
D | SurfaceControl.cpp | 52 const sp<IGraphicBufferProducer>& gbp, int32_t layerId, in SurfaceControl() argument 57 mGraphicBufferProducer(gbp), in SurfaceControl()
|
D | BLASTBufferQueue.cpp | 860 auto gbp = getIGraphicBufferProducer(); in allocateBuffers() local 861 std::thread ([reqWidth, reqHeight, gbp=getIGraphicBufferProducer(), in allocateBuffers() 863 gbp->allocateBuffers(reqWidth, reqHeight, in allocateBuffers()
|
D | SurfaceComposerClient.cpp | 2091 sp<IGraphicBufferProducer> gbp; in createWithSurfaceParent() local 2096 std::move(metadata), &handle, &gbp, &id, in createWithSurfaceParent() 2103 return new SurfaceControl(this, handle, gbp, id, transformHint); in createWithSurfaceParent() 2120 sp<IGraphicBufferProducer> gbp; in createSurfaceChecked() local 2125 &handle, &gbp, &id, &transformHint); in createSurfaceChecked() 2133 new SurfaceControl(this, handle, gbp, id, w, h, format, transformHint, flags); in createSurfaceChecked()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.h | 53 sp<IGraphicBufferProducer>* gbp, int32_t* outLayerId, 60 sp<IGraphicBufferProducer>* gbp, int32_t* outLayerId,
|
D | SurfaceFlinger.cpp | 4752 sp<IGraphicBufferProducer>* gbp, in createBufferQueueLayer() argument 4778 *gbp = layer->getProducer(); in createBufferQueueLayer()
|
/frameworks/native/libs/gui/include/gui/ |
D | ISurfaceComposerClient.h | 62 sp<IGraphicBufferProducer>* gbp, int32_t* outLayerId, 72 sp<IGraphicBufferProducer>* gbp, int32_t* outLayerId,
|
D | SurfaceControl.h | 96 const sp<IGraphicBufferProducer>& gbp, int32_t layerId,
|
/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 91 OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation, 176 void addGraphicProducer(sp<IGraphicBufferProducer> gbp) {mGbps.push_back(gbp);} in addGraphicProducer() argument
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_utils_SurfaceUtils.cpp | 193 sp<IGraphicBufferProducer> gbp = s->getIGraphicBufferProducer(); in SurfaceUtils_nativeGetSurfaceId() local 194 if (gbp == NULL) { in SurfaceUtils_nativeGetSurfaceId() 198 sp<IBinder> b = IInterface::asBinder(gbp); in SurfaceUtils_nativeGetSurfaceId()
|
D | android_hardware_Camera.cpp | 680 sp<IGraphicBufferProducer> gbp; in android_hardware_Camera_setPreviewSurface() local 685 gbp = surface->getIGraphicBufferProducer(); in android_hardware_Camera_setPreviewSurface() 689 if (camera->setPreviewTarget(gbp) != NO_ERROR) { in android_hardware_Camera_setPreviewSurface() 726 sp<IGraphicBufferProducer> gbp; in android_hardware_Camera_setPreviewCallbackSurface() local 731 gbp = surface->getIGraphicBufferProducer(); in android_hardware_Camera_setPreviewCallbackSurface() 737 if (camera->setPreviewCallbackTarget(gbp) != NO_ERROR) { in android_hardware_Camera_setPreviewCallbackSurface()
|
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 244 OutputConfiguration::OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation, in OutputConfiguration() argument 247 mGbps.push_back(gbp); in OutputConfiguration() 299 for (auto& gbp : mGbps) { in writeToParcel() local 302 surfaceShim.graphicBufferProducer = gbp; in writeToParcel()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | SessionConfigurationUtils.h | 98 sp<Surface>& surface, const sp<IGraphicBufferProducer>& gbp,
|
D | SessionConfigurationUtils.cpp | 336 sp<Surface>& surface, const sp<IGraphicBufferProducer>& gbp, in createSurfaceFromGbp() argument 341 if (gbp == nullptr) { in createSurfaceFromGbp() 352 if ((err = gbp->getConsumerUsage(&consumerUsage)) != OK) { in createSurfaceFromGbp() 372 surface = new Surface(gbp, useAsync); in createSurfaceFromGbp()
|
/frameworks/native/libs/vr/libdvr/ |
D | dvr_buffer_queue.cpp | 32 sp<IGraphicBufferProducer> gbp = BufferHubProducer::Create(producer_queue_); in GetNativeWindow() local 33 native_window_ = new Surface(gbp, true); in GetNativeWindow()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 210 binder::Status CameraDeviceClient::insertGbpLocked(const sp<IGraphicBufferProducer>& gbp, in insertGbpLocked() argument 213 int idx = mStreamMap.indexOfKey(IInterface::asBinder(gbp)); in insertGbpLocked() 223 } else if ((compositeIdx = mCompositeStreamMap.indexOfKey(IInterface::asBinder(gbp))) in insertGbpLocked() 347 sp<IGraphicBufferProducer> gbp = surface->getIGraphicBufferProducer(); in submitRequestList() local 348 res = insertGbpLocked(gbp, &surfaceMap, &outputStreamIds, &streamId); in submitRequestList() 1813 for (const auto& gbp : mConfiguredOutputs.valueAt(index).getGraphicBufferProducers()) { in switchToOffline() local 1814 sp<Surface> s = new Surface(gbp, false /*controlledByApp*/); in switchToOffline() 1818 auto compositeIdx = mCompositeStreamMap.indexOfKey(IInterface::asBinder(gbp)); in switchToOffline()
|
D | CameraDeviceClient.h | 302 binder::Status insertGbpLocked(const sp<IGraphicBufferProducer>& gbp,
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 697 IGraphicBufferProducer* gbp = ImageReader_getProducer(env, thiz); in ImageReader_getSurface() local 698 if (gbp == NULL) { in ImageReader_getSurface() 704 return android_view_Surface_createFromIGraphicBufferProducer(env, gbp); in ImageReader_getSurface()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodec.cpp | 1570 android::sp<HGraphicBufferProducer> gbp; in CreateOmxInputSurface() local 1575 [&s, &gbp, &gbs]( in CreateOmxInputSurface() 1580 gbp = producer; in CreateOmxInputSurface() 1584 return new PersistentSurface(new H2BGraphicBufferProducer(gbp), gbs); in CreateOmxInputSurface() 2647 sp<IGraphicBufferProducer> gbp; in CreateInputSurface() local
|