Re: [FFmpeg-devel] [PATCH 5/6] Add support for V4L2 mem2mem codecs.

2014-11-20 Thread Alexis Ballier
On Thu, 20 Nov 2014 21:41:56 +0100 Michael Niedermayer wrote: > On Thu, Nov 20, 2014 at 05:51:56PM +0100, Alexis Ballier wrote: > > Default buffer settings should work with all drivers (mmaped memory > > from the driver) but would imply useless memcpy()'s if used in the > > standard way. libavcod

Re: [FFmpeg-devel] [PATCH 5/6] Add support for V4L2 mem2mem codecs.

2014-11-20 Thread Michael Niedermayer
On Thu, Nov 20, 2014 at 05:51:56PM +0100, Alexis Ballier wrote: > Default buffer settings should work with all drivers (mmaped memory from the > driver) but would imply useless memcpy()'s if used in the standard way. > libavcodec/v4l2.h is now installed to allow applications to get the proper > b

[FFmpeg-devel] [PATCH 5/6] Add support for V4L2 mem2mem codecs.

2014-11-20 Thread Alexis Ballier
Default buffer settings should work with all drivers (mmaped memory from the driver) but would imply useless memcpy()'s if used in the standard way. libavcodec/v4l2.h is now installed to allow applications to get the proper buffers to avoid these copies. This has been tested on MFC5, on a Samsun