Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Side by Side Diff: third_party/libva/va/va_version.h

Issue 2834313002: Update third_party/libva to version 1.7.1 (Closed)
Patch Set: Update third_party/libva to version 1.7.1 and check whether the version of libva a platform support… Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Splitted-Desktop Systems. All Rights Reserved. 2 * Copyright (C) 2009 Splitted-Desktop Systems. All Rights Reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the 5 * copy of this software and associated documentation files (the
6 * "Software"), to deal in the Software without restriction, including 6 * "Software"), to deal in the Software without restriction, including
7 * without limitation the rights to use, copy, modify, merge, publish, 7 * without limitation the rights to use, copy, modify, merge, publish,
8 * distribute, sub license, and/or sell copies of the Software, and to 8 * distribute, sub license, and/or sell copies of the Software, and to
9 * permit persons to whom the Software is furnished to do so, subject to 9 * permit persons to whom the Software is furnished to do so, subject to
10 * the following conditions: 10 * the following conditions:
(...skipping 19 matching lines...) Expand all
30 * 30 *
31 * The major version of VA-API (1, if %VA_VERSION is 1.2.3) 31 * The major version of VA-API (1, if %VA_VERSION is 1.2.3)
32 */ 32 */
33 #define VA_MAJOR_VERSION 0 33 #define VA_MAJOR_VERSION 0
34 34
35 /** 35 /**
36 * VA_MINOR_VERSION: 36 * VA_MINOR_VERSION:
37 * 37 *
38 * The minor version of VA-API (2, if %VA_VERSION is 1.2.3) 38 * The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
39 */ 39 */
40 #define VA_MINOR_VERSION 38 40 #define VA_MINOR_VERSION 39
41 41
42 /** 42 /**
43 * VA_MICRO_VERSION: 43 * VA_MICRO_VERSION:
44 * 44 *
45 * The micro version of VA-API (3, if %VA_VERSION is 1.2.3) 45 * The micro version of VA-API (3, if %VA_VERSION is 1.2.3)
46 */ 46 */
47 #define VA_MICRO_VERSION 0 47 #define VA_MICRO_VERSION 2
48 48
49 /** 49 /**
50 * VA_VERSION: 50 * VA_VERSION:
51 * 51 *
52 * The full version of VA-API, like 1.2.3 52 * The full version of VA-API, like 1.2.3
53 */ 53 */
54 #define VA_VERSION 0.38.0 54 #define VA_VERSION 0.39.2
55 55
56 /** 56 /**
57 * VA_VERSION_S: 57 * VA_VERSION_S:
58 * 58 *
59 * The full version of VA-API, in string form (suited for string 59 * The full version of VA-API, in string form (suited for string
60 * concatenation) 60 * concatenation)
61 */ 61 */
62 #define VA_VERSION_S "0.38.0" 62 #define VA_VERSION_S "0.39.2"
63 63
64 /** 64 /**
65 * VA_VERSION_HEX: 65 * VA_VERSION_HEX:
66 * 66 *
67 * Numerically encoded version of VA-API, like 0x010203 67 * Numerically encoded version of VA-API, like 0x010203
68 */ 68 */
69 #define VA_VERSION_HEX ((VA_MAJOR_VERSION << 24) | \ 69 #define VA_VERSION_HEX ((VA_MAJOR_VERSION << 24) | \
70 (VA_MINOR_VERSION << 16) | \ 70 (VA_MINOR_VERSION << 16) | \
71 (VA_MICRO_VERSION << 8)) 71 (VA_MICRO_VERSION << 8))
72 72
73 /** 73 /**
74 * VA_CHECK_VERSION: 74 * VA_CHECK_VERSION:
75 * @major: major version, like 1 in 1.2.3 75 * @major: major version, like 1 in 1.2.3
76 * @minor: minor version, like 2 in 1.2.3 76 * @minor: minor version, like 2 in 1.2.3
77 * @micro: micro version, like 3 in 1.2.3 77 * @micro: micro version, like 3 in 1.2.3
78 * 78 *
79 * Evaluates to %TRUE if the version of VA-API is greater than 79 * Evaluates to %TRUE if the version of VA-API is greater than
80 * @major, @minor and @micro 80 * @major, @minor and @micro
81 */ 81 */
82 #define VA_CHECK_VERSION(major,minor,micro) \ 82 #define VA_CHECK_VERSION(major,minor,micro) \
83 (VA_MAJOR_VERSION > (major) || \ 83 (VA_MAJOR_VERSION > (major) || \
84 (VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION > (minor)) || \ 84 (VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION > (minor)) || \
85 (VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION == (minor) && VA_MICRO _VERSION >= (micro))) 85 (VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION == (minor) && VA_MICRO _VERSION >= (micro)))
86 86
87 #endif /* VA_VERSION_H */ 87 #endif /* VA_VERSION_H */
OLDNEW
« no previous file with comments | « third_party/libva/va/va_trace.h ('k') | third_party/libva/va/wayland/wayland-drm-client-protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698