浏览代码

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
Tjienta Vara 7 年之前
父节点
当前提交
a92bd6b99a
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      plugins/linux-v4l2/v4l2-helpers.h

+ 7 - 0
plugins/linux-v4l2/v4l2-helpers.h

@@ -101,6 +101,13 @@ static const int v4l2_framesizes[] =
 	1600<<16	| 900,
 	1600<<16	| 900,
 	1920<<16	| 1080,
 	1920<<16	| 1080,
 	1920<<16	| 1200,
 	1920<<16	| 1200,
+	2560<<16	| 1440,
+	3840<<16	| 2160,
+
+	/* 21:9 */
+	2560<<16	| 1080,
+	3440<<16	| 1440,
+	5120<<16	| 2160,
 
 
 	/* tv */
 	/* tv */
 	432<<16		| 520,
 	432<<16		| 520,