Home
last modified time | relevance | path

Searched refs:bottom (Results 1 – 25 of 221) sorted by relevance

123456789

/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
64 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize()
77 res.bottom = std::min(rect1.bottom, rect2.bottom); in Intersection()
96 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
106 return (rect1.top <= rect2.top && rect1.bottom >= rect2.bottom && in Contains()
126 res[0].bottom = rect2.top; in Subtract()
129 res[0].bottom = rect1.top; in Subtract()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
64 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize()
77 res.bottom = std::min(rect1.bottom, rect2.bottom); in Intersection()
96 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
108 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
109 res.top = rect2.bottom; in Subtract()
110 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
59 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize()
72 res.bottom = std::min(rect1.bottom, rect2.bottom); in Intersection()
91 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
103 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
104 res.top = rect2.bottom; in Subtract()
105 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
106 res.bottom = rect2.top; in Subtract()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
59 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize()
72 res.bottom = std::min(rect1.bottom, rect2.bottom); in Intersection()
91 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
103 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
104 res.top = rect2.bottom; in Subtract()
105 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
106 res.bottom = rect2.top; in Subtract()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
59 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize()
72 res.bottom = std::min(rect1.bottom, rect2.bottom); in Intersection()
91 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
103 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
104 res.top = rect2.bottom; in Subtract()
105 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
106 res.bottom = rect2.top; in Subtract()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
47 (rect1.bottom == rect2.bottom)); in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in LogI()
57 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
64 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize()
77 res.bottom = std::min(rect1.bottom, rect2.bottom); in Intersection()
96 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
108 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
109 res.top = rect2.bottom; in Subtract()
110 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
61 displayFrame.right,displayFrame.bottom); in getuiClearRegion()
73 displayFrame.bottom); in getuiClearRegion()
86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
88 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
61 displayFrame.right,displayFrame.bottom); in getuiClearRegion()
73 displayFrame.bottom); in getuiClearRegion()
86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
88 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp37 int right, int bottom) { in startTileRendering() argument
46 if (!left && !right && !top && !bottom) { in startTileRendering()
50 bottom = height; in startTileRendering()
53 if (!left && !right && !top && !bottom) { in startTileRendering()
59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; in startTileRendering()
/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
62 displayFrame.right,displayFrame.bottom); in getuiClearRegion()
75 displayFrame.bottom); in getuiClearRegion()
88 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
90 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp240 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].bottom = in initContext()
390 int h = rect.bottom - rect.top; in getActionSafePosition()
445 rect.bottom = h + rect.top; in getActionSafePosition()
473 inRect.bottom - inRect.top); in getAspectRatioPosition()
475 outRect.bottom - outRect.top); in getAspectRatioPosition()
490 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
521 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
560 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()
610 displayFrame.bottom = dstHeight; in calcExtDisplayPosition()
632 displayFrame.bottom = int(hRatio*(float)displayFrame.bottom); in calcExtDisplayPosition()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp375 int h = rect.bottom - rect.top; in getActionSafePosition()
430 rect.bottom = h + rect.top; in getActionSafePosition()
460 rect.bottom = srcHeight + rect.top; in getAspectRatioPosition()
486 inRect.bottom - inRect.top); in getAspectRatioPosition()
488 outRect.bottom - outRect.top); in getAspectRatioPosition()
503 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
534 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
573 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()
623 displayFrame.bottom = dstHeight; in calcExtDisplayPosition()
645 displayFrame.bottom = int(hRatio*(float)displayFrame.bottom); in calcExtDisplayPosition()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp139 ctx->mViewFrame[dpy].bottom = ctx->dpyAttr[dpy].yres; in updateDisplayInfo()
344 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].bottom = in initContext()
551 int h = rect.bottom - rect.top; in getActionSafePosition()
606 rect.bottom = h + rect.top; in getActionSafePosition()
634 inRect.bottom - inRect.top); in getAspectRatioPosition()
636 outRect.bottom - outRect.top); in getAspectRatioPosition()
651 height = float(rect.bottom - rect.top); in getAspectRatioPosition()
682 float tempHeight = float(r.bottom - r.top); in getAspectRatioPosition()
726 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()
776 displayFrame.bottom = dstHeight; in calcExtDisplayPosition()
[all …]
/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_stack.h207 float bottom = 0.0f; //!< Bottom-most pixel coordinate. member
211 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
214 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
/hardware/qcom/sm8150/display/sdm/libs/core/
Dresource_default.cpp451 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
505 scissor_left.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
510 scissor_right.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
614 float &crop_bottom = crop->bottom; in CalculateCropRects()
616 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
621 float &dst_bottom = dst->bottom; in CalculateCropRects()
623 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
628 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
693 (src.bottom - roundf(src.bottom) != 0.0f))) { in ValidateLayerParams()
713 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dresource_default.cpp449 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
498 scissor_left.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
503 scissor_right.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
607 float &crop_bottom = crop->bottom; in CalculateCropRects()
609 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
614 float &dst_bottom = dst->bottom; in CalculateCropRects()
616 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
621 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
686 (src.bottom - roundf(src.bottom) != 0.0f))) { in ValidateLayerParams()
706 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Dresource_default.cpp449 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
498 scissor_left.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
503 scissor_right.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
607 float &crop_bottom = crop->bottom; in CalculateCropRects()
609 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
614 float &dst_bottom = dst->bottom; in CalculateCropRects()
616 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
621 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
686 (src.bottom - roundf(src.bottom) != 0.0f))) { in ValidateLayerParams()
706 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/
Dresource_default.cpp449 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
498 scissor_left.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
503 scissor_right.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
607 float &crop_bottom = crop->bottom; in CalculateCropRects()
609 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
614 float &dst_bottom = dst->bottom; in CalculateCropRects()
616 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
621 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
686 (src.bottom - roundf(src.bottom) != 0.0f))) { in ValidateLayerParams()
706 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/core/
Dresource_default.cpp449 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
498 scissor_left.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
503 scissor_right.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
607 float &crop_bottom = crop->bottom; in CalculateCropRects()
609 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
614 float &dst_bottom = dst->bottom; in CalculateCropRects()
616 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
621 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
686 (src.bottom - roundf(src.bottom) != 0.0f))) { in ValidateLayerParams()
706 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp412 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
461 scissor_left.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
466 scissor_right.bottom = FLOAT(mixer_attributes.height); in DisplaySplitConfig()
570 float &crop_bottom = crop->bottom; in CalculateCropRects()
572 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
577 float &dst_bottom = dst->bottom; in CalculateCropRects()
579 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
584 const float &sci_bottom = scissor.bottom; in CalculateCropRects()
649 (src.bottom - roundf(src.bottom) != 0.0f))) { in ValidateLayerParams()
669 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
[all …]
/hardware/qcom/display/msm8909/sdm/include/core/
Dlayer_stack.h270 float bottom = 0.0f; //!< Bottom-most pixel coordinate. member
274 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
277 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
/hardware/qcom/display/msm8998/sdm/include/core/
Dlayer_stack.h270 float bottom = 0.0f; //!< Bottom-most pixel coordinate. member
274 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
277 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Dlayer_stack.h270 float bottom = 0.0f; //!< Bottom-most pixel coordinate. member
274 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
277 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
/hardware/qcom/sdm845/display/sdm/include/core/
Dlayer_stack.h272 float bottom = 0.0f; //!< Bottom-most pixel coordinate. member
276 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
279 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
/hardware/qcom/sm8150/display/sdm/include/core/
Dlayer_stack.h293 float bottom = 0.0f; //!< Bottom-most pixel coordinate. member
297 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
300 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;

123456789