Home
last modified time | relevance | path

Searched refs:cam (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMuxer.cpp335 qcamera_logical_descriptor_t *cam = gMuxer->getLogicalCamera(device); in set_preview_window() local
336 CHECK_CAMERA_ERROR(cam); in set_preview_window()
338 for (uint32_t i = 0; i < cam->numCameras; i++) { in set_preview_window()
339 pCam = gMuxer->getPhysicalCamera(cam, i); in set_preview_window()
383 qcamera_logical_descriptor_t *cam = gMuxer->getLogicalCamera(device); in set_callBacks() local
384 CHECK_CAMERA(cam); in set_callBacks()
387 for (uint32_t i = 0; i < cam->numCameras; i++) { in set_callBacks()
388 pCam = gMuxer->getPhysicalCamera(cam, i); in set_callBacks()
447 qcamera_logical_descriptor_t *cam = gMuxer->getLogicalCamera(device); in enable_msg_type() local
448 CHECK_CAMERA(cam); in enable_msg_type()
[all …]
DQCameraParameters.h912 cam_dual_camera_perf_mode_t getLowPowerMode(cam_sync_type_t cam);
DQCameraParameters.cpp15858 cam_dual_camera_perf_mode_t QCameraParameters::getLowPowerMode(cam_sync_type_t cam) in getLowPowerMode() argument
15864 if (cam == CAM_TYPE_MAIN) { in getLowPowerMode()
15868 } else if (cam == CAM_TYPE_AUX) { in getLowPowerMode()
15891 LOGD("LPM for %s camera: %d", cam == CAM_TYPE_MAIN ? "main" : "aux", lpm); in getLowPowerMode()
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DVtsHalEvsV1_0TargetTest.cpp86 for (auto&& cam: cameraList) { in loadCameraList()
87 ALOGI("Found camera %s", cam.cameraId.c_str()); in loadCameraList()
88 cameraInfo.push_back(cam); in loadCameraList()
119 for (auto&& cam: cameraInfo) { in TEST_P()
121 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_P()
125 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P()
127 EXPECT_EQ(cam.cameraId, desc.cameraId); in TEST_P()
151 for (auto&& cam: cameraInfo) { in TEST_P()
152 sp<IEvsCamera> pCam = pEnumerator->openCamera(cam.cameraId); in TEST_P()
156 pCam->getCameraInfo([&cam](CameraDesc desc) { in TEST_P()
[all …]
/hardware/interfaces/automotive/evs/1.0/default/
DEvsEnumerator.cpp59 for (const auto& cam : sCameraList) { in getCameraList() local
60 descriptions.push_back( cam.desc ); in getCameraList()
80 for (auto &&cam : sCameraList) { in openCamera()
81 if (cam.desc.cameraId == cameraId) { in openCamera()
83 pRecord = &cam; in openCamera()
131 for (auto &&cam : sCameraList) { in closeCamera()
132 if (cam.desc.cameraId == cameraId) { in closeCamera()
134 pRecord = &cam; in closeCamera()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c489 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { in notify_evt_cb()
518 rc = cam_app->hal_lib.mm_camera_open((uint8_t)cam_id, &(test_obj->cam)); in mm_app_open()
519 if(rc || !test_obj->cam) { in mm_app_open()
520 LOGE("dev open error. rc = %d, vtbl = %p\n", rc, test_obj->cam); in mm_app_open()
524 LOGD("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); in mm_app_open()
541 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
565 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
577 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, in mm_app_open()
586 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); in mm_app_open()
617 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
[all …]
Dmm_qcamera_reprocess.c87 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_reprocess_notify_cb()
328 rc = test_obj->cam->ops->set_stream_parms(test_obj->cam->camera_handle, in mm_app_do_reprocess()
343 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, in mm_app_release_ppinput()
Dmm_qcamera_video.c111 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb()
225 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
292 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb()
300 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_preview_notify_cb()
321 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); in mm_app_video_notify_cb()
324 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_video_notify_cb()
Dmm_qcamera_snapshot.c63 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, in jpeg_encode_cb()
338 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb()
403 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb_raw()
517 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
Dmm_qcamera_rdi.c77 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); in mm_app_rdi_notify_cb()
80 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_rdi_notify_cb()
Dmm_qcamera_preview.c215 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb()
328 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_notify_cb()
398 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb()
406 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_preview_notify_cb()
589 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
600 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
609 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_zsl_notify_cb()
Dmm_qcamera_main_menu.c2318 if (lib_handle.test_obj.cam != NULL) { in submain()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraFOVControl.h232 cam_sync_type_t cam);
233 cam_roi_info_t translateFocusAreas(cam_roi_info_t roiAfMain, cam_sync_type_t cam);
234 cam_set_aec_roi_t translateMeteringAreas(cam_set_aec_roi_t roiAecMain, cam_sync_type_t cam);
239 bool canSwitchMasterTo(cam_type cam);
DQCameraFOVControl.cpp1317 cam_type cam) in canSwitchMasterTo() argument
1333 if (cam == CAM_TYPE_WIDE) { in canSwitchMasterTo()
1349 } else if (cam == CAM_TYPE_TELE) { in canSwitchMasterTo()
1843 cam_sync_type_t cam) in translateFocusAreas() argument
1860 if (cam == mFovControlData.camWide) { in translateFocusAreas()
1869 if (cam == mFovControlData.camWide) { in translateFocusAreas()
1926 (cam == CAM_TYPE_MAIN) ? "main cam" : "aux cam", roiAfTrans.roi[i].left, in translateFocusAreas()
1947 cam_sync_type_t cam) in translateMeteringAreas() argument
1964 if (cam == mFovControlData.camWide) { in translateMeteringAreas()
1973 if (cam == mFovControlData.camWide) { in translateMeteringAreas()
[all …]
/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.cpp101 std::unique_ptr<V4L2Camera> cam(V4L2Camera::NewV4L2Camera(id++, node)); in V4L2CameraHAL() local
102 if (cam) { in V4L2CameraHAL()
103 mCameras.push_back(std::move(cam)); in V4L2CameraHAL()
Dcamera.cpp46 Camera* cam = static_cast<Camera*>(cam_dev->priv); in close_device() local
47 return cam->close(); in close_device()
/hardware/libhardware/modules/usbcamera/
DCamera.cpp49 Camera* cam = static_cast<Camera*>(cam_dev->priv); in close_device() local
50 return cam->close(); in close_device()
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp51 Camera* cam = static_cast<Camera*>(cam_dev->priv); in close_device() local
52 return cam->close(); in close_device()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h210 mm_camera_vtbl_t *cam; member
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp16631 XMLElement *cam = rig->FirstChildElement("camera"); in readSensorCalibration() local
16633 while (cam != nullptr) { in readSensorCalibration()
16634 camModel = cam->FirstChildElement("camera_model"); in readSensorCalibration()
16644 cam = cam->NextSiblingElement("camera"); in readSensorCalibration()
16646 if (cam == nullptr) { in readSensorCalibration()