/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraParameters.h | 64 virtual int32_t setScaleSizeTbl(size_t scale_cnt, 67 virtual int32_t setValidatePicSize(int &width, int &height); 77 virtual int32_t getPicSizeFromAPK(int &width, int &height); 78 virtual int32_t getPicSizeSetted(int &width, int &height); 83 int32_t setSensorSupportedPicSize(); 586 int32_t init(cam_capability_t *, mm_camera_vtbl_t *, QCameraAdjustFPS *); 588 int32_t assign(QCameraParameters& params); 589 int32_t initDefaultParameters(); 590 int32_t updateParameters(QCameraParameters&, bool &needRestart); 591 int32_t commitParameters(); [all …]
|
D | QCamera2HWI.h | 112 int32_t msg_type; 113 int32_t ext1; 114 int32_t ext2; 143 int32_t cb_status); 147 int32_t msg_type; // msg type 148 int32_t ext1; // extended parameter 149 int32_t ext2; // extended parameter 172 virtual int32_t notifyCallback(qcamera_callback_argm_t &cbArgs); 177 virtual int32_t startSnapshots(); 184 virtual int32_t flushPreviewNotifications(); [all …]
|
D | QCameraStream.h | 57 virtual int32_t init(QCameraHeapMemory *streamInfoBuf, 63 virtual int32_t processZoomDone(preview_stream_ops_t *previewWindow, 65 virtual int32_t bufDone(uint32_t index); 66 virtual int32_t bufDone(const void *opaque, bool isMetaData); 67 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 68 virtual int32_t start(); 69 virtual int32_t stop(); 72 virtual int32_t allocateBuffers(); 73 virtual int32_t releaseBuffs(); 81 int32_t getFrameOffset(cam_frame_len_offset_t &offset); [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraParameters.h | 64 virtual int32_t setScaleSizeTbl(size_t scale_cnt, 67 virtual int32_t setValidatePicSize(int &width, int &height); 77 virtual int32_t getPicSizeFromAPK(int &width, int &height); 78 virtual int32_t getPicSizeSetted(int &width, int &height); 83 int32_t setSensorSupportedPicSize(); 586 int32_t init(cam_capability_t *, mm_camera_vtbl_t *, QCameraAdjustFPS *); 588 int32_t assign(QCameraParameters& params); 589 int32_t initDefaultParameters(); 590 int32_t updateParameters(QCameraParameters&, bool &needRestart); 591 int32_t commitParameters(); [all …]
|
D | QCamera2HWI.h | 112 int32_t msg_type; 113 int32_t ext1; 114 int32_t ext2; 143 int32_t cb_status); 147 int32_t msg_type; // msg type 148 int32_t ext1; // extended parameter 149 int32_t ext2; // extended parameter 172 virtual int32_t notifyCallback(qcamera_callback_argm_t &cbArgs); 177 virtual int32_t startSnapshots(); 184 virtual int32_t flushPreviewNotifications(); [all …]
|
D | QCameraStream.h | 57 virtual int32_t init(QCameraHeapMemory *streamInfoBuf, 63 virtual int32_t processZoomDone(preview_stream_ops_t *previewWindow, 65 virtual int32_t bufDone(uint32_t index); 66 virtual int32_t bufDone(const void *opaque, bool isMetaData); 67 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 68 virtual int32_t start(); 69 virtual int32_t stop(); 72 virtual int32_t allocateBuffers(); 73 virtual int32_t releaseBuffs(); 81 int32_t getFrameOffset(cam_frame_len_offset_t &offset); [all …]
|
D | QCameraPostProc.h | 91 int32_t msg_type; // msg type of data notify 105 int32_t addEntry(exif_tag_id_t tagid, 123 int32_t init(jpeg_encode_callback_t jpeg_cb, void *user_data); 124 int32_t deinit(); 125 int32_t start(QCameraChannel *pSrcChannel); 126 int32_t stop(); 128 int32_t processData(mm_camera_super_buf_t *frame); 129 int32_t processRawData(mm_camera_super_buf_t *frame); 130 int32_t processPPData(mm_camera_super_buf_t *frame); 131 int32_t processJpegEvt(qcamera_jpeg_evt_payload_t *evt); [all …]
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraParameters.h | 69 …virtual int32_t setScaleSizeTbl(uint8_t scale_cnt, cam_dimension_t *scale_tbl, uint8_t org_cnt, ca… 70 virtual int32_t setValidatePicSize(int &width, int &height); 80 virtual int32_t getPicSizeFromAPK(int &width, int &height); 81 virtual int32_t getPicSizeSetted(int &width, int &height); 86 int32_t setSensorSupportedPicSize(); 489 int32_t init(cam_capability_t *, 494 int32_t assign(QCameraParameters& params); 495 int32_t initDefaultParameters(); 496 int32_t updateParameters(QCameraParameters&, bool &needRestart); 497 int32_t commitParameters(); [all …]
|
D | QCamera2HWI.h | 111 int32_t msg_type; 112 int32_t ext1; 113 int32_t ext2; 140 int32_t cb_status); 144 int32_t msg_type; // msg type 145 int32_t ext1; // extended parameter 146 int32_t ext2; // extended parameter 169 virtual int32_t notifyCallback(qcamera_callback_argm_t &cbArgs); 174 virtual int32_t startSnapshots(); 210 static void enable_msg_type(struct camera_device *, int32_t msg_type); [all …]
|
D | QCameraStream.h | 59 virtual int32_t init(QCameraHeapMemory *streamInfoBuf, 64 virtual int32_t processZoomDone(preview_stream_ops_t *previewWindow, 66 virtual int32_t bufDone(int index); 67 virtual int32_t bufDone(const void *opaque, bool isMetaData); 68 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 69 virtual int32_t start(); 70 virtual int32_t stop(); 73 virtual int32_t allocateBuffers(); 74 virtual int32_t releaseBuffs(); 82 int32_t getFrameOffset(cam_frame_len_offset_t &offset); [all …]
|
D | QCameraPostProc.h | 78 int32_t msg_type; // msg type of data notify 92 int32_t addEntry(exif_tag_id_t tagid, 110 int32_t init(jpeg_encode_callback_t jpeg_cb, void *user_data); 111 int32_t deinit(); 112 int32_t start(QCameraChannel *pSrcChannel); 113 int32_t stop(); 114 int32_t processData(mm_camera_super_buf_t *frame); 115 int32_t processRawData(mm_camera_super_buf_t *frame); 116 int32_t processPPData(mm_camera_super_buf_t *frame); 117 int32_t processJpegEvt(qcamera_jpeg_evt_payload_t *evt); [all …]
|
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
D | bosch_bmm150_slave.c | 48 static int32_t bmm150TempCompensateX(struct MagTask *magTask, int16_t mag_x, uint16_t rhall) in bmm150TempCompensateX() 50 int32_t inter_retval = 0; in bmm150TempCompensateX() 53 int32_t temp_1, temp_2, temp_3, temp_4; in bmm150TempCompensateX() 59 inter_retval = ((int32_t)(((uint16_t) ((((int32_t)magTask->dig_xyz1) << 14) in bmm150TempCompensateX() 67 … temp_1 = ((int32_t)magTask->dig_xy2) * ((((int32_t)inter_retval) * ((int32_t)inter_retval)) >> 7); in bmm150TempCompensateX() 68 temp_2 = ((int32_t)inter_retval) * ((int32_t)(((int16_t)magTask->dig_xy1) << 7)); in bmm150TempCompensateX() 69 temp_3 = ((temp_1 + temp_2) >> 9) + ((int32_t)BMM150_CALIB_HEX_LACKS); in bmm150TempCompensateX() 70 …temp_4 = ((int32_t)mag_x) * ((temp_3 * ((int32_t)(((int16_t)magTask->dig_x2) + ((int16_t)0xa0)))) … in bmm150TempCompensateX() 72 inter_retval = ((int32_t)(temp_4 >> 13)) + (((int16_t)magTask->dig_x1) << 3); in bmm150TempCompensateX() 75 if (inter_retval == (int32_t)BMM150_MAG_OVERFLOW_OUTPUT) in bmm150TempCompensateX() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 138 typedef int32_t (*map_stream_buf_op_t) (uint32_t frame_idx, 139 int32_t plane_idx, 153 typedef int32_t (*unmap_stream_buf_op_t) (uint32_t frame_idx, 154 int32_t plane_idx, 180 int32_t (*get_bufs) (cam_frame_len_offset_t *offset, 186 int32_t (*put_bufs) (mm_camera_map_unmap_ops_tbl_t *ops_tbl, 188 int32_t (*invalidate_buf)(int index, void *user_data); 189 int32_t (*clean_invalidate_buf)(int index, void *user_data); 288 int32_t (*query_capability) (uint32_t camera_handle); 298 int32_t (*register_event_notify) (uint32_t camera_handle, [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 138 int32_t fd; 150 int32_t pfds[2]; 152 int32_t state; 159 int32_t status; 217 int32_t fd; 308 int32_t plane_idx; 317 int32_t plane_idx; 420 int32_t ctrl_fd; 421 int32_t ds_fd; /* domain socket fd */ 454 extern int32_t mm_camera_util_s_ctrl(int32_t fd, [all …]
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 98 int32_t buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; 197 typedef int32_t (*map_stream_buf_op_t) (uint32_t frame_idx, 198 int32_t plane_idx, 213 typedef int32_t (*unmap_stream_buf_op_t) (uint32_t frame_idx, 214 int32_t plane_idx, 241 int32_t (*get_bufs) (cam_frame_len_offset_t *offset, 247 int32_t (*put_bufs) (mm_camera_map_unmap_ops_tbl_t *ops_tbl, 249 int32_t (*invalidate_buf)(uint32_t index, void *user_data); 250 int32_t (*clean_invalidate_buf)(uint32_t index, void *user_data); 351 int32_t (*query_capability) (uint32_t camera_handle); [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 98 int32_t buf_idx[MSM_CAMERA_MAX_USER_BUFF_CNT]; 197 typedef int32_t (*map_stream_buf_op_t) (uint32_t frame_idx, 198 int32_t plane_idx, 213 typedef int32_t (*unmap_stream_buf_op_t) (uint32_t frame_idx, 214 int32_t plane_idx, 241 int32_t (*get_bufs) (cam_frame_len_offset_t *offset, 247 int32_t (*put_bufs) (mm_camera_map_unmap_ops_tbl_t *ops_tbl, 249 int32_t (*invalidate_buf)(uint32_t index, void *user_data); 250 int32_t (*clean_invalidate_buf)(uint32_t index, void *user_data); 351 int32_t (*query_capability) (uint32_t camera_handle); [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 146 int32_t fd; 158 int32_t pfds[2]; 160 int32_t state; 167 int32_t status; 227 int32_t fd; 253 int32_t cur_buf_idx; /* Current container buffer active filling. Used only in Batch mode*/ 336 int32_t plane_idx; 345 int32_t plane_idx; 469 int32_t ctrl_fd; 470 int32_t ds_fd; /* domain socket fd */ [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 146 int32_t fd; 158 int32_t pfds[2]; 160 int32_t state; 167 int32_t status; 227 int32_t fd; 253 int32_t cur_buf_idx; /* Current container buffer active filling. Used only in Batch mode*/ 336 int32_t plane_idx; 345 int32_t plane_idx; 469 int32_t ctrl_fd; 470 int32_t ds_fd; /* domain socket fd */ [all …]
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Stream.h | 61 virtual int32_t init(cam_stream_type_t streamType, 72 virtual int32_t bufDone(uint32_t index); 73 virtual int32_t bufRelease(int32_t index); 74 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 75 virtual int32_t start(); 76 virtual int32_t stop(); 77 virtual int32_t queueBatchBuf(); 83 int32_t getFrameOffset(cam_frame_len_offset_t &offset); 84 int32_t getFrameDimension(cam_dimension_t &dim); 85 int32_t getFormat(cam_format_t &fmt); [all …]
|
D | QCamera3CropRegionMapper.h | 48 void toActiveArray(int32_t& crop_left, int32_t& crop_top, 49 int32_t& crop_width, int32_t& crop_height); 50 void toSensor(int32_t& crop_left, int32_t& crop_top, 51 int32_t& crop_width, int32_t& crop_height); 57 int32_t mSensorW, mSensorH; 58 int32_t mActiveArrayW, mActiveArrayH; 60 void boundToSize(int32_t& left, int32_t& top, int32_t& width, 61 int32_t& height, int32_t bound_w, int32_t bound_h);
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Stream.h | 61 virtual int32_t init(cam_stream_type_t streamType, 72 virtual int32_t bufDone(uint32_t index); 73 virtual int32_t bufRelease(int32_t index); 74 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 75 virtual int32_t start(); 76 virtual int32_t stop(); 77 virtual int32_t queueBatchBuf(); 83 int32_t getFrameOffset(cam_frame_len_offset_t &offset); 84 int32_t getFrameDimension(cam_dimension_t &dim); 85 int32_t getFormat(cam_format_t &fmt); [all …]
|
D | QCamera3CropRegionMapper.h | 48 void toActiveArray(int32_t& crop_left, int32_t& crop_top, 49 int32_t& crop_width, int32_t& crop_height); 50 void toSensor(int32_t& crop_left, int32_t& crop_top, 51 int32_t& crop_width, int32_t& crop_height); 57 int32_t mSensorW, mSensorH; 58 int32_t mActiveArrayW, mActiveArrayH; 60 void boundToSize(int32_t& left, int32_t& top, int32_t& width, 61 int32_t& height, int32_t bound_w, int32_t bound_h);
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 142 int32_t fd; 154 int32_t pfds[2]; 156 int32_t state; 163 int32_t status; 221 int32_t fd; 434 int32_t ctrl_fd; 435 int32_t ds_fd; /* domain socket fd */ 468 extern int32_t mm_camera_util_s_ctrl(int32_t fd, 470 int32_t value); 472 extern int32_t mm_camera_util_private_s_ctrl( int32_t fd, [all …]
|
D | mm_camera_interface.h | 70 int32_t width; 71 int32_t height; 80 int32_t left; 81 int32_t top; 82 int32_t width; 83 int32_t height; 122 int32_t min_value; 123 int32_t max_value; 124 int32_t step; 125 int32_t default_value; [all …]
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Stream.h | 60 virtual int32_t init(cam_stream_type_t streamType, 70 virtual int32_t bufDone(int index); 71 virtual int32_t bufRelease(int32_t index); 72 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 73 virtual int32_t start(); 74 virtual int32_t stop(); 80 int32_t getFrameOffset(cam_frame_len_offset_t &offset); 81 int32_t getFrameDimension(cam_dimension_t &dim); 82 int32_t getFormat(cam_format_t &fmt); 86 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx, [all …]
|