/hardware/qcom/display/msm8909/sdm/libs/utils/ |
D | rect.cpp | 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 46 (rect1.right == rect2.right) && 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() 62 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 76 res.right = std::min(rect1.right, rect2.right); in Intersection() 95 res.right = rect.right + FLOAT(x_offset); in Reposition() 107 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract() 114 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract() 115 res.left = rect2.right; in Subtract() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/utils/ |
D | rect.cpp | 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 46 (rect1.right == rect2.right) && in IsCongruent() 52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log() 57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 71 res.right = std::min(rect1.right, rect2.right); in Intersection() 90 res.right = rect.right + FLOAT(x_offset); in Reposition() 102 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract() 109 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract() 110 res.left = rect2.right; in Subtract() 111 } else if ((rect1.right == rect2.right) && (rect2.left >= rect1.left)) { in Subtract() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/ |
D | rect.cpp | 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 46 (rect1.right == rect2.right) && in IsCongruent() 52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log() 57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 71 res.right = std::min(rect1.right, rect2.right); in Intersection() 90 res.right = rect.right + FLOAT(x_offset); in Reposition() 102 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract() 109 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract() 110 res.left = rect2.right; in Subtract() 111 } else if ((rect1.right == rect2.right) && (rect2.left >= rect1.left)) { in Subtract() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
D | rect.cpp | 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 46 (rect1.right == rect2.right) && in IsCongruent() 52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log() 57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 71 res.right = std::min(rect1.right, rect2.right); in Intersection() 90 res.right = rect.right + FLOAT(x_offset); in Reposition() 102 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract() 109 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract() 110 res.left = rect2.right; in Subtract() 111 } else if ((rect1.right == rect2.right) && (rect2.left >= rect1.left)) { in Subtract() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/utils/ |
D | rect.cpp | 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 46 (rect1.right == rect2.right) && 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() 62 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 76 res.right = std::min(rect1.right, rect2.right); in Intersection() 95 res.right = rect.right + FLOAT(x_offset); in Reposition() 107 if ((rect1.left == rect2.left) && (rect1.right == rect2.right)) { in Subtract() 114 if ((rect1.left == rect2.left) && (rect2.right <= rect1.right)) { in Subtract() 115 res.left = rect2.right; in Subtract() [all …]
|
/hardware/qcom/sdm845/gps/msm8998/core/ |
D | LocAdapterBase.h | 44 inline bool operator <(LocationSessionKey const& left, LocationSessionKey const& right) { 45 return left.id < right.id || (left.id == right.id && left.client < right.client); 47 inline bool operator ==(LocationSessionKey const& left, LocationSessionKey const& right) { 48 return left.id == right.id && left.client == right.client; 50 inline bool operator !=(LocationSessionKey const& left, LocationSessionKey const& right) { 51 return left.id != right.id || left.client != right.client;
|
/hardware/qcom/gps/msm8998/core/ |
D | LocAdapterBase.h | 44 inline bool operator <(LocationSessionKey const& left, LocationSessionKey const& right) { 45 return left.id < right.id || (left.id == right.id && left.client < right.client); 47 inline bool operator ==(LocationSessionKey const& left, LocationSessionKey const& right) { 48 return left.id == right.id && left.client == right.client; 50 inline bool operator !=(LocationSessionKey const& left, LocationSessionKey const& right) { 51 return left.id != right.id || left.client != right.client;
|
/hardware/qcom/gps/msm8909w_3100/core/ |
D | LocAdapterBase.h | 44 inline bool operator <(LocationSessionKey const& left, LocationSessionKey const& right) { 45 return left.id < right.id || (left.id == right.id && left.client < right.client); 47 inline bool operator ==(LocationSessionKey const& left, LocationSessionKey const& right) { 48 return left.id == right.id && left.client == right.client; 50 inline bool operator !=(LocationSessionKey const& left, LocationSessionKey const& right) { 51 return left.id != right.id || left.client != right.client;
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion() 61 displayFrame.right,displayFrame.bottom); in getuiClearRegion() 72 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion() 86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion() 87 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion() 61 displayFrame.right,displayFrame.bottom); in getuiClearRegion() 72 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion() 86 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion() 87 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion()
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | types.h | 42 bool operator()(const StreamSpec& left, const StreamSpec& right) const { in operator() 44 return left.format < right.format || in operator() 45 (left.format == right.format && in operator() 46 (left.width < right.width || in operator() 47 (left.width == right.width && left.height < right.height))); in operator()
|
/hardware/qcom/sdm845/gps/sdm845/core/ |
D | LocAdapterBase.h | 46 inline bool operator <(LocationSessionKey const& left, LocationSessionKey const& right) { 47 return left.id < right.id || (left.id == right.id && left.client < right.client); 49 inline bool operator ==(LocationSessionKey const& left, LocationSessionKey const& right) { 50 return left.id == right.id && left.client == right.client; 52 inline bool operator !=(LocationSessionKey const& left, LocationSessionKey const& right) { 53 return left.id != right.id || left.client != right.client;
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion() 62 displayFrame.right,displayFrame.bottom); in getuiClearRegion() 74 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion() 88 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion() 89 int dst_w = clearWormholeRect.right - clearWormholeRect.left; in getuiClearRegion()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 374 int w = rect.right - rect.left; in getActionSafePosition() 429 rect.right = w + rect.left; in getActionSafePosition() 459 rect.right = srcWidth + rect.left; in getAspectRatioPosition() 485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() 487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() 502 width = float(rect.right - rect.left); in getAspectRatioPosition() 572 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition() 622 displayFrame.right = dstWidth; in calcExtDisplayPosition() 644 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition() 702 dst_w = displayFrame.right - displayFrame.left; in isDownscaleRequired() [all …]
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 238 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right = in initContext() 389 int w = rect.right - rect.left; in getActionSafePosition() 444 rect.right = w + rect.left; in getActionSafePosition() 472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() 474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() 489 width = float(rect.right - rect.left); in getAspectRatioPosition() 559 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition() 609 displayFrame.right = dstWidth; in calcExtDisplayPosition() 631 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition() 689 dst_w = displayFrame.right - displayFrame.left; in isDownscaleRequired() [all …]
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 138 ctx->mViewFrame[dpy].right = ctx->dpyAttr[dpy].xres; in updateDisplayInfo() 342 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].right = in initContext() 550 int w = rect.right - rect.left; in getActionSafePosition() 605 rect.right = w + rect.left; in getActionSafePosition() 633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() 635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() 650 width = float(rect.right - rect.left); in getAspectRatioPosition() 725 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition() 775 displayFrame.right = dstWidth; in calcExtDisplayPosition() 802 displayFrame.right = int(wRatio*(float)displayFrame.right); in calcExtDisplayPosition() [all …]
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
D | tilerenderer.cpp | 37 int right, int bottom) { in startTileRendering() argument 46 if (!left && !right && !top && !bottom) { in startTileRendering() 49 right = width; 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/msm8996/sdm/libs/core/ |
D | resource_default.cpp | 411 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded() 431 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig() 432 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() 460 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig() 465 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig() 569 float &crop_right = crop->right; in CalculateCropRects() 571 float crop_width = crop->right - crop->left; in CalculateCropRects() 576 float &dst_right = dst->right; in CalculateCropRects() 578 float dst_width = dst->right - dst->left; in CalculateCropRects() 583 const float &sci_right = scissor.right; in CalculateCropRects() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | resource_default.cpp | 448 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded() 468 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig() 469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() 497 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig() 502 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig() 606 float &crop_right = crop->right; in CalculateCropRects() 608 float crop_width = crop->right - crop->left; in CalculateCropRects() 613 float &dst_right = dst->right; in CalculateCropRects() 615 float dst_width = dst->right - dst->left; in CalculateCropRects() 620 const float &sci_right = scissor.right; in CalculateCropRects() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | resource_default.cpp | 448 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded() 468 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig() 469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() 497 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig() 502 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig() 606 float &crop_right = crop->right; in CalculateCropRects() 608 float crop_width = crop->right - crop->left; in CalculateCropRects() 613 float &dst_right = dst->right; in CalculateCropRects() 615 float dst_width = dst->right - dst->left; in CalculateCropRects() 620 const float &sci_right = scissor.right; in CalculateCropRects() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | resource_default.cpp | 448 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded() 468 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig() 469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() 497 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig() 502 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig() 606 float &crop_right = crop->right; in CalculateCropRects() 608 float crop_width = crop->right - crop->left; in CalculateCropRects() 613 float &dst_right = dst->right; in CalculateCropRects() 615 float dst_width = dst->right - dst->left; in CalculateCropRects() 620 const float &sci_right = scissor.right; in CalculateCropRects() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | resource_default.cpp | 448 return ((dst_roi.right - dst_roi.left) != (src_roi.right - src_roi.left)) || in IsScalingNeeded() 468 float src_width = src_rect.right - src_rect.left; in SrcSplitConfig() 469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() 497 scissor_left.right = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig() 502 scissor_right.right = FLOAT(mixer_attributes.width); in DisplaySplitConfig() 606 float &crop_right = crop->right; in CalculateCropRects() 608 float crop_width = crop->right - crop->left; in CalculateCropRects() 613 float &dst_right = dst->right; in CalculateCropRects() 615 float dst_width = dst->right - dst->left; in CalculateCropRects() 620 const float &sci_right = scissor.right; in CalculateCropRects() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 366 dst_w = displayFrame.right - displayFrame.left; in needsScaling() 369 src_w = sourceCrop.right - sourceCrop.left; in needsScaling() 559 int& crop_r = crop.right; in calculate_crop_rects() 561 int crop_w = crop.right - crop.left; in calculate_crop_rects() 566 int& dst_r = dst.right; in calculate_crop_rects() 568 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() 573 const int& sci_r = scissor.right; in calculate_crop_rects() 614 nwr.right = list->hwLayers[0].displayFrame.right; in getNonWormholeRegion() 621 nwr.right = max(nwr.right, displayFrame.right); in getNonWormholeRegion() 628 nwr.right = min(nwr.right, fbDisplayFrame.right); in getNonWormholeRegion() [all …]
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
D | layer_stack.h | 206 float right = 0.0f; //!< Right-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/msm8909w_3100/sdm/include/core/ |
D | layer_stack.h | 269 float right = 0.0f; //!< Right-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;
|