Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1564955ybj; Fri, 8 May 2020 04:28:28 -0700 (PDT) X-Google-Smtp-Source: APiQypLS1j0EWRbKttKO9hRnhPApQltdJXM+7s2xLsVbSdk6J1MgJG3Z3oXnIXqxC1LgSW/Ram/j X-Received: by 2002:a17:907:118b:: with SMTP id uz11mr1405034ejb.89.1588937308270; Fri, 08 May 2020 04:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588937308; cv=none; d=google.com; s=arc-20160816; b=tfSEYBgEBqEqHHvy4sFe2eGoNKnlOZ/ooz9kQmvl8p+XXD8NNEGb1h1TpmnLqmVb7P VSQsz/80eb2sgEPOylpZTz41k9q5Yh8TbfYuMXmWKImUqaVVOQMUguRUp4+1aYIP1uz6 A4tpyCndpcdc9Z7QaQFA3NuvO18YgLlnfviXapYoljlCZ/hWvw4b7PCISU6vViUIH2Cr xuf3mZffZMB+f63YPrMqJsSIwdHGWWgQ2KO8RgoTgD1+5jFjrqpg+NU3J6mo4SXjaQ+j J1iBMDxXpBbmoTAbkmarjkdJyxazNjp2yi7Y8izlZ/nDX1/U/lWb6Z5CLETBj6MPMlym wIVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:cc:to:in-reply-to:mime-version:user-agent:date :message-id:from:references:subject:dkim-signature; bh=PWK4XLf8uT47fjT53Iwr1F6YaT+HIpbOZWH2ruYq3Bk=; b=GxuycxK041N6KeIn110lLninsZ6VdcBCJEA+8KrdfBU3wqS1CxqIdTEPL4tZH7Z/p8 hAr9673X79r4B0Ts474kAVnQt5cdEKR9hq5rQSbGJZn+JUixTZgJIr4d8sSVh8etie1X pNlKxnIaqqFjYdZ0Z/eS2qOqwO+kN7PkGPyjCp/b13s78p3ia++ToubJ1pmBBTYf/oee 9WrXE50CKgcQKJmx+LVZrf3y5hMWIrN0Uku+/hpv77JjM7DKUi8cqqH6Y3bcm9f19WTN 3/pAI6eHO3gBdarL8cPYFFQ2DnoEqF0W4Bt7d3NGf4+SXkpSUjXIZTlxkx+8H7ipas2e hs+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kwiboo.se header.s=001 header.b=LvV+RynM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw23si708054ejb.423.2020.05.08.04.28.05; Fri, 08 May 2020 04:28:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kwiboo.se header.s=001 header.b=LvV+RynM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727118AbgEHL0M (ORCPT + 99 others); Fri, 8 May 2020 07:26:12 -0400 Received: from o1.b.az.sendgrid.net ([208.117.55.133]:64670 "EHLO o1.b.az.sendgrid.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726616AbgEHL0L (ORCPT ); Fri, 8 May 2020 07:26:11 -0400 X-Greylist: delayed 302 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 May 2020 07:26:11 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=subject:references:from:mime-version:in-reply-to:to:cc:content-type: content-transfer-encoding; s=001; bh=PWK4XLf8uT47fjT53Iwr1F6YaT+HIpbOZWH2ruYq3Bk=; b=LvV+RynM2vXcBlzqjJlEN+mcoAEMTEqWYGG4uE8+80MxEtI1MdccK9AFCxTz0wFT5eMl j0gs5M6LAOBz7EBOorWqQdvKjNb48SptAokbJslf9+FuVBd5JB3Fqkj5hteD++DRYcpEu3 c0tdVAUKcz/hRD9tayPl21ARKn4BHjpOw= Received: by filterdrecv-p1iad2-asgard1-688d55b576-8lwk5 with SMTP id filterdrecv-p1iad2-asgard1-688d55b576-8lwk5-17-5EB540A4-41 2020-05-08 11:21:08.626344087 +0000 UTC m=+322689.304433033 Received: from [192.168.1.14] (unknown) by ismtpd0002p1lon1.sendgrid.net (SG) with ESMTP id nviAOGnKRJCcgVKaIBvmzQ Fri, 08 May 2020 11:21:08.286 +0000 (UTC) Subject: Re: [PATCH v3 3/3] media: rkvdec: Add the VP9 backend References: <20200505134110.3435-1-ezequiel@collabora.com> <20200505134110.3435-4-ezequiel@collabora.com> From: Jonas Karlman Message-ID: <4ac628c6-0845-7bca-2c1a-4d6ef2a4019f@kwiboo.se> Date: Fri, 08 May 2020 11:21:08 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200505134110.3435-4-ezequiel@collabora.com> X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h=2FJngJCfOXTHYiA64?= =?us-ascii?Q?a6CEbDfl66SIIwIB00p85CVBgT4TGI6ZDzCtGbT?= =?us-ascii?Q?+PzqdSwTwd98bSU5cYCWbHrqdKeGhym4hz26ahE?= =?us-ascii?Q?qwZwR9qCjy+3NOvvJYJkN3+TqY1RBMYu3ajZusC?= =?us-ascii?Q?RR43Oy1Jkqf77iikC=2FtPni37shqbYeiojHrgO7T?= =?us-ascii?Q?Pjnu=2FT8=2FYIJRYFK4fqG6A=3D=3D?= To: Ezequiel Garcia , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tomasz Figa , kernel@collabora.com, Heiko Stuebner , Hans Verkuil , Alexandre Courbot , Jeffrey Kardatzke , gustavo.padovan@collabora.com, Boris Brezillon Content-Type: text/plain; charset=us-ascii Content-Language: sv Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-05 15:41, Ezequiel Garcia wrote: > From: Boris Brezillon > > The Rockchip VDEC supports VP9 profile 0 up to 4096x2304@30fps. Add > a backend for this new format. > > Signed-off-by: Boris Brezillon > Signed-off-by: Ezequiel Garcia I have tested this series on a Rock Pi 4 RK3399 device using the ffmpeg vp9 request api hwaccel at [1]. Decoding up to 3840x2160@30fps media is working great. (frame scaling was not tested or fully implemented in ffmpeg hwaccel) Tested-by: Jonas Karlman [1] https://github.com/Kwiboo/FFmpeg/commits/v4l2-request-hwaccel-4.2.2 Regards, Jonas > --- > drivers/staging/media/rkvdec/Makefile | 2 +- > drivers/staging/media/rkvdec/rkvdec-vp9.c | 1577 +++++++++++++++++++++ > drivers/staging/media/rkvdec/rkvdec.c | 56 +- > drivers/staging/media/rkvdec/rkvdec.h | 6 + > 4 files changed, 1637 insertions(+), 4 deletions(-) > create mode 100644 drivers/staging/media/rkvdec/rkvdec-vp9.c > [...]