[VDPAU] [PATCH vdpauinfo] Support new HEVC / H.265 profiles added in libvdpau 1.0

Aaron Plattner aplattner at nvidia.com
Mon Mar 9 14:49:21 PDT 2015


Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
---
 configure.ac  | 2 +-
 vdpauinfo.cpp | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b1c38f2754cf..4a4c626b33a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AM_MAINTAINER_MODE
 AC_PROG_CXX
 AC_PROG_INSTALL
 
-PKG_CHECK_MODULES(VDPAU, x11 [vdpau >= 0.9])
+PKG_CHECK_MODULES(VDPAU, x11 [vdpau >= 1.0])
 VDPAUINFO_CXXFLAGS="$VDPAUINFO_CXXFLAGS $VDPAU_CFLAGS"
 VDPAUINFO_LIBS="$VDPAUINFO_LIBS $VDPAU_LIBS"
 
diff --git a/vdpauinfo.cpp b/vdpauinfo.cpp
index 46aa9eb4d1fe..d2b268870c7b 100644
--- a/vdpauinfo.cpp
+++ b/vdpauinfo.cpp
@@ -357,6 +357,11 @@ Desc decoder_profiles[] = {
 {"H264_PROGRESSIVE_HIGH",       VDP_DECODER_PROFILE_H264_PROGRESSIVE_HIGH},
 {"H264_CONSTRAINED_HIGH",       VDP_DECODER_PROFILE_H264_CONSTRAINED_HIGH},
 {"H264_HIGH_444_PREDICTIVE",    VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE},
+{"HEVC_MAIN",                   VDP_DECODER_PROFILE_HEVC_MAIN},
+{"HEVC_MAIN_10",                VDP_DECODER_PROFILE_HEVC_MAIN_10},
+{"HEVC_MAIN_STILL",             VDP_DECODER_PROFILE_HEVC_MAIN_STILL},
+{"HEVC_MAIN_12",                VDP_DECODER_PROFILE_HEVC_MAIN_12},
+{"HEVC_MAIN_444",               VDP_DECODER_PROFILE_HEVC_MAIN_444},
 };
 const size_t decoder_profile_count = sizeof(decoder_profiles)/sizeof(Desc);
 
-- 
2.3.2



More information about the VDPAU mailing list