Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 185) sorted by relevance

12345678

/hardware/qcom/gps/msm8909/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/gps/msm8996/utils/
DLocHeap.cpp54 static LocHeapNode* pop(LocHeapNode*& top);
59 static LocHeapNode* remove(LocHeapNode*& top, LocRankable& data);
134 LocHeapNode* LocHeapNode::pop(LocHeapNode*& top) { in pop() argument
141 LocHeapNode* poppedNode = top; in pop()
143 top->mSize--; in pop()
144 if (top->mLeft || top->mRight) { in pop()
148 LocHeapNode*& subTop = (NULL == top->mLeft) ? top->mRight : in pop()
149 ((NULL == top->mRight) ? top->mLeft : in pop()
150 (top->mLeft->outRanks(*(top->mRight)) ? top->mLeft : top->mRight)); in pop()
152 top->swap(*subTop); in pop()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp39 return ((rect.bottom > rect.top) && (rect.right > rect.left)); in IsValid()
44 (rect1.top == rect2.top) && in IsCongruent()
51 prefix, roi.left, roi.top, roi.right, roi.bottom); in Log()
57 rect->top = ROUND_UP_ALIGN_UP(rect->top, align_y); in Normalize()
69 res.top = MAX(rect1.top, rect2.top); in Intersection()
88 res.top = rect.top + FLOAT(y_offset); in Reposition()
102 if ((rect1.top == rect2.top) && (rect2.bottom <= rect1.bottom)) { in Subtract()
103 res.top = rect2.bottom; in Subtract()
104 } else if ((rect1.bottom == rect2.bottom) && (rect2.top >= rect1.top)) { in Subtract()
105 res.bottom = rect2.top; in Subtract()
[all …]
/hardware/intel/common/libmix/mix_audio/docs/reference/MixAudio/html/
Dstyle.css20 vertical-align: top;
28 top: 0em ! important;
33 top: -4.5em;
35 table.navigation#top
39 margin-top: 0;
42 top: 0;
64 top: 3em;
70 top: 2em;
75 margin-top: 2em;
92 margin-top: 0;
[all …]
/hardware/qcom/display/msm8909/libqdutils/
Dcb_utils.cpp34 irect.top = min(rect1.top, rect2.top); in getUnion()
42 copybit_rect_t clear_rect = {rect.left, rect.top,rect.right,rect.bottom}; in clear()
64 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in uiClearRegion()
68 (dirtyRect.bottom - dirtyRect.top > 0)) { in uiClearRegion()
70 Rect tmpRect(dirtyRect.left,dirtyRect.top,dirtyRect.right, in uiClearRegion()
85 Rect tmpRect(displayFrame.left,displayFrame.top, in uiClearRegion()
98 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in uiClearRegion()
112 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in uiClearRegion()
116 int clear_h = tmpWormRect.bottom - tmpWormRect.top; in uiClearRegion()
/hardware/ti/omap4xxx/camera/
DCameraHalUtilClasses.cpp122 size_t &top, in transfrom() argument
138 top = ( mTop + vRange / 2 ) * vScale; in transfrom()
141 areaHeight -= top; in transfrom()
150 status_t CameraArea::checkArea(ssize_t top, in checkArea() argument
158 if ( ( 0 == top ) && ( 0 == left ) && ( 0 == bottom ) && ( 0 == right ) && ( 0 == weight ) ) { in checkArea()
167 if ( ( CameraArea::TOP > top ) || ( CameraArea::BOTTOM < top ) ) { in checkArea()
168 CAMHAL_LOGEB("Camera area top coordinate is invalid %d", top ); in checkArea()
192 if ( top >= bottom ) { in checkArea()
212 ssize_t top, left, bottom, right, weight; in parseAreas() local
257 top = static_cast<ssize_t>(strtol(pEnd+1, &pEnd, 10)); in parseAreas()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
Dcb_utils.cpp34 irect.top = min(rect1.top, rect2.top); in getUnion()
48 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
59 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion()
71 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
85 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
87 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8226/libqdutils/
Dcb_utils.cpp34 irect.top = min(rect1.top, rect2.top); in getUnion()
48 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
59 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion()
71 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
85 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
87 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/ti/omap4-aah/camera/
DCameraHalUtilClasses.cpp120 size_t &top, in transfrom() argument
136 top = ( mTop + vRange / 2 ) * vScale; in transfrom()
139 areaHeight -= top; in transfrom()
148 status_t CameraArea::checkArea(ssize_t top, in checkArea() argument
156 if ( ( 0 == top ) && ( 0 == left ) && ( 0 == bottom ) && ( 0 == right ) && ( 0 == weight ) ) { in checkArea()
165 if ( ( CameraArea::TOP > top ) || ( CameraArea::BOTTOM < top ) ) { in checkArea()
166 CAMHAL_LOGEB("Camera area top coordinate is invalid %d", top ); in checkArea()
190 if ( top >= bottom ) { in checkArea()
210 ssize_t top, left, bottom, right, weight; in parseAreas() local
255 top = static_cast<ssize_t>(strtol(pEnd+1, &pEnd, 10)); in parseAreas()
[all …]
/hardware/qcom/display/msm8994/libqdutils/
Dcb_utils.cpp34 irect.top = min(rect1.top, rect2.top); in getUnion()
48 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); in getuiClearRegion()
60 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion()
73 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion()
87 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
89 int dst_h = clearWormholeRect.bottom - clearWormholeRect.top; in getuiClearRegion()
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp36 int left, int top, in startTileRendering() argument
46 if (!left && !right && !top && !bottom) { in startTileRendering()
48 top = 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/msm8084/libhwcomposer/
Dhwc_utils.cpp373 int x = rect.left, y = rect.top; in getActionSafePosition()
375 int h = rect.bottom - rect.top; in getActionSafePosition()
428 rect.top = y; in getActionSafePosition()
430 rect.bottom = h + rect.top; in getActionSafePosition()
458 rect.top = y; in getAspectRatioPosition()
460 rect.bottom = srcHeight + rect.top; in getAspectRatioPosition()
485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
486 inRect.bottom - inRect.top); in getAspectRatioPosition()
487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
488 outRect.bottom - outRect.top); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp237 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0; in initContext()
388 int x = rect.left, y = rect.top; in getActionSafePosition()
390 int h = rect.bottom - rect.top; in getActionSafePosition()
443 rect.top = y; in getActionSafePosition()
445 rect.bottom = h + rect.top; in getActionSafePosition()
472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
473 inRect.bottom - inRect.top); in getAspectRatioPosition()
474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
475 outRect.bottom - outRect.top); in getAspectRatioPosition()
488 yPos = rect.top; in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.cpp98 ovutils::Dim dcrop(sourceCrop.left, sourceCrop.top, in configure()
100 sourceCrop.bottom - sourceCrop.top); in configure()
110 displayFrame.top, in configure()
112 displayFrame.bottom - displayFrame.top); in configure()
220 ovutils::Dim dcropL(sourceCrop.left, sourceCrop.top, in configure()
222 sourceCrop.bottom - sourceCrop.top); in configure()
225 sourceCrop.top, in configure()
227 sourceCrop.bottom - sourceCrop.top); in configure()
241 displayFrame.top, in configure()
243 displayFrame.bottom - displayFrame.top); in configure()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp161 ctx->mViewFrame[dpy].top = 0; in updateDisplayInfo()
364 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0; in initContext()
616 int x = rect.left, y = rect.top; in getActionSafePosition()
618 int h = rect.bottom - rect.top; in getActionSafePosition()
671 rect.top = y; in getActionSafePosition()
673 rect.bottom = h + rect.top; in getActionSafePosition()
700 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
701 inRect.bottom - inRect.top); in getAspectRatioPosition()
702 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
703 outRect.bottom - outRect.top); in getAspectRatioPosition()
[all …]
Dhwc_copybit.cpp59 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
193 (mLayerCache.displayFrame[k].top != in isLayerChanging()
194 list->hwLayers[k].displayFrame.top) || in isLayerChanging()
244 dirtyRect.top = INVALID_DIMENSION; in prepareSwapRect()
257 displayRect.top = 0; in prepareSwapRect()
270 displayRect.top = 0; in prepareSwapRect()
278 displayRect.top = 0; in prepareSwapRect()
312 finalH += ALIGN((overlap.bottom - overlap.top), 32); in prepareOverlap()
313 if(finalH > ALIGN((overlap.bottom - overlap.top), 32)) { in prepareOverlap()
315 ptorInfo->displayFrame[i].top = (finalH - in prepareOverlap()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp137 ctx->mViewFrame[dpy].top = 0; in updateDisplayInfo()
341 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].top = 0; in initContext()
549 int x = rect.left, y = rect.top; in getActionSafePosition()
551 int h = rect.bottom - rect.top; in getActionSafePosition()
604 rect.top = y; in getActionSafePosition()
606 rect.bottom = h + rect.top; in getActionSafePosition()
633 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition()
634 inRect.bottom - inRect.top); in getAspectRatioPosition()
635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition()
636 outRect.bottom - outRect.top); in getAspectRatioPosition()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcLayer.cpp31 return (x.top == y.top && in operator ==()
44 return (x.top == y.top && in operator ==()
245 layer->displayFrame.top, in update()
247 layer->displayFrame.bottom - layer->displayFrame.top); in update()
249 layer->sourceCropf.top, in update()
251 layer->sourceCropf.bottom - layer->sourceCropf.top); in update()
331 … mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top); in setupAttributes()
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcLayer.cpp32 return (x.top == y.top && in operator ==()
45 return (x.top == y.top && in operator ==()
287 layer->displayFrame.top, in update()
289 layer->displayFrame.bottom - layer->displayFrame.top); in update()
291 layer->sourceCropf.top, in update()
293 layer->sourceCropf.bottom - layer->sourceCropf.top); in update()
393 … mPriority = (mSourceCropf.right - mSourceCropf.left) * (mSourceCropf.bottom - mSourceCropf.top); in setupAttributes()
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp405 ((dst_roi.bottom - dst_roi.top) != (src_roi.bottom - src_roi.top)); in IsScalingNeeded()
457 scissor_right.top = 0.0f; in DisplaySplitConfig()
561 float &crop_top = crop->top; in CalculateCropRects()
565 float crop_height = crop->bottom - crop->top; in CalculateCropRects()
568 float &dst_top = dst->top; in CalculateCropRects()
572 float dst_height = dst->bottom - dst->top; in CalculateCropRects()
575 const float &sci_top = scissor.top; in CalculateCropRects()
640 (src.top - roundf(src.top) != 0.0f) || in ValidateLayerParams()
662 float crop_height = crop.bottom - crop.top; in ValidateDimensions()
664 float dst_height = dst.bottom - dst.top; in ValidateDimensions()
[all …]
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3CropRegionMapper.cpp196 void QCamera3CropRegionMapper::boundToSize(int32_t& left, int32_t& top, in boundToSize() argument
202 if (top < 0) { in boundToSize()
203 top = 0; in boundToSize()
209 if ((top + height) > bound_h) { in boundToSize()
210 height = bound_h - top; in boundToSize()
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c65 #define HEIGHT(rect) ((rect).bottom - (rect).top)
131 r->left, r->top, r->right - r->left, r->bottom - r->top, color, 1.0f); in svgout_rect()
138 r->left, r->top + 40, text); in svgout_rect()
143 return !r->left && !r->top && !r->right && !r->bottom; in empty_rect()
193 return ((a->bottom > 0) && (a->top < disph) && in svgout_intersects_display()
244 l->sourceCrop.top, in dump_layer()
248 l->displayFrame.top, in dump_layer()
311 res_rect->top = layer->displayFrame.top; in rgz_get_displayframe_rect()
331 e->bp.dstrect.top = subregion_rect->top; in rgz_set_dst_data()
361 srcrect->top = res_rect.top; in rgz_set_src_data()
[all …]
/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_stack.h219 float top = 0.0f; //!< Top-most pixel coordinate. member
225 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect()
228 return left == rect.left && right == rect.right && top == rect.top && bottom == rect.bottom;
/hardware/ti/omap4xxx/libI420colorconvert/
DColorConvert.cpp29 srcWidth * srcRect.top + srcRect.left; in convertDecoderOutputToI420()
31 srcWidth * (srcHeight - srcRect.top / 2); in convertDecoderOutputToI420()
34 int dstHeight = srcRect.bottom - srcRect.top + 1; in convertDecoderOutputToI420()
100 encoderRect->top = 0; in getEncoderInputBufferInfo()
/hardware/ti/omap4-aah/libI420colorconvert/
DColorConvert.cpp29 srcWidth * srcRect.top + srcRect.left; in convertDecoderOutputToI420()
31 srcWidth * (srcHeight - srcRect.top / 2); in convertDecoderOutputToI420()
34 int dstHeight = srcRect.bottom - srcRect.top + 1; in convertDecoderOutputToI420()
100 encoderRect->top = 0; in getEncoderInputBufferInfo()

12345678