Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.c25 static const struct v4l2_frmsize_discrete webcam_sizes[] = { variable
36 * elements in this array as there are in webcam_sizes.
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()
384 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; in vivid_update_format_cap()
385 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()
579 v4l2_find_nearest_size(webcam_sizes, in vivid_try_fmt_vid_cap()
580 ARRAY_SIZE(webcam_sizes), width, in vivid_try_fmt_vid_cap()
759 for (i = 0; i < ARRAY_SIZE(webcam_sizes); in vivid_s_fmt_vid_cap()
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.c54 static const struct v4l2_frmsize_discrete webcam_sizes[VIVID_WEBCAM_SIZES] = { variable
65 * elements in this array as there are in webcam_sizes.
390 dev->src_rect.width = webcam_sizes[dev->webcam_size_idx].width; in vivid_update_format_cap()
391 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()
582 v4l2_find_nearest_size(webcam_sizes, in vivid_try_fmt_vid_cap()
765 for (i = 0; i < ARRAY_SIZE(webcam_sizes); i++) in vivid_s_fmt_vid_cap()
766 if (webcam_sizes[i].width == mp->width && in vivid_s_fmt_vid_cap()
767 webcam_sizes[i].height == mp->height) in vivid_s_fmt_vid_cap()
1855 if (fsize->index >= ARRAY_SIZE(webcam_sizes)) in vidioc_enum_framesizes()
1858 fsize->discrete = webcam_sizes[fsiz in vidioc_enum_framesizes()
[all...]

Completed in 8 milliseconds