Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp50 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in LogI() argument
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
55 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() argument
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp50 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in LogI() argument
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
55 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() argument
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp50 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in LogI() argument
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
55 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() argument
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraFOVControl.cpp1881 roiAfTrans.roi[i].width = roiAfMain.roi[i].width * fovRatio; in translateFocusAreas()
1882 roiAfTrans.roi[i].height = roiAfMain.roi[i].height * fovRatio; in translateFocusAreas()
1884 AuxDiffRoiLeft = (roiAfTrans.roi[i].width - roiAfMain.roi[i].width) / 2.0f; in translateFocusAreas()
1885 AuxRoiLeft = roiAfMain.roi[i].left - AuxDiffRoiLeft; in translateFocusAreas()
1886 AuxDiffRoiTop = (roiAfTrans.roi[i].height - roiAfMain.roi[i].height) / 2.0f; in translateFocusAreas()
1887 AuxRoiTop = roiAfMain.roi[i].top - AuxDiffRoiTop; in translateFocusAreas()
1889 roiAfTrans.roi[i].left = AuxRoiLeft - shiftHorzAdjusted; in translateFocusAreas()
1890 roiAfTrans.roi[i].top = AuxRoiTop - shiftVertAdjusted; in translateFocusAreas()
1894 if ((roiAfTrans.roi[i].left >= mFovControlData.previewSize.width) || in translateFocusAreas()
1895 (roiAfTrans.roi[i].top >= mFovControlData.previewSize.height) || in translateFocusAreas()
[all …]
/hardware/qcom/display/msm8909/sdm/include/utils/
Drect.h48 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
49 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
/hardware/qcom/sdm845/display/sdm/include/utils/
Drect.h48 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
49 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
/hardware/qcom/sm8150/display/sdm/include/utils/
Drect.h48 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
49 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp50 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() argument
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp50 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() argument
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp50 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() argument
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp567 void venc_dev::get_roi_for_timestamp(struct roidata &roi, OMX_TICKS timestamp) in get_roi_for_timestamp() argument
572 memset(&roi, 0, sizeof(struct roidata)); in get_roi_for_timestamp()
573 roi.dirty = false; in get_roi_for_timestamp()
589 DEBUG_PRINT_LOW("freeing unused roidata with timestamp %lld us", roi.timestamp); in get_roi_for_timestamp()
590 free(roi.info.pRoiMBInfo); in get_roi_for_timestamp()
593 roi = *iter; in get_roi_for_timestamp()
604 DEBUG_PRINT_LOW("found roidata with timestamp %lld us", roi.timestamp); in get_roi_for_timestamp()
781 struct roidata roi; in handle_input_extradata() local
782 memset(&roi, 0, sizeof(struct roidata)); in handle_input_extradata()
783 roi.dirty = false; in handle_input_extradata()
[all …]
/hardware/qcom/display/msm8996/sdm/include/utils/
Drect.h48 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h48 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Drect.h48 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.cpp549 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() local
550 dst = getIntersection(dst, roi); in trimAgainstROI()
605 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
619 roi = getUnion(roi, dirtyRect); in generateROI()
624 if(!isValidRect(roi)) in generateROI()
628 roi = getSanitizeROI(roi, fullFrame); in generateROI()
630 ctx->listStats[mDpy].lRoi = roi; in generateROI()
641 hwc_rect roi = getUnion(ctx->listStats[mDpy].lRoi, in trimAgainstROI() local
643 hwc_rect tmpDst = getIntersection(dst, roi); in trimAgainstROI()
2684 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
[all …]
Dhwc_utils.cpp2626 hwc_rect expandROIFromMidPoint(hwc_rect roi, hwc_rect fullFrame) { in expandROIFromMidPoint() argument
2635 hwc_rect lRoi = getIntersection(roi, lFrame); in expandROIFromMidPoint()
2636 hwc_rect rRoi = getIntersection(roi, rFrame); in expandROIFromMidPoint()
2643 roi.left = half_frame_width - rRoiWidth; in expandROIFromMidPoint()
2645 roi.right = half_frame_width + lRoiWidth; in expandROIFromMidPoint()
2647 return roi; in expandROIFromMidPoint()
2669 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary) in getSanitizeROI() argument
2671 if(!isValidRect(roi)) in getSanitizeROI()
2672 return roi; in getSanitizeROI()
2674 struct hwc_rect t_roi = roi; in getSanitizeROI()
Dhwc_utils.h390 hwc_rect expandROIFromMidPoint(hwc_rect roi, hwc_rect fullFrame);
393 hwc_rect_t getSanitizeROI(struct hwc_rect roi, hwc_rect boundary);
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_device_drm.cpp856 auto &roi = hw_layer_info.left_frame_roi.at(i); in SetupAtomic() local
858 crtc_rects[i].left = UINT32(roi.left); in SetupAtomic()
859 crtc_rects[i].right = UINT32(roi.right); in SetupAtomic()
860 crtc_rects[i].top = UINT32(roi.top); in SetupAtomic()
861 crtc_rects[i].bottom = UINT32(roi.bottom); in SetupAtomic()
865 conn_rects[i].left = UINT32(roi.left); in SetupAtomic()
866 conn_rects[i].right = UINT32(roi.right); in SetupAtomic()
867 conn_rects[i].top = UINT32(roi.top); in SetupAtomic()
868 conn_rects[i].bottom = UINT32(roi.bottom); in SetupAtomic()
1025 solidfill.bounding_rect.left = UINT32(sf.roi.left); in AddSolidfillStage()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp515 void venc_dev::get_roi_for_timestamp(struct roidata &roi, OMX_TICKS timestamp) in get_roi_for_timestamp() argument
520 memset(&roi, 0, sizeof(struct roidata)); in get_roi_for_timestamp()
521 roi.dirty = false; in get_roi_for_timestamp()
537 DEBUG_PRINT_LOW("freeing unused roidata with timestamp %lld us", roi.timestamp); in get_roi_for_timestamp()
538 free(roi.info.pRoiMBInfo); in get_roi_for_timestamp()
541 roi = *iter; in get_roi_for_timestamp()
552 DEBUG_PRINT_LOW("found roidata with timestamp %lld us", roi.timestamp); in get_roi_for_timestamp()
751 struct roidata roi; in handle_input_extradata() local
752 memset(&roi, 0, sizeof(struct roidata)); in handle_input_extradata()
753 roi.dirty = false; in handle_input_extradata()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp994 auto &roi = hw_layer_info.left_frame_roi.at(i); in SetupAtomic() local
996 crtc_rects[i].left = UINT32(roi.left); in SetupAtomic()
997 crtc_rects[i].right = UINT32(roi.right); in SetupAtomic()
998 crtc_rects[i].top = UINT32(roi.top); in SetupAtomic()
999 crtc_rects[i].bottom = UINT32(roi.bottom); in SetupAtomic()
1003 conn_rects[i].left = UINT32(roi.left); in SetupAtomic()
1004 conn_rects[i].right = UINT32(roi.right); in SetupAtomic()
1005 conn_rects[i].top = UINT32(roi.top); in SetupAtomic()
1006 conn_rects[i].bottom = UINT32(roi.bottom); in SetupAtomic()
1209 solidfill.bounding_rect.left = UINT32(sf.roi.left); in AddSolidfillStage()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp542 void venc_dev::get_roi_for_timestamp(struct roidata &roi, OMX_TICKS timestamp) in get_roi_for_timestamp() argument
547 memset(&roi, 0, sizeof(struct roidata)); in get_roi_for_timestamp()
548 roi.dirty = false; in get_roi_for_timestamp()
560 roi = *iter; in get_roi_for_timestamp()
566 DEBUG_PRINT_LOW("found roidata with timestamp %lld us", roi.info.nTimeStamp); in get_roi_for_timestamp()
656 struct roidata roi; in handle_input_extradata() local
777 memset(&roi, 0, sizeof(struct roidata)); in handle_input_extradata()
778 roi.dirty = false; in handle_input_extradata()
780 get_roi_for_timestamp(roi, nTimeStamp); in handle_input_extradata()
783 if (roi.dirty) { in handle_input_extradata()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_mdpcomp.cpp448 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() local
449 fbRect = getIntersection(fbRect, roi); in trimAgainstROI()
502 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
517 roi = getUnion(roi, dirtyRect); in generateROI()
522 if(!isValidRect(roi)) in generateROI()
526 roi = getSanitizeROI(roi, fullFrame); in generateROI()
528 ctx->listStats[mDpy].lRoi = roi; in generateROI()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_mdpcomp.cpp449 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() local
450 fbRect = getIntersection(fbRect, roi); in trimAgainstROI()
503 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0}; in generateROI() local
524 roi = getUnion(roi, updatingRect); in generateROI()
529 if(!isValidRect(roi)) in generateROI()
533 roi = getSanitizeROI(roi, fullFrame); in generateROI()
535 ctx->listStats[mDpy].lRoi = roi; in generateROI()
/hardware/qcom/camera/msm8998/
DQCamera_Intf.h715 roi_t roi[MAX_ROI]; member
976 struct fd_roi_t roi; member
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp9176 void QCamera3HardwareInterface::convertFromRegions(cam_area_t &roi, in convertFromRegions() argument
9183 roi.weight = frame_settings.find(tag).data.i32[4]; in convertFromRegions()
9184 roi.rect.left = x_min; in convertFromRegions()
9185 roi.rect.top = y_min; in convertFromRegions()
9186 roi.rect.width = x_max - x_min; in convertFromRegions()
9187 roi.rect.height = y_max - y_min; in convertFromRegions()
9202 bool QCamera3HardwareInterface::resetIfNeededROI(cam_area_t* roi, in resetIfNeededROI() argument
9205 int32_t roi_x_max = roi->rect.width + roi->rect.left; in resetIfNeededROI()
9206 int32_t roi_y_max = roi->rect.height + roi->rect.top; in resetIfNeededROI()
9215 if (roi->weight == 0) { in resetIfNeededROI()
[all …]

12