Lines Matching refs:crop
410 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);
413 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left;
414 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top;
449 * 1. Src crop > Mixer limit on nonsplit MDPComp
547 void MDPCompNonSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect &crop,
551 crop = dst;
639 void MDPCompSplit::trimAgainstROI(hwc_context_t *ctx, hwc_rect &crop,
645 crop.left = crop.left + (tmpDst.left - dst.left);
646 crop.top = crop.top + (tmpDst.top - dst.top);
647 crop.right = crop.left + (tmpDst.right - tmpDst.left);
648 crop.bottom = crop.top + (tmpDst.bottom - tmpDst.top);
948 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);
950 layerPixelCount = (crop.right - crop.left) * (crop.bottom - crop.top);
1038 // Update src crop of PTOR layer
1061 // Remove overlap from crop & displayFrame of below layers
2751 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);
2756 trimAgainstROI(ctx,crop, dst);
2776 a) Layer's crop width is > 2048 or
2789 uint32_t cropWidth = has90Transform(layer) ? crop.bottom - crop.top :
2790 crop.right - crop.left;
2791 uint32_t cropHeight = has90Transform(layer) ? crop.right - crop.left :
2792 crop.bottom - crop.top;
2836 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);
2849 * and Split MDP comp. But HWC needs to crop them for source split.
2855 trimAgainstROI(ctx, crop, dst);
2865 // update source crop and destination position of AIV video layer.
2867 updateCoordinates(ctx, crop, dst, mDpy);
2871 calcExtDisplayPosition(ctx, hnd, mDpy, crop, dst, transform, orient);
2888 BwcPM::setBwc(ctx, mDpy, hnd, crop, dst, transform, downscale,
2892 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) {
2896 updateSource(orient, whf, crop, *rot);
2900 //If 2 pipes being used, divide layer into half, crop and dst
2901 hwc_rect_t cropL = crop;
2902 hwc_rect_t cropR = crop;
2906 cropL.right = (crop.right + crop.left) / 2;
2921 //and right 1254. If crop is swapped because of H flip, this will cause
2922 //left crop width to be 1254, whereas left dst width remains 1253, thus