hardware/intel/libva
修订版 | a7c4603a40e7c17da9a2d4c209b88f83b607f458 (tree) |
---|---|
时间 | 2014-03-04 00:31:55 |
作者 | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Gwenole Beauchesne |
vainfo: Add the support for the new VA profiles
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
@@ -54,6 +54,8 @@ static char * profile_string(VAProfile profile) | ||
54 | 54 | case VAProfileH263Baseline: return "VAProfileH263Baseline"; |
55 | 55 | case VAProfileH264ConstrainedBaseline: return "VAProfileH264ConstrainedBaseline"; |
56 | 56 | case VAProfileJPEGBaseline: return "VAProfileJPEGBaseline"; |
57 | + case VAProfileVP8Version0_3: return "VAProfileVP8Version0_3"; | |
58 | + | |
57 | 59 | default: |
58 | 60 | break; |
59 | 61 | } |
@@ -111,7 +113,7 @@ int main(int argc, const char* argv[]) | ||
111 | 113 | printf("%s: Driver version: %s\n", name, driver ? driver : "<unknown>"); |
112 | 114 | |
113 | 115 | printf("%s: Supported profile and entrypoints\n", name); |
114 | - for (profile = VAProfileNone; profile <= VAProfileH264ConstrainedBaseline; profile++) { | |
116 | + for (profile = VAProfileNone; profile <= VAProfileVP8Version0_3; profile++) { | |
115 | 117 | char *profile_str; |
116 | 118 | |
117 | 119 | va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, |