GetLibVersion

Returns information about the used version of Intel IPP software for image processing.

Syntax

const IppLibraryVersion* ippiGetLibVersion(void);

Description

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 7.0 , library name is ippip8_1.lib, and build date is July, 20 2011, then the fields in this structure are set as:

major = 7, minor = 0, Name = "ippip8", Version = "7.0 build 205.68", BuildDate = "Jul 20 2011"

The code example below shows how to use ippiGetLibVersion:

Using the ippiGetLibVersion Function

      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_1.lib 7.0 build 205.68

Note iconNote

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.


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.