<div dir="ltr">Thx!<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 11, 2018 at 12:29 AM Olivier Fourdan <<a href="mailto:fourdan@gmail.com">fourdan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Julien,<br>
<br>
On Fri, 7 Sep 2018 at 00:40, Julien Isorce <<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>> wrote:<br>
><br>
> Some video decoders can only output NV12 and currently glamor Xv only<br>
> supports I420 and YV12.<br>
><br>
> Tested with xf86-video-ati, xf86-video-amdgpu and xf86-video-modesetting<br>
> on AMD graphics but should work on any setup that can use glamor.<br>
><br>
> Test: gst-launch-1.0 videotestsrc ! video/x-raw, format=NV12 ! xvimagesink<br>
><br>
> Julien Isorce (3):<br>
> xfree86: define FOURCC_NV12 and XVIMAGE_NV12<br>
> glamor: add support for GL_RG<br>
> glamor: add support for NV12 in Xv<br>
><br>
> glamor/glamor.c | 2 +<br>
> glamor/glamor.h | 1 +<br>
> glamor/glamor_priv.h | 4 +-<br>
> glamor/glamor_transfer.c | 10 ++-<br>
> glamor/glamor_utils.h | 4 +<br>
> glamor/glamor_xv.c | 180 ++++++++++++++++++++++++++++++++++++++-------<br>
> hw/xfree86/common/fourcc.h | 20 +++++<br>
> 7 files changed, 193 insertions(+), 28 deletions(-)<br>
><br>
> --<br>
> 2.7.4<br>
><br>
<br>
Nice! Tested with Xwayland using gstreamer, so:<br>
<br>
Tested-by: Olivier Fourdan <<a href="mailto:ofourdan@redhat.com" target="_blank">ofourdan@redhat.com</a>><br>
<br>
Cheers,<br>
Olivier<br>
</blockquote></div></div>