|
Packit Service |
9402ce |
/*
|
|
Packit Service |
9402ce |
* Copyright (C) 2009 Splitted-Desktop Systems. All Rights Reserved.
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
Packit Service |
9402ce |
* copy of this software and associated documentation files (the
|
|
Packit Service |
9402ce |
* "Software"), to deal in the Software without restriction, including
|
|
Packit Service |
9402ce |
* without limitation the rights to use, copy, modify, merge, publish,
|
|
Packit Service |
9402ce |
* distribute, sub license, and/or sell copies of the Software, and to
|
|
Packit Service |
9402ce |
* permit persons to whom the Software is furnished to do so, subject to
|
|
Packit Service |
9402ce |
* the following conditions:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* The above copyright notice and this permission notice (including the
|
|
Packit Service |
9402ce |
* next paragraph) shall be included in all copies or substantial portions
|
|
Packit Service |
9402ce |
* of the Software.
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
Packit Service |
9402ce |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
Packit Service |
9402ce |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
|
Packit Service |
9402ce |
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
|
|
Packit Service |
9402ce |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
Packit Service |
9402ce |
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
Packit Service |
9402ce |
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
#ifndef VA_VERSION_H
|
|
Packit Service |
9402ce |
#define VA_VERSION_H
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
/**
|
|
Packit Service |
9402ce |
* VA_MAJOR_VERSION:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* The major version of VA-API (1, if %VA_VERSION is 1.2.3)
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
#define VA_MAJOR_VERSION @VA_API_MAJOR_VERSION@
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
/**
|
|
Packit Service |
9402ce |
* VA_MINOR_VERSION:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* The minor version of VA-API (2, if %VA_VERSION is 1.2.3)
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
#define VA_MINOR_VERSION @VA_API_MINOR_VERSION@
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
/**
|
|
Packit Service |
9402ce |
* VA_MICRO_VERSION:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* The micro version of VA-API (3, if %VA_VERSION is 1.2.3)
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
#define VA_MICRO_VERSION @VA_API_MICRO_VERSION@
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
/**
|
|
Packit Service |
9402ce |
* VA_VERSION:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* The full version of VA-API, like 1.2.3
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
#define VA_VERSION @VA_API_VERSION@
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
/**
|
|
Packit Service |
9402ce |
* VA_VERSION_S:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* The full version of VA-API, in string form (suited for string
|
|
Packit Service |
9402ce |
* concatenation)
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
#define VA_VERSION_S "@VA_API_VERSION@"
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
/**
|
|
Packit Service |
9402ce |
* VA_VERSION_HEX:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* Numerically encoded version of VA-API, like 0x010203
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
#define VA_VERSION_HEX ((VA_MAJOR_VERSION << 24) | \
|
|
Packit Service |
9402ce |
(VA_MINOR_VERSION << 16) | \
|
|
Packit Service |
9402ce |
(VA_MICRO_VERSION << 8))
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
/**
|
|
Packit Service |
9402ce |
* VA_CHECK_VERSION:
|
|
Packit Service |
9402ce |
* @major: major version, like 1 in 1.2.3
|
|
Packit Service |
9402ce |
* @minor: minor version, like 2 in 1.2.3
|
|
Packit Service |
9402ce |
* @micro: micro version, like 3 in 1.2.3
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* Evaluates to %TRUE if the version of VA-API is greater than
|
|
Packit Service |
9402ce |
* @major, @minor and @micro
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
#define VA_CHECK_VERSION(major,minor,micro) \
|
|
Packit Service |
9402ce |
(VA_MAJOR_VERSION > (major) || \
|
|
Packit Service |
9402ce |
(VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION > (minor)) || \
|
|
Packit Service |
9402ce |
(VA_MAJOR_VERSION == (major) && VA_MINOR_VERSION == (minor) && VA_MICRO_VERSION >= (micro)))
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
#endif /* VA_VERSION_H */
|