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: 65 Return-path: Envelope-to: mchehab@pedra Delivery-date: Tue, 21 Jun 2011 07:41:29 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1QYyOf-0005Nl-8v for mchehab@pedra; Tue, 21 Jun 2011 07:41:29 -0300 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Tue, 21 Jun 2011 07:41:29 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QYvYp-0005MK-Lo; Tue, 21 Jun 2011 07:39:47 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753162Ab1FUHj0 (ORCPT + 1 other); 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) Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: 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 },