Home
last modified time | relevance | path

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

12

/hardware/qcom/camera/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/QCamera2/
DQCamera2Factory.cpp190 int QCamera2Factory::get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
195 rc = gQCameraMuxer->get_camera_info(camera_id, info); in get_camera_info()
197 rc = gQCamera2Factory->getCameraInfo(camera_id, info); in get_camera_info()
270 int QCamera2Factory::set_torch_mode(const char* camera_id, bool on) in set_torch_mode() argument
272 return gQCamera2Factory->setTorchMode(camera_id, on); in set_torch_mode()
302 int QCamera2Factory::getCameraInfo(int camera_id, struct camera_info *info) in getCameraInfo() argument
307 if (!mNumOfCameras || camera_id >= mNumOfCameras || !info || in getCameraInfo()
308 (camera_id < 0)) { in getCameraInfo()
311 mNumOfCameras, camera_id, info); in getCameraInfo()
320 if ( mHalDescriptors[camera_id].device_version == in getCameraInfo()
[all …]
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.h617 int camera_id,
640 const char* camera_id,
727 int (*get_camera_info)(int camera_id, struct camera_info *info);
878 int (*set_torch_mode)(const char* camera_id, bool enabled);
/hardware/qcom/camera/QCamera2/HAL/
DQCameraMuxer.h143 static int get_camera_info(int camera_id, struct camera_info *info);
254 int cameraDeviceOpen(int camera_id, struct hw_device_t **hw_device);
256 int getCameraInfo(int camera_id, struct camera_info *info,
DQCameraMuxer.cpp218 int QCameraMuxer::get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
223 if ((camera_id < 0) || (camera_id >= gMuxer->getNumberOfCameras())) { in get_camera_info()
224 LOGE("Camera id %d not found!", camera_id); in get_camera_info()
228 rc = gMuxer->getCameraInfo(camera_id, info, &type); in get_camera_info()
1907 int QCameraMuxer::getCameraInfo(int camera_id, in getCameraInfo() argument
1911 LOGH("E, camera_id = %d", camera_id); in getCameraInfo()
1914 if (!m_nLogicalCameras || (camera_id >= m_nLogicalCameras) || in getCameraInfo()
1915 !info || (camera_id < 0)) { in getCameraInfo()
1917 m_nLogicalCameras, camera_id); in getCameraInfo()
1926 m_pLogicalCamera[camera_id].pId[ in getCameraInfo()
[all …]
/hardware/libhardware/modules/camera/
DCameraHAL.h37 int getCameraInfo(int camera_id, struct camera_info *info);
/hardware/libhardware/modules/usbcamera/
DCameraHAL.h41 int getCameraInfo(int camera_id, struct camera_info *info);
/hardware/qcom/camera/usbcamcore/inc/
DQualcommUsbCamera.h43 int usbcam_get_camera_info(int camera_id, struct camera_info *info);
/hardware/qcom/camera/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/ti/omap4xxx/camera/
DCameraHal_Module.cpp42 static int camera_get_camera_info(int camera_id, struct camera_info *info);
640 int camera_get_camera_info(int camera_id, struct camera_info *info) in camera_get_camera_info() argument
657 if(gCameraProperties.getProperties(camera_id, &properties) < 0) in camera_get_camera_info()
687 CAMHAL_LOGEB("getProperties() returned a NULL property set for Camera id %d", camera_id); in camera_get_camera_info()
/hardware/ti/omap4-aah/camera/
DCameraHal_Module.cpp50 static int camera_get_camera_info(int camera_id, struct camera_info *info);
779 int camera_get_camera_info(int camera_id, struct camera_info *info) in camera_get_camera_info() argument
797 if(gCameraProperties.getProperties(camera_id, &properties) < 0) in camera_get_camera_info()
827 CAMHAL_LOGEB("getProperties() returned a NULL property set for Camera id %d", camera_id); in camera_get_camera_info()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.h155 uint8_t *supported_indexes, uint32_t camera_id);
267 static size_t calcMaxJpegSize(uint32_t camera_id);
268 cam_dimension_t getMaxRawSize(uint32_t camera_id);
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_camera_interface.h919 struct camera_info *get_cam_info(uint32_t camera_id, cam_sync_type_t *pCamType);
921 uint8_t is_yuv_sensor(uint32_t camera_id);
/hardware/qcom/msm8994/kernel-headers/media/
Dmsm_camsensor_sdk.h245 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsm_camsensor_sdk.h212 enum msm_sensor_camera_id_t camera_id; member
Dmsm_cam_sensor.h317 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c1936 struct camera_info *get_cam_info(uint32_t camera_id, cam_sync_type_t *pCamType) in get_cam_info() argument
1938 *pCamType = g_cam_ctrl.cam_type[camera_id]; in get_cam_info()
1939 return &g_cam_ctrl.info[camera_id]; in get_cam_info()
1942 uint8_t is_yuv_sensor(uint32_t camera_id) in is_yuv_sensor() argument
1944 return g_cam_ctrl.is_yuv[camera_id]; in is_yuv_sensor()
/hardware/qcom/msm8996/kernel-headers/media/
Dmsm_camsensor_sdk.h291 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsm_camsensor_sdk.h262 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/camera/
DQCamera_Intf.h173 int8_t camera_id; member
180 int8_t camera_id; member
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsm_cam_sensor.h481 enum msm_sensor_camera_id_t camera_id; member
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsm_cam_sensor.h444 enum msm_sensor_camera_id_t camera_id; member

12