Searched refs:maxh (Results 1 – 2 of 2) sorted by relevance
364 int maxw, maxh; in vidioc_try_fmt_vid_cap() local375 maxh = vv->standard->v_max_out; in vidioc_try_fmt_vid_cap()378 field = (f->fmt.pix.height > maxh / 2) in vidioc_try_fmt_vid_cap()386 maxh = maxh / 2; in vidioc_try_fmt_vid_cap()401 if (f->fmt.pix.height > maxh) in vidioc_try_fmt_vid_cap()402 f->fmt.pix.height = maxh; in vidioc_try_fmt_vid_cap()
1544 unsigned int maxh = norm_maxh(dev); in size_to_scale() local1550 *vscale = (((unsigned long)maxh) << 12) / height - 4096L; in size_to_scale()1560 unsigned int maxh = norm_maxh(dev); in scale_to_size() local1563 *height = (((unsigned long)maxh) << 12) / (vscale + 4096L); in scale_to_size()1617 unsigned int maxh = norm_maxh(dev); in vidioc_try_fmt_vid_cap() local1630 height = height > (3 * maxh / 4) ? maxh : maxh / 2; in vidioc_try_fmt_vid_cap()1637 if (width == maxw && height == maxh) in vidioc_try_fmt_vid_cap()1644 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, in vidioc_try_fmt_vid_cap()2192 unsigned int maxh = norm_maxh(dev); in vidioc_enum_framesizes() local2206 fsize->discrete.height = maxh / (1 + fsize->index); in vidioc_enum_framesizes()[all …]