Home
last modified time | relevance | path

Searched refs:bufferProducer (Results 1 – 25 of 76) sorted by relevance

1234

/ohos5.0/base/useriam/face_auth/frameworks/js/napi/src/
H A Dface_auth_napi.cpp84 bool GetBufferProducerBySurfaceId(uint64_t surfaceId, sptr<IBufferProducer> &bufferProducer) in GetBufferProducerBySurfaceId() argument
88 bufferProducer = nullptr; in GetBufferProducerBySurfaceId()
104 bufferProducer = previewSurface->GetProducer(); in GetBufferProducerBySurfaceId()
105 if (bufferProducer == nullptr) { in GetBufferProducerBySurfaceId()
140 sptr<IBufferProducer> bufferProducer(nullptr); in SetSurfaceId() local
141 if (!GetBufferProducerBySurfaceId(surfaceId, bufferProducer)) { in SetSurfaceId()
146 int32_t result = FaceAuthClient::GetInstance().SetBufferProducer(bufferProducer); in SetSurfaceId()
/ohos5.0/base/useriam/face_auth/test/fuzztest/faceauthservice_fuzzer/
H A Dface_auth_service_fuzzer.cpp46 sptr<IBufferProducer> bufferProducer(nullptr); in FuzzSetBufferProducer() local
53 bufferProducer = surface->GetProducer(); in FuzzSetBufferProducer()
56 g_service->SetBufferProducer(bufferProducer); in FuzzSetBufferProducer()
/ohos5.0/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthinterfaceservice_fuzzer/
H A Dface_auth_interface_service_fuzzer.cpp51 sptr<IBufferProducer> bufferProducer = nullptr; in FuzzSetBufferProducer() local
58 bufferProducer = surface->GetProducer(); in FuzzSetBufferProducer()
61 new (std::nothrow) BufferProducerSequenceable(bufferProducer); in FuzzSetBufferProducer()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dstreamattachbufferqueue_fuzzer/
H A Ddstreamattachbufferqueue_fuzzer.cpp32 sptr<BufferProducerSequenceable> bufferProducer(new BufferProducerSequenceable()); in DstreamAttachBufferQueueFuzzTest() local
39 dCameraStreamOperator->AttachBufferQueue(streamId, bufferProducer); in DstreamAttachBufferQueueFuzzTest()
/ohos5.0/drivers/peripheral/face_auth/hdi_service/src/
H A Dface_auth_interface_service.cpp60 …FaceAuthInterfaceService::SetBufferProducer(const sptr<BufferProducerSequenceable> &bufferProducer) in SetBufferProducer() argument
63 UserIam::Common::GetPointerNullStateString(bufferProducer.GetRefPtr()).c_str()); in SetBufferProducer()
/ohos5.0/drivers/interface/camera/sequenceable/buffer_producer/
H A Dbuffer_producer_sequenceable.cpp51 sptr<OHOS::IBufferProducer> bufferProducer = OHOS::iface_cast<OHOS::IBufferProducer>(remoteObj); in Unmarshalling() local
52 sequenceData->producer_ = bufferProducer; in Unmarshalling()
/ohos5.0/drivers/interface/face_auth/v2_0/
H A DIFaceAuthInterface.idl66 * @param bufferProducer Indicates bufferProducer set to executor.
74 SetBufferProducer([in] BufferProducerSequenceable bufferProducer);
/ohos5.0/base/web/webview/ohos_adapter/aafwk_adapter/src/
H A Daafwk_browser_host_impl.cpp102 sptr<IBufferProducer> bufferProducer = iface_cast<IBufferProducer>(surfaceObject); in HandlePassSurface() local
103 if (bufferProducer == nullptr) { in HandlePassSurface()
107 sptr<Surface> surface = Surface::CreateSurfaceAsProducer(bufferProducer); in HandlePassSurface()
H A Daafwk_browser_client_adapter_impl.cpp156 sptr<IBufferProducer> bufferProducer = iface_cast<IBufferProducer>(surfaceObject); in QueryRenderSurface() local
157 sptr<Surface> surface = Surface::CreateSurfaceAsProducer(bufferProducer); in QueryRenderSurface()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/camera/
H A Dinterface_i_stream_operator_v10.md29 …tachbufferqueue) ([in] int streamId, [in] BufferProducerSequenceable bufferProducer) | 绑定生产者句柄和指定流…
42 …eamOperator::AttachBufferQueue ([in] int streamId, [in] BufferProducerSequenceable bufferProducer )
60 | bufferProducer | 生产者句柄。 |
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
H A Ddstream_operator_test.cpp266 sptr<BufferProducerSequenceable> bufferProducer = nullptr;; variable
267 rc = dstreamOperator_->AttachBufferQueue(streamInfo.streamId_, bufferProducer);
303 sptr<BufferProducerSequenceable> bufferProducer(new BufferProducerSequenceable(producer));
304 rc = dstreamOperator_->AttachBufferQueue(streamInfo.streamId_, bufferProducer);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Ddepth_data_output.cpp56 DepthDataOutput::DepthDataOutput(sptr<IBufferProducer> bufferProducer) in DepthDataOutput() argument
57 : CaptureOutput(CAPTURE_OUTPUT_TYPE_DEPTH_DATA, StreamType::DEPTH, bufferProducer, nullptr) in DepthDataOutput()
H A Dcapture_output.cpp29 …reOutput(CaptureOutputType outputType, StreamType streamType, sptr<IBufferProducer> bufferProducer, in CaptureOutput() argument
31 … outputType_(outputType), streamType_(streamType), stream_(stream), bufferProducer_(bufferProducer) in CaptureOutput()
/ohos5.0/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dstream_operator_service.cpp97 const sptr<BufferProducerSequenceable> &bufferProducer) in AttachBufferQueue() argument
100 return streamOperatorVdi_->AttachBufferQueue(streamId, bufferProducer); in AttachBufferQueue()
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_queue_consumer_test.cpp59 static inline sptr<IBufferProducer> bufferProducer = nullptr; member in OHOS::Rosen::BufferQueueConsumerTest
73 bufferProducer = csurface->GetProducer(); in SetUpTestCase()
74 surface = Surface::CreateSurfaceAsProducer(bufferProducer); in SetUpTestCase()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/video_capture/
H A Dvideo_capture_plugin.cpp129 sptr<IBufferProducer> bufferProducer = surfaceConsumer_->GetProducer(); in Prepare() local
130 if (!bufferProducer) { in Prepare()
134 surfaceProducer_ = Surface::CreateSurfaceAsProducer(bufferProducer); in Prepare()
/ohos5.0/base/useriam/face_auth/test/unittest/mock/
H A Dmock_iface_auth_interface.h31 … MOCK_METHOD1(SetBufferProducer, int32_t(const sptr<BufferProducerSequenceable> &bufferProducer));
/ohos5.0/drivers/peripheral/face_auth/hdi_service/include/
H A Dface_auth_interface_service.h32 int32_t SetBufferProducer(const sptr<BufferProducerSequenceable> &bufferProducer) override;
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinktrans/src/
H A Dscreen_sink_trans_test.cpp185 sptr<IBufferProducer> bufferProducer = surface->GetProducer(); variable
186 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(bufferProducer);
/ohos5.0/drivers/interface/face_auth/v1_0/
H A DIExecutor.idl151 * @param bufferProducer Indicates bufferProducer set to executor.
156 SetBufferProducer([in] BufferProducerSequenceable bufferProducer);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_0/foo/face_auth/v1_0/
H A DIExecutor.idl151 * @param bufferProducer Indicates bufferProducer set to executor.
156 SetBufferProducer([in] BufferProducerSequenceable bufferProducer);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/face_auth_v1_1/foo/face_auth/v1_0/
H A DIExecutor.idl151 * @param bufferProducer Indicates bufferProducer set to executor.
156 SetBufferProducer([in] BufferProducerSequenceable bufferProducer);
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Ddepth_data_output.h45 explicit DepthDataOutput(sptr<IBufferProducer> bufferProducer);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/camera_v1_0/cpp_target/camera/v1_0/
H A Dstream_operator_proxy.h.txt51 const sptr<OHOS::HDI::Camera::V1_0::BufferProducerSequenceable>& bufferProducer) override;
79 …const sptr<OHOS::HDI::Camera::V1_0::BufferProducerSequenceable>& bufferProducer, const sptr<IRemot…
/ohos5.0/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
H A Distream_operator_vdi.h51 …_t AttachBufferQueue(int32_t streamId, const sptr<BufferProducerSequenceable> &bufferProducer) = 0;

1234