Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp715637ybj; Tue, 5 May 2020 06:43:17 -0700 (PDT) X-Google-Smtp-Source: APiQypIL005m4mnwefEcvdKIfNbFNc9fqeOWwVZDfKUJj0vrdB3Go9wBxZOdSjTreAt0A2KgkmiE X-Received: by 2002:a17:906:cf8a:: with SMTP id um10mr2716762ejb.60.1588686197537; Tue, 05 May 2020 06:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588686197; cv=none; d=google.com; s=arc-20160816; b=05HricKlSMCbIS+JCjUBeMJRqcJcCW8gMHGJbEtRwIvC+nZFE4BspcEPI1KWkx/pUT rhIWrPa2d1yJMmj30MnNUIA/jP4XL7/sE8Y8WjmhSWC+07PaqbID10KY5ifiY8C0JAKC 09etD8U2nChrDZAkJF+Ssu/pL922K4TM4ONZw1BWiLEpdrK1M/BzXf9QkAHrWD0FM83N Jybw4zTtHGvMqrZVB7nw3exlq62h/JGsKnidWr3duFe6qdUw1sLu1rwmyF6Mxljky9kf r+odiVYSc4cP4q7gwxKaUgsOdntZAb0pESb9IquMGR1goVi/5z3IEbermtYNfw8T8eJE EYcA== 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:mime-version :message-id:date:subject:cc:to:from; bh=lEI1+LUMVdBFBuBRqhtQKmXP2HuevT+pfoVYD6mXVZs=; b=u/9+zYgknNrxpoIqXzSRxgurKrYN5Phx6hNKXTluMDStQC3Ng9UL5fhV6ee7ilUfZF vfRgRDTDroHI7bY/oC2HpHq+09QuMi9RG2aSA1xdl++sgOWuT8lZBc6xKSCSj4OMZ+JA +zvAOfoLFfWFWKBlGigbS23KMMldLK2hLUVbz4hvtvirTdADyGxRYgscSDUFzte4/8Up iJlM4ofweh+gtzm6dLAO/LaHt3cpq5WRxq6ZR4tm1ZMzHQc58Txx43NOdFvxlW9HY0qr VcazVGLOCm4/RNkRId5TtLnYh/Bu0rtm9xQcsm27X812AhrJrreRl0a5IHJdaU3Y3cNd n37w== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si1308221edd.364.2020.05.05.06.42.54; Tue, 05 May 2020 06:43:17 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729098AbgEENlV (ORCPT + 99 others); Tue, 5 May 2020 09:41:21 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:42310 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729070AbgEENlV (ORCPT ); Tue, 5 May 2020 09:41:21 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id ED3432A085A From: Ezequiel Garcia To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tomasz Figa , kernel@collabora.com, Jonas Karlman , Heiko Stuebner , Hans Verkuil , Alexandre Courbot , Jeffrey Kardatzke , gustavo.padovan@collabora.com, Ezequiel Garcia Subject: [PATCH v3 0/3] media: rkvdec: Add a VP9 backend Date: Tue, 5 May 2020 10:41:07 -0300 Message-Id: <20200505134110.3435-1-ezequiel@collabora.com> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Third iteration of the VP9 stateless codec uAPI, plus support for Rockchip VDEC. This series addresses an issue I found while testing, not sure how it slipped before! See patch 1. Keep in mind the same issue should likely be fixed on Hantro and Cedrus. We can create a helper for it as a follow-up. Other than that, minor documentation and smatch-detected warnings are fixed. Thanks! Ezequiel Changelog --------- v3: * Fix documentation issues found by Hans. * Fix smatch detected issues as pointed out by Hans. * Added patch to fix wrong bytesused set on .buf_prepare. v2: * Documentation style issues pointed out by Nicolas internally. * s/VP9_PROFILE_MAX/V4L2_VP9_PROFILE_MAX/ * Fix wrong kfree(ctx). * constify a couple structs on rkvdec-vp9.c Boris Brezillon (2): media: uapi: Add VP9 stateless decoder controls media: rkvdec: Add the VP9 backend Ezequiel Garcia (1): media: rkvdec: Fix .buf_prepare .../userspace-api/media/v4l/biblio.rst | 10 + .../media/v4l/ext-ctrls-codec.rst | 581 ++++++ drivers/media/v4l2-core/v4l2-ctrls.c | 242 +++ drivers/media/v4l2-core/v4l2-ioctl.c | 1 + drivers/staging/media/rkvdec/Makefile | 2 +- drivers/staging/media/rkvdec/rkvdec-vp9.c | 1577 +++++++++++++++++ drivers/staging/media/rkvdec/rkvdec.c | 66 +- drivers/staging/media/rkvdec/rkvdec.h | 6 + include/media/v4l2-ctrls.h | 1 + include/media/vp9-ctrls.h | 510 ++++++ 10 files changed, 2991 insertions(+), 5 deletions(-) create mode 100644 drivers/staging/media/rkvdec/rkvdec-vp9.c create mode 100644 include/media/vp9-ctrls.h -- 2.26.0.rc2