Returns information about the used version of Intel IPP software for image processing.
const IppLibraryVersion* ippiGetLibVersion(void);
The function ippiGetLibVersion is declared in the ippi.h file.
This function returns a pointer to a static data structure IppLibraryVersion that contains information about the current version of Intel IPP for image processing. You need not release memory referenced by the returned pointer, as it points to a static variable. The following fields of the IppLibraryVersion structure are available:
major |
the major number of the current library version |
minor |
the minor number of the current library version |
majorBuild |
the number of builds of the major version |
build |
current build number |
Name |
the name of the current library version |
Version |
the library version string |
BuildDate |
the library version actual build date |
For example, if the library version is 6.1 , library name is ippip8, and build date is November, 26 2009, then the fields in this structure are set as:
major = 6, minor = 1, Name = "ippip8", Version = "v6.1", BuildDate = "Novl 26 09"
The code example below shows how to use ippiGetLibVersion:
void libinfo(void) {
const IppLibraryVersion* lib = ippiGetLibVersion();
printf(“%s %s %d.%d.%d.%d\n”, lib->Name, lib->Version,
lib->major, lib->minor, lib->majorBuild, lib->build);
}
Output:
ippip8 v6.1.137.835
Each sub-library that is used in the image processing domain has its own similar function to retrieve information about the active library version. These functions are: ippiGetLibVersion, ippjGetLibVersion, ippcvGetLibVersion, ippvcGetLibVersion, and ippccGetLibVersion. They are declared in the following header files: ippcore.h, ippj.h, ippcv.h, ippvc.h, ippcc.h, respectively, and have the same interface as the above described function.
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.