[Mesa-dev] [PATCH] st/dri: allow direct YUYV import
Rob Herring
robh at kernel.org
Wed Jul 19 13:59:12 UTC 2017
On Fri, Jun 23, 2017 at 11:48 AM, Lucas Stach <l.stach at pengutronix.de> wrote:
> Push this format to the pipe driver unchanged.
>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
> include/GL/internal/dri_interface.h | 1 +
> src/gallium/state_trackers/dri/dri2.c | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
> index fc2d4bbe22ef..69188a2a0da3 100644
> --- a/include/GL/internal/dri_interface.h
> +++ b/include/GL/internal/dri_interface.h
> @@ -1167,6 +1167,7 @@ struct __DRIdri2ExtensionRec {
> #define __DRI_IMAGE_FORMAT_ARGB1555 0x100c
> #define __DRI_IMAGE_FORMAT_R16 0x100d
> #define __DRI_IMAGE_FORMAT_GR1616 0x100e
> +#define __DRI_IMAGE_FORMAT_YUYV 0x100f
Shouldn't UYVY also be supported? Looks like etnaviv has some mention
of it. The other 2 possible orderings seem less common and only
supported by AMD drivers.
Rob
More information about the mesa-dev
mailing list