From patchwork Sat Apr 15 10:05:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Frank_Sch=C3=A4fer?= X-Patchwork-Id: 9682179 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 58F1F601E7 for ; Sat, 15 Apr 2017 10:05:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 382D3285B3 for ; Sat, 15 Apr 2017 10:05:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CC01285BD; Sat, 15 Apr 2017 10:05:54 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 9094C285B9 for ; Sat, 15 Apr 2017 10:05:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753492AbdDOKFs (ORCPT ); Sat, 15 Apr 2017 06:05:48 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34947 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753437AbdDOKFp (ORCPT ); Sat, 15 Apr 2017 06:05:45 -0400 Received: by mail-wm0-f68.google.com with SMTP id d79so1921390wmi.2 for ; Sat, 15 Apr 2017 03:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OUK9guQ5vlFVxXPJnrbPowSrf17RguF+goIX88Bd+rU=; b=IRC1SjhUp0V0K1rJ6crsjnA1b50Of34i2oYh89dqZpJ7iVZcf7/gQAvMcgYTNsKgdT P7zB9NkRDa4doK7290kiMba3+8QBA6BMyAXHAsXvkb9WWlteWHwzVYAzuIT9Pcr9Y8lY sFLPpFsRPJxJ9VpdZG+wURdr4tu0FWypkEZrVZrRyl3QA6nSaE3zoMrH1X7x2AqgNXes 3wGxVPzIwkbNXE2RIPt380yqybLVypfkgFjh125b+ACTwiMXyxySKnhuUhRjQ6iBoYGm CXNOy48v7QM030/ntxLySUleupI7BD5vBsimQ9D1SzT+BQ3WDbdV0HSr/4o213x1EZwD 4hNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OUK9guQ5vlFVxXPJnrbPowSrf17RguF+goIX88Bd+rU=; b=X1T2aPu0alJNZa+qjodmHkKl9MjALaxi+kc2ysrcSOcGVooMUXg739Fge18lPYfxAd /0I3z4uBDyvVggfv6lXkh/bfQ5dTXMCCGe4afCky50DPdOzF9+UcRsafSxZ7vIF2dRgb WmK77lVK32xbK+0gSo+aLBHyMpQS+olDkn0YRa6YhgIv1l3H+SyeNal3+V+FUA8Y/Mz4 wdSFRHuqga1eDBXHTWnCxd1IgTHJ3YuzkhdqEbCq7ArtrAo3j31bqPHLSdFpoTT11kNg 2a3qlSv/zhan007NdpslLCbSwolQs+MmT+K3LwrMlzp0VXK5cCfSIMTmNoEaXS6K7DB9 it0A== X-Gm-Message-State: AN3rC/7eqx2+M0O2V/p+aOB9oQ/iiT47Sef529/FC4m8SZHHoMwKmtq+ NvufN57/sC7bJ/83 X-Received: by 10.28.152.80 with SMTP id a77mr2080394wme.116.1492250743718; Sat, 15 Apr 2017 03:05:43 -0700 (PDT) Received: from Athlon64X2-5000.lan (ip-178-201-166-194.hsi08.unitymediagroup.de. [178.201.166.194]) by smtp.googlemail.com with ESMTPSA id b73sm5753639wrd.29.2017.04.15.03.05.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 15 Apr 2017 03:05:42 -0700 (PDT) From: =?UTF-8?q?Frank=20Sch=C3=A4fer?= To: linux-media@vger.kernel.org Cc: mchehab@kernel.org, =?UTF-8?q?Frank=20Sch=C3=A4fer?= Subject: [PATCH 5/5] em28xx: add support for V4L2_PIX_FMT_SRGGB8 Date: Sat, 15 Apr 2017 12:05:04 +0200 Message-Id: <20170415100504.3076-5-fschaefer.oss@googlemail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170415100504.3076-1-fschaefer.oss@googlemail.com> References: <20170415100504.3076-1-fschaefer.oss@googlemail.com> MIME-Version: 1.0 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 Signed-off-by: Frank Schäfer --- drivers/media/usb/em28xx/em28xx-video.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index aaa83f9e5c1a..8d253a5df0a9 100644 --- a/drivers/media/usb/em28xx/em28xx-video.c +++ b/drivers/media/usb/em28xx/em28xx-video.c @@ -116,6 +116,11 @@ static struct em28xx_fmt format[] = { .depth = 16, .reg = EM28XX_OUTFMT_RGB_16_656, }, { + .name = "8 bpp Bayer RGRG..GBGB", + .fourcc = V4L2_PIX_FMT_SRGGB8, + .depth = 8, + .reg = EM28XX_OUTFMT_RGB_8_RGRG, + }, { .name = "8 bpp Bayer BGBG..GRGR", .fourcc = V4L2_PIX_FMT_SBGGR8, .depth = 8,