3bbd653abf2be0c108b5c4d314d0ff932e10d3cb
[rtmpclient.git] / app / src / main / jni / libuvc-0.0.6 / include / libuvc / libuvc_config.h.in
1 #ifndef LIBUVC_CONFIG_H
2 #define LIBUVC_CONFIG_H
3
4 #define LIBUVC_VERSION_MAJOR @libuvc_VERSION_MAJOR@
5 #define LIBUVC_VERSION_MINOR @libuvc_VERSION_MINOR@
6 #define LIBUVC_VERSION_PATCH @libuvc_VERSION_PATCH@
7 #define LIBUVC_VERSION_STR "@libuvc_VERSION@"
8 #define LIBUVC_VERSION_INT                      \
9   ((@libuvc_VERSION_MAJOR@ << 16) |             \
10    (@libuvc_VERSION_MINOR@ << 8) |              \
11    (@libuvc_VERSION_PATCH@))
12
13 /** @brief Test whether libuvc is new enough
14  * This macro evaluates true iff the current version is
15  * at least as new as the version specified.
16  */
17 #define LIBUVC_VERSION_GTE(major, minor, patch)                         \
18   (LIBUVC_VERSION_INT >= (((major) << 16) | ((minor) << 8) | (patch)))
19
20 #cmakedefine LIBUVC_HAS_JPEG 1
21
22 #endif // !def(LIBUVC_CONFIG_H)