Home
last modified time | relevance | path

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

1234567891011

/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/sdm845/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/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/qcom/display/msm8909/libqdutils/
Dcb_utils.cpp34 irect.left = min(rect1.left, rect2.left); in getUnion()
43 copybit_rect_t clear_rect = {rect.left, rect.top,rect.right,rect.bottom}; in clear()
65 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in uiClearRegion()
68 if ((dirtyRect.right - dirtyRect.left > 0) && in uiClearRegion()
71 Rect tmpRect(dirtyRect.left,dirtyRect.top,dirtyRect.right, in uiClearRegion()
86 Rect tmpRect(displayFrame.left,displayFrame.top, in uiClearRegion()
99 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in uiClearRegion()
113 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in uiClearRegion()
116 int clear_w = tmpWormRect.right - tmpWormRect.left; in uiClearRegion()
/hardware/qcom/gps/sdm845/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/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/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/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/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/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()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp136 ctx->mViewFrame[dpy].left = 0; in updateDisplayInfo()
340 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0; in initContext()
549 int x = rect.left, y = rect.top; in getActionSafePosition()
550 int w = rect.right - rect.left; in getActionSafePosition()
603 rect.left = x; 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()
648 xPos = rect.left; in getAspectRatioPosition()
650 width = float(rect.right - rect.left); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp160 ctx->mViewFrame[dpy].left = 0; in updateDisplayInfo()
363 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0; in initContext()
616 int x = rect.left, y = rect.top; in getActionSafePosition()
617 int w = rect.right - rect.left; in getActionSafePosition()
670 rect.left = x; in getActionSafePosition()
672 rect.right = w + rect.left; in getActionSafePosition()
700 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
702 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
715 xPos = rect.left; in getAspectRatioPosition()
717 width = float(rect.right - rect.left); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.cpp98 ovutils::Dim dcrop(sourceCrop.left, sourceCrop.top, in configure()
99 sourceCrop.right - sourceCrop.left, in configure()
109 ovutils::Dim dpos(displayFrame.left, in configure()
111 displayFrame.right - displayFrame.left, in configure()
220 ovutils::Dim dcropL(sourceCrop.left, sourceCrop.top, in configure()
221 (sourceCrop.right - sourceCrop.left) / 2, in configure()
224 sourceCrop.left + (sourceCrop.right - sourceCrop.left) / 2, in configure()
226 (sourceCrop.right - sourceCrop.left) / 2, in configure()
240 ovutils::Dim dposL(displayFrame.left, in configure()
242 (displayFrame.right - displayFrame.left) / 2, in configure()
[all …]
Dhwc_utils.cpp366 dst_w = displayFrame.right - displayFrame.left; in needsScaling()
369 src_w = sourceCrop.right - sourceCrop.left; in needsScaling()
557 int& crop_l = crop.left; in calculate_crop_rects()
561 int crop_w = crop.right - crop.left; in calculate_crop_rects()
564 int& dst_l = dst.left; in calculate_crop_rects()
568 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects()
571 const int& sci_l = scissor.left; in calculate_crop_rects()
612 nwr.left = list->hwLayers[0].displayFrame.left; in getNonWormholeRegion()
619 nwr.left = min(nwr.left, displayFrame.left); in getNonWormholeRegion()
626 nwr.left = max(nwr.left, fbDisplayFrame.left); in getNonWormholeRegion()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Dresource_default.cpp448 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()
500 scissor_right.left = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
604 float &crop_left = crop->left; in CalculateCropRects()
608 float crop_width = crop->right - crop->left; in CalculateCropRects()
611 float &dst_left = dst->left; in CalculateCropRects()
615 float dst_width = dst->right - dst->left; in CalculateCropRects()
618 const float &sci_left = scissor.left; in CalculateCropRects()
683 ((src.left - roundf(src.left) != 0.0f) || in ValidateLayerParams()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp411 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()
463 scissor_right.left = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
567 float &crop_left = crop->left; in CalculateCropRects()
571 float crop_width = crop->right - crop->left; in CalculateCropRects()
574 float &dst_left = dst->left; in CalculateCropRects()
578 float dst_width = dst->right - dst->left; in CalculateCropRects()
581 const float &sci_left = scissor.left; in CalculateCropRects()
646 ((src.left - roundf(src.left) != 0.0f) || in ValidateLayerParams()
[all …]
/hardware/qcom/display/sdm845/sdm/libs/core/
Dresource_default.cpp448 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()
500 scissor_right.left = FLOAT(mixer_attributes.split_left); in DisplaySplitConfig()
604 float &crop_left = crop->left; in CalculateCropRects()
608 float crop_width = crop->right - crop->left; in CalculateCropRects()
611 float &dst_left = dst->left; in CalculateCropRects()
615 float dst_width = dst->right - dst->left; in CalculateCropRects()
618 const float &sci_left = scissor.left; in CalculateCropRects()
683 ((src.left - roundf(src.left) != 0.0f) || in ValidateLayerParams()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcLayer.cpp33 x.left == y.left && in operator ==()
46 x.left == y.left && in operator ==()
244 mPlane->setPosition(layer->displayFrame.left, in update()
246 layer->displayFrame.right - layer->displayFrame.left, in update()
248 mPlane->setSourceCrop(layer->sourceCropf.left, in update()
250 layer->sourceCropf.right - layer->sourceCropf.left, in update()
331 … mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top); in setupAttributes()
/hardware/intel/common/libmix/videodecoder/securevideo/clovertrail/
DVideoDecoderAVCSecure.cpp354 uint32_t left = 0, data = 0, phase = 0; in findNalUnitOffset() local
365 left = length; in findNalUnitOffset()
370 while ((left > 0) && (phase < 3)) { in findNalUnitOffset()
373 while (left > 3) { in findNalUnitOffset()
382 left -=4; in findNalUnitOffset()
391 if (left > 0) { in findNalUnitOffset()
406 left--; in findNalUnitOffset()
410 if ((left > 0) && (phase == 3)) { in findNalUnitOffset()
455 int32_t naluOffset, offset, left; in parseAnnexBStream() local
461 left = length; in parseAnnexBStream()
[all …]
/hardware/intel/common/libmix/videodecoder/securevideo/merrplus/
DVideoDecoderAVCSecure.cpp357 uint32_t left = 0, data = 0, phase = 0; in findNalUnitOffset() local
368 left = length; in findNalUnitOffset()
373 while ((left > 0) && (phase < 3)) { in findNalUnitOffset()
376 while (left > 3) { in findNalUnitOffset()
385 left -=4; in findNalUnitOffset()
394 if (left > 0) { in findNalUnitOffset()
409 left--; in findNalUnitOffset()
413 if ((left > 0) && (phase == 3)) { in findNalUnitOffset()
458 int32_t naluOffset, offset, left; in parseAnnexBStream() local
464 left = length; in parseAnnexBStream()
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcLayer.cpp34 x.left == y.left && in operator ==()
47 x.left == y.left && in operator ==()
286 mPlane->setPosition(layer->displayFrame.left, in update()
288 layer->displayFrame.right - layer->displayFrame.left, in update()
290 mPlane->setSourceCrop(layer->sourceCropf.left, in update()
292 layer->sourceCropf.right - layer->sourceCropf.left, in update()
393 … mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top); in setupAttributes()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3CropRegionMapper.cpp196 void QCamera3CropRegionMapper::boundToSize(int32_t& left, int32_t& top, in boundToSize() argument
199 if (left < 0) { in boundToSize()
200 left = 0; in boundToSize()
206 if ((left + width) > bound_w) { in boundToSize()
207 width = bound_w - left; in boundToSize()

1234567891011