Home | History | Annotate | Download | only in libhwcomposer

Lines Matching full:crop

504 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
507 int& crop_l = crop.left;
508 int& crop_t = crop.top;
509 int& crop_r = crop.right;
510 crop.bottom;
511 int crop_w = crop.right - crop.left;
512 int crop_h = crop.bottom - crop.top;
733 hwc_rect_t& crop, hwc_rect_t& dst) {
739 qhwc::calculate_crop_rects(crop, dst, scissor, transform);
846 const eTransform& orient, const hwc_rect_t& crop,
852 int crop_w = crop.right - crop.left;
853 int crop_h = crop.bottom - crop.top;
854 Dim dcrop(crop.left, crop.top, crop_w, crop_h);
872 hwc_rect_t& crop) {
873 Dim srcCrop(crop.left, crop.top,
874 crop.right - crop.left,
875 crop.bottom - crop.top);
880 crop.left = srcCrop.x;
881 crop.top = srcCrop.y;
882 crop.right = srcCrop.x + srcCrop.w;
883 crop.bottom = srcCrop.y + srcCrop.h;
898 hwc_rect_t crop = layer->sourceCrop;
910 crop.right - crop.left,
911 crop.bottom - crop.top,
920 trimLayer(ctx, dpy, transform, crop, dst);
931 updateSource(orient, whf, crop);
943 if(configMdp(ctx->mOverlay, parg, orient, crop, dst, metadata, dest) < 0) {
965 hwc_rect_t crop = layer->sourceCrop;
976 trimLayer(ctx, dpy, transform, crop, dst);
986 updateSource(orient, whf, crop);
997 tmp_cropL = crop;
1003 tmp_cropR = crop;