[PATCH xserver 0/3] Xv: add NV12 support in glamor

Julien Isorce julien.isorce at gmail.com
Tue Sep 11 17:31:48 UTC 2018


Thx!

On Tue, Sep 11, 2018 at 12:29 AM Olivier Fourdan <fourdan at gmail.com> wrote:

> Hi Julien,
>
> On Fri, 7 Sep 2018 at 00:40, Julien Isorce <julien.isorce at gmail.com>
> wrote:
> >
> > Some video decoders can only output NV12 and currently glamor Xv only
> > supports I420 and YV12.
> >
> > Tested with xf86-video-ati, xf86-video-amdgpu and xf86-video-modesetting
> > on AMD graphics but should work on any setup that can use glamor.
> >
> > Test: gst-launch-1.0 videotestsrc ! video/x-raw, format=NV12 !
> xvimagesink
> >
> > Julien Isorce (3):
> >   xfree86: define FOURCC_NV12 and XVIMAGE_NV12
> >   glamor: add support for GL_RG
> >   glamor: add support for NV12 in Xv
> >
> >  glamor/glamor.c            |   2 +
> >  glamor/glamor.h            |   1 +
> >  glamor/glamor_priv.h       |   4 +-
> >  glamor/glamor_transfer.c   |  10 ++-
> >  glamor/glamor_utils.h      |   4 +
> >  glamor/glamor_xv.c         | 180
> ++++++++++++++++++++++++++++++++++++++-------
> >  hw/xfree86/common/fourcc.h |  20 +++++
> >  7 files changed, 193 insertions(+), 28 deletions(-)
> >
> > --
> > 2.7.4
> >
>
> Nice! Tested with Xwayland using gstreamer, so:
>
> Tested-by: Olivier Fourdan <ofourdan at redhat.com>
>
> Cheers,
> Olivier
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180911/17cfb7af/attachment.html>


More information about the xorg-devel mailing list