Lines Matching full:height
48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop()
49 pix->height : fbuf->fmt.height; in omap_vout_default_crop()
51 crop->height &= ~1; in omap_vout_default_crop()
53 crop->top = ((pix->height - crop->height) >> 1) & ~1; in omap_vout_default_crop()
79 try_win.height += try_win.top; in omap_vout_try_window()
84 try_win.height = (try_win.height < fbuf->fmt.height) ? in omap_vout_try_window()
85 try_win.height : fbuf->fmt.height; 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()
91 try_win.height &= ~1; in omap_vout_try_window()
93 if (try_win.width <= 0 || try_win.height <= 0) in omap_vout_try_window()
133 if ((crop->height/win->w.height) >= 2) in omap_vout_new_window()
134 crop->height = win->w.height * 2; in omap_vout_new_window()
144 if (crop->height != win->w.height) in omap_vout_new_window()
149 if ((crop->height/win->w.height) >= 4) in omap_vout_new_window()
150 crop->height = win->w.height * 4; in omap_vout_new_window()
185 try_crop.height += try_crop.top; in omap_vout_new_crop()
190 try_crop.height = (try_crop.height < pix->height) ? in omap_vout_new_crop()
191 try_crop.height : pix->height; 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()
198 try_crop.height &= ~1; in omap_vout_new_crop()
200 if (try_crop.width <= 0 || try_crop.height <= 0) in omap_vout_new_crop()
204 if (try_crop.height != win->w.height) { in omap_vout_new_crop()
213 vresize = (1024 * try_crop.height) / win->w.height; in omap_vout_new_crop()
219 win->w.height = ((1024 * try_crop.height) / vresize) & ~1; in omap_vout_new_crop()
220 if (win->w.height == 0) in omap_vout_new_crop()
221 win->w.height = 2; in omap_vout_new_crop()
222 if (win->w.height + win->w.top > fbuf->fmt.height) { in omap_vout_new_crop()
225 * cropping height to maintain the vertical resizing ratio. in omap_vout_new_crop()
227 win->w.height = (fbuf->fmt.height - win->w.top) & ~1; in omap_vout_new_crop()
228 if (try_crop.height == 0) in omap_vout_new_crop()
229 try_crop.height = 2; in omap_vout_new_crop()
251 if ((try_crop.height/win->w.height) >= 2) in omap_vout_new_crop()
252 try_crop.height = win->w.height * 2; in omap_vout_new_crop()
262 if (try_crop.height != win->w.height) in omap_vout_new_crop()
266 if ((try_crop.height/win->w.height) >= 4) in omap_vout_new_crop()
267 try_crop.height = win->w.height * 4; in omap_vout_new_crop()
296 win->w.height = crop->height; in omap_vout_new_format()
298 win->w.top = ((fbuf->fmt.height - win->w.height) >> 1) & ~1; in omap_vout_new_format()