[vlc-devel] [PATCH] Adds Support for Intel's QuickSync Video encoder

Rafaël Carré funman at videolan.org
Fri May 10 13:06:32 CEST 2013

Le 10/05/2013 11:22, Jean-Baptiste Kempf a écrit :
> On 10 May, Rafaël Carré wrote :
>>> This encoder requires NV12 as its input, this is why i also provide a
>>> second patch including a naive i420 to nv12 video_chroma filter, in order
>>> to avoid to use swscale for a simple chroma conversion.
>> What's wrong with swscale?
> Many things, notably the fight between the 2 projects, but the main
> reason is to solve our classic conversion to NV12 problem, like in the
> VIA case. I420->NV12 is something we'll see more and more.

What many things: is it slow? is it buggy?

>>> I'm pretty sure there are many folks out there who can turn this naive C
>>> implementation into a fast & furious MMX/SSE4/WTF implementation, and i
>>> hope at some point, one of them will bravely rise and patch it.
>> I would have said maybe swscale does it already, but it is absolutely
>> impossible to tell because swscale code can not be read.
> And that's another reason.
> There are lots of SIMD code to do interleaving like in this case.

Do you mean swscale has SIMD code already?

More information about the vlc-devel mailing list