Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-16 Thread wm4
On Sat, 16 Dec 2017 20:26:56 +0800 Wang Bin wrote: > 2017-12-16 19:47 GMT+08:00 wm4 : > > On Sat, 16 Dec 2017 13:48:05 +0800 > > Wang Bin wrote: > > > >> 2017-12-16 2:50 GMT+08:00 wm4 : > >> > On Fri, 15 Dec

Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-16 Thread Wang Bin
2017-12-16 19:47 GMT+08:00 wm4 : > On Sat, 16 Dec 2017 13:48:05 +0800 > Wang Bin wrote: > >> 2017-12-16 2:50 GMT+08:00 wm4 : >> > On Fri, 15 Dec 2017 15:05:50 +0800 >> > wbse...@gmail.com wrote: >> > >> >> From: wang-bin

Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-16 Thread wm4
On Sat, 16 Dec 2017 13:48:05 +0800 Wang Bin wrote: > 2017-12-16 2:50 GMT+08:00 wm4 : > > On Fri, 15 Dec 2017 15:05:50 +0800 > > wbse...@gmail.com wrote: > > > >> From: wang-bin > >> > >> mmal buffer->data is already in host memory.

Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-15 Thread Wang Bin
2017-12-16 2:50 GMT+08:00 wm4 : > On Fri, 15 Dec 2017 15:05:50 +0800 > wbse...@gmail.com wrote: > >> From: wang-bin >> >> mmal buffer->data is already in host memory. AFAIK decoders implemented in >> omx must >> be configured to output frames to either

Re: [FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-15 Thread wm4
On Fri, 15 Dec 2017 15:05:50 +0800 wbse...@gmail.com wrote: > From: wang-bin > > mmal buffer->data is already in host memory. AFAIK decoders implemented in > omx must > be configured to output frames to either memory or something directly used by > renderer, > for example

[FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-14 Thread wbsecg1
From: wang-bin mmal buffer->data is already in host memory. AFAIK decoders implemented in omx must be configured to output frames to either memory or something directly used by renderer, for example mediacodec surface, mmal buffer and omxil eglimage. test result: big buck