/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraFlash.cpp | 138 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 …]
|
D | QCameraFlash.h | 49 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/ |
D | QCamera2Factory.cpp | 207 int QCamera2Factory::get_camera_info(int camera_id, struct camera_info *info) in QCamera2Factory() argument 212 rc = gQCameraMuxer->get_camera_info(camera_id, info); in QCamera2Factory() 215 rc = gQCamera2Factory->getCameraInfo(camera_id, info); in QCamera2Factory() 252 int QCamera2Factory::is_stream_combination_supported(int camera_id, in QCamera2Factory() argument 255 return gQCamera2Factory->isStreamCombinationSupported(camera_id, streams); in QCamera2Factory() 271 int QCamera2Factory::isStreamCombinationSupported(int camera_id, in QCamera2Factory() argument 274 if (!mNumOfCameras || camera_id >= mNumOfCameras || !streams || in QCamera2Factory() 275 (camera_id < 0)) { in QCamera2Factory() 278 mNumOfCameras, camera_id, streams); in QCamera2Factory() 282 return QCamera3HardwareInterface::isStreamCombinationSupported(camera_id, streams); in QCamera2Factory() [all …]
|
D | QCamera2Factory.h | 50 static int get_camera_info(int camera_id, struct camera_info *info); 54 static int set_torch_mode(const char* camera_id, bool on); 57 static int is_stream_combination_supported(int camera_id, 63 int getCameraInfo(int camera_id, struct camera_info *info); 64 int isStreamCombinationSupported(int camera_id, 67 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device); 72 int setTorchMode(const char* camera_id, bool on);
|
/hardware/libhardware/include/hardware/ |
D | camera_common.h | 636 int camera_id, 659 const char* camera_id, 932 int (*get_camera_info)(int camera_id, struct camera_info *info); 1083 int (*set_torch_mode)(const char* camera_id, bool enabled); 1170 int (*is_stream_combination_supported)(int camera_id,
|
/hardware/interfaces/camera/provider/2.4/default/ |
D | LegacyCameraProviderImpl_2_4.h | 114 int camera_id, 118 const char* camera_id, 121 void addDeviceNames(int camera_id, CameraDeviceStatus status = CameraDeviceStatus::PRESENT, 123 void removeDeviceNames(int camera_id);
|
D | LegacyCameraProviderImpl_2_4.cpp | 70 void LegacyCameraProviderImpl_2_4::addDeviceNames(int camera_id, CameraDeviceStatus status, bool ca… in addDeviceNames() argument 73 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in addDeviceNames() 80 int deviceVersion = mModule->getDeviceVersion(camera_id); in addDeviceNames() 110 void LegacyCameraProviderImpl_2_4::removeDeviceNames(int camera_id) in removeDeviceNames() argument 112 std::string cameraIdStr = std::to_string(camera_id); in removeDeviceNames() 116 int deviceVersion = mModule->getDeviceVersion(camera_id); in removeDeviceNames() 131 mModule->removeCamera(camera_id); in removeDeviceNames() 139 int camera_id, in sCameraDeviceStatusChange() argument 150 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in sCameraDeviceStatusChange() 173 cp->addDeviceNames(camera_id, status, true); in sCameraDeviceStatusChange() [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | v4l2_camera_hal.h | 43 int getCameraInfo(int camera_id, camera_info_t* info); 50 int setTorchMode(const char* camera_id, bool enabled);
|
D | v4l2_camera_hal.cpp | 206 static int set_torch_mode(const char* camera_id, bool enabled) { in set_torch_mode() argument 207 return gCameraHAL.setTorchMode(camera_id, enabled); in set_torch_mode()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMuxer.h | 146 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,
|
D | QCameraMuxer.cpp | 219 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/ |
D | CameraHAL.h | 37 int getCameraInfo(int camera_id, struct camera_info *info);
|
/hardware/libhardware/modules/usbcamera/ |
D | CameraHAL.h | 41 int getCameraInfo(int camera_id, struct camera_info *info);
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3Base.cpp | 78 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/ |
D | mm_camera_interface.h | 1023 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/ |
D | QualcommCamera.h | 39 int get_camera_info(int camera_id, struct camera_info *info);
|
D | QualcommCamera.cpp | 112 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/qcom/camera/msm8998/usbcamcore/inc/ |
D | QualcommUsbCamera.h | 43 int usbcam_get_camera_info(int camera_id, struct camera_info *info);
|
/hardware/interfaces/camera/common/1.0/default/include/ |
D | CameraModule.h | 62 int setTorchMode(const char* camera_id, bool enable);
|
/hardware/qcom/msm8994/original-kernel-headers/media/ |
D | msm_camsensor_sdk.h | 212 enum msm_sensor_camera_id_t camera_id; member
|
/hardware/qcom/msm8994/kernel-headers/media/ |
D | msm_camsensor_sdk.h | 245 enum msm_sensor_camera_id_t camera_id; member
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 3044 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/qcom/msm8996/original-kernel-headers/media/ |
D | msm_camsensor_sdk.h | 265 enum msm_sensor_camera_id_t camera_id; member
|
/hardware/qcom/msm8996/kernel-headers/media/ |
D | msm_camsensor_sdk.h | 295 enum msm_sensor_camera_id_t camera_id; member
|
/hardware/qcom/msm8998/original-kernel-headers/media/ |
D | msm_camsensor_sdk.h | 294 enum msm_sensor_camera_id_t camera_id; member
|