OSDN Git Service

vainfo: update vainfo for Video Proc Pipeline
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 5 Jul 2011 07:46:55 +0000 (15:46 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 28 May 2013 08:46:47 +0000 (16:46 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
test/vainfo/vainfo.c

index d09751f..a292311 100644 (file)
@@ -39,6 +39,7 @@ if (va_status != VA_STATUS_SUCCESS) {                                   \
 static char * profile_string(VAProfile profile)
 {
     switch (profile) {
+            case VAProfileNone: return "VAProfileNone";
             case VAProfileMPEG2Simple: return "VAProfileMPEG2Simple";
             case VAProfileMPEG2Main: return "VAProfileMPEG2Main";
             case VAProfileMPEG4Simple: return "VAProfileMPEG4Simple";
@@ -68,6 +69,7 @@ static char * entrypoint_string(VAEntrypoint entrypoint)
             case VAEntrypointDeblocking:return "VAEntrypointDeblocking";
             case VAEntrypointEncSlice:return "VAEntrypointEncSlice";
             case VAEntrypointEncPicture:return "VAEntrypointEncPicture";
+            case VAEntrypointVideoProc:return "VAEntrypointVideoProc";
     }
     return "<unknown entrypoint>";
 }
@@ -105,7 +107,7 @@ int main(int argc, const char* argv[])
   printf("%s: Driver version: %s\n", name, driver ? driver : "<unknown>");
 
   printf("%s: Supported profile and entrypoints\n", name);
-  for  (profile = VAProfileMPEG2Simple; profile <= VAProfileH264ConstrainedBaseline; profile++) {
+  for  (profile = VAProfileNone; profile <= VAProfileH264ConstrainedBaseline; profile++) {
       char *profile_str;
 
       va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints,