Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
44 return ((rect1.left == rect2.left) && 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()
61 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize()
74 res.left = std::max(rect1.left, rect2.left); in Intersection()
93 res.left = rect.left + 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/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
44 return ((rect1.left == rect2.left) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
56 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize()
69 res.left = std::max(rect1.left, rect2.left); in Intersection()
88 res.left = rect.left + 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/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
44 return ((rect1.left == rect2.left) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
56 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize()
69 res.left = std::max(rect1.left, rect2.left); in Intersection()
88 res.left = rect.left + 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/sm7250/display/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
44 return ((rect1.left == rect2.left) && 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()
61 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize()
74 res.left = std::max(rect1.left, rect2.left); in Intersection()
93 res.left = rect.left + FLOAT(x_offset); in Reposition()
107 rect1.left <= rect2.left && rect1.right >= rect2.right); in Contains()
119 if (rect1.left != rect2.left || rect1.right != rect2.right) { in Subtract()
122 res[0].left = rect1.left; in Subtract()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
44 return ((rect1.left == rect2.left) && 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()
61 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize()
74 res.left = std::max(rect1.left, rect2.left); in Intersection()
93 res.left = rect.left + FLOAT(x_offset); in Reposition()
107 rect1.left <= rect2.left && rect1.right >= rect2.right); in Contains()
119 if (rect1.left != rect2.left || rect1.right != rect2.right) { in Subtract()
122 res[0].left = rect1.left; in Subtract()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
44 return ((rect1.left == rect2.left) && in IsCongruent()
52 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
56 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); in Normalize()
69 res.left = std::max(rect1.left, rect2.left); in Intersection()
88 res.left = rect.left + 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/google/gfxstream/guest/mesa/src/util/
Drb_tree.c82 while (node->left) in rb_node_minimum()
83 node = node->left; in rb_node_minimum()
110 } else if (u == p->left) { in rb_tree_splice()
111 p->left = v; in rb_tree_splice()
126 x->right = y->left; in rb_tree_rotate_left()
127 if (y->left) in rb_tree_rotate_left()
128 rb_node_set_parent(y->left, x); in rb_tree_rotate_left()
130 y->left = x; in rb_tree_rotate_left()
137 assert(y && y->left); in rb_tree_rotate_right()
139 struct rb_node *x = y->left; in rb_tree_rotate_right()
[all …]
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DFormatConversions.h33 int left, int top, int right, int bottom);
35 int left, int top, int right, int bottom);
37 int left, int top, int right, int bottom);
39 int left, int top, int right, int bottom);
41 int left, int top, int right, int bottom);
43 int left, int top, int right, int bottom);
46 int width, int height, int top, int left,
DFormatConversions.cpp89 int left, int top, int right, int bottom) { in rgb565_to_yv12() argument
107 for (int i = left; i <= right; ++i) { in rgb565_to_yv12()
129 int left, int top, int right, int bottom) { in rgb888_to_yv12() argument
163 for (int i = left; i <= right; ++i) { in rgb888_to_yv12()
197 int left, int top, int right, int bottom) { in rgb888_to_yuv420p() argument
215 for (int i = left; i <= right; ++i) { in rgb888_to_yuv420p()
234 int left, int top, int right, int bottom) { in yv12_to_rgb565() argument
252 for (int i = left; i <= right; ++i) { in yv12_to_rgb565()
271 rgb_ptr[i-left] = rgb1; in yv12_to_rgb565()
279 int left, int top, int right, int bottom) { in yv12_to_rgb888() argument
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3CropRegionMapper.cpp144 float left = crop_left * mActiveArrayW / mSensorW; in toActiveArray() local
152 left = left * zoom_ratio - (zoom_ratio - 1) * 0.5f * mActiveArrayW; in toActiveArray()
157 crop_left = std::round(left); in toActiveArray()
222 float left = crop_left / zoom_ratio + in applyZoomRatioHelper() local
231 left = left * mSensorW / mActiveArrayW; in applyZoomRatioHelper()
237 crop_left = std::round(left); in applyZoomRatioHelper()
292 void QCamera3CropRegionMapper::boundToSize(int32_t& left, int32_t& top, in boundToSize() argument
295 if (left < 0) { in boundToSize()
296 left = 0; in boundToSize()
298 if (left >= bound_w) { in boundToSize()
[all …]
/hardware/qcom/sm8150p/gps/geofence/
DGeofenceAdapter.h55 inline bool operator <(GeofenceKey const& left, GeofenceKey const& right) {
56 return left.id < right.id || (left.id == right.id && left.client < right.client);
58 inline bool operator ==(GeofenceKey const& left, GeofenceKey const& right) {
59 return left.id == right.id && left.client == right.client;
61 inline bool operator !=(GeofenceKey const& left, GeofenceKey const& right) {
62 return left.id != right.id || left.client != right.client;
/hardware/qcom/sm8150/gps/geofence/
DGeofenceAdapter.h55 inline bool operator <(GeofenceKey const& left, GeofenceKey const& right) {
56 return left.id < right.id || (left.id == right.id && left.client < right.client);
58 inline bool operator ==(GeofenceKey const& left, GeofenceKey const& right) {
59 return left.id == right.id && left.client == right.client;
61 inline bool operator !=(GeofenceKey const& left, GeofenceKey const& right) {
62 return left.id != right.id || left.client != right.client;
/hardware/qcom/sm7150/gps/geofence/
DGeofenceAdapter.h55 inline bool operator <(GeofenceKey const& left, GeofenceKey const& right) {
56 return left.id < right.id || (left.id == right.id && left.client < right.client);
58 inline bool operator ==(GeofenceKey const& left, GeofenceKey const& right) {
59 return left.id == right.id && left.client == right.client;
61 inline bool operator !=(GeofenceKey const& left, GeofenceKey const& right) {
62 return left.id != right.id || left.client != right.client;
/hardware/qcom/sm7250/gps/geofence/
DGeofenceAdapter.h55 inline bool operator <(GeofenceKey const& left, GeofenceKey const& right) {
56 return left.id < right.id || (left.id == right.id && left.client < right.client);
58 inline bool operator ==(GeofenceKey const& left, GeofenceKey const& right) {
59 return left.id == right.id && left.client == right.client;
61 inline bool operator !=(GeofenceKey const& left, GeofenceKey const& right) {
62 return left.id != right.id || left.client != right.client;
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.h45 int left;
50 left = rect.left; in GrallocRect()
57 left = rect.left; in GrallocRect()
59 right = rect.left + rect.width; in GrallocRect()
64 left = rect.left; in GrallocRect()
/hardware/qcom/gps/msm8909w_3100/core/
DLocAdapterBase.h44 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/
DLocAdapterBase.h44 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/libhardware/modules/camera/3_4/metadata/
Dtypes.h42 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/display/msm8226/libqdutils/
Dcb_utils.cpp34 irect.left = min(rect1.left, rect2.left); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
60 Rect tmpRect(displayFrame.left,displayFrame.top, 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/msm8084/libqdutils/
Dcb_utils.cpp34 irect.left = min(rect1.left, rect2.left); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
60 Rect tmpRect(displayFrame.left,displayFrame.top, 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/google/gfxstream/common/end2end/
DGfxstreamEnd2EndCompositionTests.cpp45 .left = 0, in TEST_P()
52 .left = 0, in TEST_P()
73 .left = 64, in TEST_P()
80 .left = 0, in TEST_P()
121 .left = 0, in TEST_P()
128 .left = 0, in TEST_P()
149 .left = 64, in TEST_P()
156 .left = 0, in TEST_P()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp373 int x = rect.left, y = rect.top; in getActionSafePosition()
374 int w = rect.right - rect.left; in getActionSafePosition()
427 rect.left = x; in getActionSafePosition()
429 rect.right = w + rect.left; in getActionSafePosition()
457 rect.left = x; in getAspectRatioPosition()
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()
500 xPos = rect.left; in getAspectRatioPosition()
502 width = float(rect.right - rect.left); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp236 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0; in initContext()
388 int x = rect.left, y = rect.top; in getActionSafePosition()
389 int w = rect.right - rect.left; in getActionSafePosition()
442 rect.left = x; 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()
487 xPos = rect.left; in getAspectRatioPosition()
489 width = float(rect.right - rect.left); in getAspectRatioPosition()
519 xPos = r.left; in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp36 int left, int top, in startTileRendering() argument
46 if (!left && !right && !top && !bottom) { in startTileRendering()
47 left = 0; 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.cpp34 irect.left = min(rect1.left, rect2.left); in getUnion()
49 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
61 Rect tmpRect(displayFrame.left,displayFrame.top, 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()

12345678910>>...24