/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/ |
D | saa7146_video.c | 617 int maxw, maxh; in vidioc_try_fmt_vid_cap() local 628 maxh = vv->standard->v_max_out; in vidioc_try_fmt_vid_cap() 631 field = (f->fmt.pix.height > maxh / 2) in vidioc_try_fmt_vid_cap() 638 maxh = maxh / 2; in vidioc_try_fmt_vid_cap() 643 maxh = maxh / 2; in vidioc_try_fmt_vid_cap() 657 if (f->fmt.pix.height > maxh) in vidioc_try_fmt_vid_cap() 658 f->fmt.pix.height = maxh; in vidioc_try_fmt_vid_cap() 683 int maxw, maxh; in vidioc_try_fmt_vid_overlay() local 707 maxh = vv->standard->v_max_out; in vidioc_try_fmt_vid_overlay() 710 field = (win->w.height > maxh / 2) in vidioc_try_fmt_vid_overlay() [all …]
|
/linux-6.1.9/drivers/media/pci/tw68/ |
D | tw68-video.c | 594 unsigned int maxh; in tw68_try_fmt_vid_cap() local 601 maxh = (dev->tvnorm->id & V4L2_STD_525_60) ? 480 : 576; in tw68_try_fmt_vid_cap() 610 maxh = maxh * 2; in tw68_try_fmt_vid_cap() 613 field = (f->fmt.pix.height > maxh / 2) in tw68_try_fmt_vid_cap() 626 if (f->fmt.pix.height > maxh) in tw68_try_fmt_vid_cap() 627 f->fmt.pix.height = maxh; in tw68_try_fmt_vid_cap()
|
/linux-6.1.9/drivers/staging/media/deprecated/fsl-viu/ |
D | fsl-viu.c | 593 unsigned int maxw, maxh; in vidioc_try_fmt_cap() local 603 maxh = norm_maxh(); in vidioc_try_fmt_cap() 608 if (f->fmt.pix.height > maxh) in vidioc_try_fmt_cap() 609 f->fmt.pix.height = maxh; in vidioc_try_fmt_cap() 654 int maxw, maxh; in verify_preview() local 665 maxh = dev->crop_current.height; in verify_preview() 668 field = (win->w.height > maxh/2) in verify_preview() 675 maxh = maxh / 2; in verify_preview() 686 if (win->w.height > maxh) in verify_preview() 687 win->w.height = maxh; in verify_preview()
|
/linux-6.1.9/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 659 int maxw, maxh; in verify_preview() local 674 maxh = dev->crop_current.height; in verify_preview() 677 field = (win->w.height > maxh/2) in verify_preview() 684 maxh = maxh / 2; in verify_preview() 694 if (win->w.height > maxh) in verify_preview() 695 win->w.height = maxh; in verify_preview() 1298 unsigned int maxw, maxh; in saa7134_try_fmt_vid_cap() local 1306 maxh = min(dev->crop_current.height*4, dev->crop_bounds.height); in saa7134_try_fmt_vid_cap() 1309 field = (f->fmt.pix.height > maxh/2) in saa7134_try_fmt_vid_cap() 1316 maxh = maxh / 2; in saa7134_try_fmt_vid_cap() [all …]
|
/linux-6.1.9/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 340 unsigned int maxh; in cx25821_vidioc_try_fmt_vid_cap() local 346 maxh = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480; in cx25821_vidioc_try_fmt_vid_cap() 353 f->fmt.pix.height = maxh / 4; in cx25821_vidioc_try_fmt_vid_cap() 356 f->fmt.pix.height = maxh / 2; in cx25821_vidioc_try_fmt_vid_cap() 359 f->fmt.pix.height = maxh; in cx25821_vidioc_try_fmt_vid_cap()
|
/linux-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 1380 unsigned int maxh = norm_maxh(dev); in size_to_scale() local 1386 *vscale = (((unsigned long)maxh) << 12) / height - 4096L; in size_to_scale() 1396 unsigned int maxh = norm_maxh(dev); in scale_to_size() local 1399 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L); in scale_to_size() 1453 unsigned int maxh = norm_maxh(dev); in vidioc_try_fmt_vid_cap() local 1466 height = height > (3 * maxh / 4) ? maxh : maxh / 2; in vidioc_try_fmt_vid_cap() 1473 if (width == maxw && height == maxh) in vidioc_try_fmt_vid_cap() 1480 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, in vidioc_try_fmt_vid_cap() 2007 unsigned int maxh = norm_maxh(dev); in vidioc_enum_framesizes() local 2021 fsize->discrete.height = maxh / (1 + fsize->index); in vidioc_enum_framesizes() [all …]
|
/linux-6.1.9/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 554 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 562 maxh = norm_maxh(dev->tvnorm); in vidioc_try_fmt_vid_cap() 565 field = (f->fmt.pix.height > maxh/2) in vidioc_try_fmt_vid_cap() 573 maxh = maxh / 2; in vidioc_try_fmt_vid_cap() 586 &f->fmt.pix.height, 32, maxh, 0, 0); in vidioc_try_fmt_vid_cap()
|
/linux-6.1.9/drivers/media/pci/cx88/ |
D | cx88-blackbird.c | 833 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 842 maxh = norm_maxh(core->tvnorm); in vidioc_try_fmt_vid_cap() 854 field = (f->fmt.pix.height > maxh / 2) in vidioc_try_fmt_vid_cap() 860 maxh /= 2; in vidioc_try_fmt_vid_cap() 863 &f->fmt.pix.height, 32, maxh, 0, 0); in vidioc_try_fmt_vid_cap()
|
D | cx88-video.c | 731 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 738 maxh = norm_maxh(core->tvnorm); in vidioc_try_fmt_vid_cap() 750 field = (f->fmt.pix.height > maxh / 2) in vidioc_try_fmt_vid_cap() 756 maxh /= 2; in vidioc_try_fmt_vid_cap() 759 &f->fmt.pix.height, 32, maxh, 0, 0); in vidioc_try_fmt_vid_cap()
|
/linux-6.1.9/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1403 unsigned int maxh, maxw; in cx231xx_init_dev() local 1467 maxh = norm_maxh(dev); in cx231xx_init_dev() 1471 dev->height = maxh; in cx231xx_init_dev()
|
D | cx231xx-video.c | 864 unsigned int maxh = norm_maxh(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()
|