summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-02-27 13:12:40 +0800
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-08-27 11:16:43 +0200
commit16b0c9b2f676014dc390070580e5323d16ffbd25 (patch)
treeb0740a7c1ec1d7005410685a87b41590ee1c10ad
parentf523d248225ef48d651c6563b3243d0495503e5f (diff)
downloadlibva-16b0c9b2f676014dc390070580e5323d16ffbd25.tar.gz
vainfo: Add the support for the new VA profiles
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--test/vainfo/vainfo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vainfo/vainfo.c b/test/vainfo/vainfo.c
index 2578d30..16a2837 100644
--- a/test/vainfo/vainfo.c
+++ b/test/vainfo/vainfo.c
@@ -54,6 +54,8 @@ static char * profile_string(VAProfile profile)
case VAProfileH263Baseline: return "VAProfileH263Baseline";
case VAProfileH264ConstrainedBaseline: return "VAProfileH264ConstrainedBaseline";
case VAProfileJPEGBaseline: return "VAProfileJPEGBaseline";
+ case VAProfileVP8Version0_3: return "VAProfileVP8Version0_3";
+
default:
break;
}
@@ -111,7 +113,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 = VAProfileNone; profile <= VAProfileH264ConstrainedBaseline; profile++) {
+ for (profile = VAProfileNone; profile <= VAProfileVP8Version0_3; profile++) {
char *profile_str;
va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints,