/Linux-v4.19/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 1394 unsigned int maxw = norm_maxw(dev); in size_to_scale() local 1397 *hscale = (((unsigned long)maxw) << 12) / width - 4096L; in size_to_scale() 1410 unsigned int maxw = norm_maxw(dev); in scale_to_size() local 1413 *width = (((unsigned long)maxw) << 12) / (hscale + 4096L); in scale_to_size() 1467 unsigned int maxw = norm_maxw(dev); in vidioc_try_fmt_vid_cap() local 1482 width = width > (3 * maxw / 4) ? maxw : maxw / 2; in vidioc_try_fmt_vid_cap() 1488 if (width == maxw && height == maxh) in vidioc_try_fmt_vid_cap() 1495 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, in vidioc_try_fmt_vid_cap() 1968 unsigned int maxw = norm_maxw(dev); in vidioc_enum_framesizes() local 1982 fsize->discrete.width = maxw / (1 + fsize->index); in vidioc_enum_framesizes() [all …]
|
/Linux-v4.19/drivers/media/common/saa7146/ |
D | saa7146_video.c | 639 int maxw, maxh; in vidioc_try_fmt_vid_cap() local 649 maxw = vv->standard->h_max_out; in vidioc_try_fmt_vid_cap() 677 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_vid_cap() 678 f->fmt.pix.width = maxw; in vidioc_try_fmt_vid_cap() 705 int maxw, maxh; in vidioc_try_fmt_vid_overlay() local 728 maxw = vv->standard->h_max_out; in vidioc_try_fmt_vid_overlay() 750 if (win->w.width > maxw) in vidioc_try_fmt_vid_overlay() 751 win->w.width = maxw; in vidioc_try_fmt_vid_overlay()
|
/Linux-v4.19/drivers/media/platform/ |
D | fsl-viu.c | 611 unsigned int maxw, maxh; in vidioc_try_fmt_cap() local 620 maxw = norm_maxw(); in vidioc_try_fmt_cap() 630 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_cap() 631 f->fmt.pix.width = maxw; in vidioc_try_fmt_cap() 672 int maxw, maxh; in verify_preview() local 682 maxw = dev->crop_current.width; in verify_preview() 702 if (win->w.width > maxw) in verify_preview() 703 win->w.width = maxw; in verify_preview()
|
/Linux-v4.19/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 682 int maxw, maxh; in verify_preview() local 696 maxw = dev->crop_current.width; in verify_preview() 715 if (win->w.width > maxw) in verify_preview() 716 win->w.width = maxw; in verify_preview() 1324 unsigned int maxw, maxh; in saa7134_try_fmt_vid_cap() local 1331 maxw = min(dev->crop_current.width*4, dev->crop_bounds.width); in saa7134_try_fmt_vid_cap() 1354 if (f->fmt.pix.width > maxw) in saa7134_try_fmt_vid_cap() 1355 f->fmt.pix.width = maxw; in saa7134_try_fmt_vid_cap()
|
/Linux-v4.19/drivers/media/pci/cx88/ |
D | cx88-blackbird.c | 844 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 852 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap() 873 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
|
D | cx88-video.c | 750 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 756 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap() 777 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
|
/Linux-v4.19/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 561 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 568 maxw = 720; in vidioc_try_fmt_vid_cap() 592 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
|
/Linux-v4.19/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1413 unsigned int maxh, maxw; in cx231xx_init_dev() local 1476 maxw = norm_maxw(dev); in cx231xx_init_dev() 1480 dev->width = maxw; in cx231xx_init_dev()
|
D | cx231xx-video.c | 980 unsigned int maxw = norm_maxw(dev); in vidioc_try_fmt_vid_cap() local 993 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, 1, 0); in vidioc_try_fmt_vid_cap()
|