Changes between Version 26 and Version 27 of Intel_IPP_Codecs


Ignore:
Timestamp:
Feb 12, 2010 2:43:54 PM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Intel_IPP_Codecs

    v26 v27  
    2525 
    2626The following are required: 
    27  * PJSIP version 1.0-rc1 or above 
     27 * PJSIP version 1.0-rc1 or above for Intel IPP 5.x, and PJSIP version 1.6 or above for Intel IPP 6.x. 
    2828 * Intel IPP library for your platform 
    2929 * Intel IPP samples for your platform 
     
    196196 
    197197==== Build the IPP samples ==== 
     198 1. Open Terminal application 
    198199 1. Go to the directory where IPP samples have been extracted to (e.g. {{{~/Desktop/ipp-samples}}}). 
    199200 1. Go to {{{speech-codecs}}} folder. 
    200201 1. Open the {{{readme.htm}}} file, and follow the instructions there to build the samples from the source. 
    201    - typically you'd just need to execute one of the '''build*.sh''' script after setting the IPPROOT environment variable. 
     202   - typically you'd just need to execute one of the '''{{{build*.sh}}}''' script after setting the IPPROOT environment variable. 
     203 1. '''Important:''' since Intel C Compiler (icc) is installed, specify argument '''{{{gcc4}}}''' when executing the '''{{{build*.sh}}}''', to build the samples with GCC compiler. Without this, the samples will be built with icc and it will result in link error when compiling PJSIP applications with gcc. 
     204 1. Sample command to build the samples: 
     205 {{{ 
     206$ cd ~/Desktop/ipp-samples/speech-codecs 
     207$ export IPPROOT=/Library/Frameworks/Intel_IPP.framework/Versions/Current/ 
     208$ ./buildem64t.sh gcc4 
     209 }}} 
     210 
    202211 
    203212The build process produces the following: 
    204  - (for IPP v6.x) '''{{{libspeech.a}}}''' file somewhere under {{{speech-codecs/_bin}}} directory, e.g. {{{ipp-samples/speech-codecs/_bin/osxem64t_icc111/lib}}} directory.  
    205  
    206 The directory name corresponds to the platform where the samples are built for. 
     213 - (for IPP v6.x) '''{{{libspeech.a}}}''' file somewhere under {{{speech-codecs/_bin}}} directory, e.g. {{{ipp-samples/speech-codecs/_bin/osxem64t_gcc4/lib}}} directory.  
     214 
     215The directory name may be different, depending on which target architecture is selected to be build. 
    207216 
    208217If you have any problems with installing and/or building the IPP or IPP samples, please read the IPP documentation or contact Intel for support. 
     
    223232For this tutorial, we'll use two environment variables to hold the location of IPP and IPP samples.  
    224233 
    225 Sample configure session for Intel IPP 6.1 for em64t architecture: 
     234Sample configure session for Intel IPP 6.1: 
    226235 {{{ 
    227236$ cd /your/pjproject/directory 
    228237$ export IPPROOT=/Library/Frameworks/Intel_IPP.framework/Versions/Current/ 
    229 $ export IPPSAMPLES=~/Desktop/opt/intel/ipp-samples 
    230 $ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES --with-ipp-arch=em64t 
     238$ export IPPSAMPLES=~/Desktop/ipp-samples 
     239$ ./configure --enable-ipp --with-ipp=$IPPROOT --with-ipp-samples=$IPPSAMPLES 
    231240 }}} 
    232241 
    233242Note that you still need to enable IPP support in your {{{config_site.h}}} in order to use the IPP features. This will be explained in the next section. 
     243 
     244 
     245==== Important  ==== 
     246 
    234247 
    235248[[BR]]