Re: [PATCH v3 3/3] media: rkvdec: Add the VP9 backend

From: Jonas Karlman
Date: Fri May 08 2020 - 07:26:13 EST


On 2020-05-05 15:41, Ezequiel Garcia wrote:
> From: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
>
> The Rockchip VDEC supports VP9 profile 0 up to 4096x2304@30fps. Add
> a backend for this new format.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
> Signed-off-by: Ezequiel Garcia <ezequiel@xxxxxxxxxxxxx>

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 <jonas@xxxxxxxxx>

[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
>

[...]