• Home
  • Raw
  • Download

Lines Matching refs:crop

792         hwc_rect_t& crop, hwc_rect_t& dst) {  in trimLayer()  argument
799 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
807 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in trimList() local
810 (hwc_rect_t&)crop, in trimList()
812 layer->sourceCropf.left = (float)crop.left; in trimList()
813 layer->sourceCropf.right = (float)crop.right; in trimList()
814 layer->sourceCropf.top = (float)crop.top; in trimList()
815 layer->sourceCropf.bottom = (float)crop.bottom; in trimList()
1031 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() argument
1034 int& crop_l = crop.left; in calculate_crop_rects()
1035 int& crop_t = crop.top; in calculate_crop_rects()
1036 int& crop_r = crop.right; in calculate_crop_rects()
1037 int& crop_b = crop.bottom; in calculate_crop_rects()
1038 int crop_w = crop.right - crop.left; in calculate_crop_rects()
1039 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1518 hwc_rect_t& crop, const eMdpFlags& mdpFlags, in configRotator() argument
1531 Dim rotCrop(crop.left, crop.top, crop.right - crop.left, in configRotator()
1532 crop.bottom - crop.top); in configRotator()
1544 const eTransform& orient, const hwc_rect_t& crop, in configMdp() argument
1550 int crop_w = crop.right - crop.left; in configMdp()
1551 int crop_h = crop.bottom - crop.top; in configMdp()
1552 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1607 hwc_rect_t& crop, Rotator *rot) { in updateSource() argument
1608 Dim transformedCrop(crop.left, crop.top, in updateSource()
1609 crop.right - crop.left, in updateSource()
1610 crop.bottom - crop.top); in updateSource()
1624 crop.left = transformedCrop.x; in updateSource()
1625 crop.top = transformedCrop.y; in updateSource()
1626 crop.right = transformedCrop.x + transformedCrop.w; in updateSource()
1627 crop.bottom = transformedCrop.y + transformedCrop.h; in updateSource()
1647 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in configureNonSplit() local
1664 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient); in configureNonSplit()
1669 crop.right - crop.left, in configureNonSplit()
1670 crop.bottom - crop.top, in configureNonSplit()
1687 BwcPM::setBwc(crop, dst, transform, mdpFlags); in configureNonSplit()
1689 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configureNonSplit()
1693 updateSource(orient, whf, crop, *rot); in configureNonSplit()
1704 if(configMdp(ctx->mOverlay, parg, orient, crop, dst, metadata, dest) < 0) { in configureNonSplit()
1754 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in configureSplit() local
1773 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient); in configureSplit()
1784 if(ctx->mAD->prepare(ctx, crop, whf, hnd)) { in configureSplit()
1794 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) { in configureSplit()
1798 updateSource(orient, whf, crop, *rot); in configureSplit()
1812 tmp_cropL = crop; in configureSplit()
1821 tmp_cropR = crop; in configureSplit()
1898 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; in configureSourceSplit() local
1914 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient); in configureSourceSplit()
1917 trimLayer(ctx, dpy, transform, crop, dst); in configureSourceSplit()
1925 BwcPM::setBwc(crop, dst, transform, mdpFlagsL); in configureSourceSplit()
1927 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) { in configureSourceSplit()
1931 updateSource(orient, whf, crop, *rot); in configureSourceSplit()
1942 tmp_cropL = crop; in configureSourceSplit()
1948 tmp_cropR = crop; in configureSourceSplit()
2172 void BwcPM::setBwc(const hwc_rect_t& crop, in setBwc() argument
2179 int src_w = crop.right - crop.left; in setBwc()
2180 int src_h = crop.bottom - crop.top; in setBwc()