• Home
  • Raw
  • Download

Lines Matching refs:win

311                  c->win.x, c->win.y, c->win.w, c->win.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()
667 oc->win.x = layer->displayFrame.left; in omap4_hwc_setup_layer()
668 oc->win.y = layer->displayFrame.top; in omap4_hwc_setup_layer()
669 oc->win.w = WIDTH(layer->displayFrame); in omap4_hwc_setup_layer()
670 oc->win.h = HEIGHT(layer->displayFrame); in omap4_hwc_setup_layer()
786 } crop, win; in crop_to_rect() local
791 win.xy[0] = cfg->win.x; win.xy[1] = cfg->win.y; in crop_to_rect()
792 win.wh[0] = cfg->win.w; win.wh[1] = cfg->win.h; in crop_to_rect()
811 if (win.wh[c] <= 0 || vis.rb[c] <= vis.lt[c] || in crop_to_rect()
812 win.xy[c] + win.wh[c] <= vis.lt[c] || in crop_to_rect()
813 win.xy[c] >= vis.rb[c] || in crop_to_rect()
818 if (win.xy[c] < vis.lt[c]) { in crop_to_rect()
820 int a = (vis.lt[c] - win.xy[c]) * crop.wh[c ^ swap] / win.wh[c]; in crop_to_rect()
823 win.wh[c] -= vis.lt[c] - win.xy[c]; in crop_to_rect()
824 win.xy[c] = vis.lt[c]; in crop_to_rect()
827 if (win.xy[c] + win.wh[c] > vis.rb[c]) { 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()
829 win.wh[c] = vis.rb[c] - win.xy[c]; in crop_to_rect()
832 if (!crop.wh[c ^ swap] || !win.wh[c]) in crop_to_rect()
844 cfg->win.x = win.xy[0]; cfg->win.y = win.xy[1]; in crop_to_rect()
845 cfg->win.w = win.wh[0]; cfg->win.h = win.wh[1]; in crop_to_rect()
858 x = transform[0][0] * oc->win.x + transform[0][1] * oc->win.y + transform[0][2]; in omap4_hwc_apply_transform()
859 y = transform[1][0] * oc->win.x + transform[1][1] * oc->win.y + transform[1][2]; in omap4_hwc_apply_transform()
860 w = transform[0][0] * oc->win.w + transform[0][1] * oc->win.h; in omap4_hwc_apply_transform()
861 h = transform[1][0] * oc->win.w + transform[1][1] * oc->win.h; in omap4_hwc_apply_transform()
862 oc->win.x = m_round(w > 0 ? x : x + w); in omap4_hwc_apply_transform()
863 oc->win.y = m_round(h > 0 ? y : y + h); in omap4_hwc_apply_transform()
864 oc->win.w = m_round(w > 0 ? w : -w); in omap4_hwc_apply_transform()
865 oc->win.h = m_round(h > 0 ? h : -h); in omap4_hwc_apply_transform()
1365 return o->cfg.win.w * o->cfg.win.h; in display_area()
1419 float xpy = ext->lcd_xpy * o->cfg.win.w / o->cfg.win.h; in clone_external_layer()
1440 .left = o->cfg.win.x, .top = o->cfg.win.y, in clone_external_layer()
1441 .right = o->cfg.win.x + o->cfg.win.w, in clone_external_layer()
1442 .bottom = o->cfg.win.y + o->cfg.win.h in clone_external_layer()
2107 cfg->win.x, cfg->win.y, cfg->win.w, cfg->win.h, in omap4_hwc_dump()