[Mesa-dev] vlVaQueryImageFormats and vlVdpVideoSurfaceQueryGetPutBitsYCbCrCapabilities also return unsupported formats

Ilia Mirkin imirkin at alum.mit.edu
Fri Aug 21 09:30:53 PDT 2015

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 :
> http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nouveau_vp3_video.c#n486
> and
> http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/radeon/radeon_video.c#n323
> ?

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.


More information about the mesa-dev mailing list