From: Manjunath Hadli <manjunath.hadli@ti.com>
To: LMML <linux-media@vger.kernel.org>,
dlos <davinci-linux-open-source@linux.davincidsp.com>
Cc: Manjunath Hadli <manjunath.hadli@ti.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: [PATCH 2/2] v4l2: add new pixel formats supported on dm365
Date: Thu, 15 Dec 2011 17:54:58 +0530 [thread overview]
Message-ID: <1323951898-16330-3-git-send-email-manjunath.hadli@ti.com> (raw)
In-Reply-To: <1323951898-16330-1-git-send-email-manjunath.hadli@ti.com>
add new macro V4L2_PIX_FMT_SGRBG10ALAW8 to represent Bayer format
frames compressed by A-LAW alogorithm.
add V4L2_PIX_FMT_UV8 to represent storage of C (UV interleved) only.
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
include/linux/videodev2.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 4b752d5..969112d 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -338,6 +338,9 @@ struct v4l2_pix_format {
#define V4L2_PIX_FMT_HM12 v4l2_fourcc('H', 'M', '1', '2') /* 8 YUV 4:2:0 16x16 macroblocks */
#define V4L2_PIX_FMT_M420 v4l2_fourcc('M', '4', '2', '0') /* 12 YUV 4:2:0 2 lines y, 1 line uv interleaved */
+/* Chrominance formats */
+#define V4L2_PIX_FMT_UV8 v4l2_fourcc('U', 'V', '8', ' ') /* 8 UV 4:4 */
+
/* two planes -- one Y, one Cr + Cb interleaved */
#define V4L2_PIX_FMT_NV12 v4l2_fourcc('N', 'V', '1', '2') /* 12 Y/CbCr 4:2:0 */
#define V4L2_PIX_FMT_NV21 v4l2_fourcc('N', 'V', '2', '1') /* 12 Y/CrCb 4:2:0 */
@@ -366,6 +369,9 @@ struct v4l2_pix_format {
#define V4L2_PIX_FMT_SRGGB12 v4l2_fourcc('R', 'G', '1', '2') /* 12 RGRG.. GBGB.. */
/* 10bit raw bayer DPCM compressed to 8 bits */
#define V4L2_PIX_FMT_SGRBG10DPCM8 v4l2_fourcc('B', 'D', '1', '0')
+ /* 10bit raw bayer a-law compressed to 8 bits */
+#define V4L2_PIX_FMT_SGRBG10ALAW8 v4l2_fourcc('A', 'L', 'W', '8')
+
/*
* 10bit raw bayer, expanded to 16 bits
* xxxxrrrrrrrrrrxxxxgggggggggg xxxxggggggggggxxxxbbbbbbbbbb...
--
1.6.2.4
next prev parent reply other threads:[~2011-12-15 12:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 12:24 [PATCH 0/2] add dm365 specific media formats Manjunath Hadli
2011-12-15 12:24 ` [PATCH 1/2] media: add new mediabus format enums for dm365 Manjunath Hadli
2011-12-15 13:02 ` Laurent Pinchart
2011-12-16 14:20 ` Hadli, Manjunath
2011-12-20 23:58 ` Laurent Pinchart
2011-12-21 13:54 ` Hadli, Manjunath
2011-12-21 22:18 ` Laurent Pinchart
2011-12-15 12:24 ` Manjunath Hadli [this message]
2011-12-15 13:00 ` [PATCH 2/2] v4l2: add new pixel formats supported on dm365 Laurent Pinchart
2011-12-16 13:42 ` Hadli, Manjunath
2011-12-21 0:02 ` Laurent Pinchart
2011-12-21 13:56 ` Hadli, Manjunath
2011-12-21 22:23 ` Laurent Pinchart
2011-12-21 22:46 ` Guennadi Liakhovetski
2011-12-22 10:23 ` Laurent Pinchart
2011-12-28 11:16 ` Sakari Ailus
2012-01-02 11:21 ` Laurent Pinchart
2012-01-17 6:59 ` Hadli, Manjunath
2012-01-17 9:17 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1323951898-16330-3-git-send-email-manjunath.hadli@ti.com \
--to=manjunath.hadli@ti.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox