Macros for handling NV_VPI library version. More...
Go to the source code of this file.
Macros | |
#define | NV_VPI_MAKE_VERSION4(major, minor, patch, tweak) ((major)*1000000U + (minor)*10000U + (patch)*100U + (tweak)) |
Make a NV_VPI version identifier with four components. More... | |
#define | NV_VPI_MAKE_VERSION3(major, minor, patch) NV_VPI_MAKE_VERSION4(major, minor, patch, 0) |
Make a NV_VPI version identifier with three components. More... | |
#define | NV_VPI_MAKE_VERSION2(major, minor) NV_VPI_MAKE_VERSION4(major, minor, 0, 0) |
Make a NV_VPI version identifier with two components. More... | |
#define | NV_VPI_MAKE_VERSION1(major) NV_VPI_MAKE_VERSION4(major, 0, 0, 0) |
Make a NV_VPI version identifier with one component. More... | |
#define | NV_VPI_MAKE_VERSION(major, minor, patch, tweak) |
Assemble an integer version from its components. More... | |
#define | NV_VPI_VERSION_MAJOR 3 |
Major version number component. More... | |
#define | NV_VPI_VERSION_MINOR 2 |
Minor version number component. More... | |
#define | NV_VPI_VERSION_PATCH 5 |
Patch version number component. More... | |
#define | NV_VPI_VERSION_TWEAK 0 |
Tweak version number component. More... | |
#define | NV_VPI_VERSION_SUFFIX "" |
Version suffix. More... | |
#define | NV_VPI_VERSION NV_VPI_MAKE_VERSION(NV_VPI_VERSION_MAJOR, NV_VPI_VERSION_MINOR, NV_VPI_VERSION_PATCH, NV_VPI_VERSION_TWEAK) |
NV_VPI library version. More... | |
#define | NV_VPI_VERSION_STRING "3.2.5" |
NV_VPI library version number represented as a string. | |
#define | NV_VPI_VERSION_API |
Selected API version to use. More... | |
#define | NV_VPI_VERSION_API_IS(major, minor) (NV_VPI_MAKE_VERSION(major,minor) == NV_VPI_VERSION_API) |
Conditionally enable code when selected API version is exactly given version. More... | |
#define | NV_VPI_VERSION_API_AT_LEAST(major, minor) (NV_VPI_MAKE_VERSION(major,minor) <= NV_VPI_VERSION_API) |
Conditionally enable code when selected API version is at least given version. More... | |
#define | NV_VPI_VERSION_API_AT_MOST(major, minor) (NV_VPI_MAKE_VERSION(major,minor) >= NV_VPI_VERSION_API) |
Conditionally enable code when selected API version is at most given version. More... | |
#define | NV_VPI_VERSION_API_IN_RANGE(min_major, min_minor, max_major, max_minor) (NV_VPI_VERSION_API_AT_LEAST(min_major, min_minor) && NV_VPI_VERSION_API_AT_MOST(max_major, max_minor)) |
Conditionally enable code when selected API version is between two versions. More... | |
Macros for handling NV_VPI library version.
Definition in file VersionDef.h.