Home | History | Annotate | Download | only in hwc

Lines Matching refs:win

222                  c->win.x, c->win.y, c->win.w, c->win.h,
444 oc->crop.w = oc->win.w = width;
445 oc->crop.h = oc->win.h = height;
478 oc->win.x = layer->displayFrame.left;
479 oc->win.y = layer->displayFrame.top;
480 oc->win.w = WIDTH(layer->displayFrame);
481 oc->win.h = HEIGHT(layer->displayFrame);
597 } crop, win;
602 win.xy[0] = cfg->win.x; win.xy[1] = cfg->win.y;
603 win.wh[0] = cfg->win.w; win.wh[1] = cfg->win.h;
622 if (win.wh[c] <= 0 || vis.rb[c] <= vis.lt[c] ||
623 win.xy[c] + win.wh[c] <= vis.lt[c] ||
624 win.xy[c] >= vis.rb[c] ||
629 if (win.xy[c] < vis.lt[c]) {
631 int a = (vis.lt[c] - win.xy[c]) * crop.wh[c ^ swap] / win.wh[c];
634 win.wh[c] -= vis.lt[c] - win.xy[c];
635 win.xy[c] = vis.lt[c];
638 if (win.xy[c] + win.wh[c] > vis.rb[c]) {
639 crop.wh[c ^ swap] = crop.wh[c ^ swap] * (vis.rb[c] - win.xy[c]) / win.wh[c];
640 win.wh[c] = vis.rb[c] - win.xy[c];
643 if (!crop.wh[c ^ swap] || !win.wh[c])
655 cfg->win.x = win.xy[0]; cfg->win.y = win.xy[1];
656 cfg->win.w = win.wh[0]; cfg->win.h = win.wh[1];
677 x = ext->m[0][0] * oc->win.x + ext->m[0][1] * oc->win.y + ext->m[0][2];
678 y = ext->m[1][0] * oc->win.x + ext->m[1][1] * oc->win.y + ext->m[1][2];
679 w = ext->m[0][0] * oc->win.w + ext->m[0][1] * oc->win.h;
680 h = ext->m[1][0] * oc->win.w + ext->m[1][1] * oc->win.h;
681 oc->win.x = m_round(w > 0 ? x : x + w);
682 oc->win.y = m_round(h > 0 ? y : y + h);
683 oc->win.w = m_round(w > 0 ? w : -w);
684 oc->win.h = m_round(h > 0 ? h : -h);
1102 return o->cfg.win.w * o->cfg.win.h;
1143 float xpy = ext->lcd_xpy * o->cfg.win.w / o->cfg.win.h;
1164 .left = o->cfg.win.x, .top = o->cfg.win.y,
1165 .right = o->cfg.win.x + o->cfg.win.w,
1166 .bottom = o->cfg.win.y + o->cfg.win.h
1558 cfg->win.x, cfg->win.y, cfg->win.w, cfg->win.h);