Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2151259rwl; Thu, 13 Apr 2023 02:17:38 -0700 (PDT) X-Google-Smtp-Source: AKy350bT1TWkxb7EUZxlF9H4k5b1HH2ExfZ5+l/uZGxCAVYPq9vPJ6x4V3IwCTp0CVHg5ay9+dA2 X-Received: by 2002:a17:902:dac1:b0:1a6:9079:2bb3 with SMTP id q1-20020a170902dac100b001a690792bb3mr536741plx.33.1681377457893; Thu, 13 Apr 2023 02:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681377457; cv=none; d=google.com; s=arc-20160816; b=0v6H60M5UO9V//ecKe8mrUYDIxgKqdqPxiUJPrFTJ6O2tXkTcKHLGD7dUQAiPat+8f mUxC9CStx7GxpXY/kDCTuuLhINd3hVF8ThcqhTvIluM44VVlKdsRX3kfLw1io/8CDhb8 lwhXEaf7h3LlQ+BWWcmDA8vXt/3x9uWZ+nH3D1GDkf9twnR+C/aOIcYWgHg9hoZcKSoj BvaMaRd3DBYlsa8mqZXUZCQUy48W1iDMoyZC/9dWqMJrYDqR3WL1ZBOzfO4AzbWywpx1 FP/WtNGRTO10kP2fNY0oXNSxQfpTUtSb2YlXMdnoxF4wNdvB8E3U1LZD7qbThOrXCPfM qoKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=glKAtDGb1Z+9S0iQ20Oogy9vJR+iLwm2qWp9CN7HSoc=; b=Cvbed69P/B8rBHij1hM6oFGIqO6uvlatFR5woZhWfus12qh7aS12k4CHI2+VjrK0Y8 xWWIxSv8g8uJqJB6RN3WHHII9Hr3eUQKqvtBDLDXcDinCRH5RUrcSf6JYewSPYKNkBxu QH2Nf1Mh45Z2vPSrrRLM1wa9JxmTEuMcK4U5x1DQrxdF7lvsDGNPP8AjGX9JQOFopDvW IyahRYAomKFjCRfupD1FrsB809O1TKyWowGMCsLUJsFrbzC/cUsVMPHnVuD92Ov9RUy4 eDk3bsoMD9ZS5gwAMfz8E38tCqZPOtOrEqb9vE1yS7WextCiCkj7YwJZ5RKWXoL+kNfv EYNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=a6ARSCDT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a170903124e00b001a1c8afd0e4si1591516plh.635.2023.04.13.02.17.27; Thu, 13 Apr 2023 02:17:37 -0700 (PDT) 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=a6ARSCDT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229949AbjDMJQ2 (ORCPT + 99 others); Thu, 13 Apr 2023 05:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbjDMJQ0 (ORCPT ); Thu, 13 Apr 2023 05:16:26 -0400 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 0ADC39028; Thu, 13 Apr 2023 02:16:05 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4D6D8660320A; Thu, 13 Apr 2023 10:16:02 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681377363; bh=LAwn6GIPy68/Ks2VLtbvBxgBI4vsmBbr8RULkvs3h1k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=a6ARSCDTK9AkZ2qRFLUBtbmCFuXGC/MNrRw5saYrulqSkZQBEZSs2FNh98heBoRIW jMkSD0ZyGU4Mm8tQgLdvhoMj/icqAm4H8hXEjIilP7v/QB5i6kt+sah+eMTNjWWSN1 YLkU9HT8Ct1dXXjBUJ8Nzdqx77yhEVC7M4KpGXzT/jtJJytOTvpLI1eVmuirDqkV41 Oef9+ZtbUD0eyS6yt6fDXOPe4Cd7n39BxEGIDMMA56jF6lgf6yKPKBLOrhwAg+PjEc 1CxvExeA9g7lcxHNHnt2UNdi6GVcwE6L5IufxwYUWMI/zwYZTRm/iTBkWWKtiGOVOf xB9oqmFtN2KwQ== Message-ID: <0a98a45d-5c5e-c438-2fb9-bd52782b56f1@collabora.com> Date: Thu, 13 Apr 2023 11:15:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v6 09/13] media: verisilicon: Add AV1 entropy helpers Content-Language: en-US To: Benjamin Gaignard , ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de, hverkuil-cisco@xs4all.nl, nicolas.dufresne@collabora.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 References: <20230412115652.403949-1-benjamin.gaignard@collabora.com> <20230412115652.403949-10-benjamin.gaignard@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230412115652.403949-10-benjamin.gaignard@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org Il 12/04/23 13:56, Benjamin Gaignard ha scritto: > AV1 hardware decoder needs entropy parameters to decode frames. > They are computed from various arrays defined in AV1 section > "9.4. Default CDF tables". > > Add helpers functions to init, store and get these parameters. > > Signed-off-by: Benjamin Gaignard > Reviewed-by: Nicolas Dufresne Reviewed-by: AngeloGioacchino Del Regno