Home
last modified time | relevance | path

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

/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/
H A Ddcamera_client_demo.cpp45 static sptr<CaptureOutput> g_videoOutput = nullptr; member
207 int rv = g_cameraManager->CreateVideoOutput(videoSettings, pSurface, &((sptr<VideoOutput> &)g_videoOutput)); in InitVideoOutput()
212 ((sptr<VideoOutput> &)g_videoOutput)->SetCallback(std::make_shared<DemoDCameraVideoCallback>()); in InitVideoOutput()
220 g_captureSession->AddOutput(g_videoOutput); in ConfigCaptureSession()
295 if (g_videoOutput != nullptr) { in ReleaseResource()
296 g_videoOutput->Release(); in ReleaseResource()
297 g_videoOutput = nullptr; in ReleaseResource()
328 int32_t ret = ((sptr<VideoOutput> &)g_videoOutput)->Start(); in Video()
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/
H A Dmain.cpp47 static sptr<CaptureOutput> g_videoOutput = nullptr; variable
204 int rv = g_cameraManager->CreateVideoOutput(videoSettings, pSurface, &((sptr<VideoOutput> &)g_videoOutput)); in InitVideoOutput()
209 ((sptr<VideoOutput> &)g_videoOutput)->SetCallback(std::make_shared<DemoDCameraVideoCallback>()); in InitVideoOutput()
217 g_captureSession->AddOutput(g_videoOutput); in ConfigCaptureSession()
315 if (((sptr<VideoOutput> &)g_videoOutput)->Start() != DCAMERA_OK) { in main()
316 DHLOGE("main g_videoOutput Start failed"); in main()
326 if (((sptr<VideoOutput> &)g_videoOutput)->Stop() != DCAMERA_OK) { in main()
327 DHLOGE("main g_videoOutput Stop failed"); in main()

Completed in 2 milliseconds