[Mesa-dev] vlVaQueryImageFormats and vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities also return unsupported formats
deathsimple at vodafone.de
Fri Aug 21 10:31:35 PDT 2015
On 21.08.2015 18:30, Ilia Mirkin wrote:
> On Fri, Aug 21, 2015 at 12:22 PM, Julien Isorce <julien.isorce at gmail.com> wrote:
>> What is the purpose of checking PIPE_VIDEO_PROFILE_UNKNOWN :
> The st calls nouveau_vp3_screen_video_supported with UNKNOWN at some
> point (see src/gallium/state_trackers/vdpau). Basically VDPAU can do a
> lot of things. One of them is video decoding, for which only NV12 is
> supported. But it also supports other things, for which the st
> supports the various other formats. No idea if that's useful, but at
> least that's the idea.
Querying with unknown is for checking if we can create video buffers
with that format in general.
Querying with a specific profile/entrypoint is for checking if we can
create video buffers and decode into them.
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
More information about the mesa-dev