[FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform This adds hardware decoding for h264 / HEVC / VP8 using MPP Rockchip API. Will return frames holding an AVDRMFrameDescriptor struct in buf[0] that allows drm / dmabuf usage. Was tested on RK3288 (...

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Sep 1 22:13:46 EEST 2017


Hi!

> Am 01.09.2017 um 17:45 schrieb "LongChair ." <LongChair at hotmail.com>:
> 
> From: LongChair <LongChair at hotmail.com>
> 
> ---
> Changelog              |   1 +
> configure              |  13 +-
> libavcodec/Makefile    |   3 +
> libavcodec/allcodecs.c |   6 +
> libavcodec/rkmppdec.c  | 537 +++++++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 559 insertions(+), 1 deletion(-)
> create mode 100644 libavcodec/rkmppdec.c
> 
> diff --git a/Changelog b/Changelog
> index 1dfb8b5..c19c1d0 100644
> --- a/Changelog
> +++ b/Changelog
> @@ -70,6 +70,7 @@ version 3.3:
> - Removed asyncts filter (use af_aresample instead)
> - Intel QSV-accelerated VP8 video decoding
> - VAAPI-accelerated deinterlacing
> +- Addition of Rockchip MPP harware decoding
> 
> 
> version 3.2:
> diff --git a/configure b/configure
> index ebd561d..62fbcca 100755
> --- a/configure
> +++ b/configure
> @@ -307,6 +307,7 @@ External library support:
>   --disable-nvenc          disable Nvidia video encoding code [autodetect]
>   --enable-omx             enable OpenMAX IL code [no]
>   --enable-omx-rpi         enable OpenMAX IL code for Raspberry Pi [no]
> +  --enable-rkmpp           enable Rockchip Media Process Platform code [no]
>   --disable-vaapi          disable Video Acceleration API (mainly Unix/Intel) code [autodetect]
>   --disable-vda            disable Apple Video Decode Acceleration code [autodetect]
>   --disable-vdpau          disable Nvidia Video Decode and Presentation API for Unix code [autodetect]
> @@ -1614,6 +1615,7 @@ HWACCEL_LIBRARY_LIST="
>     libmfx
>     mmal
>     omx
> +    rkmpp

This is Apache 2.0 (afaict) meaning it requires version 3 in case of --enable-gpl.

And please fix the commit message.

Carl Eugen


More information about the ffmpeg-devel mailing list