Home
last modified time | relevance | path

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

12345678

/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 …]
Dhwc_copybit.cpp61 rect->b = me->mRegion.rects[me->r.current].bottom; in iterate()
235 finalH += ALIGN((overlap.bottom - overlap.top), 32); in prepareOverlap()
236 if(finalH > ALIGN((overlap.bottom - overlap.top), 32)) { in prepareOverlap()
239 (finalH - ALIGN((overlap.bottom - overlap.top), 32)) * 4; in prepareOverlap()
242 (ALIGN((overlap.bottom - overlap.top), 32))); in prepareOverlap()
247 ptorInfo->displayFrame[i].bottom = ptorInfo->displayFrame[i].top + in prepareOverlap()
248 (overlap.bottom - overlap.top); in prepareOverlap()
322 src_w = sourceCrop.bottom - sourceCrop.top; in prepare()
324 src_h = sourceCrop.bottom - sourceCrop.top; in prepare()
327 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare()
[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/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/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/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/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/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/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/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/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/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/display/msm8960/libhwcomposer/
Dhwc_utils.cpp367 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
370 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
560 int& crop_b = crop.bottom; in calculate_crop_rects()
562 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
567 int& dst_b = dst.bottom; in calculate_crop_rects()
569 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
574 const int& sci_b = scissor.bottom; in calculate_crop_rects()
615 nwr.bottom = list->hwLayers[0].displayFrame.bottom; in getNonWormholeRegion()
622 nwr.bottom = max(nwr.bottom, displayFrame.bottom); in getNonWormholeRegion()
629 nwr.bottom = min(nwr.bottom, fbDisplayFrame.bottom); in getNonWormholeRegion()
[all …]
Dhwc_fbupdate.cpp100 sourceCrop.bottom - sourceCrop.top); in configure()
112 displayFrame.bottom - displayFrame.top); in configure()
222 sourceCrop.bottom - sourceCrop.top); in configure()
227 sourceCrop.bottom - sourceCrop.top); in configure()
243 displayFrame.bottom - displayFrame.top); in configure()
248 displayFrame.bottom - displayFrame.top); in configure()

12345678