/drivers/media/common/saa7146/ |
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 …]
|
/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()
|
/drivers/media/platform/ |
D | fsl-viu.c | 601 unsigned int maxw, maxh; in vidioc_try_fmt_cap() local 611 maxh = norm_maxh(); in vidioc_try_fmt_cap() 616 if (f->fmt.pix.height > maxh) in vidioc_try_fmt_cap() 617 f->fmt.pix.height = maxh; in vidioc_try_fmt_cap() 662 int maxw, maxh; in verify_preview() local 673 maxh = dev->crop_current.height; in verify_preview() 676 field = (win->w.height > maxh/2) in verify_preview() 683 maxh = maxh / 2; in verify_preview() 694 if (win->w.height > maxh) in verify_preview() 695 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 | 550 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 558 maxh = norm_maxh(dev->tvnorm); in vidioc_try_fmt_vid_cap() 561 field = (f->fmt.pix.height > maxh/2) in vidioc_try_fmt_vid_cap() 569 maxh = maxh / 2; in vidioc_try_fmt_vid_cap() 582 &f->fmt.pix.height, 32, maxh, 0, 0); in vidioc_try_fmt_vid_cap()
|
/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()
|
/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 | 968 unsigned int maxh = norm_maxh(dev); in vidioc_try_fmt_vid_cap() local 980 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, 1, 0); in vidioc_try_fmt_vid_cap()
|