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/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.cpp3968 void QCamera3HardwareInterface::convertFromRegions(cam_area_t* roi, in convertFromRegions() argument
3977 roi->weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
3978 roi->rect.left = x_min; in convertFromRegions()
3979 roi->rect.top = y_min; in convertFromRegions()
3980 roi->rect.width = x_max - x_min; in convertFromRegions()
3981 roi->rect.height = y_max - y_min; in convertFromRegions()
3996 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
3999 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
4000 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
4009 if (roi->weight == 0) { in resetIfNeededROI()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp5449 void QCamera3HardwareInterface::convertFromRegions(cam_area_t &roi, in convertFromRegions() argument
5458 roi.weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
5459 roi.rect.left = x_min; in convertFromRegions()
5460 roi.rect.top = y_min; in convertFromRegions()
5461 roi.rect.width = x_max - x_min; in convertFromRegions()
5462 roi.rect.height = y_max - y_min; in convertFromRegions()
5477 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
5480 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
5481 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
5490 if (roi->weight == 0) { in resetIfNeededROI()
[all …]
DQCamera3HWI.h144 static void convertFromRegions(cam_area_t &roi, const camera_metadata_t *settings,
146 static bool resetIfNeededROI(cam_area_t* roi, const cam_crop_region_t* scalerCropRegion);
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp5446 void QCamera3HardwareInterface::convertFromRegions(cam_area_t &roi, in convertFromRegions() argument
5455 roi.weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
5456 roi.rect.left = x_min; in convertFromRegions()
5457 roi.rect.top = y_min; in convertFromRegions()
5458 roi.rect.width = x_max - x_min; in convertFromRegions()
5459 roi.rect.height = y_max - y_min; in convertFromRegions()
5474 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
5477 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
5478 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
5487 if (roi->weight == 0) { in resetIfNeededROI()
[all …]
DQCamera3HWI.h144 static void convertFromRegions(cam_area_t &roi, const camera_metadata_t *settings,
146 static bool resetIfNeededROI(cam_area_t* roi, const cam_crop_region_t* scalerCropRegion);
/device/huawei/angler/camera/
DQCamera_Intf.h715 roi_t roi[MAX_ROI]; member
976 struct fd_roi_t roi; member
/device/lge/bullhead/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/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/moto/shamu/camera/QCamera2/stack/common/
Dcam_types.h776 cam_rect_t roi[MAX_ROI]; member
/device/huawei/angler/camera/QCamera2/stack/common/
Dcam_types.h935 cam_rect_t roi[MAX_ROI]; member
/device/lge/bullhead/camera/QCamera2/stack/common/
Dcam_types.h935 cam_rect_t roi[MAX_ROI]; member
/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()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp7535 af_roi_value.roi[i].left = in setFocusAreas()
7538 af_roi_value.roi[i].top = in setFocusAreas()
7541 af_roi_value.roi[i].width = in setFocusAreas()
7544 af_roi_value.roi[i].height = in setFocusAreas()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp7535 af_roi_value.roi[i].left = in setFocusAreas()
7538 af_roi_value.roi[i].top = in setFocusAreas()
7541 af_roi_value.roi[i].width = in setFocusAreas()
7544 af_roi_value.roi[i].height = in setFocusAreas()