Home
last modified time | relevance | path

Searched refs:g_previewOutput (Results 1 - 2 of 2) sorted by relevance

/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/
H A Ddcamera_client_demo.cpp44 static sptr<CaptureOutput> g_previewOutput = nullptr; member
186 previewProfile, previewProducerSurface, &((sptr<PreviewOutput> &)g_previewOutput)); in InitPreviewOutput()
191 ((sptr<PreviewOutput> &)g_previewOutput)->SetCallback(std::make_shared<DemoDCameraPreviewCallback>()); in InitPreviewOutput()
219 g_captureSession->AddOutput(g_previewOutput); in ConfigCaptureSession()
286 if (g_previewOutput != nullptr) { in ReleaseResource()
287 ((sptr<CameraStandard::PreviewOutput> &)g_previewOutput)->Stop(); in ReleaseResource()
288 g_previewOutput->Release(); in ReleaseResource()
289 g_previewOutput = nullptr; in ReleaseResource()
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/
H A Dmain.cpp46 static sptr<CaptureOutput> g_previewOutput = nullptr; variable
183 previewProfile, previewProducerSurface, &((sptr<PreviewOutput> &)g_previewOutput)); in InitPreviewOutput()
188 ((sptr<PreviewOutput> &)g_previewOutput)->SetCallback(std::make_shared<DemoDCameraPreviewCallback>()); in InitPreviewOutput()
216 g_captureSession->AddOutput(g_previewOutput); in ConfigCaptureSession()

Completed in 2 milliseconds