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

Philip Langdale philipl at overt.org
Wed May 15 18:09:51 UTC 2019


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



More information about the VDPAU mailing list