Lines Matching refs:webcam_sizes
68 static const struct v4l2_frmsize_discrete webcam_sizes[VIVID_WEBCAM_SIZES] = { variable
88 webcam_sizes,
405 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; in vivid_update_format_cap()
406 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()
695 for (i = 0; i < ARRAY_SIZE(webcam_sizes); i++) in vivid_s_fmt_vid_cap()
696 if (webcam_sizes[i].width == mp->width && in vivid_s_fmt_vid_cap()
697 webcam_sizes[i].height == mp->height) in vivid_s_fmt_vid_cap()
1617 if (fsize->index >= ARRAY_SIZE(webcam_sizes)) in vidioc_enum_framesizes()
1620 fsize->discrete = webcam_sizes[fsize->index]; in vidioc_enum_framesizes()
1663 for (i = 0; i < ARRAY_SIZE(webcam_sizes); i++) in vidioc_enum_frameintervals()
1664 if (fival->width == webcam_sizes[i].width && in vidioc_enum_frameintervals()
1665 fival->height == webcam_sizes[i].height) in vidioc_enum_frameintervals()
1667 if (i == ARRAY_SIZE(webcam_sizes)) in vidioc_enum_frameintervals()