• Home
  • Raw
  • Download

Lines Matching refs:crop

805         hwc_rect_t& crop, hwc_rect_t& dst) {  in trimLayer()  argument
812 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
820 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in trimList() local
823 (hwc_rect_t&)crop, in trimList()
825 layer->sourceCropf.left = (float)crop.left; in trimList()
826 layer->sourceCropf.right = (float)crop.right; in trimList()
827 layer->sourceCropf.top = (float)crop.top; in trimList()
828 layer->sourceCropf.bottom = (float)crop.bottom; in trimList()
1044 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, in calculate_crop_rects() argument
1047 int& crop_l = crop.left; in calculate_crop_rects()
1048 int& crop_t = crop.top; in calculate_crop_rects()
1049 int& crop_r = crop.right; in calculate_crop_rects()
1050 int& crop_b = crop.bottom; in calculate_crop_rects()
1051 int crop_w = crop.right - crop.left; in calculate_crop_rects()
1052 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
1502 hwc_rect_t& crop, const eMdpFlags& mdpFlags, in configRotator() argument
1515 uint32_t crop_w = (crop.right - crop.left); in configRotator()
1516 uint32_t crop_h = (crop.bottom - crop.top); in configRotator()
1518 ovutils::normalizeCrop((uint32_t&)crop.left, crop_w); in configRotator()
1519 ovutils::normalizeCrop((uint32_t&)crop.top, crop_h); in configRotator()
1523 crop.right = crop.left + crop_w; in configRotator()
1524 crop.bottom = crop.top + crop_h; in configRotator()
1526 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator()
1538 const eTransform& orient, const hwc_rect_t& crop, in configMdp() argument
1544 int crop_w = crop.right - crop.left; in configMdp()
1545 int crop_h = crop.bottom - crop.top; in configMdp()
1546 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
1601 hwc_rect_t& crop) { in updateSource() argument
1602 Dim srcCrop(crop.left, crop.top, in updateSource()
1603 crop.right - crop.left, in updateSource()
1604 crop.bottom - crop.top); in updateSource()
1610 crop.left = 0; in updateSource()
1611 crop.top = 0; in updateSource()
1612 crop.right = srcCrop.w; in updateSource()
1613 crop.bottom = srcCrop.h; in updateSource()
1618 crop.left = srcCrop.x; in updateSource()
1619 crop.top = srcCrop.y; in updateSource()
1620 crop.right = srcCrop.x + srcCrop.w; in updateSource()
1621 crop.bottom = srcCrop.y + srcCrop.h; in updateSource()
1642 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in configureNonSplit() local
1659 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient); in configureNonSplit()
1664 crop.right - crop.left, in configureNonSplit()
1665 crop.bottom - crop.top, in configureNonSplit()
1681 BwcPM::setBwc(crop, dst, transform, mdpFlags); in configureNonSplit()
1683 if(configRotator(*rot, whf, crop, mdpFlags, orient, downscale) < 0) { in configureNonSplit()
1688 updateSource(orient, whf, crop); in configureNonSplit()
1699 if(configMdp(ctx->mOverlay, parg, orient, crop, dst, metadata, dest) < 0) { in configureNonSplit()
1749 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); in configureSplit() local
1768 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient); in configureSplit()
1779 if(ctx->mAD->prepare(ctx, crop, whf, hnd)) { in configureSplit()
1789 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) { in configureSplit()
1794 updateSource(orient, whf, crop); in configureSplit()
1808 tmp_cropL = crop; in configureSplit()
1817 tmp_cropR = crop; in configureSplit()
1894 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; in configureSourceSplit() local
1910 calcExtDisplayPosition(ctx, hnd, dpy, crop, dst, transform, orient); in configureSourceSplit()
1913 trimLayer(ctx, dpy, transform, crop, dst); in configureSourceSplit()
1920 BwcPM::setBwc(crop, dst, transform, mdpFlagsL); in configureSourceSplit()
1922 if(configRotator(*rot, whf, crop, mdpFlagsL, orient, downscale) < 0) { in configureSourceSplit()
1927 updateSource(orient, whf, crop); in configureSourceSplit()
1938 tmp_cropL = crop; in configureSourceSplit()
1944 tmp_cropR = crop; in configureSourceSplit()
2154 void BwcPM::setBwc(const hwc_rect_t& crop, in setBwc() argument
2162 if((crop.right - crop.left) > qdutils::MAX_DISPLAY_DIM) { in setBwc()
2167 int src_w = crop.right - crop.left; in setBwc()
2168 int src_h = crop.bottom - crop.top; in setBwc()