Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-09-03 Thread Mark Thompson
On 17/08/18 04:36, Lukas Rusak wrote: > On Sat, 2018-08-04 at 22:43 +0100, Mark Thompson wrote: >> On 04/08/18 01:40, Lukas Rusak wrote: >>> This allows for a zero-copy output by exporting the v4l2 buffer >>> then wrapping that buffer >>> in the AVDRMFrameDescriptor like it is done in rkmpp. >>> >>

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-16 Thread Lukas Rusak
Just an FYI i will be developing here if anyone wants to comment and/or PR other changes for V4. https://github.com/lrusak/FFmpeg/commits/v4l2-drmprime-v4 > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-16 Thread Lukas Rusak
On Sat, 2018-08-04 at 22:43 +0100, Mark Thompson wrote: > On 04/08/18 01:40, Lukas Rusak wrote: > > This allows for a zero-copy output by exporting the v4l2 buffer > > then wrapping that buffer > > in the AVDRMFrameDescriptor like it is done in rkmpp. > > > > This has been in use for quite some ti

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-13 Thread Dave Stevenson
On 12 August 2018 at 22:25, Jorge Ramirez-Ortiz wrote: > On 08/06/2018 10:12 PM, Mark Thompson wrote: >> >> On 06/08/18 16:44, Jorge Ramirez-Ortiz wrote: >>> >>> On 08/04/2018 11:43 PM, Mark Thompson wrote: > > diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c > index

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-12 Thread Jorge Ramirez-Ortiz
On 08/06/2018 10:12 PM, Mark Thompson wrote: On 06/08/18 16:44, Jorge Ramirez-Ortiz wrote: On 08/04/2018 11:43 PM, Mark Thompson wrote: diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c index efcb0426e4..9457fadb1e 100644 --- a/libavcodec/v4l2_context.c +++ b/libavcodec/v4l2_co

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-06 Thread Mark Thompson
On 06/08/18 16:44, Jorge Ramirez-Ortiz wrote: > On 08/04/2018 11:43 PM, Mark Thompson wrote: >>> diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c >>> index efcb0426e4..9457fadb1e 100644 >>> --- a/libavcodec/v4l2_context.c >>> +++ b/libavcodec/v4l2_context.c >>> @@ -393,22 +393,54

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-06 Thread Jorge Ramirez-Ortiz
On 08/04/2018 11:43 PM, Mark Thompson wrote: diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c index efcb0426e4..9457fadb1e 100644 --- a/libavcodec/v4l2_context.c +++ b/libavcodec/v4l2_context.c @@ -393,22 +393,54 @@ static int v4l2_release_buffers(V4L2Context* ctx) struct

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-04 Thread Mark Thompson
On 04/08/18 01:40, Lukas Rusak wrote: > This allows for a zero-copy output by exporting the v4l2 buffer then wrapping > that buffer > in the AVDRMFrameDescriptor like it is done in rkmpp. > > This has been in use for quite some time with great success on many platforms > including: > - Amlogic