Home | History | Annotate | Download | only in libhwcomposer

Lines Matching full:crop

544 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
547 int& crop_l = crop.left;
548 int& crop_t = crop.top;
549 int& crop_r = crop.right;
550 int& crop_b = crop.bottom;
551 int crop_w = crop.right - crop.left;
552 int crop_h = crop.bottom - crop.top;
772 hwc_rect_t& crop, hwc_rect_t& dst) {
778 qhwc::calculate_crop_rects(crop, dst, scissor, transform);
886 const eTransform& orient, const hwc_rect_t& crop,
892 int crop_w = crop.right - crop.left;
893 int crop_h = crop.bottom - crop.top;
894 Dim dcrop(crop.left, crop.top, crop_w, crop_h);
912 hwc_rect_t& crop) {
913 Dim srcCrop(crop.left, crop.top,
914 crop.right - crop.left,
915 crop.bottom - crop.top);
920 crop.left = srcCrop.x;
921 crop.top = srcCrop.y;
922 crop.right = srcCrop.x + srcCrop.w;
923 crop.bottom = srcCrop.y + srcCrop.h;
938 hwc_rect_t crop = layer->sourceCrop;
951 crop.right - crop.left,
952 crop.bottom - crop.top,
972 trimLayer(ctx, dpy, transform, crop, dst);
985 crop);
997 if(configMdp(ctx->mOverlay, parg, orient, crop, dst, metadata, dest) < 0) {
1019 hwc_rect_t crop = layer->sourceCrop;
1030 trimLayer(ctx, dpy, transform, crop, dst);
1042 updateSource(orient, whf, crop);
1053 tmp_cropL = crop;
1059 tmp_cropR = crop;