Searched refs:xy (Results 1 – 11 of 11) sorted by relevance
595 int xy[2]; in crop_to_rect() member602 win.xy[0] = cfg->win.x; win.xy[1] = cfg->win.y; in crop_to_rect()604 crop.xy[0] = cfg->crop.x; crop.xy[1] = cfg->crop.y; in crop_to_rect()613 crop.xy[1] -= (crop.wh[1] = -crop.wh[1]); in crop_to_rect()615 crop.xy[!swap] -= (crop.wh[!swap] = -crop.wh[!swap]); in crop_to_rect()617 crop.xy[swap] -= (crop.wh[swap] = -crop.wh[swap]); in crop_to_rect()623 win.xy[c] + win.wh[c] <= vis.lt[c] || in crop_to_rect()624 win.xy[c] >= vis.rb[c] || in crop_to_rect()629 if (win.xy[c] < vis.lt[c]) { in crop_to_rect()631 int a = (vis.lt[c] - win.xy[c]) * crop.wh[c ^ swap] / win.wh[c]; in crop_to_rect()[all …]
385 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument386 if(xy & 1) { in normalizeCrop()387 even_ceil(xy); in normalizeCrop()
124 void normalizeCrop(uint32_t& xy, uint32_t& wh);
407 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument408 if(xy & 1) { in normalizeCrop()409 even_ceil(xy); in normalizeCrop()
414 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument415 if(xy & 1) { in normalizeCrop()416 even_ceil(xy); in normalizeCrop()
784 int xy[2]; in crop_to_rect() member791 win.xy[0] = cfg->win.x; win.xy[1] = cfg->win.y; in crop_to_rect()793 crop.xy[0] = cfg->crop.x; crop.xy[1] = cfg->crop.y; 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()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()[all …]
34 static void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument35 if(xy & 1) { in normalizeCrop()36 utils::even_ceil(xy); in normalizeCrop()
483 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument484 if(xy & 1) { in normalizeCrop()485 even_ceil(xy); in normalizeCrop()
149 void normalizeCrop(uint32_t& xy, uint32_t& wh);