media: vivid: Add more webcam resolutions

Add 3 more common resolution for webcams. This is required to increase
the test coverage of unit tests based on vivid.

Co-developed-by: Hidenori Kobayashi <hidenorik@chromium.org>
Signed-off-by: Hidenori Kobayashi <hidenorik@chromium.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Tested-by: Hidenori Kobayashi <hidenorik@chromium.org> # v4l2-compliance,
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
Ricardo Ribalda
2025-03-14 12:39:41 +00:00
committed by Hans Verkuil
parent ca7af8040e
commit 7ca9a4d9bd

View File

@@ -25,9 +25,12 @@
/* Sizes must be in increasing order */
static const struct v4l2_frmsize_discrete webcam_sizes[] = {
{ 320, 180 },
{ 320, 240 },
{ 640, 360 },
{ 640, 480 },
{ 1280, 720 },
{ 1280, 960 },
{ 1600, 1200 },
{ 1920, 1080 },
{ 3840, 2160 },
};