Message ID | 20230214140557.537984-5-benjamin.gaignard@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2993964wrn; Tue, 14 Feb 2023 06:09:45 -0800 (PST) X-Google-Smtp-Source: AK7set81abAlhjluvBfEKIJ6xx8mE5EKDwfTrn4MvPgB2i/Kb4XIsryhO5emOK3eulHtYmoqcgi6 X-Received: by 2002:a17:902:f2ca:b0:199:201d:12f1 with SMTP id h10-20020a170902f2ca00b00199201d12f1mr1962114plc.47.1676383784951; Tue, 14 Feb 2023 06:09:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676383784; cv=none; d=google.com; s=arc-20160816; b=AHTby+Oeg5GpsWnoQ1jTEF7KcY1DLEe2UOq7XaHkjJPWvqaWTdNnIQyYFiynICDp1w gIuyMJWaAWQeLmdY5Fp5bezSNfGGKT/ZWwIytICGFoZfw5mpcRP8o8FUDJGbMJXXO6wr BL3yNz15WYvej3GPK95gv+U3P8pi+tQVd0azvbml9jTJUxMrSO6FsDvYD35BWlpsdukO FNs3AXJlhJy7/RX8O774jl6BPK2zAz+iIk2A+Lmtj+gh4TXfoKzGv95QgwZPjLTCVlwT I3wAYcLo2LEQAscZkO9VjMXQ3X0orIKSddIM9I7gBthGrXb4J1GBjVbTCsL+ApxvmCZ/ gxQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g+5sSSkQG+V9j1Gv5T1Su2UIyqAettOxgNvBDlZJDAo=; b=p6YyFq4C4B+hj9nOtLDpwByfAvoVa1YEnzkS9Y+NRDP6/swalksREUzVw8m8KhaoYT 6UWkFx5aNWy+X58KsJ8AifLrN5lOkf+LgJOPDBfNz5xAoykqOTfYIN0Yadwm/iuTnEtq NCQWuAqv7SZHKdeH9SpVhNr/TVBPJbhInC8QoNIhRxAHmN2uArNYHoLrGe1WQeVbXm9d wdDT8gruAlfW2ukoeIVdJJUH8zP3onS7F34UGtp1MHPJk7BEfEkI8UIcx4gb3+UVU5EC AhnZOI9INjUKfDR609ab4kwbluGveTOYhdOvnTVtw3UOZX/fwx46fAnXeAJ0DL0cZxYL JBhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=e3+G7ueG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x17-20020a170902ec9100b001968cbc67e2si8346456plg.583.2023.02.14.06.09.32; Tue, 14 Feb 2023 06:09:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=e3+G7ueG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233171AbjBNOG2 (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Tue, 14 Feb 2023 09:06:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232240AbjBNOGM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Feb 2023 09:06:12 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C95461C7F2; Tue, 14 Feb 2023 06:06:07 -0800 (PST) Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:37c0:9b2b:ec16:1f37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by madras.collabora.co.uk (Postfix) with ESMTPSA id 46D826602175; Tue, 14 Feb 2023 14:06:06 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676383566; bh=C2ytQn7g5F9glJYj8exgBvOufUBxTRZnBChpS2Z8Ydw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e3+G7ueG3VN4WAMNizu6XIi92CiJxsdojh4s4+XdH8eIHD/a0jAUCeRn0XzyhBH5v fI4gk7n7+DJubMzrOT7NcJ2hrQRUgFqxzl7TXwS3Lz4cNnXQazJkvLgYyPeRujcOVh 40Vi9vdY1JAuM4QQVJ2eUTDS9emd1182qBwITTyv3PxtEblM5/fGf5u93xn42wF3IR cdG2cxLrA+eTAngj+mPP5oPNaPoASZoNIG2uXCqgXH3WEizVBfmgwSkMm/lq5d7Z+V wQc5ioPmVCFYIbEIYLy3AY3Pr+P9EIGdsI6NK5aw59R26izo+1yWJyDypZWjFs4adl jxpHABNGvtHLQ== From: Benjamin Gaignard <benjamin.gaignard@collabora.com> To: ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, hverkuil@xs4all.nl, nicolas.dufresne@collabora.com, jernej.skrabec@gmail.com Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Benjamin Gaignard <benjamin.gaignard@collabora.com> Subject: [PATCH v4 04/12] media: verisilicon: Get bit depth for V4L2_PIX_FMT_NV12_10LE40_4L4 Date: Tue, 14 Feb 2023 15:05:49 +0100 Message-Id: <20230214140557.537984-5-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230214140557.537984-1-benjamin.gaignard@collabora.com> References: <20230214140557.537984-1-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757815803242534571?= X-GMAIL-MSGID: =?utf-8?q?1757815803242534571?= |
Series |
AV1 stateless decoder for RK3588
|
|
Commit Message
Benjamin Gaignard
Feb. 14, 2023, 2:05 p.m. UTC
Let's the driver knows that V4L2_PIX_FMT_NV12_10LE40_4L4 is a 10bits
pixel format.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
---
drivers/media/platform/verisilicon/hantro_v4l2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/verisilicon/hantro_v4l2.c b/drivers/media/platform/verisilicon/hantro_v4l2.c index 9df302278856..992c5baa929f 100644 --- a/drivers/media/platform/verisilicon/hantro_v4l2.c +++ b/drivers/media/platform/verisilicon/hantro_v4l2.c @@ -71,6 +71,7 @@ int hantro_get_format_depth(u32 fourcc) switch (fourcc) { case V4L2_PIX_FMT_P010: case V4L2_PIX_FMT_P010_4L4: + case V4L2_PIX_FMT_NV12_10LE40_4L4: return 10; default: return 8;