[VDPAU] [PATCH] vdpauinfo: Add names for the new 4:4:4 surface formats

Andy Ritger aritger at nvidia.com
Wed May 15 19:59:07 UTC 2019


Reviewed-by: Andy Ritger <aritger at nvidia.com>

Thanks,
- Andy

On Wed, May 15, 2019 at 11:09:51AM -0700, Philip Langdale wrote:
> Name mappings are required for vdpauinfo to report support is
> available.
> 
> Signed-off-by: Philip Langdale <philipl at overt.org>
> ---
>  vdpauinfo.cpp | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/vdpauinfo.cpp b/vdpauinfo.cpp
> index d2b2688..25229fa 100644
> --- a/vdpauinfo.cpp
> +++ b/vdpauinfo.cpp
> @@ -74,6 +74,8 @@ Desc ycbcr_types[] = {
>  {"YUYV", VDP_YCBCR_FORMAT_YUYV},
>  {"Y8U8V8A8", VDP_YCBCR_FORMAT_Y8U8V8A8},
>  {"V8U8Y8A8", VDP_YCBCR_FORMAT_V8U8Y8A8},
> +{"NV24", VDP_YCBCR_FORMAT_Y_UV_444},
> +{"YV24", VDP_YCBCR_FORMAT_Y_U_V_444},
>  };
>  const size_t ycbcr_type_count = sizeof(ycbcr_types)/sizeof(Desc);
>  
> -- 
> 2.20.1
> 
> _______________________________________________
> VDPAU mailing list
> VDPAU at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/vdpau


More information about the VDPAU mailing list