Lines Matching refs:top
53 crop->top = ((pix->height - crop->height) >> 1) & ~1; in omap_vout_default_crop()
78 if (try_win.top < 0) { in omap_vout_try_window()
79 try_win.height += try_win.top; in omap_vout_try_window()
80 try_win.top = 0; in omap_vout_try_window()
88 if (try_win.top + try_win.height > fbuf->fmt.height) in omap_vout_try_window()
89 try_win.height = fbuf->fmt.height - try_win.top; in omap_vout_try_window()
184 if (try_crop.top < 0) { in omap_vout_new_crop()
185 try_crop.height += try_crop.top; in omap_vout_new_crop()
186 try_crop.top = 0; in omap_vout_new_crop()
194 if (try_crop.top + try_crop.height > pix->height) in omap_vout_new_crop()
195 try_crop.height = pix->height - try_crop.top; in omap_vout_new_crop()
222 if (win->w.height + win->w.top > fbuf->fmt.height) { in omap_vout_new_crop()
227 win->w.height = (fbuf->fmt.height - win->w.top) & ~1; in omap_vout_new_crop()
298 win->w.top = ((fbuf->fmt.height - win->w.height) >> 1) & ~1; in omap_vout_new_format()