Home
last modified time | relevance | path

Searched refs:pCam (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMuxer.cpp68 #define CHECK_CAMERA(pCam) \ argument
69 if (!pCam) { \
74 #define CHECK_CAMERA_ERROR(pCam) \ argument
75 if (!pCam) { \
334 qcamera_physical_descriptor_t *pCam = NULL; in set_preview_window() local
339 pCam = gMuxer->getPhysicalCamera(cam, i); in set_preview_window()
340 CHECK_CAMERA_ERROR(pCam); in set_preview_window()
343 if (pCam->mode == CAM_MODE_PRIMARY) { in set_preview_window()
344 QCamera2HardwareInterface *hwi = pCam->hwi; in set_preview_window()
346 rc = hwi->set_preview_window(pCam->dev, window); in set_preview_window()
[all …]
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DVtsHalEvsV1_0TargetTest.cpp121 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_P() local
122 ASSERT_NE(pCam, nullptr); in TEST_P()
125 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P()
132 pEnumerator->closeCamera(pCam); in TEST_P()
152 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_P() local
153 ASSERT_NE(pCam, nullptr); in TEST_P()
156 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P()
163 ASSERT_NE(pCam, pCam2); in TEST_P()
166 Return<EvsResult> result = pCam->setMaxFramesInFlight(2); in TEST_P()
176 pEnumerator->closeCamera(pCam); in TEST_P()
[all …]
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DVtsHalEvsV1_1TargetTest.cpp280 sp<IEvsCamera_1_1> pCam = pEnumerator->openCamera_1_1(cam.v1.cameraId, nullCfg); in TEST_P() local
281 ASSERT_NE(pCam, nullptr); in TEST_P()
285 pCam->getPhysicalCameraInfo(devName, in TEST_P()
293 activeCameras.push_back(pCam); in TEST_P()
296 pCam->getCameraInfo_1_1([&cam](CameraDesc desc) { in TEST_P()
305 auto err = pCam->setExtendedInfo_1_1(id, values); in TEST_P()
308 pCam->getExtendedInfo_1_1(id, [](const auto& result, const auto& data) { in TEST_P()
314 pEnumerator->closeCamera(pCam); in TEST_P()
347 sp<IEvsCamera_1_1> pCam = in TEST_P() local
350 ASSERT_NE(pCam, nullptr); in TEST_P()
[all …]
/hardware/interfaces/automotive/evs/1.1/vts/fuzzing/
DVtsHalEvsV1_1CameraOpenFuzz.cpp46 sp<IEvsCamera_1_1> pCam = in LLVMFuzzerTestOneInput() local
50 camList.emplace_back(pCam); in LLVMFuzzerTestOneInput()