Lines Matching refs:crop
308 c->width, c->height, c->crop.x, c->crop.y, in dump_dsscomp()
309 c->crop.w, c->crop.h, in dump_dsscomp()
633 oc->crop.w = oc->win.w = width; in omap4_hwc_setup_layer_base()
634 oc->crop.h = oc->win.h = height; in omap4_hwc_setup_layer_base()
673 oc->crop.x = layer->sourceCrop.left; in omap4_hwc_setup_layer()
674 oc->crop.y = layer->sourceCrop.top; in omap4_hwc_setup_layer()
675 oc->crop.w = WIDTH(layer->sourceCrop); in omap4_hwc_setup_layer()
676 oc->crop.h = HEIGHT(layer->sourceCrop); in omap4_hwc_setup_layer()
786 } crop, win; in crop_to_rect() local
793 crop.xy[0] = cfg->crop.x; crop.xy[1] = cfg->crop.y; in crop_to_rect()
794 crop.wh[0] = cfg->crop.w; crop.wh[1] = cfg->crop.h; in crop_to_rect()
802 crop.xy[1] -= (crop.wh[1] = -crop.wh[1]); in crop_to_rect()
804 crop.xy[!swap] -= (crop.wh[!swap] = -crop.wh[!swap]); in crop_to_rect()
806 crop.xy[swap] -= (crop.wh[swap] = -crop.wh[swap]); in crop_to_rect()
814 !crop.wh[c ^ swap]) in crop_to_rect()
820 int a = (vis.lt[c] - win.xy[c]) * crop.wh[c ^ swap] / win.wh[c]; in crop_to_rect()
821 crop.xy[c ^ swap] += a; in crop_to_rect()
822 crop.wh[c ^ swap] -= a; in crop_to_rect()
828 crop.wh[c ^ swap] = crop.wh[c ^ swap] * (vis.rb[c] - win.xy[c]) / win.wh[c]; in crop_to_rect()
832 if (!crop.wh[c ^ swap] || !win.wh[c]) in crop_to_rect()
838 crop.xy[!swap] -= (crop.wh[!swap] = -crop.wh[!swap]); in crop_to_rect()
840 crop.xy[swap] -= (crop.wh[swap] = -crop.wh[swap]); in crop_to_rect()
842 crop.xy[1] -= (crop.wh[1] = -crop.wh[1]); in crop_to_rect()
846 cfg->crop.x = crop.xy[0]; cfg->crop.y = crop.xy[1]; in crop_to_rect()
847 cfg->crop.w = crop.wh[0]; cfg->crop.h = crop.wh[1]; in crop_to_rect()
1416 __u32 xres = o->cfg.crop.w, yres = o->cfg.crop.h; in clone_external_layer()
1421 xpy = o->cfg.crop.h / xpy / o->cfg.crop.w; in clone_external_layer()
1423 xpy = o->cfg.crop.h * xpy / o->cfg.crop.w; in clone_external_layer()
2106 cfg->crop.x, cfg->crop.y, cfg->crop.w, cfg->crop.h, in omap4_hwc_dump()