Add two desired video formats to v4l2 (from Jonathan Corbet)

Andres Salomon dilinger at debian.org
Tue Nov 7 22:37:12 EST 2006


Commit:     5851cc8ffe8818200d1613a6463d011475b2d6cb
Parent:     fcdbcf6204e89da5c0e45588dfbee2daf484ce9a
commit 5851cc8ffe8818200d1613a6463d011475b2d6cb
Author:     Andres Salomon <dilinger at debian.org>
AuthorDate: Fri Oct 6 15:33:12 2006 -0400
Commit:     Andres Salomon <dilinger at debian.org>
CommitDate: Fri Oct 6 15:33:12 2006 -0400

    Add two desired video formats to v4l2 (from Jonathan Corbet)
---
 include/linux/videodev2.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index c5fdf62..8d7f03a 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -244,6 +244,8 @@ #define V4L2_PIX_FMT_YUV420  v4l2_fourcc
 #define V4L2_PIX_FMT_YYUV    v4l2_fourcc('Y','Y','U','V') /* 16  YUV 4:2:2     */
 #define V4L2_PIX_FMT_HI240   v4l2_fourcc('H','I','2','4') /*  8  8-bit color   */
 #define V4L2_PIX_FMT_HM12    v4l2_fourcc('H','M','1','2') /*  8  YUV 4:1:1 16x16 macroblocks */
+#define V4L2_PIX_FMT_RGB444  v4l2_fourcc('R','4','4','4') /* 16  xxxxrrrr ggggbbbb */
+#define V4L2_PIX_FMT_RGB565N v4l2_fourcc('R','G','B','6') /* 16  rrrrrggg gggbbbbb */
 
 /* see http://www.siliconimaging.com/RGB%20Bayer.htm */
 #define V4L2_PIX_FMT_SBGGR8  v4l2_fourcc('B','A','8','1') /*  8  BGBG.. GRGR.. */


More information about the Commits-kernel mailing list