Home
last modified time | relevance | path

Searched refs:sourceCrop (Results 1 – 25 of 37) sorted by relevance

12

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.cpp95 hwc_rect_t sourceCrop; in configure() local
96 getNonWormholeRegion(list, sourceCrop); in configure()
98 ovutils::Dim dcrop(sourceCrop.left, sourceCrop.top, in configure()
99 sourceCrop.right - sourceCrop.left, in configure()
100 sourceCrop.bottom - sourceCrop.top); in configure()
108 hwc_rect_t displayFrame = sourceCrop; in configure()
218 hwc_rect_t sourceCrop; in configure() local
219 getNonWormholeRegion(list, sourceCrop); in configure()
220 ovutils::Dim dcropL(sourceCrop.left, sourceCrop.top, in configure()
221 (sourceCrop.right - sourceCrop.left) / 2, in configure()
[all …]
Dhwc_copybit.cpp327 hwc_rect_t sourceCrop = layer->sourceCrop; in drawLayerUsingCopybit() local
328 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
329 sourceCrop.right, in drawLayerUsingCopybit()
330 sourceCrop.bottom}; in drawLayerUsingCopybit()
350 int32_t src_crop_width = sourceCrop.right - sourceCrop.left; in drawLayerUsingCopybit()
351 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit()
Dhwc_utils.cpp364 hwc_rect_t sourceCrop = layer->sourceCrop; in needsScaling() local
369 src_w = sourceCrop.right - sourceCrop.left; in needsScaling()
370 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
943 hwc_rect_t crop = layer->sourceCrop; in configureLowRes()
1024 hwc_rect_t crop = layer->sourceCrop; in configureHighRes()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_fbupdate.cpp116 hwc_rect_t sourceCrop; in configure() local
117 getNonWormholeRegion(list, sourceCrop); in configure()
119 ovutils::Dim dcrop(sourceCrop.left, sourceCrop.top, in configure()
120 sourceCrop.right - sourceCrop.left, in configure()
121 sourceCrop.bottom - sourceCrop.top); in configure()
130 getNonWormholeRegion(list, sourceCrop); in configure()
133 displayFrame = sourceCrop; in configure()
256 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() local
262 (sourceCrop.right - sourceCrop.left) * lSplitRatio; in configure()
265 sourceCrop.left, in configure()
[all …]
Dhwc_copybit.cpp345 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in drawLayerUsingCopybit() local
346 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
347 sourceCrop.right, in drawLayerUsingCopybit()
348 sourceCrop.bottom}; in drawLayerUsingCopybit()
368 int32_t src_crop_width = sourceCrop.right - sourceCrop.left; in drawLayerUsingCopybit()
369 int32_t src_crop_height = sourceCrop.bottom -sourceCrop.top; in drawLayerUsingCopybit()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_fbupdate.cpp90 hwc_rect_t& sourceCrop, in preRotateExtDisplay() argument
103 sourceCrop = getIntersection(sourceCrop, ctx->mViewFrame[mDpy]); in preRotateExtDisplay()
105 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
110 updateSource(orient, info, sourceCrop, mRot); in preRotateExtDisplay()
165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() local
172 sourceCrop = fbUpdatingRect; in configure()
189 sourceCrop = layer->displayFrame; in configure()
194 getNonWormholeRegion(list, sourceCrop); in configure()
195 displayFrame = sourceCrop; in configure()
198 calcExtDisplayPosition(ctx, NULL, mDpy, sourceCrop, displayFrame, in configure()
[all …]
Dhwc_copybit.cpp325 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare() local
328 src_h = sourceCrop.right - sourceCrop.left; in prepare()
329 src_w = sourceCrop.bottom - sourceCrop.top; in prepare()
331 src_h = sourceCrop.bottom - sourceCrop.top; in prepare()
332 src_w = sourceCrop.right - sourceCrop.left; in prepare()
842 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in drawLayerUsingCopybit() local
843 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
844 sourceCrop.right, in drawLayerUsingCopybit()
845 sourceCrop.bottom}; in drawLayerUsingCopybit()
874 int32_t src_crop_width = sourceCrop.right - sourceCrop.left; in drawLayerUsingCopybit()
[all …]
Dhwc_dump_layers.cpp226 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in logLayer() local
250 sourceCrop.left, sourceCrop.top, in logLayer()
251 sourceCrop.right, sourceCrop.bottom, in logLayer()
Dhwc_fbupdate.h76 hwc_rect_t& sourceCrop,
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_fbupdate.cpp92 hwc_rect_t& sourceCrop, in preRotateExtDisplay() argument
105 sourceCrop = getIntersection(sourceCrop, ctx->mViewFrame[mDpy]); in preRotateExtDisplay()
107 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
112 updateSource(orient, info, sourceCrop, mRot); in preRotateExtDisplay()
171 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() local
178 sourceCrop = fbUpdatingRect; in configure()
195 sourceCrop = layer->displayFrame; in configure()
202 getNonWormholeRegion(list, sourceCrop); in configure()
203 displayFrame = sourceCrop; in configure()
206 calcExtDisplayPosition(ctx, NULL, mDpy, sourceCrop, displayFrame, in configure()
[all …]
Dhwc_copybit.cpp318 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare() local
321 src_h = sourceCrop.right - sourceCrop.left; in prepare()
322 src_w = sourceCrop.bottom - sourceCrop.top; in prepare()
324 src_h = sourceCrop.bottom - sourceCrop.top; in prepare()
325 src_w = sourceCrop.right - sourceCrop.left; in prepare()
789 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in drawLayerUsingCopybit() local
790 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
791 sourceCrop.right, in drawLayerUsingCopybit()
792 sourceCrop.bottom}; in drawLayerUsingCopybit()
821 int32_t src_crop_width = sourceCrop.right - sourceCrop.left; in drawLayerUsingCopybit()
[all …]
Dhwc_dump_layers.cpp222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in logLayer() local
246 sourceCrop.left, sourceCrop.top, in logLayer()
247 sourceCrop.right, sourceCrop.bottom, in logLayer()
Dhwc_utils.cpp584 hwc_rect_t& sourceCrop, in calcExtDisplayPosition() argument
606 sourceCrop = displayFrame; in calcExtDisplayPosition()
687 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired() local
691 src_w = sourceCrop.right - sourceCrop.left; in isDownscaleRequired()
692 src_h = sourceCrop.bottom - sourceCrop.top; in isDownscaleRequired()
702 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling() local
706 src_w = sourceCrop.right - sourceCrop.left; in needsScaling()
707 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
727 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScalingWithSplit() local
731 cropL = sourceCrop; in needsScalingWithSplit()
[all …]
Dhwc_fbupdate.h76 hwc_rect_t& sourceCrop,
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_fbupdate.cpp85 hwc_rect_t& sourceCrop, in preRotateExtDisplay() argument
98 sourceCrop = getIntersection(sourceCrop, ctx->mViewFrame[mDpy]); in preRotateExtDisplay()
100 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
106 updateSource(orient, info, sourceCrop); in preRotateExtDisplay()
165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() local
172 sourceCrop = fbUpdatingRect; in configure()
189 sourceCrop = layer->displayFrame; in configure()
196 getNonWormholeRegion(list, sourceCrop); in configure()
197 displayFrame = sourceCrop; in configure()
200 calcExtDisplayPosition(ctx, NULL, mDpy, sourceCrop, displayFrame, in configure()
[all …]
Dhwc_copybit.cpp180 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare() local
183 src_h = sourceCrop.right - sourceCrop.left; in prepare()
184 src_w = sourceCrop.bottom - sourceCrop.top; in prepare()
186 src_h = sourceCrop.bottom - sourceCrop.top; in prepare()
187 src_w = sourceCrop.right - sourceCrop.left; in prepare()
422 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in drawLayerUsingCopybit() local
423 copybit_rect_t srcRect = {sourceCrop.left, sourceCrop.top, in drawLayerUsingCopybit()
424 sourceCrop.right, in drawLayerUsingCopybit()
425 sourceCrop.bottom}; in drawLayerUsingCopybit()
445 int32_t src_crop_width = sourceCrop.right - sourceCrop.left; in drawLayerUsingCopybit()
[all …]
Dhwc_dump_layers.cpp222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in logLayer() local
246 sourceCrop.left, sourceCrop.top, in logLayer()
247 sourceCrop.right, sourceCrop.bottom, in logLayer()
Dhwc_utils.cpp597 hwc_rect_t& sourceCrop, in calcExtDisplayPosition() argument
619 sourceCrop = displayFrame; in calcExtDisplayPosition()
700 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired() local
704 src_w = sourceCrop.right - sourceCrop.left; in isDownscaleRequired()
705 src_h = sourceCrop.bottom - sourceCrop.top; in isDownscaleRequired()
715 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling() local
719 src_w = sourceCrop.right - sourceCrop.left; in needsScaling()
720 src_h = sourceCrop.bottom - sourceCrop.top; in needsScaling()
740 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScalingWithSplit() local
744 cropL = sourceCrop; in needsScalingWithSplit()
[all …]
Dhwc_fbupdate.h76 hwc_rect_t& sourceCrop,
Dhwc.cpp248 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in scaleDisplayFrame() local
251 uint32_t sourceWidth = sourceCrop.right - sourceCrop.left; in scaleDisplayFrame()
252 uint32_t sourceHeight = sourceCrop.bottom - sourceCrop.top; in scaleDisplayFrame()
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp61 l->sourceCrop.left, in dump_layer()
62 l->sourceCrop.top, in dump_layer()
63 l->sourceCrop.right, in dump_layer()
64 l->sourceCrop.bottom, in dump_layer()
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c243 l->sourceCrop.left, in dump_layer()
244 l->sourceCrop.top, in dump_layer()
245 l->sourceCrop.right, in dump_layer()
246 l->sourceCrop.bottom, in dump_layer()
593 int w = WIDTH(layer->sourceCrop); in getscalew()
594 int h = HEIGHT(layer->sourceCrop); in getscalew()
604 int w = WIDTH(layer->sourceCrop); in getscaleh()
605 int h = HEIGHT(layer->sourceCrop); in getscaleh()
741 int w = WIDTH(layer->sourceCrop); in rgz_hwc_scaled()
742 int h = HEIGHT(layer->sourceCrop); in rgz_hwc_scaled()
[all …]
Dhwc.c268 l->sourceCrop.left, in dump_layer()
269 l->sourceCrop.top, in dump_layer()
270 l->sourceCrop.right, in dump_layer()
271 l->sourceCrop.bottom, in dump_layer()
418 int w = WIDTH(layer->sourceCrop); in scaled()
419 int h = HEIGHT(layer->sourceCrop); in scaled()
513 int w = WIDTH(layer->sourceCrop); in is_upscaled_NV12()
514 int h = HEIGHT(layer->sourceCrop); in is_upscaled_NV12()
536 (((layer->sourceCrop.right - layer->sourceCrop.left) > 1280) || in is_large_rgb32_layer()
537 ((layer->sourceCrop.bottom - layer->sourceCrop.top) > 720)); in is_large_rgb32_layer()
[all …]
/hardware/libhardware/tests/hwc/
Dcnativewindow.c165 dl->sourceCrop.left = 0; in set_layer()
166 dl->sourceCrop.top = 0; in set_layer()
167 dl->sourceCrop.right = right; in set_layer()
168 dl->sourceCrop.bottom = bottom; in set_layer()
/hardware/ti/omap4xxx/hwc/
Dhwc.c179 l->sourceCrop.left, in dump_layer()
180 l->sourceCrop.top, in dump_layer()
181 l->sourceCrop.right, in dump_layer()
182 l->sourceCrop.bottom, in dump_layer()
315 int w = WIDTH(layer->sourceCrop); in scaled()
316 int h = HEIGHT(layer->sourceCrop); in scaled()
484 oc->crop.x = layer->sourceCrop.left; in omap4_hwc_setup_layer()
485 oc->crop.y = layer->sourceCrop.top; in omap4_hwc_setup_layer()
486 oc->crop.w = WIDTH(layer->sourceCrop); in omap4_hwc_setup_layer()
487 oc->crop.h = HEIGHT(layer->sourceCrop); in omap4_hwc_setup_layer()
[all …]

12