Changes between Version 21 and Version 22 of Intel_IPP_Codecs


Ignore:
Timestamp:
Feb 10, 2010 6:28:04 PM (14 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Intel_IPP_Codecs

    v21 v22  
    3131 
    3232 
    33  
    34 We tested with Intel IPP '''version 5.3 Update 3''' on both Windows and Linux. You may be able to use different Intel IPP versions with PJMEDIA, however we have not tested this. 
     33The following IPP versions have been tested: 
     34 - Intel IPP '''version 5.3 Update 3''', tested on Windows and Linux 
     35 - Intel IPP '''version 6.1''', tested on Windows, Linux, and Mac OS X 
     36 
     37 
    3538 
    3639{{{ 
     
    130133 
    131134 1. Download Intel IPP and Intel IPP samples from http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm 
    132  1. Extract the archive to a temporary folder and run the installer (e.g. ''./install.sh''). The default installation options will install it to ''"/opt/intel/ipp/"'' directory (e.g. ''"/opt/intel/ipp/5.3.1.062/ia32/"'' in my case). 
     135 1. Extract the archive to a temporary folder 
     136 1. Run the installer (e.g. ''./install.sh'') and follow the on screen instructions. The default installation options will install it to ''"/opt/intel/ipp/"'' directory (e.g. ''"/opt/intel/ipp/5.3.1.062/ia32/"'' in my case). 
    133137 1. Extract IPP samples to a directory (e.g. to ''"~/Desktop/ipp-samples"''). 
    134138 
     
    137141 1. Go to the directory where IPP samples have been extracted to (e.g. {{{~/Desktop/ipp-samples}}}). 
    138142 1. Go to {{{speech-codecs}}} folder. 
    139  1. Open the {{{readme.htm}}} file, and follow the instructions there to build the samples from the source. 
    140  
    141 Once the build process done, you should have '''{{{libusc.a}}}''' file somewhere in a directory inside {{{speech-codecs\bin}}} directory (in my case, it's in {{{~/Desktop/ipp-samples/speech-codecs/bin/linux32_gcc3/lib}}} directory). The directory name corresponds to the platform where the samples are built for. 
     143 1. Open the {{{readme.htm}}} file, and follow the instructions there to build the samples from the source. Typically you'd just need to execute one of the '''build*.sh''' script. 
     144 
     145The build process produces the following: 
     146 - (for IPP v5.3) '''{{{libusc.a}}}''' file somewhere under {{{speech-codecs/bin}}} directory, e.g. {{{ipp-samples/speech-codecs/bin/linux32_gcc3/lib}}} directory.  
     147 - (for IPP v6.x) '''{{{libspeech.a}}}''' file somewhere under {{{speech-codecs/_bin}}} directory, e.g. {{{ipp-samples/speech-codecs/_bin/linuxem64t_gcc4/lib}}} directory.  
     148 
     149The directory name corresponds to the platform where the samples are built for. 
    142150 
    143151If you have any problems with installing and/or building the IPP or IPP samples, please read the IPP documentation or contact Intel for support. 
     
    146154==== Running "configure" with IPP support ==== 
    147155 
    148 The {{{configure}}} script needs to be invoked with the appropriate IPP options in order to set up IPP include and library paths. 
    149  
    150 For this tutorial, we'll use two environment variables to hold the location of IPP and IPP samples. Sample ''bash'' session to run the {{{configure}}} script: 
    151  
     156The {{{configure}}} script needs to be invoked with the appropriate IPP options in order to set up IPP include and library paths. There are three relevant arguments: 
     157 
     158{{{ 
     159  --with-ipp=DIR          Specify the Intel IPP location 
     160  --with-ipp-samples=DIR  Specify the Intel IPP samples location 
     161  --with-ipp-arch=ARCH    Specify the Intel IPP ARCH suffix, e.g. "64" or 
     162                          "em64t". Default is blank for IA32. 
     163}}} 
     164 
     165 
     166For this tutorial, we'll use two environment variables to hold the location of IPP and IPP samples.  
     167 
     168Sample configure session for Intel IPP 5.3 for IA32 architecture: 
    152169 {{{ 
    153170$ cd /your/pjproject/directory 
     
    155172$ export IPPSAMPLES=~/Desktop/ipp-samples 
    156173$ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES 
     174 }}} 
     175 
     176Sample configure session for Intel IPP 6.1 for em64t architecture: 
     177 {{{ 
     178$ cd /your/pjproject/directory 
     179$ export IPPROOT=/opt/intel/ipp/6.1.2.051/em64t/ 
     180$ export IPPSAMPLES=~/Desktop/opt/intel/ipp-samples 
     181$ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES --with-ipp-arch=em64t 
    157182 }}} 
    158183