From patchwork Sun Sep 26 16:13:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 210072 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8QGDVZI011999 for ; Sun, 26 Sep 2010 16:13:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757500Ab0IZQN2 (ORCPT ); Sun, 26 Sep 2010 12:13:28 -0400 Received: from perceval.irobotique.be ([92.243.18.41]:36175 "EHLO perceval.irobotique.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757322Ab0IZQN0 (ORCPT ); Sun, 26 Sep 2010 12:13:26 -0400 Received: from localhost.localdomain (unknown [91.178.4.71]) by perceval.irobotique.be (Postfix) with ESMTPSA id 8AB0C35D0F; Sun, 26 Sep 2010 16:13:23 +0000 (UTC) From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: sakari.ailus@maxwell.research.nokia.com, g.liakhovetski@gmx.de Subject: [RFC/PATCH 3/9] v4l: Add 8-bit YUYV on 16-bit bus and SGRBG10 media bus pixel codes Date: Sun, 26 Sep 2010 18:13:26 +0200 Message-Id: <1285517612-20230-4-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 1.7.2.2 In-Reply-To: <1285517612-20230-1-git-send-email-laurent.pinchart@ideasonboard.com> References: <1285517612-20230-1-git-send-email-laurent.pinchart@ideasonboard.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 26 Sep 2010 16:13:32 +0000 (UTC) diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h index bc637a5..9096ef0 100644 --- a/include/linux/v4l2-mediabus.h +++ b/include/linux/v4l2-mediabus.h @@ -48,6 +48,10 @@ enum v4l2_mbus_pixelcode { V4L2_MBUS_FMT_UYVY8_2X8 = 4, V4L2_MBUS_FMT_YVYU8_2X8 = 3, V4L2_MBUS_FMT_VYUY8_2X8 = 5, + V4L2_MBUS_FMT_YUYV8_1X16 = 24, + V4L2_MBUS_FMT_UYVY8_1X16 = 25, + V4L2_MBUS_FMT_YVYU8_1X16 = 26, + V4L2_MBUS_FMT_VYUY8_1X16 = 27, /* Bayer */ V4L2_MBUS_FMT_SBGGR8_1X8 = 10, V4L2_MBUS_FMT_SBGGR10_1X10 = 11, @@ -57,8 +61,10 @@ enum v4l2_mbus_pixelcode { V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 15, V4L2_MBUS_FMT_SBGGR12_1X12 = 19, V4L2_MBUS_FMT_SGRBG8_1X8 = 18, + V4L2_MBUS_FMT_SGRBG10_1X10 = 28, + V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 29, /* Last - Update this when adding a new pixel code */ - V4L2_MBUS_FMT_LAST = 24, + V4L2_MBUS_FMT_LAST = 30, }; /**