Lines Matching refs:webcam_sizes
25 static const struct v4l2_frmsize_discrete webcam_sizes[] = { variable
62 if (webcam_sizes[frmsize_idx].height >= 2160) in webcam_ival_count()
65 if (webcam_sizes[frmsize_idx].height >= 1080) in webcam_ival_count()
68 if (webcam_sizes[frmsize_idx].height >= 720) in webcam_ival_count()
378 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; in vivid_update_format_cap()
379 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()
573 v4l2_find_nearest_size(webcam_sizes, in vivid_try_fmt_vid_cap()
574 ARRAY_SIZE(webcam_sizes), width, in vivid_try_fmt_vid_cap()
753 for (i = 0; i < ARRAY_SIZE(webcam_sizes); i++) in vivid_s_fmt_vid_cap()
754 if (webcam_sizes[i].width == mp->width && in vivid_s_fmt_vid_cap()
755 webcam_sizes[i].height == mp->height) in vivid_s_fmt_vid_cap()
1639 if (fsize->index >= ARRAY_SIZE(webcam_sizes)) in vidioc_enum_framesizes()
1642 fsize->discrete = webcam_sizes[fsize->index]; in vidioc_enum_framesizes()
1681 for (i = 0; i < ARRAY_SIZE(webcam_sizes); i++) in vidioc_enum_frameintervals()
1682 if (fival->width == webcam_sizes[i].width && in vidioc_enum_frameintervals()
1683 fival->height == webcam_sizes[i].height) in vidioc_enum_frameintervals()
1685 if (i == ARRAY_SIZE(webcam_sizes)) in vidioc_enum_frameintervals()