From patchwork Thu Aug 13 18:51:06 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Aguirre Rodriguez, Sergio Alberto" X-Patchwork-Id: 1489 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Thu, 13 Aug 2009 18:51:17 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra.chehab.org with IMAP (fetchmail-6.3.6) for (single-drop); Thu, 13 Aug 2009 20:44:18 -0300 (BRT) Received: from vger.kernel.org ([209.132.176.167]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1MbfOO-0002j4-Cu; Thu, 13 Aug 2009 18:51:16 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752165AbZHMSvM (ORCPT + 1 other); Thu, 13 Aug 2009 14:51:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752260AbZHMSvM (ORCPT ); Thu, 13 Aug 2009 14:51:12 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:44755 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165AbZHMSvM (ORCPT ); Thu, 13 Aug 2009 14:51:12 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n7DIp8Ga011064 for ; Thu, 13 Aug 2009 13:51:13 -0500 Received: from dlep20.itg.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id n7DIp8J4027169 for ; Thu, 13 Aug 2009 13:51:08 -0500 (CDT) Received: from dlee75.ent.ti.com (localhost [127.0.0.1]) by dlep20.itg.ti.com (8.12.11/8.12.11) with ESMTP id n7DIp8fR005489 for ; Thu, 13 Aug 2009 13:51:08 -0500 (CDT) Received: from dlee02.ent.ti.com ([157.170.170.17]) by dlee75.ent.ti.com ([157.170.170.72]) with mapi; Thu, 13 Aug 2009 13:51:07 -0500 From: "Aguirre Rodriguez, Sergio Alberto" To: "linux-media@vger.kernel.org" Date: Thu, 13 Aug 2009 13:51:06 -0500 Subject: [RFC][PATCH] v4l2: Add other RAW Bayer 10bit component orders Thread-Topic: [RFC][PATCH] v4l2: Add other RAW Bayer 10bit component orders Thread-Index: AcocRwOO6KSZegEMRz64qxuQpJrjgw== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Sergio Aguirre This helps clarifying different pattern orders for RAW Bayer 10 bit cases. Signed-off-by: Sergio Aguirre --- include/linux/videodev2.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 9e66c50..8aa6255 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -327,6 +327,9 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_SGRBG10 v4l2_fourcc('B', 'A', '1', '0') /* 10bit raw bayer DPCM compressed to 8 bits */ #define V4L2_PIX_FMT_SGRBG10DPCM8 v4l2_fourcc('B', 'D', '1', '0') +#define V4L2_PIX_FMT_SRGGB10 v4l2_fourcc('R', 'G', '1', '0') +#define V4L2_PIX_FMT_SBGGR10 v4l2_fourcc('B', 'G', '1', '0') +#define V4L2_PIX_FMT_SGBRG10 v4l2_fourcc('G', 'B', '1', '0') #define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B', 'Y', 'R', '2') /* 16 BGBG.. GRGR.. */ /* compressed formats */