[Libva] [PATCH 5/5] Fix test_06 failed and hitting assert check

Lim Siew Hoon siew.hoon.lim at intel.com
Tue Jun 28 11:35:57 UTC 2016


Add in missing profile and entrypoint get from va.h

Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
---
 test/basic/test_common.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/basic/test_common.c b/test/basic/test_common.c
index 0486d99..fd4c26f 100644
--- a/test/basic/test_common.c
+++ b/test/basic/test_common.c
@@ -109,6 +109,12 @@ const char *profile2string(VAProfile profile)
         PROFILE(VC1Advanced)
         PROFILE(JPEGBaseline)
         PROFILE(VP8Version0_3)
+        PROFILE(HEVCMain)
+        PROFILE(HEVCMain10)
+        PROFILE(VP9Profile0)
+        PROFILE(VP9Profile1)
+        PROFILE(VP9Profile2)
+        PROFILE(VP9Profile3)
     }
     ASSERT(0);
     return "Unknown";
@@ -127,6 +133,7 @@ const char *entrypoint2string(VAEntrypoint entrypoint)
         ENTRYPOINT(Deblocking)
         ENTRYPOINT(EncSlice)
         ENTRYPOINT(EncPicture)
+        ENTRYPOINT(EncSliceLP)
         ENTRYPOINT(VideoProc)
     }
     ASSERT(0);
-- 
2.1.0



More information about the Libva mailing list