From 00d8e400013a7a87c66bdee7b002cdd96fcb8a35 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Tue, 5 Jul 2011 15:46:55 +0800 Subject: [PATCH] vainfo: update vainfo for Video Proc Pipeline Signed-off-by: Xiang, Haihao --- test/vainfo/vainfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/vainfo/vainfo.c b/test/vainfo/vainfo.c index d09751f..a292311 100644 --- a/test/vainfo/vainfo.c +++ b/test/vainfo/vainfo.c @@ -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 ""; } @@ -105,7 +107,7 @@ int main(int argc, const char* argv[]) printf("%s: Driver version: %s\n", name, driver ? driver : ""); 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, -- 2.11.0