Lines Matching refs:width
228 dev->sink_rect.width = 720; in vivid_update_format_out()
241 dev->sink_rect.width = bt->width; in vivid_update_format_out()
252 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_out()
271 (dev->sink_rect.width * dev->fmt_out->bit_depth[p]) / 8; in vivid_update_format_out()
303 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect()
318 mp->width = dev->fmt_out_rect.width; in vivid_g_fmt_vid_out()
366 w = dev->sink_rect.width; in vivid_try_fmt_vid_out()
372 mp->width = w; in vivid_try_fmt_vid_out()
375 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out()
388 mp->width = r.width; in vivid_try_fmt_vid_out()
395 bytesperline = (mp->width * fmt->bit_depth[0]) >> 3; in vivid_try_fmt_vid_out()
418 } else if (bt->width == 720 && bt->height <= 576) { in vivid_try_fmt_vid_out()
448 mp->width != dev->fmt_out_rect.width || in vivid_s_fmt_vid_out()
469 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
479 r.width / MAX_ZOOM, in vivid_s_fmt_vid_out()
484 r.width * MAX_ZOOM, in vivid_s_fmt_vid_out()
494 crop->width / MAX_ZOOM, in vivid_s_fmt_vid_out()
499 crop->width * MAX_ZOOM, in vivid_s_fmt_vid_out()
528 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
535 dev->fmt_out_rect.width = mp->width; in vivid_s_fmt_vid_out()
687 dev->sink_rect.width * MAX_ZOOM, in vivid_vid_out_s_selection()
695 s->r.width / MAX_ZOOM, in vivid_vid_out_s_selection()
700 s->r.width * MAX_ZOOM, in vivid_vid_out_s_selection()
738 s->r.width * MAX_ZOOM, in vivid_vid_out_s_selection()
743 s->r.width / MAX_ZOOM, in vivid_vid_out_s_selection()
779 if (dev->bitmap_out && (compose->width != s->r.width || in vivid_vid_out_s_selection()
830 win->w.width = compose->width; in vidioc_g_fmt_vid_out_overlay()
842 ((dev->compose_out.width + 7) / 8) * dev->compose_out.height)) in vidioc_g_fmt_vid_out_overlay()
867 win->w.width = compose->width; in vidioc_try_fmt_vid_out_overlay()
888 r->width = clamp_t(u32, r->width, 1, dev->display_width - r->left); in vidioc_try_fmt_vid_out_overlay()
918 unsigned bitmap_size = ((compose->width + 7) / 8) * compose->height; in vidioc_s_fmt_vid_out_overlay()
972 a->fmt.width = dev->display_width; in vivid_vid_out_g_fbuf()