Home
last modified time | relevance | path

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

123

/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/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()
Dtilerenderer.h32 void startTileRendering(OpenGLRenderer* renderer, int left, int top, int right, int bottom);
/hardware/qcom/display/msm8x26/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()
Dtilerenderer.h32 void startTileRendering(OpenGLRenderer* renderer, int left, int top, int right, int bottom);
/hardware/qcom/display/msm8x26/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 …]
Dhwc_utils.cpp329 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
332 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
508 int& crop_t = crop.top; in calculate_crop_rects()
512 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
515 int& dst_t = dst.top; in calculate_crop_rects()
519 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
522 const int& sci_t = scissor.top; in calculate_crop_rects()
565 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
572 nwr.top = min(nwr.top, displayFrame.top); in getNonWormholeRegion()
579 nwr.top = max(nwr.top, fbDisplayFrame.top); in getNonWormholeRegion()
[all …]
Dhwc_copybit.cpp54 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
207 copybit_rect_t clear_rect = {rect.left, rect.top, in clear()
323 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
329 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit()
344 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit()
346 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit()
491 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
/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 …]
Dhwc_utils.cpp368 dst_h = displayFrame.bottom - displayFrame.top; in needsScaling()
371 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
548 int& crop_t = crop.top; in calculate_crop_rects()
552 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
555 int& dst_t = dst.top; in calculate_crop_rects()
559 int dst_h = abs(dst.bottom - dst.top); in calculate_crop_rects()
562 const int& sci_t = scissor.top; in calculate_crop_rects()
605 nwr.top = list->hwLayers[0].displayFrame.top; in getNonWormholeRegion()
612 nwr.top = min(nwr.top, displayFrame.top); in getNonWormholeRegion()
619 nwr.top = max(nwr.top, fbDisplayFrame.top); in getNonWormholeRegion()
[all …]
Dhwc_copybit.cpp54 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
207 copybit_rect_t clear_rect = {rect.left, rect.top, in clear()
323 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
329 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit()
344 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit()
346 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit()
491 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_fbupdate.cpp77 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 …]
Dhwc_utils.cpp312 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 …]
Dhwc_copybit.cpp55 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
178 ((layer->displayFrame.bottom - layer->displayFrame.top) % 16 || in prepare()
227 copybit_rect_t clear_rect = {rect.left, rect.top, in clear()
346 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
352 copybit_rect_t dstRect = {displayFrame.left, displayFrame.top, in drawLayerUsingCopybit()
367 int32_t screen_h = displayFrame.bottom - displayFrame.top; in drawLayerUsingCopybit()
369 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit()
544 height = displayFrame.bottom - displayFrame.top; in getLayerResolution()
Dhwc_utils.h159 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/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/libhardware/tests/hwc/
Dtest-arrows.c78 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/libhardware/modules/hwcomposer/
Dhwcomposer.cpp61 l->sourceCrop.top, in dump_layer()
65 l->displayFrame.top, in dump_layer()
/hardware/libhardware/include/hardware/
Dhwcomposer.h52 int top; member
59 float top; member
Dfb.h101 int left, int top, int width, int height);
Dcamera.h81 int left, int top, int right, int bottom);
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp161 l->sourceCrop.top, in dump_layer()
165 l->displayFrame.top, in dump_layer()
198 inline int HEIGHT(const hwc_rect &rect) { return rect.bottom - rect.top; } in HEIGHT()
228 crop->top = (h - h_orig) / 2; in align_crop_and_center()
230 crop->bottom = crop->top + h_orig; in align_crop_and_center()
411 (!rot90or270 || layer.sourceCrop.top % 2 == 0) && in exynos5_supports_gscaler()
662 cfg.y = layer.displayFrame.top; in hdmi_output()
691 sd_crop.rect.top = cfg.y; in hdmi_output()
769 layer.displayFrame.top > pdev->yres || in exynos5_is_offscreen()
833 r1.top > r2.bottom || in intersect()
[all …]
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h133 CameraArea(ssize_t top, in CameraArea() argument
137 size_t weight) : mTop(top), in CameraArea()
145 size_t &top,
172 static status_t checkArea(ssize_t top,
362 ssize_t top; member
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c238 p_job_params->main_dim.crop.top = 0; in encode_init()
248 p_job_params->thumb_dim.crop.top = 0; in encode_init()
/hardware/ti/omap4xxx/hwc/
Dhwc.c48 #define HEIGHT(rect) ((rect).bottom - (rect).top)
180 l->sourceCrop.top, in dump_layer()
184 l->displayFrame.top, in dump_layer()
479 oc->win.y = layer->displayFrame.top; in omap4_hwc_setup_layer()
485 oc->crop.y = layer->sourceCrop.top; in omap4_hwc_setup_layer()
571 m_translate(ext->m, -(orig_w >> 1) - region.left, -(orig_h >> 1) - region.top); in set_ext_matrix()
606 vis.lt[0] = vis_rect.left; vis.lt[1] = vis_rect.top; in crop_to_rect()
1164 .left = o->cfg.win.x, .top = o->cfg.win.y, in clone_external_layer()
2100 &hwc_dev->ext.mirror_region.left, &hwc_dev->ext.mirror_region.top, in omap4_hwc_device_open()
2103 hwc_dev->ext.mirror_region.top >= hwc_dev->ext.mirror_region.bottom) { in omap4_hwc_device_open()
[all …]

123