Home
last modified time | relevance | path

Searched refs:hwc_rect_t (Results 1 – 25 of 57) sorted by relevance

123

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h99 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 …]
Dhwc_fbupdate.h42 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);
Dhwc_copybit.h72 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);
Dhwc_utils.cpp386 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 …]
Dhwc_fbupdate.cpp92 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 …]
Dhwc_mdpcomp.cpp344 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 …]
Dhwc_copybit.cpp161 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 …]
Dhwc_mdpcomp.h163 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/
Dhwc_utils.h98 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 …]
Dhwc_fbupdate.h42 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);
Dhwc_utils.cpp371 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 …]
Dhwc_fbupdate.cpp85 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 …]
Dhwc_mdpcomp.cpp335 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 …]
Dhwc_mdpcomp.h160 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);
Dhwc_copybit.cpp180 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/
Dcb_utils.cpp31 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/
Dcb_utils.cpp31 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()
Dqd_utils.h52 int srcHeight, hwc_rect_t& rect);
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.h115 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 …]
Dhwc_utils.cpp307 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/
Dhwcomposer.h55 } 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/
Dhwc_utils.cpp364 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 …]
Dhwc_utils.h162 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()
Dhwc_fbupdate.cpp95 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/
DHwcLayer.cpp29 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 !=()

123