Home
last modified time | relevance | path

Searched refs:sourceCrop (Results 1 – 25 of 45) 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()
945 hwc_rect_t crop = layer->sourceCrop; in configureLowRes()
1026 hwc_rect_t crop = layer->sourceCrop; in configureHighRes()
/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/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_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_fbupdate.h76 hwc_rect_t& sourceCrop,
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp62 l->sourceCrop.left,
63 l->sourceCrop.top,
64 l->sourceCrop.right,
65 l->sourceCrop.bottom,
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.cpp169 mPreprocessedInfo.sourceCrop = mSourceCrop; in doPreProcess()
194 mPreprocessedInfo.sourceCrop.top = (int)mSourceCrop.top; in doPreProcess()
195 mPreprocessedInfo.sourceCrop.left = (int)mSourceCrop.left; in doPreProcess()
196 mPreprocessedInfo.sourceCrop.bottom = (int)(mSourceCrop.bottom + 0.9); in doPreProcess()
197 mPreprocessedInfo.sourceCrop.right = (int)(mSourceCrop.right + 0.9); in doPreProcess()
243 … mPreprocessedInfo.sourceCrop.left = (int)mSourceCrop.left + gmeta.stride; in doPreProcess()
244 … mPreprocessedInfo.sourceCrop.right = (int)mSourceCrop.right + gmeta.stride; in doPreProcess()
249 mPreprocessedInfo.sourceCrop.top = (int)(mSourceCrop.top)/2; in doPreProcess()
250 mPreprocessedInfo.sourceCrop.bottom = (int)(mSourceCrop.bottom)/2; in doPreProcess()
286 …mPreprocessedInfo.sourceCrop.left = pixel_align((int)mPreprocessedInfo.sourceCrop.left, srcCropXAl… in doPreProcess()
[all …]
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/1/android/hardware/graphics/composer3/
DLayerCommand.aidl48 @nullable android.hardware.graphics.common.FRect sourceCrop;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/
DLayerCommand.aidl48 @nullable android.hardware.graphics.common.FRect sourceCrop;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DLayerCommand.aidl48 @nullable android.hardware.graphics.common.FRect sourceCrop;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3/android/hardware/graphics/composer3/
DLayerCommand.aidl48 @nullable android.hardware.graphics.common.FRect sourceCrop;
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DLayerCommand.aidl171 @nullable FRect sourceCrop;
/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/am57x/libhwcomposer/
Dhwc.cpp412 plane->src_x = layer->sourceCrop.left; in adjust_drm_plane_to_layer()
413 plane->src_y = layer->sourceCrop.top; in adjust_drm_plane_to_layer()
414 plane->src_w = WIDTH(layer->sourceCrop); in adjust_drm_plane_to_layer()
415 plane->src_h = HEIGHT(layer->sourceCrop); in adjust_drm_plane_to_layer()
/hardware/libhardware/include/hardware/
Dhwcomposer.h165 hwc_rect_t sourceCrop; // just for source compatibility member

12