Home
last modified time | relevance | path

Searched refs:xy (Results 1 – 11 of 11) sorted by relevance

/hardware/ti/omap4xxx/hwc/
Dhwc.c595 int xy[2]; in crop_to_rect() member
602 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 …]
/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.cpp385 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument
386 if(xy & 1) { in normalizeCrop()
387 even_ceil(xy); in normalizeCrop()
DoverlayUtils.h124 void normalizeCrop(uint32_t& xy, uint32_t& wh);
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp407 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument
408 if(xy & 1) { in normalizeCrop()
409 even_ceil(xy); in normalizeCrop()
DoverlayUtils.h124 void normalizeCrop(uint32_t& xy, uint32_t& wh);
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp414 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument
415 if(xy & 1) { in normalizeCrop()
416 even_ceil(xy); in normalizeCrop()
DoverlayUtils.h124 void normalizeCrop(uint32_t& xy, uint32_t& wh);
/hardware/ti/omap4-aah/hwc/
Dhwc.c784 int xy[2]; in crop_to_rect() member
791 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 …]
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMdp.cpp34 static void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument
35 if(xy & 1) { in normalizeCrop()
36 utils::even_ceil(xy); in normalizeCrop()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp483 void normalizeCrop(uint32_t& xy, uint32_t& wh) { in normalizeCrop() argument
484 if(xy & 1) { in normalizeCrop()
485 even_ceil(xy); in normalizeCrop()
DoverlayUtils.h149 void normalizeCrop(uint32_t& xy, uint32_t& wh);