/drivers/media/common/saa7146/ |
D | saa7146_video.c | 618 int maxw, maxh; in vidioc_try_fmt_vid_cap() local 629 maxh = vv->standard->v_max_out; in vidioc_try_fmt_vid_cap() 632 field = (f->fmt.pix.height > maxh / 2) in vidioc_try_fmt_vid_cap() 639 maxh = maxh / 2; in vidioc_try_fmt_vid_cap() 644 maxh = maxh / 2; in vidioc_try_fmt_vid_cap() 658 if (f->fmt.pix.height > maxh) in vidioc_try_fmt_vid_cap() 659 f->fmt.pix.height = maxh; in vidioc_try_fmt_vid_cap() 684 int maxw, maxh; in vidioc_try_fmt_vid_overlay() local 708 maxh = vv->standard->v_max_out; in vidioc_try_fmt_vid_overlay() 711 field = (win->w.height > maxh / 2) in vidioc_try_fmt_vid_overlay() [all …]
|
/drivers/media/pci/tw68/ |
D | tw68-video.c | 596 unsigned int maxh; in tw68_try_fmt_vid_cap() local 603 maxh = (dev->tvnorm->id & V4L2_STD_525_60) ? 480 : 576; in tw68_try_fmt_vid_cap() 612 maxh = maxh * 2; in tw68_try_fmt_vid_cap() 615 field = (f->fmt.pix.height > maxh / 2) in tw68_try_fmt_vid_cap() 628 if (f->fmt.pix.height > maxh) in tw68_try_fmt_vid_cap() 629 f->fmt.pix.height = maxh; in tw68_try_fmt_vid_cap()
|
/drivers/media/platform/ |
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()
|
/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() 1301 unsigned int maxw, maxh; in saa7134_try_fmt_vid_cap() local 1309 maxh = min(dev->crop_current.height*4, dev->crop_bounds.height); in saa7134_try_fmt_vid_cap() 1312 field = (f->fmt.pix.height > maxh/2) in saa7134_try_fmt_vid_cap() 1319 maxh = maxh / 2; in saa7134_try_fmt_vid_cap() [all …]
|
/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()
|
/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 1390 unsigned int maxh = norm_maxh(dev); in size_to_scale() local 1396 *vscale = (((unsigned long)maxh) << 12) / height - 4096L; in size_to_scale() 1406 unsigned int maxh = norm_maxh(dev); in scale_to_size() local 1409 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L); in scale_to_size() 1463 unsigned int maxh = norm_maxh(dev); in vidioc_try_fmt_vid_cap() local 1476 height = height > (3 * maxh / 4) ? maxh : maxh / 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() 2017 unsigned int maxh = norm_maxh(dev); in vidioc_enum_framesizes() local 2031 fsize->discrete.height = maxh / (1 + fsize->index); in vidioc_enum_framesizes() [all …]
|
/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 555 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 563 maxh = norm_maxh(dev->tvnorm); in vidioc_try_fmt_vid_cap() 566 field = (f->fmt.pix.height > maxh/2) in vidioc_try_fmt_vid_cap() 574 maxh = maxh / 2; in vidioc_try_fmt_vid_cap() 587 &f->fmt.pix.height, 32, maxh, 0, 0); in vidioc_try_fmt_vid_cap()
|
/drivers/media/pci/cx88/ |
D | cx88-blackbird.c | 834 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 843 maxh = norm_maxh(core->tvnorm); in vidioc_try_fmt_vid_cap() 855 field = (f->fmt.pix.height > maxh / 2) in vidioc_try_fmt_vid_cap() 861 maxh /= 2; in vidioc_try_fmt_vid_cap() 864 &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()
|
/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()
|