/hardware/ti/omap4xxx/camera/ |
D | CameraHalUtilClasses.cpp | 122 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/ti/omap4-aah/camera/ |
D | CameraHalUtilClasses.cpp | 120 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/msm8084/libqdutils/ |
D | cb_utils.cpp | 34 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/ |
D | cb_utils.cpp | 34 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()
|
D | qd_utils.cpp | 119 rect.top = y; in getAspectRatioPosition() 121 rect.bottom = srcHeight + rect.top; in getAspectRatioPosition()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 373 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 …]
|
D | hwc_copybit.cpp | 59 rect->t = me->mRegion.rects[me->r.current].top; in iterate() 184 src_w = sourceCrop.bottom - sourceCrop.top; in prepare() 186 src_h = sourceCrop.bottom - sourceCrop.top; in prepare() 189 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare() 250 copybit_rect_t clear_rect = {rect.left, rect.top, in clear() 423 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit() 429 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit() 444 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit() 446 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() 627 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in fillColorUsingCopybit() [all …]
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
D | tilerenderer.cpp | 36 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/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 362 int x = rect.left, y = rect.top; in getActionSafePosition() 364 int h = rect.bottom - rect.top; in getActionSafePosition() 417 rect.top = y; in getActionSafePosition() 419 rect.bottom = h + rect.top; in getActionSafePosition() 447 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, in getAspectRatioPosition() 448 inRect.bottom - inRect.top); in getAspectRatioPosition() 449 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() 450 outRect.bottom - outRect.top); in getAspectRatioPosition() 463 yPos = rect.top; in getAspectRatioPosition() 465 height = rect.bottom - rect.top; in getAspectRatioPosition() [all …]
|
D | hwc_copybit.cpp | 59 rect->t = me->mRegion.rects[me->r.current].top; in iterate() 184 src_w = sourceCrop.bottom - sourceCrop.top; in prepare() 186 src_h = sourceCrop.bottom - sourceCrop.top; in prepare() 189 dst_h = layer->displayFrame.bottom - layer->displayFrame.top; in prepare() 250 copybit_rect_t clear_rect = {rect.left, rect.top, in clear() 423 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit() 429 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit() 444 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit() 446 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() 627 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in fillColorUsingCopybit() [all …]
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_fbupdate.cpp | 98 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 …]
|
D | hwc_utils.cpp | 368 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling() 371 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling() 555 int& crop_t = crop.top; in calculate_crop_rects() 559 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() 562 int& dst_t = dst.top; in calculate_crop_rects() 566 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects() 569 const int& sci_t = scissor.top; in calculate_crop_rects() 612 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion() 619 nwr.top = min(nwr.top, displayFrame.top); in getNonWormholeRegion() 626 nwr.top = max(nwr.top, fbDisplayFrame.top); in getNonWormholeRegion() [all …]
|
D | hwc_copybit.cpp | 55 rect->t = me->mRegion.rects[me->r.current].top; in iterate() 208 copybit_rect_t clear_rect = {rect.left, rect.top, in clear() 324 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit() 330 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit() 345 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit() 347 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() 492 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc_fbupdate.cpp | 77 displayFrame.bottom - displayFrame.top, in configure() 119 ovutils::Dim dcrop(sourceCrop.left, sourceCrop.top, in configure() 121 sourceCrop.bottom - sourceCrop.top); in configure() 135 displayFrame.top, in configure() 137 displayFrame.bottom - displayFrame.top); in configure() 201 displayFrame.bottom - displayFrame.top, in configure() 266 sourceCrop.top, in configure() 268 sourceCrop.bottom - sourceCrop.top); in configure() 272 sourceCrop.top, in configure() 274 sourceCrop.bottom - sourceCrop.top); in configure() [all …]
|
D | hwc_utils.cpp | 312 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling() 314 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling() 509 int& crop_t = crop.top; in calculate_crop_rects() 513 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() 516 int& dst_t = dst.top; in calculate_crop_rects() 520 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects() 523 const int& sci_t = scissor.top; in calculate_crop_rects() 566 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion() 573 nwr.top = min(nwr.top, displayFrame.top); in getNonWormholeRegion() 580 nwr.top = max(nwr.top, fbDisplayFrame.top); in getNonWormholeRegion() [all …]
|
D | hwc_copybit.cpp | 56 rect->t = me->mRegion.rects[me->r.current].top; in iterate() 179 ((layer->displayFrame.bottom - layer->displayFrame.top) % 16 || in prepare() 228 copybit_rect_t clear_rect = {rect.left, rect.top, in clear() 347 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit() 353 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit() 368 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit() 370 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit() 545 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
|
D | hwc_utils.h | 159 cropI.top = int(ceilf(cropF.top)); in integerizeSourceCrop() 167 cropF.top - roundf(cropF.top) || in isNonIntegralSourceCrop() 329 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
|
/hardware/intel/img/hwcomposer/common/base/ |
D | HwcLayer.cpp | 31 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()
|
D | HwcLayerList.cpp | 168 int srcH = (int)src.bottom - (int)src.top; in checkRgbOverlaySupported() 170 int dstH = dest.bottom - dest.top; in checkRgbOverlaySupported() 231 int srcH = (int)src.bottom - (int)src.top; in checkCursorSupported() 233 int dstH = dest.bottom - dest.top; in checkCursorSupported() 331 HwcLayer *hwcLayer = rgbOverlayLayers.top(); in initialize() 724 bRect->top >= aRect->bottom || in hasIntersection() 725 bRect->bottom <= aRect->top) in hasIntersection() 1039 l.sourceCropf.left, l.sourceCropf.top, l.sourceCropf.right, l.sourceCropf.bottom, in dump() 1040 l.displayFrame.left, l.displayFrame.top, l.displayFrame.right, l.displayFrame.bottom, in dump()
|
/hardware/ti/omap4-aah/hwc/ |
D | rgz_2d.c | 65 #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/ti/omap4-aah/libI420colorconvert/ |
D | ColorConvert.cpp | 29 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/omap4xxx/libI420colorconvert/ |
D | ColorConvert.cpp | 29 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/intel/img/hwcomposer/ips/tangier/ |
D | TngDisplayContext.cpp | 131 imgLayer->psLayer->sourceCropf.top, in commitContents() 133 imgLayer->psLayer->sourceCropf.bottom - imgLayer->psLayer->sourceCropf.top, in commitContents() 135 imgLayer->psLayer->displayFrame.top, in commitContents() 137 imgLayer->psLayer->displayFrame.bottom - imgLayer->psLayer->displayFrame.top, in commitContents()
|
/hardware/libhardware/tests/hwc/ |
D | test-arrows.c | 78 int top = h / 4; in prepare() local 83 vtx[1] = top; in prepare() 92 vtx[9] = top; in prepare() 94 vtx[11] = top; in prepare()
|
/hardware/intel/img/psb_video/src/android/ |
D | psb_gralloc.cpp | 52 int usage, int left, int top, int width, int height, in gralloc_lock() argument 66 left, top, width, height, in gralloc_lock()
|