From patchwork Tue Jun 21 07:39:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Jones X-Patchwork-Id: 900332 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5L7dT5m031879 for ; Tue, 21 Jun 2011 07:39:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753162Ab1FUHj0 (ORCPT ); Tue, 21 Jun 2011 03:39:26 -0400 Received: from mail2.matrix-vision.com ([85.214.244.251]:56399 "EHLO mail2.matrix-vision.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747Ab1FUHj0 (ORCPT ); Tue, 21 Jun 2011 03:39:26 -0400 Received: from mail2.matrix-vision.com (localhost [127.0.0.1]) by mail2.matrix-vision.com (Postfix) with ESMTP id 271B2405F5; Tue, 21 Jun 2011 09:39:25 +0200 (CEST) Received: from erinome (g2.matrix-vision.com [80.152.136.245]) by mail2.matrix-vision.com (Postfix) with ESMTPA id 01BDF3F61B; Tue, 21 Jun 2011 09:39:25 +0200 (CEST) Received: from erinome (localhost [127.0.0.1]) by erinome (Postfix) with ESMTP id AB24C6F8A; Tue, 21 Jun 2011 09:39:24 +0200 (CEST) Received: by erinome (Postfix, from userid 108) id 9E8406F9C; Tue, 21 Jun 2011 09:39:24 +0200 (CEST) Received: from ap437-joe.intern.matrix-vision.de (host65-46.intern.matrix-vision.de [192.168.65.46]) by erinome (Postfix) with ESMTPA id 855FF6F8A; Tue, 21 Jun 2011 09:39:24 +0200 (CEST) From: Michael Jones To: Laurent Pinchart Cc: linux-media@vger.kernel.org Subject: [PATCH 1/2] add Y10, Y12 formats Date: Tue, 21 Jun 2011 09:39:16 +0200 Message-Id: <1308641957-7805-2-git-send-email-michael.jones@matrix-vision.de> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1308641957-7805-1-git-send-email-michael.jones@matrix-vision.de> References: <1308641957-7805-1-git-send-email-michael.jones@matrix-vision.de> X-MV-Disclaimer: true (erinome) X-AV-Checked: ClamAV using ClamSMTP (erinome) X-AV-Checked: ClamAV using ClamSMTP (mail2) 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.6 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Jun 2011 07:40:06 +0000 (UTC) Signed-off-by: Michael Jones --- I added these when playing around with the shifter. src/main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main.c b/src/main.c index 35c34a2..b9b9150 100644 --- a/src/main.c +++ b/src/main.c @@ -50,6 +50,8 @@ static struct { enum v4l2_mbus_pixelcode code; } mbus_formats[] = { { "Y8", V4L2_MBUS_FMT_Y8_1X8}, + { "Y10", V4L2_MBUS_FMT_Y10_1X10 }, + { "Y12", V4L2_MBUS_FMT_Y12_1X12 }, { "YUYV", V4L2_MBUS_FMT_YUYV8_1X16 }, { "UYVY", V4L2_MBUS_FMT_UYVY8_1X16 }, { "SBGGR8", V4L2_MBUS_FMT_SBGGR8_1X8 },