Texas
          Instruments Technology for
        Innovators

Build Instructions for XDAIS Examples


General Information

This page explains how to build the examples provided in the XDAIS product.

Examples currently contain the simple pass-through (copy) codecs, implemented in the XDM algorithm standard.


Requirements

See the release notes for the specific software and hardware components this release of XDAIS has been validated against.


Directory Structure

This section describes the layout under the examples directory. In most cases, these examples are XDC packages, and there are links to the autogenerated XDC documentation.

examples
    +---ti
        +---xdais
            +---dm
                +---examples
                    +---auddec_copy
                    +---auddec1_copy
                    +---audenc1_copy
                    +---g711
                    +---imgdec1_copy
                    +---imgenc1_copy
                    +---sphdec1_copy
                    +---sphenc1_copy
                    +---universal_copy
                    +---vidanalytics_copy
                    +---viddec1_copy
                    +---viddec2_copy
                    +---viddec3_copy
                    +---videnc1_copy
                    +---videnc2_copy
                    `---vidtranscode_copy

Preparing to Build the Examples

Create a working directory

Create a working directory (e.g. c:/myPackages) and copy the contents of the examples directory into it. This will be where you build and modify the XDAIS examples.

Doing this will ensure you have a backup copy of the original examples, as provided by the XDAIS product.

Important: throughout the rest of this document, we will use the following notation:


Build with XDCtools

1. Manage config.bld

The XDAIS examples are also provided with XDC build scripts. The master build configuration script, config.bld, is used to define the targets and environment in which the example XDC packages will be built.

At the root of the Examples directory, there is a config.bld.default config script which can be used to start from. Simply rename it to config.bld, and open this file in a text editor.

Build.targets

Toolchain roots - rootDir

2. Edit Makefile to define the necessary variables

The Makefile file, located at the root of the examples/ directory, defines where the XDAIS product is installed, and where the XDCtools are. Open this file in a text editor.

3. Build examples

From the base of your working directory, type

    gmake clean
    gmake


Last updated: June 14, 2011