On Fri, Aug 21, 2015 at 12:22 PM, Julien Isorce <julien.iso...@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. -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev