Lines Matching refs:crop
410 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in isValidDimension() local
413 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; in isValidDimension()
414 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension()
547 void MDPCompNonSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect &crop, in trimAgainstROI() argument
551 crop = dst; in trimAgainstROI()
639 void MDPCompSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect &crop, in trimAgainstROI() argument
645 crop.left = crop.left + (tmpDst.left - dst.left); in trimAgainstROI()
646 crop.top = crop.top + (tmpDst.top - dst.top); in trimAgainstROI()
647 crop.right = crop.left + (tmpDst.right - tmpDst.left); in trimAgainstROI()
648 crop.bottom = crop.top + (tmpDst.bottom - tmpDst.top); in trimAgainstROI()
948 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in fullMDPCompWithPTOR() local
950 layerPixelCount = (crop.right - crop.left) * (crop.bottom - crop.top); in fullMDPCompWithPTOR()
2751 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in acquireMDPPipes() local
2756 trimAgainstROI(ctx,crop, dst); in acquireMDPPipes()
2789 uint32_t cropWidth = has90Transform(layer) ? crop.bottom - crop.top : in acquireMDPPipes()
2790 crop.right - crop.left; in acquireMDPPipes()
2791 uint32_t cropHeight = has90Transform(layer) ? crop.right - crop.left : in acquireMDPPipes()
2792 crop.bottom - crop.top; in acquireMDPPipes()
2836 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in configure() local
2855 trimAgainstROI(ctx, crop, dst); in configure()
2867 updateCoordinates(ctx, crop, dst, mDpy); in configure()
2871 calcExtDisplayPosition(ctx, hnd, mDpy, crop, dst, transform, orient); in configure()
2888 BwcPM::setBwc(ctx, mDpy, hnd, crop, dst, transform, downscale, in configure()
2892 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configure()
2896 updateSource(orient, whf, crop, *rot); in configure()
2901 hwc_rect_t cropL = crop; in configure()
2902 hwc_rect_t cropR = crop; in configure()
2906 cropL.right = (crop.right + crop.left) / 2; in configure()