summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-image-sizes.h
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2020-04-02 10:49:57 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-21 17:21:51 +0200
commitba99522b2bd08bf3ec7126bd363cf18ade74ed2f (patch)
tree6aa7dc0d70cd136b916ec34750d2c4265f5475f7 /include/media/v4l2-image-sizes.h
parentmedia: coda: add RC enable controls (diff)
downloadlinux-ba99522b2bd08bf3ec7126bd363cf18ade74ed2f.tar.xz
linux-ba99522b2bd08bf3ec7126bd363cf18ade74ed2f.zip
media: v4l2-image-sizes: add HD and Full-HD definitions
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>
Diffstat (limited to 'include/media/v4l2-image-sizes.h')
-rw-r--r--include/media/v4l2-image-sizes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/v4l2-image-sizes.h b/include/media/v4l2-image-sizes.h
index 450f4f5d3d6a..24a7a0bb59ab 100644
--- a/include/media/v4l2-image-sizes.h
+++ b/include/media/v4l2-image-sizes.h
@@ -10,6 +10,12 @@
#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