[vlc-devel] [PATCH] dxva2: support IMC3

Rémi Denis-Courmont remi at remlab.net
Tue Feb 7 08:11:36 CET 2012


On Tue, 07 Feb 2012 02:07:02 -0500, Rafaël Carré <funman at videolan.org>
wrote:
> Le 2012-02-07 02:03, Rémi Denis-Courmont a écrit :
>> On Mon, 6 Feb 2012 23:41:58 +0100, Jean-Baptiste Kempf
<jb at videolan.org>
>> wrote:
>>> On Mon, Feb 06, 2012 at 03:52:42PM -0500, Rafaël Carré wrote :
>>>> It's the only output format on my GMA 3150
>>>> It is identical to YV12 except:
>>>>  - U & V are swapped
>>>>  - U & V pitch is identical to Y pitch (first half is plane data,
>>>>  second plane is padding)
>>>
>>> So, it is I420 with padding?
>> 
>> So it is I420...
> 
> With larger U & V planes

I420 does not specify the pitch nor the full size of U and V planes, other
than that they must be big enough w.r.t. the pixel resolution. The default
picture allocator from libvlccore has its policy (pad smallest plane pitch
to 16 bytes, and multiply other planes accordingly); each video output has
its policy (e.g. XVideo specifies its own pitches and plane offsets).

So it _is_ I420.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list