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

Alex Deucher alexdeucher at gmail.com
Tue Sep 11 14:38:10 UTC 2018


On Thu, Sep 6, 2018 at 6:40 PM 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

Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

>
>  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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list