[Mesa-dev] [PATCH 1/2] st/vdpau: split the VdpFormatRGBAToPipe helper in two
Emil Velikov
emil.l.velikov at gmail.com
Fri Apr 21 13:35:41 UTC 2017
On 21 April 2017 at 13:29, Christian König <deathsimple at vodafone.de> wrote:
> Am 21.04.2017 um 14:11 schrieb Emil Velikov:
>>
>> Split the helper in two:
>> - an "official" VDP format to pipe
>> - and a custom VDP format to pipe
>>
>> The latter is DMAbuf specific and does not belong with the rest.
>> That is, until not until the VDP_RGBA_FORMAT_R8{,G8} formats become part
>> of libvdpau.
>>
>> With this commit we effectively revert "st/vdpau: move FormatRGBAToPipe
>> into the interop"
>>
>> Cc: Christian König <christian.koenig at amd.com>
>> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
>
>
> NAK, that would break DMA-buf based interop since we need R8, R8G8 as well
> as B10G10R10A2, B8G8R8A8, R10G10B10A2 and R8G8B8A8 decoded by
> VdpCustomFormatRGBAToPipe.
>
Right - I've missed the instance in vlVdpOutputSurfaceDMABuf, which
can use either of the above formats.
Thanks
Emil
More information about the mesa-dev
mailing list