OSDN Git Service

media: v4l2-image-sizes: add HD and Full-HD definitions
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 2 Apr 2020 08:49:57 +0000 (10:49 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 15:21:51 +0000 (17:21 +0200)
Add common (Full-)HD definitions also known as 720p and 1080p.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/media/v4l2-image-sizes.h

index 450f4f5..24a7a0b 100644 (file)
 #define CIF_WIDTH      352
 #define CIF_HEIGHT     288
 
+#define HD_720_WIDTH   1280
+#define HD_720_HEIGHT  720
+
+#define HD_1080_WIDTH  1920
+#define HD_1080_HEIGHT 1080
+
 #define QCIF_WIDTH     176
 #define QCIF_HEIGHT    144