Home
last modified time | relevance | path

Searched refs:camera_id (Results 1 – 25 of 30) sorted by relevance

12

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraFlash.cpp138 int32_t QCameraFlash::initFlash(const int camera_id) in initFlash() argument
145 if (camera_id < 0 || camera_id >= MM_CAMERA_MAX_NUM_SENSORS) { in initFlash()
146 LOGE("Invalid camera id: %d", camera_id); in initFlash()
150 QCamera3HardwareInterface::getFlashInfo(camera_id, in initFlash()
160 camera_id); in initFlash()
162 } else if (m_cameraOpen[camera_id]) { in initFlash()
164 camera_id); in initFlash()
166 } else if (m_flashFds[camera_id] >= 0) { in initFlash()
168 camera_id); in initFlash()
170 m_flashFds[camera_id] = open(flashPath, O_RDWR | O_NONBLOCK); in initFlash()
[all …]
DQCameraFlash.h49 int32_t initFlash(const int camera_id);
50 int32_t setFlashMode(const int camera_id, const bool on);
51 int32_t deinitFlash(const int camera_id);
52 int32_t reserveFlashForCamera(const int camera_id);
53 int32_t releaseFlashFromCamera(const int camera_id);
/hardware/qcom/camera/msm8998/QCamera2/
DQCamera2Factory.h50 static int get_camera_info(int camera_id, struct camera_info *info);
54 static int set_torch_mode(const char* camera_id, bool on);
59 int getCameraInfo(int camera_id, struct camera_info *info);
61 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
66 int setTorchMode(const char* camera_id, bool on);
/hardware/libhardware/include/hardware/
Dcamera_common.h618 int camera_id,
641 const char* camera_id,
728 int (*get_camera_info)(int camera_id, struct camera_info *info);
879 int (*set_torch_mode)(const char* camera_id, bool enabled);
/hardware/interfaces/camera/provider/2.4/default/
DCameraProvider.h109 int camera_id,
113 const char* camera_id,
116 void addDeviceNames(int camera_id, CameraDeviceStatus status = CameraDeviceStatus::PRESENT,
118 void removeDeviceNames(int camera_id);
DCameraProvider.cpp71 void CameraProvider::addDeviceNames(int camera_id, CameraDeviceStatus status, bool cam_new) in addDeviceNames() argument
74 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in addDeviceNames()
81 int deviceVersion = mModule->getDeviceVersion(camera_id); in addDeviceNames()
111 void CameraProvider::removeDeviceNames(int camera_id) in removeDeviceNames() argument
113 std::string cameraIdStr = std::to_string(camera_id); in removeDeviceNames()
117 int deviceVersion = mModule->getDeviceVersion(camera_id); in removeDeviceNames()
132 mModule->removeCamera(camera_id); in removeDeviceNames()
140 int camera_id, in sCameraDeviceStatusChange() argument
153 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in sCameraDeviceStatusChange()
170 cp->addDeviceNames(camera_id, status, true); in sCameraDeviceStatusChange()
[all …]
/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.h43 int getCameraInfo(int camera_id, camera_info_t* info);
50 int setTorchMode(const char* camera_id, bool enabled);
Dv4l2_camera_hal.cpp149 int V4L2CameraHAL::setTorchMode(const char* camera_id, bool enabled) { in setTorchMode() argument
203 static int set_torch_mode(const char* camera_id, bool enabled) { in set_torch_mode() argument
204 return gCameraHAL.setTorchMode(camera_id, enabled); in set_torch_mode()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMuxer.h146 static int get_camera_info(int camera_id, struct camera_info *info);
257 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
259 int getCameraInfo(int camera_id, struct camera_info *info,
DQCameraMuxer.cpp219 int QCameraMuxer::get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
224 if ((camera_id < 0) || (camera_id >= gMuxer->getNumberOfCameras())) { in get_camera_info()
225 LOGE("Camera id %d not found!", camera_id); in get_camera_info()
229 rc = gMuxer->getCameraInfo(camera_id, info, &type); in get_camera_info()
1910 int QCameraMuxer::getCameraInfo(int camera_id, in getCameraInfo() argument
1914 LOGH("E, camera_id = %d", camera_id); in getCameraInfo()
1916 if (!m_nLogicalCameras || (camera_id >= m_nLogicalCameras) || in getCameraInfo()
1917 !info || (camera_id < 0)) { in getCameraInfo()
1919 m_nLogicalCameras, camera_id); in getCameraInfo()
1928 m_pLogicalCamera[camera_id].pId[ in getCameraInfo()
[all …]
/hardware/libhardware/modules/camera/3_0/
DCameraHAL.h37 int getCameraInfo(int camera_id, struct camera_info *info);
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/
DQCameraHAL3Base.cpp78 int camera_id, int new_status) in camera_device_status_change() argument
82 LOGD("Parameters are NULL %d %d", camera_id, new_status); in camera_device_status_change()
88 const char* camera_id, int new_status) in torch_mode_status_change() argument
91 if((callbacks == NULL) || (camera_id == NULL)) { in torch_mode_status_change()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_camera_interface.h1023 struct camera_info *get_cam_info(uint32_t camera_id, cam_sync_type_t *pCamType);
1025 uint8_t is_yuv_sensor(uint32_t camera_id);
1027 cam_sync_type_t get_cam_type(uint32_t camera_id);
1032 uint8_t is_dual_camera_by_idx(uint32_t camera_id);
/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/
DQualcommCamera.h39 int get_camera_info(int camera_id, struct camera_info *info);
DQualcommCamera.cpp112 extern "C" int get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
118 QCamera2Factory::get_camera_info(camera_id, info); in get_camera_info()
/hardware/interfaces/camera/common/1.0/default/include/
DCameraModule.h59 int setTorchMode(const char* camera_id, bool enable);
/hardware/qcom/camera/msm8998/usbcamcore/inc/
DQualcommUsbCamera.h43 int usbcam_get_camera_info(int camera_id, struct camera_info *info);
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsm_camsensor_sdk.h212 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/msm8994/kernel-headers/media/
Dmsm_camsensor_sdk.h245 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c3044 struct camera_info *get_cam_info(uint32_t camera_id, cam_sync_type_t *pCamType) in get_cam_info() argument
3046 *pCamType = g_cam_ctrl.cam_type[camera_id]; in get_cam_info()
3047 return &g_cam_ctrl.info[camera_id]; in get_cam_info()
3050 uint8_t is_dual_camera_by_idx(uint32_t camera_id) in is_dual_camera_by_idx() argument
3052 return ((g_cam_ctrl.cam_type[camera_id] & CAM_TYPE_MAIN) in is_dual_camera_by_idx()
3053 && (g_cam_ctrl.cam_type[camera_id] & CAM_TYPE_AUX)); in is_dual_camera_by_idx()
3072 cam_sync_type_t get_cam_type(uint32_t camera_id) in get_cam_type() argument
3074 return g_cam_ctrl.cam_type[camera_id]; in get_cam_type()
3077 uint8_t is_yuv_sensor(uint32_t camera_id) in is_yuv_sensor() argument
3079 return g_cam_ctrl.is_yuv[camera_id]; in is_yuv_sensor()
/hardware/interfaces/camera/common/1.0/default/
DCameraModule.cpp405 int CameraModule::setTorchMode(const char* camera_id, bool enable) { in setTorchMode() argument
409 res = mModule->set_torch_mode(camera_id, enable); in setTorchMode()
/hardware/qcom/msm8996/kernel-headers/media/
Dmsm_camsensor_sdk.h295 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsm_camsensor_sdk.h265 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsm_camsensor_sdk.h294 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/msm8998/kernel-headers/media/
Dmsm_camsensor_sdk.h327 enum msm_sensor_camera_id_t camera_id; member

12