Home | History | Annotate | Download | only in libhwcomposer

Lines Matching full:roi

88         dumpsys_log(buf, "Programmed ROI's: Left: [%d, %d, %d, %d] "
97 dumpsys_log(buf, "Programmed ROI: [%d, %d, %d, %d] \n",
295 * outside frame's ROI */
549 hwc_rect_t roi = ctx->listStats[mDpy].lRoi;
550 dst = getIntersection(dst, roi);
554 /* 1) Identify layers that are not visible or lying outside the updating ROI and
557 * ROI, reset ROI to full resolution. */
578 /* Reset frame ROI when any layer which needs scaling also needs ROI
581 ALOGI("%s: Resetting ROI due to scaling", __FUNCTION__);
596 /* Calculate ROI for the frame by accounting all the layer's dispalyFrame which
605 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0};
619 roi = getUnion(roi, dirtyRect);
624 if(!isValidRect(roi))
627 // Align ROI coordinates to panel restrictions
628 roi = getSanitizeROI(roi, fullFrame);
630 ctx->listStats[mDpy].lRoi = roi;
634 ALOGD_IF(isDebug(),"%s: generated ROI: [%d, %d, %d, %d]", __FUNCTION__,
641 hwc_rect roi = getUnion(ctx->listStats[mDpy].lRoi,
643 hwc_rect tmpDst = getIntersection(dst, roi);
654 * ROI's and drop them from composition. If a layer is spanning across both
655 * the halves of the screen but needed by only ROI, the non-contributing
658 * ROI, reset ROI to full resolution. */
686 /* Reset frame ROI when any layer which needs scaling also needs ROI
703 /* Calculate ROI for the frame by accounting all the layer's dispalyFrame which
747 * send two ROI's (for each half). We merge them into single ROI and split
748 * them across lSplit for MDP mixer use. The ROI's will be merged again
1646 /* reset rest of the layers lying inside ROI for MDP comp */
2654 /* Reset frame ROI when any layer which needs scaling also needs ROI
2657 ALOGI("%s: Resetting ROI due to scaling", __FUNCTION__);
2674 * equally across two DSI's. So the ROI programmed should be of equal width
2684 struct hwc_rect roi = (struct hwc_rect){0, 0, 0, 0};
2702 roi = getUnion(roi, dirtyRect);
2707 if(!isValidRect(roi))
2712 roi = expandROIFromMidPoint(roi, fullFrame);
2715 hwc_rect lRoi = getIntersection(roi, lFrame);
2716 // Align ROI coordinates to panel restrictions
2721 hwc_rect rRoi = getIntersection(roi, rFrame);
2722 // Align ROI coordinates to panel restrictions
2725 roi = getUnion(lRoi, rRoi);
2727 ctx->listStats[mDpy].lRoi = roi;
2729 hwc_rect lRoi = getIntersection(roi, fullFrame);
2730 // Align ROI coordinates to panel restrictions
2739 ALOGD_IF(isDebug(),"%s: generated ROI: [%d, %d, %d, %d] [%d, %d, %d, %d]",
2848 /* MDP driver crops layer coordinates against ROI in Non-Split
2853 * the ROI needs to find the no. of pipes the layer needs.