Home
last modified time | relevance | path

Searched refs:roi (Results 1 – 23 of 23) sorted by relevance

/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp326 void QCameraStream_preview::notifyROIEvent(fd_roi_t roi) in notifyROIEvent() argument
328 switch (roi.type) { in notifyROIEvent()
335 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected; in notifyROIEvent()
353 int idx = roi.d.data.idx; in notifyROIEvent()
361 mHalCamCtrl->mFace[idx].id = roi.d.data.face.id; in notifyROIEvent()
362 mHalCamCtrl->mFace[idx].score = roi.d.data.face.score; in notifyROIEvent()
366 roi.d.data.face.face_boundary.x*2000/mHalCamCtrl->mDimension.display_width - 1000; in notifyROIEvent()
369 roi.d.data.face.face_boundary.y*2000/mHalCamCtrl->mDimension.display_height - 1000; in notifyROIEvent()
372 roi.d.data.face.face_boundary.dx*2000/mHalCamCtrl->mDimension.display_width; in notifyROIEvent()
375 roi.d.data.face.face_boundary.dy*2000/mHalCamCtrl->mDimension.display_height; in notifyROIEvent()
[all …]
DQCameraHWI_Parm.cpp1945 af_roi_value.roi[0].x = x1; in setFocusAreas()
1946 af_roi_value.roi[0].y = y1; in setFocusAreas()
1947 af_roi_value.roi[0].dx = dx; in setFocusAreas()
1948 af_roi_value.roi[0].dy = dy; in setFocusAreas()
DQCameraHWI.cpp1761 roiEvent(event->e.roi, app_cb); in processInfoEvent()
2633 void QCameraHardwareInterface::roiEvent(fd_roi_t roi,app_notify_cb_t *app_cb) in roiEvent() argument
2638 mStreams[MM_CAMERA_PREVIEW]->notifyROIEvent(roi); in roiEvent()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c431 i, camframe_roi.roi[i].x, camframe_roi.roi[i].y, in draw_rectangles()
432 camframe_roi.roi[i].dx, camframe_roi.roi[i].dy); in draw_rectangles()
434 camframe_roi.roi[i].x, camframe_roi.roi[i].y, in draw_rectangles()
435 camframe_roi.roi[i].dx, camframe_roi.roi[i].dy); in draw_rectangles()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3HWI.cpp1510 void QCamera3HardwareInterface::convertFromRegions(cam_area_t* roi, in convertFromRegions() argument
1519 roi->weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
1520 roi->rect.left = x_min; in convertFromRegions()
1521 roi->rect.top = y_min; in convertFromRegions()
1522 roi->rect.width = x_max - x_min; in convertFromRegions()
1523 roi->rect.height = y_max - y_min; in convertFromRegions()
1538 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
1541 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
1542 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
1547 (roi->rect.left > crop_x_max) || in resetIfNeededROI()
[all …]
DQCamera3HWI.h105 static void convertFromRegions(cam_area_t* roi, const camera_metadata_t *settings,
107 static bool resetIfNeededROI(cam_area_t* roi, const cam_crop_region_t* scalerCropRegion);
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3HWI.h113 static void convertFromRegions(cam_area_t* roi, const camera_metadata_t *settings,
115 static bool resetIfNeededROI(cam_area_t* roi, const cam_crop_region_t* scalerCropRegion);
DQCamera3HWI.cpp3189 void QCamera3HardwareInterface::convertFromRegions(cam_area_t* roi, in convertFromRegions() argument
3198 roi->weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
3199 roi->rect.left = x_min; in convertFromRegions()
3200 roi->rect.top = y_min; in convertFromRegions()
3201 roi->rect.width = x_max - x_min; in convertFromRegions()
3202 roi->rect.height = y_max - y_min; in convertFromRegions()
3217 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
3220 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
3221 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
3226 (roi->rect.left > crop_x_max) || in resetIfNeededROI()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraStream.h93 virtual void notifyROIEvent(fd_roi_t roi) {;} in notifyROIEvent() argument
188 void notifyROIEvent(fd_roi_t roi);
DQCameraHWI.h618 void roiEvent(fd_roi_t roi, app_notify_cb_t *);
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.h132 static void convertFromRegions(cam_area_t* roi, const camera_metadata_t *settings,
134 static bool resetIfNeededROI(cam_area_t* roi, const cam_crop_region_t* scalerCropRegion);
DQCamera3HWI.cpp3898 void QCamera3HardwareInterface::convertFromRegions(cam_area_t* roi, in convertFromRegions() argument
3907 roi->weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
3908 roi->rect.left = x_min; in convertFromRegions()
3909 roi->rect.top = y_min; in convertFromRegions()
3910 roi->rect.width = x_max - x_min; in convertFromRegions()
3911 roi->rect.height = y_max - y_min; in convertFromRegions()
3926 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
3929 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
3930 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
3939 if (roi->weight == 0) { in resetIfNeededROI()
[all …]
/device/lge/hammerhead/camera/
DQCamera_Intf.h715 roi_t roi[MAX_ROI]; member
976 struct fd_roi_t roi; member
/device/asus/flo/camera/
DQCamera_Intf.h715 roi_t roi[MAX_ROI]; member
976 struct fd_roi_t roi; member
/device/moto/shamu/camera/
DQCamera_Intf.h715 roi_t roi[MAX_ROI]; member
976 struct fd_roi_t roi; member
/device/asus/flo/camera/QCamera2/stack/common/
Dcam_types.h612 cam_rect_t roi[MAX_ROI]; member
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h556 void roiEvent(fd_roi_t roi, app_notify_cb_t *);
DQCamera_Intf.h676 roi_t roi[MAX_ROI]; member
936 struct fd_roi_t roi; member
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dcam_types.h638 cam_rect_t roi[MAX_ROI]; member
/device/moto/shamu/camera/QCamera2/stack/common/
Dcam_types.h776 cam_rect_t roi[MAX_ROI]; member
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraParameters.cpp4310 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas()
4311 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
4312 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas()
4313 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraParameters.cpp4310 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas()
4311 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
4312 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas()
4313 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp5850 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas()
5851 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
5852 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas()
5853 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()