From a92bd6b99a3f70ad02da39873223ea375c1f2e9f Mon Sep 17 00:00:00 2001 From: Tjienta Vara Date: Sat, 16 Dec 2017 09:19:02 +0100 Subject: [PATCH] linux-v4l2: Add 4k and 21:9 resolutions Add the following 16:9 4k resolutions: - 2560x1440 - 3840x2160 Add the following 21:9 2k and 4k resolutions: - 2560x1080 - 3440x1440 - 5120x2160 --- plugins/linux-v4l2/v4l2-helpers.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/linux-v4l2/v4l2-helpers.h b/plugins/linux-v4l2/v4l2-helpers.h index 84bb95ca4..e25d0bbbd 100644 --- a/plugins/linux-v4l2/v4l2-helpers.h +++ b/plugins/linux-v4l2/v4l2-helpers.h @@ -101,6 +101,13 @@ static const int v4l2_framesizes[] = 1600<<16 | 900, 1920<<16 | 1080, 1920<<16 | 1200, + 2560<<16 | 1440, + 3840<<16 | 2160, + + /* 21:9 */ + 2560<<16 | 1080, + 3440<<16 | 1440, + 5120<<16 | 2160, /* tv */ 432<<16 | 520,