• Home
  • Raw
  • Download

Lines Matching refs:t_roi

2674    struct hwc_rect t_roi = roi;  in getSanitizeROI()  local
2684 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2686 t_roi.left = 0; in getSanitizeROI()
2687 t_roi.right = MIN_WIDTH; in getSanitizeROI()
2689 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2690 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2692 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2697 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2699 t_roi.top = 0; in getSanitizeROI()
2700 t_roi.bottom = MIN_HEIGHT; in getSanitizeROI()
2702 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2703 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2705 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2711 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()
2714 int width = t_roi.right - t_roi.left; in getSanitizeROI()
2716 t_roi.right = t_roi.left + width; in getSanitizeROI()
2718 if(t_roi.right > boundary.right) { in getSanitizeROI()
2719 t_roi.right = boundary.right; in getSanitizeROI()
2720 t_roi.left = t_roi.right - width; in getSanitizeROI()
2723 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()
2729 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()
2732 int height = t_roi.bottom - t_roi.top; in getSanitizeROI()
2734 t_roi.bottom = t_roi.top + height; in getSanitizeROI()
2736 if(t_roi.bottom > boundary.bottom) { in getSanitizeROI()
2737 t_roi.bottom = boundary.bottom; in getSanitizeROI()
2738 t_roi.top = t_roi.bottom - height; in getSanitizeROI()
2741 t_roi.top = t_roi.top - (t_roi.top % TOP_ALIGN); in getSanitizeROI()
2745 return t_roi; in getSanitizeROI()