[Libva] [PATCH 1/2] Merge H.264 MVC profiles from staging branch.

Gwenole Beauchesne gb.devel at gmail.com
Tue Jun 3 09:20:27 PDT 2014


Cherry-pick'ed from:
64f0223: vainfo: add the support for the new VA profiles
b6a6e24: reorder VAProfile{H264MultiviewHigh,StereoHighVP8Version0_3}
7a5a81b: test/basic: update to new API

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
---
 test/basic/test_common.c |    2 ++
 test/vainfo/vainfo.c     |    2 ++
 va/va.h                  |    4 +++-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/test/basic/test_common.c b/test/basic/test_common.c
index 7c4ff89..0486d99 100644
--- a/test/basic/test_common.c
+++ b/test/basic/test_common.c
@@ -102,6 +102,8 @@ const char *profile2string(VAProfile profile)
         PROFILE(H264Main)
         PROFILE(H264High)
         PROFILE(H264ConstrainedBaseline)
+        PROFILE(H264MultiviewHigh)
+        PROFILE(H264StereoHigh)
         PROFILE(VC1Simple)
         PROFILE(VC1Main)
         PROFILE(VC1Advanced)
diff --git a/test/vainfo/vainfo.c b/test/vainfo/vainfo.c
index 62132ed..658db52 100644
--- a/test/vainfo/vainfo.c
+++ b/test/vainfo/vainfo.c
@@ -56,6 +56,8 @@ static char * profile_string(VAProfile profile)
             case VAProfileH264ConstrainedBaseline: return "VAProfileH264ConstrainedBaseline";
             case VAProfileJPEGBaseline: return "VAProfileJPEGBaseline";
             case VAProfileVP8Version0_3: return "VAProfileVP8Version0_3";
+            case VAProfileH264MultiviewHigh: return "VAProfileH264MultiviewHigh";
+            case VAProfileH264StereoHigh: return "VAProfileH264StereoHigh";
 
             default:
                 break;
diff --git a/va/va.h b/va/va.h
index 845760c..4e35b06 100644
--- a/va/va.h
+++ b/va/va.h
@@ -287,7 +287,9 @@ typedef enum
     VAProfileH263Baseline		= 11,
     VAProfileJPEGBaseline               = 12,
     VAProfileH264ConstrainedBaseline    = 13,
-    VAProfileVP8Version0_3              = 14
+    VAProfileVP8Version0_3              = 14,
+    VAProfileH264MultiviewHigh          = 15,
+    VAProfileH264StereoHigh             = 16
 } VAProfile;
 
 /**
-- 
1.7.9.5



More information about the Libva mailing list