Home
last modified time | relevance | path

Searched refs:webcam_sizes (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-vid-cap.c54 static const struct v4l2_frmsize_discrete webcam_sizes[VIVID_WEBCAM_SIZES] = { variable
391 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; in vivid_update_format_cap()
392 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()
594 v4l2_find_nearest_size(webcam_sizes, in vivid_try_fmt_vid_cap()
777 for (i = 0; i < ARRAY_SIZE(webcam_sizes); i++) in vivid_s_fmt_vid_cap()
778 if (webcam_sizes[i].width == mp->width && in vivid_s_fmt_vid_cap()
779 webcam_sizes[i].height == mp->height) in vivid_s_fmt_vid_cap()
1863 if (fsize->index >= ARRAY_SIZE(webcam_sizes)) in vidioc_enum_framesizes()
1866 fsize->discrete = webcam_sizes[fsize->index]; in vidioc_enum_framesizes()
1905 for (i = 0; i < ARRAY_SIZE(webcam_sizes); i++) in vidioc_enum_frameintervals()
[all …]