mbox series

[v3,0/3] media: rkvdec: Add a VP9 backend

Message ID 20200505134110.3435-1-ezequiel@collabora.com
Headers show
Series media: rkvdec: Add a VP9 backend | expand

Message

Ezequiel Garcia May 5, 2020, 1:41 p.m. UTC
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