[Libva] [libva-intel-driver PATCH 03/10] Add support for P010 in vaPutSurface()

Xiang, Haihao haihao.xiang at intel.com
Sun Dec 6 08:38:06 PST 2015



>-----Original Message-----
>From: Emil Velikov [mailto:emil.l.velikov at gmail.com]
>Sent: Friday, December 4, 2015 10:12 PM
>To: Xiang, Haihao
>Cc: libva at lists.freedesktop.org
>Subject: Re: [Libva] [libva-intel-driver PATCH 03/10] Add support for P010 in
>vaPutSurface()
>
>On 3 December 2015 at 18:13, Xiang, Haihao <haihao.xiang at intel.com> wrote:
>> Currently it converts P010 to RBGA32
>>
>> v2: P010 has interleaved UV planar (Peng)
>Typo in RBGA32 ? Don't think I've seen such format before.

Yes, it is a typo, thanks for catching it.

>
>Also the commit message explain say "why" we need this. The current "there
>is no native support we emulate things" does not sound at all appealing.

vaPutSurface() is only implemented in a X window system. The drawable to vaPutSurface() is in RGBA32, so we convert P010 to RGBA32. We can add P010 to R10B10G10A2 once the drawable is in R10G10B10A2.
 

>
>-Emil


More information about the Libva mailing list