Lines Matching full:crop
219 hwc_rect_t *crop, size_t alignment)
226 if (crop) {
227 crop->left = (w - w_orig) / 2;
228 crop->top = (h - h_orig) / 2;
229 crop->right = crop->left + w_orig;
230 crop->bottom = crop->top + h_orig;
365 /* GSC's dst crop size should be aligned 128Bytes */
1320 unsigned int crop = -displayFrame.left;
1322 crop);
1324 w -= crop;
1325 offset += crop * bpp / 8;
1331 unsigned int crop = displayFrame.right - pdev->xres;
1333 crop);
1334 w -= crop;
1338 unsigned int crop = -displayFrame.top;
1340 crop);
1342 h -= crop;
1343 offset += handle->stride * crop * bpp / 8;
1349 int crop = displayFrame.bottom - pdev->yres;
1351 crop);
1352 h -= crop;