Lines Matching refs:crop
219 hwc_rect_t *crop, size_t alignment) in align_crop_and_center() argument
226 if (crop) { in align_crop_and_center()
227 crop->left = (w - w_orig) / 2; in align_crop_and_center()
228 crop->top = (h - h_orig) / 2; in align_crop_and_center()
229 crop->right = crop->left + w_orig; in align_crop_and_center()
230 crop->bottom = crop->top + h_orig; in align_crop_and_center()
1320 unsigned int crop = -displayFrame.left; in exynos5_config_handle() local
1322 crop); in exynos5_config_handle()
1324 w -= crop; in exynos5_config_handle()
1325 offset += crop * bpp / 8; in exynos5_config_handle()
1331 unsigned int crop = displayFrame.right - pdev->xres; in exynos5_config_handle() local
1333 crop); in exynos5_config_handle()
1334 w -= crop; in exynos5_config_handle()
1338 unsigned int crop = -displayFrame.top; in exynos5_config_handle() local
1340 crop); in exynos5_config_handle()
1342 h -= crop; in exynos5_config_handle()
1343 offset += handle->stride * crop * bpp / 8; in exynos5_config_handle()
1349 int crop = displayFrame.bottom - pdev->yres; in exynos5_config_handle() local
1351 crop); in exynos5_config_handle()
1352 h -= crop; in exynos5_config_handle()