Home
last modified time | relevance | path

Searched refs:maxw (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-video.c1389 unsigned int maxw = norm_maxw(dev); in size_to_scale() local
1392 *hscale = (((unsigned long)maxw) << 12) / width - 4096L; in size_to_scale()
1405 unsigned int maxw = norm_maxw(dev); in scale_to_size() local
1408 *width = (((unsigned long)maxw) << 12) / (hscale + 4096L); in scale_to_size()
1462 unsigned int maxw = norm_maxw(dev); in vidioc_try_fmt_vid_cap() local
1477 width = width > (3 * maxw / 4) ? maxw : maxw / 2; in vidioc_try_fmt_vid_cap()
1483 if (width == maxw && height == maxh) in vidioc_try_fmt_vid_cap()
1490 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, in vidioc_try_fmt_vid_cap()
2016 unsigned int maxw = norm_maxw(dev); in vidioc_enum_framesizes() local
2030 fsize->discrete.width = maxw / (1 + fsize->index); in vidioc_enum_framesizes()
[all …]
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_video.c618 int maxw, maxh; in vidioc_try_fmt_vid_cap() local
628 maxw = vv->standard->h_max_out; in vidioc_try_fmt_vid_cap()
656 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_vid_cap()
657 f->fmt.pix.width = maxw; in vidioc_try_fmt_vid_cap()
684 int maxw, maxh; in vidioc_try_fmt_vid_overlay() local
707 maxw = vv->standard->h_max_out; in vidioc_try_fmt_vid_overlay()
729 if (win->w.width > maxw) in vidioc_try_fmt_vid_overlay()
730 win->w.width = maxw; in vidioc_try_fmt_vid_overlay()
/kernel/linux/linux-5.10/drivers/media/platform/
Dfsl-viu.c601 unsigned int maxw, maxh; in vidioc_try_fmt_cap() local
610 maxw = norm_maxw(); in vidioc_try_fmt_cap()
620 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_cap()
621 f->fmt.pix.width = maxw; in vidioc_try_fmt_cap()
662 int maxw, maxh; in verify_preview() local
672 maxw = dev->crop_current.width; in verify_preview()
692 if (win->w.width > maxw) in verify_preview()
693 win->w.width = maxw; in verify_preview()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-video.c659 int maxw, maxh; in verify_preview() local
673 maxw = dev->crop_current.width; in verify_preview()
692 if (win->w.width > maxw) in verify_preview()
693 win->w.width = maxw; in verify_preview()
1300 unsigned int maxw, maxh; in saa7134_try_fmt_vid_cap() local
1307 maxw = min(dev->crop_current.width*4, dev->crop_bounds.width); in saa7134_try_fmt_vid_cap()
1330 if (f->fmt.pix.width > maxw) in saa7134_try_fmt_vid_cap()
1331 f->fmt.pix.width = maxw; in saa7134_try_fmt_vid_cap()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-blackbird.c833 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local
841 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap()
862 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
Dcx88-video.c730 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local
736 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap()
757 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-video.c554 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local
561 maxw = 720; in vidioc_try_fmt_vid_cap()
585 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1403 unsigned int maxh, maxw; in cx231xx_init_dev() local
1466 maxw = norm_maxw(dev); in cx231xx_init_dev()
1470 dev->width = maxw; in cx231xx_init_dev()
Dcx231xx-video.c863 unsigned int maxw = norm_maxw(dev); in vidioc_try_fmt_vid_cap() local
876 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, 1, 0); in vidioc_try_fmt_vid_cap()