Integration

Back

 

Since IMGLIB is a collection of individual kernels, any combination of the kernels that comprise IMGLIB may be integrated into a system individually. Integration, for single or multiple kernels, requires four simple steps:

  1. Compile IMGLIB for c66x (optional)
  2. Add API calls within system code
  3. Compile system code
  4. Link IMGLIB

The sections that follow provide details regarding the above four steps.

 

Compile IMGLIB for c66x (optional)

On installation, the IMGLIB libraries are built and ready to link. Therefore, this step is only required when the original kernel source code has been refined or contributions have been added. See IMGLIB Build Process for details regarding building IMGLIB .

 

Add IMGLIB API Calls

Add calls to IMGLIB kernels within the system source code as necessary. Any system source file that contains calls to an IMGLIB kernel will require that the IMGLIB header file imglib.h is included. See the IMGLIB Function Reference for details on individual kernel APIs.

 

Add IMGLIB API Calls

To re-compile the system code, the path to the packages directory will need to be added to the compiler's include path search list. This path will depend on the IMGLIB root installation directory. This allows the main IMGLIB header file to be moved from within the installation directory and still recognize the individual kernel headers.

 

Linking IMGLIB

The path to the IMGLIB libraries must be provided to the linker via the -l directive. See Library Directory for IMGLIB library details.

 

Copyright 2012, Texas Instruments Incorporated