Lines Matching full:height

30 	unsigned h = dev->fmt_out_rect.height;  in vid_out_queue_setup()
107 unsigned int h = dev->fmt_out_rect.height; in vid_out_buf_prepare()
229 dev->sink_rect.height = 480; in vivid_update_format_out()
233 dev->sink_rect.height = 576; in vivid_update_format_out()
241 dev->sink_rect.height = bt->height; in vivid_update_format_out()
257 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_out()
274 dev->crop_out.height /= 2; in vivid_update_format_out()
310 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect()
311 return dev->sink_rect.height == 480 ? in vivid_get_pixel_aspect()
326 mp->height = dev->fmt_out_rect.height; in vivid_g_fmt_vid_out()
337 mp->plane_fmt[p].bytesperline * mp->height + in vivid_g_fmt_vid_out()
344 (stride * mp->height) / fmt->vdownsampling[p]; in vivid_g_fmt_vid_out()
376 h = dev->sink_rect.height; in vivid_try_fmt_vid_out()
382 mp->height = h / factor; in vivid_try_fmt_vid_out()
384 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out()
398 mp->height = r.height / factor; in vivid_try_fmt_vid_out()
415 pfmt[p].sizeimage = (pfmt[p].bytesperline * mp->height) / in vivid_try_fmt_vid_out()
421 pfmt[0].sizeimage += (pfmt[0].bytesperline * mp->height * in vivid_try_fmt_vid_out()
434 } else if (bt->width == 720 && bt->height <= 576) { in vivid_try_fmt_vid_out()
465 mp->height != dev->fmt_out_rect.height || in vivid_s_fmt_vid_out()
485 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
496 factor * r.height / MAX_ZOOM in vivid_s_fmt_vid_out()
501 factor * r.height * MAX_ZOOM in vivid_s_fmt_vid_out()
511 factor * crop->height / MAX_ZOOM in vivid_s_fmt_vid_out()
516 factor * crop->height * MAX_ZOOM in vivid_s_fmt_vid_out()
525 r.height *= factor; in vivid_s_fmt_vid_out()
530 r.height /= factor; in vivid_s_fmt_vid_out()
533 r.height *= factor; in vivid_s_fmt_vid_out()
537 crop->height *= factor; in vivid_s_fmt_vid_out()
541 crop->height /= factor; in vivid_s_fmt_vid_out()
544 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
547 r.height /= factor; in vivid_s_fmt_vid_out()
552 dev->fmt_out_rect.height = mp->height; in vivid_s_fmt_vid_out()
705 (dev->sink_rect.height / factor) * MAX_ZOOM in vivid_vid_out_s_selection()
713 (s->r.height * factor) / MAX_ZOOM in vivid_vid_out_s_selection()
718 (s->r.height * factor) * MAX_ZOOM in vivid_vid_out_s_selection()
727 s->r.height *= factor; in vivid_vid_out_s_selection()
732 s->r.height /= factor; in vivid_vid_out_s_selection()
735 s->r.height /= factor; in vivid_vid_out_s_selection()
750 s->r.height /= factor; in vivid_vid_out_s_selection()
756 s->r.height * MAX_ZOOM in vivid_vid_out_s_selection()
761 s->r.height / MAX_ZOOM in vivid_vid_out_s_selection()
791 crop->height /= factor; in vivid_vid_out_s_selection()
795 s->r.height *= factor; in vivid_vid_out_s_selection()
797 compose->height != s->r.height)) { in vivid_vid_out_s_selection()
846 win->w.height = compose->height; in vidioc_g_fmt_vid_out_overlay()
857 ((dev->compose_out.width + 7) / 8) * dev->compose_out.height)) in vidioc_g_fmt_vid_out_overlay()
883 win->w.height = compose->height; in vidioc_try_fmt_vid_out_overlay()
901 r->height = clamp_t(s32, r->height, 1, dev->display_height - r->top); in vidioc_try_fmt_vid_out_overlay()
933 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; in vidioc_s_fmt_vid_out_overlay()
992 a->fmt.height = dev->display_height; in vivid_vid_out_g_fbuf()
998 a->fmt.sizeimage = a->fmt.height * a->fmt.bytesperline; in vivid_vid_out_g_fbuf()