Lines Matching refs:crop

554 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,  in calculate_crop_rects()  argument
557 int& crop_l = crop.left; in calculate_crop_rects()
558 int& crop_t = crop.top; in calculate_crop_rects()
559 int& crop_r = crop.right; in calculate_crop_rects()
560 int& crop_b = crop.bottom; in calculate_crop_rects()
561 int crop_w = crop.right - crop.left; in calculate_crop_rects()
562 int crop_h = crop.bottom - crop.top; in calculate_crop_rects()
780 hwc_rect_t& crop, hwc_rect_t& dst) { in trimLayer() argument
786 qhwc::calculate_crop_rects(crop, dst, scissor, transform); in trimLayer()
893 const eTransform& orient, const hwc_rect_t& crop, in configMdp() argument
899 int crop_w = crop.right - crop.left; in configMdp()
900 int crop_h = crop.bottom - crop.top; in configMdp()
901 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
919 hwc_rect_t& crop) { in updateSource() argument
920 Dim srcCrop(crop.left, crop.top, in updateSource()
921 crop.right - crop.left, in updateSource()
922 crop.bottom - crop.top); in updateSource()
927 crop.left = srcCrop.x; in updateSource()
928 crop.top = srcCrop.y; in updateSource()
929 crop.right = srcCrop.x + srcCrop.w; in updateSource()
930 crop.bottom = srcCrop.y + srcCrop.h; in updateSource()
945 hwc_rect_t crop = layer->sourceCrop; in configureLowRes() local
958 crop.right - crop.left, in configureLowRes()
959 crop.bottom - crop.top, in configureLowRes()
979 trimLayer(ctx, dpy, transform, crop, dst); in configureLowRes()
992 updateSource(orient, whf, crop); in configureLowRes()
1004 if(configMdp(ctx->mOverlay, parg, orient, crop, dst, metadata, dest) < 0) { in configureLowRes()
1026 hwc_rect_t crop = layer->sourceCrop; in configureHighRes() local
1037 trimLayer(ctx, dpy, transform, crop, dst); in configureHighRes()
1049 updateSource(orient, whf, crop); in configureHighRes()
1060 tmp_cropL = crop; in configureHighRes()
1066 tmp_cropR = crop; in configureHighRes()