Re: [FFmpeg-devel] avcodec/rkmpp : Fix broken build and remove some useless code

2018-01-06 Thread LongChair .
Here are two updated patches. I have added the current version check to 1.3.7 and removed the header check for control operation. On 05/01/2018 20:51, LongChair . wrote: > Yes this was bound to very old versions afaik. > > Mpp repo was squashed and we didn't have any versi

Re: [FFmpeg-devel] avcodec/rkmpp : Fix broken build and remove some useless code

2018-01-05 Thread LongChair .
19:22:00 + > "LongChair ." wrote: > >> Yes the newly used  control operation seems to have always been there >> anyways, so there shouldn't be much compatibility issues. > I mean the second patch removes a workaround for some old misbehavior, > right? S

Re: [FFmpeg-devel] avcodec/rkmpp : Fix broken build and remove some useless code

2018-01-05 Thread LongChair .
Yes the newly used  control operation seems to have always been there anyways, so there shouldn't be much compatibility issues. On 05/01/2018 20:19, wm4 wrote: > On Fri, 5 Jan 2018 19:02:25 + > "LongChair ." wrote: > >> Hi, >> >> Here are t

[FFmpeg-devel] avcodec/rkmpp : Fix broken build and remove some useless code

2018-01-05 Thread LongChair .
fixes that make things work better. Both patches have been tested on ROCK64. More details are included in the patch themselves. LongChair From 49ecde4c7a5f87eff66d1ec44957cb0f914f3732 Mon Sep 17 00:00:00 2001 From: LongChair Date: Mon, 1 Jan 2018 15:47:54 +0100 Subject: [PATCH] avcodec/rkmpp

[FFmpeg-devel] [PATCH] [PATCH v7] Add support for RockChip Media Process Platform

2017-09-23 Thread LongChair .
From: Lionel CHAZALLON 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 (TinkerBoard) and RK3328. Changes from Previous patch : - Frame colorspace in

Re: [FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform

2017-09-11 Thread LongChair .
Le 10/09/2017 à 19:13, James Almer a écrit : On 9/9/2017 4:00 AM, LongChair . wrote: From: LongChair <mailto:longch...@hotmail.com> This adds hardware decoding for h264 / HEVC / VP8 using MPP Rockchip API. Will return frames holding an AVDRMFrameDescriptor struct in buf[0] that allow

[FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform

2017-09-09 Thread LongChair .
From: LongChair 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 (TinkerBoard) and RK3328. Changes from Previous patch : - Frame colorspace info is

Re: [FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform

2017-09-05 Thread LongChair .
Le 05/09/2017 à 19:19, Mark Thompson a écrit : > On 05/09/17 12:44, LongChair . wrote: >> From: LongChair >> >> This adds hardware decoding for h264 / HEVC / VP8 using MPP Rockchip API. >> Will return frames holding an AVDRMFrameDescriptor struct in buf[0] that &

[FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform

2017-09-05 Thread LongChair .
From: LongChair 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 (TinkerBoard) and RK3328. --- Changelog | 1 + configure

Re: [FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform

2017-09-04 Thread LongChair .
Le 03/09/2017 à 14:51, Mark Thompson a écrit : > On 01/09/17 16:45, LongChair . wrote: >> From: LongChair >> >> Add support for RockChip Media Process Platform This adds hardware decoding >> for h264 / HEVC / VP8 using MPP Rockchip API. Will return frames holding

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

2017-09-03 Thread LongChair .
Le 01/09/2017 à 21:13, Carl Eugen Hoyos a écrit : > This is Apache 2.0 (afaict) meaning it requires version 3 in case of > --enable-gpl. That is right, although it seems MPP clearly contains some ffmpeg 2.2 or something old code. see : https://github.com/rockchip-linux/mpp/blob/release/inc/mpp_

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

2017-09-01 Thread LongChair .
From: LongChair --- Changelog | 1 + configure | 13 +- libavcodec/Makefile| 3 + libavcodec/allcodecs.c | 6 + libavcodec/rkmppdec.c | 537 + 5 files changed, 559 insertions(+), 1 deletion(-) create mode

[FFmpeg-devel] [PATCH] lavu: Add DRM hwcontext

2017-09-01 Thread LongChair .
From: Mark Thompson --- configure | 3 + libavutil/Makefile | 2 + libavutil/hwcontext.c | 4 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_drm.c | 294 + libavutil/hwcontext_drm.h |

Re: [FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform

2017-06-13 Thread LongChair .
https://github.com/LongChair/mpv/blob/rockchip/video/out/opengl/hwdec_drmprime_drm.c#L103-L137 Also that allows some other egl / dmabuf implementation : https://github.com/LongChair/mpv/blob/rockchip/video/out/opengl/hwdec_drmprime_egl.c#L162-L215 The idea behind making this a non rockchip specific

[FFmpeg-devel] [PATCH] Add support for RockChip Media Process Platform

2017-06-12 Thread LongChair .
From: LongChair This adds hardware decoding for h264 / HEVC / VP8 using MPP Rockchip API. Will return frames holding a av_drmprime struct in buf[3} that allows drm / dmabuf usage. Was tested on RK3288 (TinkerBoard) and RK3328. Additions from patch v1 - Change AV_PIX_FMT_RKMPP to

[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 a av_drmprime struct that al

2017-06-10 Thread LongChair .
From: LongChair --- Changelog | 1 + configure | 12 ++ libavcodec/Makefile| 4 + libavcodec/allcodecs.c | 6 + libavcodec/drmprime.h | 17 ++ libavcodec/rkmppdec.c | 522 + libavutil/pixdesc.c| 4