Lines Matching refs:height

42 	unsigned h = dev->fmt_out_rect.height;  in vid_out_queue_setup()
142 size = dev->bytesperline_out[p] * dev->fmt_out_rect.height + in vid_out_buf_prepare()
234 dev->sink_rect.height = 480; in vivid_update_format_out()
238 dev->sink_rect.height = 576; in vivid_update_format_out()
246 dev->sink_rect.height = bt->height; in vivid_update_format_out()
256 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_out()
272 dev->crop_out.height /= 2; in vivid_update_format_out()
308 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect()
309 return dev->sink_rect.height == 480 ? in vivid_get_pixel_aspect()
324 mp->height = dev->fmt_out_rect.height; in vivid_g_fmt_vid_out()
335 mp->plane_fmt[p].bytesperline * mp->height; in vivid_g_fmt_vid_out()
341 (stride * mp->height) / fmt->vdownsampling[p]; in vivid_g_fmt_vid_out()
373 h = dev->sink_rect.height; in vivid_try_fmt_vid_out()
379 mp->height = h / factor; in vivid_try_fmt_vid_out()
381 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out()
395 mp->height = r.height / factor; in vivid_try_fmt_vid_out()
410 pfmt[p].sizeimage = pfmt[p].bytesperline * mp->height; in vivid_try_fmt_vid_out()
425 } else if (bt->width == 720 && bt->height <= 576) { in vivid_try_fmt_vid_out()
456 mp->height != dev->fmt_out_rect.height || in vivid_s_fmt_vid_out()
476 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
487 factor * r.height / MAX_ZOOM in vivid_s_fmt_vid_out()
492 factor * r.height * MAX_ZOOM in vivid_s_fmt_vid_out()
502 factor * crop->height / MAX_ZOOM in vivid_s_fmt_vid_out()
507 factor * crop->height * MAX_ZOOM in vivid_s_fmt_vid_out()
516 r.height *= factor; in vivid_s_fmt_vid_out()
521 r.height /= factor; in vivid_s_fmt_vid_out()
524 r.height *= factor; in vivid_s_fmt_vid_out()
528 crop->height *= factor; in vivid_s_fmt_vid_out()
532 crop->height /= factor; in vivid_s_fmt_vid_out()
535 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
538 r.height /= factor; in vivid_s_fmt_vid_out()
543 dev->fmt_out_rect.height = mp->height; in vivid_s_fmt_vid_out()
696 (dev->sink_rect.height / factor) * MAX_ZOOM in vivid_vid_out_s_selection()
704 (s->r.height * factor) / MAX_ZOOM in vivid_vid_out_s_selection()
709 (s->r.height * factor) * MAX_ZOOM in vivid_vid_out_s_selection()
718 s->r.height *= factor; in vivid_vid_out_s_selection()
723 s->r.height /= factor; in vivid_vid_out_s_selection()
726 s->r.height /= factor; in vivid_vid_out_s_selection()
741 s->r.height /= factor; in vivid_vid_out_s_selection()
747 s->r.height * MAX_ZOOM in vivid_vid_out_s_selection()
752 s->r.height / MAX_ZOOM in vivid_vid_out_s_selection()
782 crop->height /= factor; in vivid_vid_out_s_selection()
786 s->r.height *= factor; in vivid_vid_out_s_selection()
788 compose->height != s->r.height)) { in vivid_vid_out_s_selection()
839 win->w.height = compose->height; in vidioc_g_fmt_vid_out_overlay()
850 ((dev->compose_out.width + 7) / 8) * dev->compose_out.height)) in vidioc_g_fmt_vid_out_overlay()
876 win->w.height = compose->height; in vidioc_try_fmt_vid_out_overlay()
894 r->height = clamp_t(s32, r->height, 1, dev->display_height - r->top); in vidioc_try_fmt_vid_out_overlay()
926 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; in vidioc_s_fmt_vid_out_overlay()
981 a->fmt.height = dev->display_height; in vivid_vid_out_g_fbuf()
987 a->fmt.sizeimage = a->fmt.height * a->fmt.bytesperline; in vivid_vid_out_g_fbuf()