/hardware/qcom/sdm845/display/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
D | copybit.cpp | 126 static bool validateCopybitRect(struct copybit_rect_t *rect) { in validateCopybitRect() argument 127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect() 597 struct copybit_rect_t *rect) in clear_copybit() argument 625 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit() 626 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit() 628 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit() 632 req->dst_rect.x = rect->l; in clear_copybit() 633 req->dst_rect.y = rect->t; in clear_copybit() 634 req->dst_rect.w = rect->r - rect->l; in clear_copybit() 635 req->dst_rect.h = rect->b - rect->t; in clear_copybit() [all …]
|
/hardware/qcom/display/msm8909w_3100/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
D | copybit.cpp | 126 static bool validateCopybitRect(struct copybit_rect_t *rect) { in validateCopybitRect() argument 127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect() 597 struct copybit_rect_t *rect) in clear_copybit() argument 625 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit() 626 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit() 628 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit() 632 req->dst_rect.x = rect->l; in clear_copybit() 633 req->dst_rect.y = rect->t; in clear_copybit() 634 req->dst_rect.w = rect->r - rect->l; in clear_copybit() 635 req->dst_rect.h = rect->b - rect->t; in clear_copybit() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
D | copybit.cpp | 126 static bool validateCopybitRect(struct copybit_rect_t *rect) { in validateCopybitRect() argument 127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect() 597 struct copybit_rect_t *rect) in clear_copybit() argument 625 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit() 626 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit() 628 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit() 632 req->dst_rect.x = rect->l; in clear_copybit() 633 req->dst_rect.y = rect->t; in clear_copybit() 634 req->dst_rect.w = rect->r - rect->l; in clear_copybit() 635 req->dst_rect.h = rect->b - rect->t; in clear_copybit() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
D | copybit.cpp | 124 static bool validateCopybitRect(struct copybit_rect_t *rect) { in validateCopybitRect() argument 125 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect() 595 struct copybit_rect_t *rect) in clear_copybit() argument 623 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit() 624 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit() 626 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit() 630 req->dst_rect.x = rect->l; in clear_copybit() 631 req->dst_rect.y = rect->t; in clear_copybit() 632 req->dst_rect.w = rect->r - rect->l; in clear_copybit() 633 req->dst_rect.h = rect->b - rect->t; in clear_copybit() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit_priv.h | 32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator() 33 mRect = rect; in copybit_iterator() 38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate() 39 if (!self || !rect) { in iterate() 45 rect->l = me->mRect.l; in iterate() 46 rect->t = me->mRect.t; in iterate() 47 rect->r = me->mRect.r; in iterate() 48 rect->b = me->mRect.b; in iterate()
|
D | copybit.cpp | 126 static bool validateCopybitRect(struct copybit_rect_t *rect) { in validateCopybitRect() argument 127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect() 595 struct copybit_rect_t *rect) in clear_copybit() argument 623 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit() 624 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit() 626 __FUNCTION__, rect->l, rect->t, rect->r, rect->b); in clear_copybit() 630 req->dst_rect.x = rect->l; in clear_copybit() 631 req->dst_rect.y = rect->t; in clear_copybit() 632 req->dst_rect.w = rect->r - rect->l; in clear_copybit() 633 req->dst_rect.h = rect->b - rect->t; in clear_copybit() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() argument 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 55 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() argument 56 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize() 57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 58 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize() 59 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize() 81 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() argument 84 if (!IsValid(rect)) { in Reposition() 88 res.left = rect.left + FLOAT(x_offset); in Reposition() [all …]
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
D | layer_stack.h | 213 bool operator==(const LayerRect& rect) const { 214 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom; 217 bool operator!=(const LayerRect& rect) const { 218 return !operator==(rect); 227 LayerRect *rect = NULL; //!< Pointer to first element of array. member
|
/hardware/qcom/display/msm8909/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() argument 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 60 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() argument 61 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize() 62 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 63 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize() 64 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize() 86 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() argument 89 if (!IsValid(rect)) { in Reposition() 93 res.left = rect.left + FLOAT(x_offset); in Reposition() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() argument 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 55 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() argument 56 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize() 57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 58 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize() 59 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize() 81 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() argument 84 if (!IsValid(rect)) { in Reposition() 88 res.left = rect.left + FLOAT(x_offset); in Reposition() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() argument 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid() 55 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() argument 56 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize() 57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x); in Normalize() 58 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize() 59 rect->bottom = ROUND_UP_ALIGN_DOWN(rect->bottom, align_y); in Normalize() 81 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() argument 84 if (!IsValid(rect)) { in Reposition() 88 res.left = rect.left + FLOAT(x_offset); in Reposition() [all …]
|
/hardware/interfaces/camera/device/3.4/default/ |
D | ExternalCameraUtils.cpp | 116 int AllocatedFrame::getCroppedLayout(const IMapper::Rect& rect, YCbCrLayout* out) { in getCroppedLayout() argument 123 if ((rect.left + rect.width) > static_cast<int>(mWidth) || in getCroppedLayout() 124 (rect.top + rect.height) > static_cast<int>(mHeight) || in getCroppedLayout() 125 (rect.left % 2) || (rect.top % 2) || (rect.width % 2) || (rect.height % 2)) { in getCroppedLayout() 127 rect.left, rect.top, rect.width, rect.height); in getCroppedLayout() 131 out->y = mData.data() + mWidth * rect.top + rect.left; in getCroppedLayout() 135 out->cb = cbStart + mWidth * rect.top / 4 + rect.left / 2; in getCroppedLayout() 136 out->cr = crStart + mWidth * rect.top / 4 + rect.left / 2; in getCroppedLayout()
|
/hardware/qcom/display/msm8909w_3100/sdm/include/core/ |
D | layer_stack.h | 276 bool operator==(const LayerRect& rect) const { 277 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom; 280 bool operator!=(const LayerRect& rect) const { 281 return !operator==(rect); 290 LayerRect *rect = NULL; //!< Pointer to first element of array. member
|
/hardware/qcom/display/msm8998/sdm/include/core/ |
D | layer_stack.h | 276 bool operator==(const LayerRect& rect) const { 277 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom; 280 bool operator!=(const LayerRect& rect) const { 281 return !operator==(rect); 290 LayerRect *rect = NULL; //!< Pointer to first element of array. member
|
/hardware/qcom/display/msm8909/sdm/include/core/ |
D | layer_stack.h | 276 bool operator==(const LayerRect& rect) const { 277 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom; 280 bool operator!=(const LayerRect& rect) const { 281 return !operator==(rect); 290 LayerRect *rect = NULL; //!< Pointer to first element of array. member
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | qd_utils.cpp | 98 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() argument 118 rect.left = x; in getAspectRatioPosition() 119 rect.top = y; in getAspectRatioPosition() 120 rect.right = srcWidth + rect.left; in getAspectRatioPosition() 121 rect.bottom = srcHeight + rect.top; in getAspectRatioPosition()
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | qd_utils.cpp | 97 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() argument 117 rect.left = x; in getAspectRatioPosition() 118 rect.top = y; in getAspectRatioPosition() 119 rect.right = srcWidth + rect.left; in getAspectRatioPosition() 120 rect.bottom = srcHeight + rect.top; in getAspectRatioPosition()
|