/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.h | 99 hwc_rect_t mDstRect; 130 hwc_rect_t lRoi; //left ROI 131 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels. 141 hwc_rect_t displayFrame[MAX_PTOR_LAYERS]; 165 static void setBwc(const hwc_rect_t& crop, 166 const hwc_rect_t& dst, const int& transform, 225 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() 226 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop() 252 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 253 const hwc_rect_t& scissor, int orient); [all …]
|
D | hwc_fbupdate.h | 42 hwc_rect_t fbUpdatingRect, int fbZorder) = 0; 67 hwc_rect_t fbUpdatingRect, int fbZorder); 72 hwc_rect_t fbUpdatingRect, int fbZorder); 76 hwc_rect_t& sourceCrop, 88 hwc_rect_t fbUpdatingRect, int fbZorder); 94 hwc_rect_t fbUpdatingRect, int fbZorder); 106 hwc_rect_t fbUpdatingRect, int fbZorder);
|
D | hwc_copybit.h | 72 hwc_rect_t FbdirtyRect[NUM_RENDER_BUFFERS]; 76 void insertAndUpdateFbCache(hwc_rect_t dirtyRect); 77 int getUnchangedFbDRCount(hwc_rect_t dirtyRect); 90 private_handle_t *renderBuffer, hwc_rect_t overlap, 91 hwc_rect_t destRect); 114 int clear (private_handle_t* hnd, hwc_rect_t& rect);
|
D | hwc_utils.cpp | 386 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition() 453 hwc_rect_t& inRect, hwc_rect_t& outRect) { in getAspectRatioPosition() 470 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition() 512 hwc_rect_t r = {0, 0, 0, 0}; in getAspectRatioPosition() 584 hwc_rect_t& sourceCrop, in calcExtDisplayPosition() 585 hwc_rect_t& displayFrame, in calcExtDisplayPosition() 686 hwc_rect_t displayFrame = layer->displayFrame; in isDownscaleRequired() 687 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired() 701 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() 702 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling() [all …]
|
D | hwc_fbupdate.cpp | 92 hwc_rect_t& sourceCrop, in preRotateExtDisplay() 119 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 131 hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 171 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() 172 hwc_rect_t displayFrame = layer->displayFrame; in configure() 271 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 284 hwc_display_contents_1 *list, hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 309 hwc_rect_t sourceCrop = fbUpdatingRect; in configure() 310 hwc_rect_t displayFrame = fbUpdatingRect; in configure() 341 hwc_rect_t cropL = sourceCrop; in configure() [all …]
|
D | hwc_mdpcomp.cpp | 344 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in isValidDimension() 345 hwc_rect_t dst = layer->displayFrame; in isValidDimension() 440 void MDPCompNonSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect) { in trimAgainstROI() 441 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() 452 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi; in validateAndApplyROI() 462 hwc_rect_t dstRect = layer->displayFrame; in validateAndApplyROI() 463 hwc_rect_t res = getIntersection(visibleRect, dstRect); in validateAndApplyROI() 503 hwc_rect_t dst = layer->displayFrame; in generateROI() 504 hwc_rect_t updatingRect = dst; in generateROI() 509 hwc_rect_t src = integerizeSourceCrop(layer->sourceCropf); in generateROI() [all …]
|
D | hwc_copybit.cpp | 161 hwc_rect_t dirtyRect = list->hwLayers[changingLayerIndex].displayFrame; in getLayersChanging() 168 hwc_rect_t displayFrame = list->hwLayers[k].displayFrame; in getLayersChanging() 169 hwc_rect_t result = getIntersection(displayFrame,dirtyRect); in getLayersChanging() 230 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in prepareOverlap() 318 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare() 385 int CopyBit::clear (private_handle_t* hnd, hwc_rect_t& rect) in clear() 442 hwc_rect_t displayFrame = in drawUsingAppBufferComposition() 445 hwc_rect_t tmpDisplayFrame = list->hwLayers[i].displayFrame; in drawUsingAppBufferComposition() 446 hwc_rect_t result = getIntersection(displayFrame,tmpDisplayFrame); in drawUsingAppBufferComposition() 529 hwc_rect_t clearRegion = {0,0,0,0}; in draw() [all …]
|
D | hwc_mdpcomp.h | 163 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect) = 0; 232 hwc_rect_t getUpdatingFBRect(hwc_context_t *ctx, 291 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect); 333 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect);
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.h | 98 hwc_rect_t mDstRect; 129 hwc_rect_t lRoi; //left ROI 130 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels. 144 static void setBwc(const hwc_rect_t& crop, 145 const hwc_rect_t& dst, const int& transform, 204 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() 205 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop() 229 hwc_rect_t calculateDisplayViewFrame(hwc_context_t *ctx, int dpy); 236 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 237 const hwc_rect_t& scissor, int orient); [all …]
|
D | hwc_fbupdate.h | 42 hwc_rect_t fbUpdatingRect, int fbZorder) = 0; 67 hwc_rect_t fbUpdatingRect, int fbZorder); 72 hwc_rect_t fbUpdatingRect, int fbZorder); 76 hwc_rect_t& sourceCrop, 88 hwc_rect_t fbUpdatingRect, int fbZorder); 94 hwc_rect_t fbUpdatingRect, int fbZorder); 106 hwc_rect_t fbUpdatingRect, int fbZorder);
|
D | hwc_utils.cpp | 371 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition() 437 int srcHeight, hwc_rect_t& rect) { in getAspectRatioPosition() 466 hwc_rect_t& inRect, hwc_rect_t& outRect) { in getAspectRatioPosition() 483 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition() 525 hwc_rect_t r = {0, 0, 0, 0}; in getAspectRatioPosition() 597 hwc_rect_t& sourceCrop, in calcExtDisplayPosition() 598 hwc_rect_t& displayFrame, in calcExtDisplayPosition() 699 hwc_rect_t displayFrame = layer->displayFrame; in isDownscaleRequired() 700 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired() 714 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() [all …]
|
D | hwc_fbupdate.cpp | 85 hwc_rect_t& sourceCrop, in preRotateExtDisplay() 113 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 125 hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 165 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure() 166 hwc_rect_t displayFrame = layer->displayFrame; in configure() 265 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare() 278 hwc_display_contents_1 *list, hwc_rect_t fbUpdatingRect, int fbZorder) { in configure() 303 hwc_rect_t sourceCrop = fbUpdatingRect; in configure() 304 hwc_rect_t displayFrame = fbUpdatingRect; in configure() 335 hwc_rect_t cropL = sourceCrop; in configure() [all …]
|
D | hwc_mdpcomp.cpp | 335 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in isValidDimension() 336 hwc_rect_t dst = layer->displayFrame; in isValidDimension() 429 void MDPCompNonSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect) { in trimAgainstROI() 430 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI() 441 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi; in validateAndApplyROI() 451 hwc_rect_t dstRect = layer->displayFrame; in validateAndApplyROI() 452 hwc_rect_t res = getIntersection(visibleRect, dstRect); in validateAndApplyROI() 492 hwc_rect_t dst = layer->displayFrame; in generateROI() 493 hwc_rect_t updatingRect = dst; in generateROI() 498 hwc_rect_t src = integerizeSourceCrop(layer->sourceCropf); in generateROI() [all …]
|
D | hwc_mdpcomp.h | 160 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect) = 0; 227 hwc_rect_t getUpdatingFBRect(hwc_context_t *ctx, 285 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect); 327 virtual void trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect);
|
D | hwc_copybit.cpp | 180 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare() 247 int CopyBit::clear (private_handle_t* hnd, hwc_rect_t& rect) in clear() 305 hwc_rect_t clearRegion = {0,0,0,0}; in draw() 422 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in drawLayerUsingCopybit() 428 hwc_rect_t displayFrame = layer->displayFrame; in drawLayerUsingCopybit() 535 hwc_region_t tmp_hwc_reg = {1,(hwc_rect_t const*)&tmp_hwc_rect}; in drawLayerUsingCopybit() 626 hwc_rect_t displayFrame = layer->displayFrame; in fillColorUsingCopybit() 651 hwc_rect_t displayFrame = layer->displayFrame; in getLayerResolution()
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | cb_utils.cpp | 31 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() 44 hwc_rect_t &clearWormholeRect, LayerProp *layerProp) { in getuiClearRegion() 47 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion() 58 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 70 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 85 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | cb_utils.cpp | 31 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() 44 hwc_rect_t &clearWormholeRect, LayerProp *layerProp) { in getuiClearRegion() 47 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in getuiClearRegion() 58 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 70 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion() 85 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
|
D | qd_utils.h | 52 int srcHeight, hwc_rect_t& rect);
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc_utils.h | 115 static void setBwc(hwc_context_t *ctx, const hwc_rect_t& crop, 116 const hwc_rect_t& dst, const int& transform, 156 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() 157 hwc_rect_t cropI = {0}; in integerizeSourceCrop() 183 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 184 const hwc_rect_t& scissor, int orient); 186 hwc_rect_t& nwr); 211 hwc_rect_t& crop, hwc_rect_t& dst); 219 hwc_rect_t& crop, const ovutils::eMdpFlags& mdpFlags, 223 const ovutils::eTransform& orient, const hwc_rect_t& crop, [all …]
|
D | hwc_utils.cpp | 307 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() 308 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling() 505 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() 506 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() 560 hwc_rect_t& nwr) in getNonWormholeRegion() 563 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion() 571 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getNonWormholeRegion() 739 hwc_rect_t& crop, hwc_rect_t& dst) { in trimLayer() 744 hwc_rect_t scissor = {0, 0, hw_w, hw_h }; in trimLayer() 799 hwc_rect_t& crop, const eMdpFlags& mdpFlags, in configRotator() [all …]
|
/hardware/libhardware/include/hardware/ |
D | hwcomposer.h | 55 } hwc_rect_t; typedef 66 hwc_rect_t const* rects; 200 hwc_rect_t sourceCropi; 201 hwc_rect_t sourceCrop; // just for source compatibility 210 hwc_rect_t displayFrame;
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 364 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling() 365 hwc_rect_t sourceCrop = layer->sourceCrop; in needsScaling() 551 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() 552 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() 606 hwc_rect_t& nwr) in getNonWormholeRegion() 609 hwc_rect_t fbDisplayFrame = list->hwLayers[last].displayFrame; in getNonWormholeRegion() 617 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getNonWormholeRegion() 779 hwc_rect_t& crop, hwc_rect_t& dst) { in trimLayer() 784 hwc_rect_t scissor = {0, 0, hw_w, hw_h }; in trimLayer() 893 const eTransform& orient, const hwc_rect_t& crop, in configMdp() [all …]
|
D | hwc_utils.h | 162 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 163 const hwc_rect_t& scissor, int orient); 165 hwc_rect_t& nwr); 191 hwc_rect_t& crop, hwc_rect_t& dst); 274 hwc_rect_t displayFrame = layer->displayFrame; in getLayerResolution()
|
D | hwc_fbupdate.cpp | 95 hwc_rect_t sourceCrop; in configure() 108 hwc_rect_t displayFrame = sourceCrop; in configure() 218 hwc_rect_t sourceCrop; in configure() 237 hwc_rect_t displayFrame = sourceCrop; in configure()
|
/hardware/intel/img/hwcomposer/common/base/ |
D | HwcLayer.cpp | 29 inline bool operator==(const hwc_rect_t& x, const hwc_rect_t& y) in operator ==() 37 inline bool operator !=(const hwc_rect_t& x, const hwc_rect_t& y) in operator !=()
|