Lines Matching refs:width
232 dev->sink_rect.width = 720; in vivid_update_format_out()
245 dev->sink_rect.width = bt->width; in vivid_update_format_out()
256 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_out()
276 (dev->sink_rect.width * dev->fmt_out->bit_depth[p]) / 8; in vivid_update_format_out()
308 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect()
323 mp->width = dev->fmt_out_rect.width; in vivid_g_fmt_vid_out()
372 w = dev->sink_rect.width; in vivid_try_fmt_vid_out()
378 mp->width = w; in vivid_try_fmt_vid_out()
381 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out()
394 mp->width = r.width; in vivid_try_fmt_vid_out()
401 bytesperline = (mp->width * fmt->bit_depth[0]) >> 3; in vivid_try_fmt_vid_out()
425 } else if (bt->width == 720 && bt->height <= 576) { in vivid_try_fmt_vid_out()
455 mp->width != dev->fmt_out_rect.width || in vivid_s_fmt_vid_out()
476 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
486 r.width / MAX_ZOOM, in vivid_s_fmt_vid_out()
491 r.width * MAX_ZOOM, in vivid_s_fmt_vid_out()
501 crop->width / MAX_ZOOM, in vivid_s_fmt_vid_out()
506 crop->width * MAX_ZOOM, in vivid_s_fmt_vid_out()
535 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
542 dev->fmt_out_rect.width = mp->width; in vivid_s_fmt_vid_out()
695 dev->sink_rect.width * MAX_ZOOM, in vivid_vid_out_s_selection()
703 s->r.width / MAX_ZOOM, in vivid_vid_out_s_selection()
708 s->r.width * MAX_ZOOM, in vivid_vid_out_s_selection()
746 s->r.width * MAX_ZOOM, in vivid_vid_out_s_selection()
751 s->r.width / MAX_ZOOM, in vivid_vid_out_s_selection()
787 if (dev->bitmap_out && (compose->width != s->r.width || in vivid_vid_out_s_selection()
838 win->w.width = compose->width; 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()
875 win->w.width = compose->width; in vidioc_try_fmt_vid_out_overlay()
896 r->width = clamp_t(u32, r->width, 1, dev->display_width - r->left); in vidioc_try_fmt_vid_out_overlay()
926 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; in vidioc_s_fmt_vid_out_overlay()
980 a->fmt.width = dev->display_width; in vivid_vid_out_g_fbuf()