On 21.08.2015 18:30, Ilia Mirkin wrote:
On Fri, Aug 21, 2015 at 12:22 PM, Julien Isorce <[email protected]> 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.
Yes, exactly.
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.
Regards,
Christian.
-ilia
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev