Home
last modified time | relevance | path

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

1234

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h99 hwc_rect_t mDstRect;
134 hwc_rect_t lRoi; //left ROI
135 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels.
145 hwc_rect_t displayFrame[MAX_PTOR_LAYERS];
169 static void setBwc(const hwc_rect_t& crop,
170 const hwc_rect_t& dst, const int& transform,
229 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop()
230 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop()
256 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
257 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.cpp352 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in isValidDimension()
353 hwc_rect_t dst = layer->displayFrame; in isValidDimension()
448 void MDPCompNonSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect_t& fbRect) { in trimAgainstROI()
449 hwc_rect_t roi = ctx->listStats[mDpy].lRoi; in trimAgainstROI()
460 hwc_rect_t visibleRect = ctx->listStats[mDpy].lRoi; in validateAndApplyROI()
470 hwc_rect_t dstRect = layer->displayFrame; in validateAndApplyROI()
471 hwc_rect_t res = getIntersection(visibleRect, dstRect); in validateAndApplyROI()
511 hwc_rect_t dst = layer->displayFrame; in generateROI()
512 hwc_rect_t updatingRect = dst; in generateROI()
517 hwc_rect_t src = integerizeSourceCrop(layer->sourceCropf); in generateROI()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.h114 hwc_rect_t mDstRect;
144 hwc_rect_t lRoi; //left ROI
145 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels.
161 hwc_rect_t displayFrame[MAX_PTOR_LAYERS];
185 static void setBwc(const hwc_rect_t& crop, const hwc_rect_t& dst,
251 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop()
252 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop()
278 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
279 const hwc_rect_t& scissor, int orient);
281 hwc_rect_t& nwr);
[all …]
Dhwc_copybit.h65 hwc_rect_t displayFrame[MAX_NUM_APP_LAYERS];
76 hwc_rect_t FbdirtyRect[NUM_RENDER_BUFFERS];
77 hwc_rect_t FbdisplayRect[NUM_RENDER_BUFFERS];
81 void insertAndUpdateFbCache(hwc_rect_t dirtyRect,
82 hwc_rect_t displayRect);
83 int getUnchangedFbDRCount(hwc_rect_t dirtyRect,
84 hwc_rect_t displayRect);
97 private_handle_t *renderBuffer, hwc_rect_t overlap,
98 hwc_rect_t destRect);
121 int clear (private_handle_t* hnd, hwc_rect_t& rect);
[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_fbupdate.cpp90 hwc_rect_t& sourceCrop, in preRotateExtDisplay()
117 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare()
129 hwc_rect_t fbUpdatingRect, int fbZorder) { in configure()
162 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure()
163 hwc_rect_t displayFrame = layer->displayFrame; in configure()
260 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare()
273 hwc_display_contents_1 *list, hwc_rect_t fbUpdatingRect, int fbZorder) { in configure()
291 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure()
292 hwc_rect_t displayFrame = layer->displayFrame; in configure()
352 hwc_rect_t cropL = sourceCrop; in configure()
[all …]
Dhwc_utils.cpp614 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition()
681 hwc_rect_t& inRect, hwc_rect_t& outRect) { in getAspectRatioPosition()
698 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition()
740 hwc_rect_t r = {0, 0, 0, 0}; in getAspectRatioPosition()
817 hwc_rect_t& sourceCrop, in calcExtDisplayPosition()
818 hwc_rect_t& displayFrame, in calcExtDisplayPosition()
928 hwc_rect_t displayFrame = layer->displayFrame; in isDownscaleRequired()
929 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired()
943 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling()
944 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling()
[all …]
Dhwc_copybit.cpp87 hwc_rect_t displayFrame0 = {0, 0, 0, 0}; in isSmartBlitPossible()
88 hwc_rect_t displayFrame1 = {0, 0, 0, 0}; in isSmartBlitPossible()
94 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in isSmartBlitPossible()
208 hwc_rect_t dirtyRect = {0, 0, 0, 0}; in prepareSwapRect()
209 hwc_rect_t displayRect = {0, 0, 0, 0}; in prepareSwapRect()
307 hwc_rect_t overlap = list->hwLayers[ovlapIndex].displayFrame; in prepareOverlap()
409 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in prepare()
490 int CopyBit::clear (private_handle_t* hnd, hwc_rect_t& rect) in clear()
548 hwc_rect_t displayFrame = in drawUsingAppBufferComposition()
551 hwc_rect_t tmpDisplayFrame = list->hwLayers[i].displayFrame; in drawUsingAppBufferComposition()
[all …]
/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 …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.h108 hwc_rect_t mDstRect;
138 hwc_rect_t lRoi; //left ROI
139 hwc_rect_t rRoi; //right ROI. Unused in single DSI panels.
155 hwc_rect_t displayFrame[MAX_PTOR_LAYERS];
181 const hwc_rect_t& crop, const hwc_rect_t& dst,
279 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop()
280 hwc_rect_t cropI = {0,0,0,0}; in integerizeSourceCrop()
306 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
307 const hwc_rect_t& scissor, int orient);
309 hwc_rect_t& nwr);
[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_fbupdate.cpp90 hwc_rect_t& sourceCrop, in preRotateExtDisplay()
117 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare()
129 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()
263 hwc_rect_t fbUpdatingRect, int fbZorder) { in prepare()
276 hwc_display_contents_1 *list, hwc_rect_t fbUpdatingRect, int fbZorder) { in configure()
297 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in configure()
298 hwc_rect_t displayFrame = layer->displayFrame; in configure()
358 hwc_rect_t cropL = sourceCrop; in configure()
[all …]
Dhwc_utils.cpp547 void getActionSafePosition(hwc_context_t *ctx, int dpy, hwc_rect_t& rect) { in getActionSafePosition()
614 hwc_rect_t& inRect, hwc_rect_t& outRect) { in getAspectRatioPosition()
631 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition()
673 hwc_rect_t r = {0, 0, 0, 0}; in getAspectRatioPosition()
750 hwc_rect_t& sourceCrop, in calcExtDisplayPosition()
751 hwc_rect_t& displayFrame, in calcExtDisplayPosition()
861 hwc_rect_t displayFrame = layer->displayFrame; in isDownscaleRequired()
862 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in isDownscaleRequired()
876 hwc_rect_t displayFrame = layer->displayFrame; in needsScaling()
877 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); in needsScaling()
[all …]
/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()
/hardware/qcom/display/msm8994/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()
59 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
72 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in getuiClearRegion()
87 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in getuiClearRegion()
/hardware/qcom/display/msm8909/libqdutils/
Dcb_utils.cpp31 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion()
39 int clear (copybit_device_t *copybit, private_handle_t* hnd, hwc_rect_t& rect) in clear()
59 int version, LayerProp *layerProp, hwc_rect_t dirtyRect, in uiClearRegion()
63 hwc_rect_t fbFrame = list->hwLayers[last].displayFrame; in uiClearRegion()
84 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in uiClearRegion()
97 hwc_rect_t displayFrame = list->hwLayers[i].displayFrame; in uiClearRegion()
112 hwc_rect_t tmpWormRect = {r.left,r.top,r.right,r.bottom}; in uiClearRegion()

1234