On Fri, 21 Nov 2014 09:58:40 +0100 Jean-Baptiste Kempf <[email protected]> wrote:
> On 21 Nov, Alexis Ballier wrote : > > On Thu, 20 Nov 2014 18:40:18 +0100 > > Jean-Baptiste Kempf <[email protected]> wrote: > > > > > On 20 Nov, Alexis Ballier wrote : > > > > This is the only format supported by MFC5 HW decoders (e.g. > > > > Samsung exynos 4412). > > > > > > Why not convert it to a normal format? > > > > > > > That is exactly what the m2m filter is for: on 4412 you have MFC HW > > codecs and fimc (camera & m2m module); the fimc m2m module acts > > like a filter and accepts this format and outputs much saner ones. > > So you have a format outputted that is of no use, except if you use > the filter. On MFCv5 yes; I don't assume because I'm working on this that it is the only one :) MFCv6 and newer don't even understand nv12mt and can output standard nv12: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c#n35 there are other v4l2 mem2mem drivers than mfc ones, and I expect more to come in the future > And you have a filter that is of no use, except if you > use this v4l2 output. again, filter is not bound to samsung socs; even fimc is useful for other format conversions and even scaling: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/media/platform/exynos4-is/fimc-core.c (the filter supports fmt conversion and scaling but see also 'missing features' in the filter patch i've submitted) I've been using it to convert yuv output of an usb cam to nv12 fed to the mfc hw enc so that I can stream H263 while leaving the cpu free for other things. Alexis. _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
