From patchwork Thu Jan 4 03:48:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Qiu, Tian Shu" X-Patchwork-Id: 10143833 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1EA9D60329 for ; Thu, 4 Jan 2018 03:49:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1700924BFE for ; Thu, 4 Jan 2018 03:49:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BDE827C0B; Thu, 4 Jan 2018 03:49:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBE9124BFE for ; Thu, 4 Jan 2018 03:49:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751925AbeADDs6 (ORCPT ); Wed, 3 Jan 2018 22:48:58 -0500 Received: from mga04.intel.com ([192.55.52.120]:4388 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751868AbeADDs5 (ORCPT ); Wed, 3 Jan 2018 22:48:57 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2018 19:48:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,505,1508828400"; d="scan'208";a="24125752" Received: from unknown (HELO tianshu-ws.bj.intel.com) ([10.238.232.227]) by orsmga002.jf.intel.com with ESMTP; 03 Jan 2018 19:48:50 -0800 From: tian.shu.qiu@intel.com To: linux-media@vger.kernel.org Cc: Laurent Pinchart , Sakari Ailus , Qiu@vger.kernel.org, Tianshu Subject: [MAIN PATCH v1 2/2] Add support for intel ipu3 specific raw formats Date: Thu, 4 Jan 2018 11:48:13 +0800 Message-Id: <1515037693-29631-3-git-send-email-tian.shu.qiu@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515037693-29631-1-git-send-email-tian.shu.qiu@intel.com> References: <1515037693-29631-1-git-send-email-tian.shu.qiu@intel.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tianshu Qiu Add support for these pixel formats: V4L2_PIX_FMT_IPU3_SBGGR10 V4L2_PIX_FMT_IPU3_SGBRG10 V4L2_PIX_FMT_IPU3_SGRBG10 V4L2_PIX_FMT_IPU3_SRGGB10 Signed-off-by: Tianshu Qiu --- yavta.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yavta.c b/yavta.c index afe96331a520..524e549efd08 100644 --- a/yavta.c +++ b/yavta.c @@ -220,6 +220,10 @@ static struct v4l2_format_info { { "SGBRG10P", V4L2_PIX_FMT_SGBRG10P, 1 }, { "SGRBG10P", V4L2_PIX_FMT_SGRBG10P, 1 }, { "SRGGB10P", V4L2_PIX_FMT_SRGGB10P, 1 }, + { "IPU3_GRBG10", V4L2_PIX_FMT_IPU3_SGRBG10, 1 }, + { "IPU3_RGGB10", V4L2_PIX_FMT_IPU3_SRGGB10, 1 }, + { "IPU3_BGGR10", V4L2_PIX_FMT_IPU3_SBGGR10, 1 }, + { "IPU3_GBRG10", V4L2_PIX_FMT_IPU3_SGBRG10, 1 }, { "SBGGR12", V4L2_PIX_FMT_SBGGR12, 1 }, { "SGBRG12", V4L2_PIX_FMT_SGBRG12, 1 }, { "SGRBG12", V4L2_PIX_FMT_SGRBG12, 1 },