Changes between Version 8 and Version 9 of Intel_IPP_Codecs
- Timestamp:
- Aug 21, 2008 9:39:50 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Intel_IPP_Codecs
v8 v9 66 66 67 67 1. Download Intel IPP and Intel IPP samples from http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm 68 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/'').69 1. Extract IPP samples to a directory (e.g. to ' ~/Desktop/ipp-samples').68 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/"''). 69 1. Extract IPP samples to a directory (e.g. to ''"~/Desktop/ipp-samples"''). 70 70 71 71 … … 82 82 ==== Running "configure" with IPP support ==== 83 83 84 The {{{configure}}} script needs to be invoked with IPP options in order to set up IPP include and library paths. 85 84 86 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: 85 87 … … 104 106 #define PJMEDIA_HAS_INTEL_IPP 1 105 107 }}} 108 109 Note that you still need to set this macro even after IPP has been enabled with the {{{configure}}} command. 106 110 107 111 === Enable/Disable Individual IPP Codec === … … 119 123 }}} 120 124 121 === Linking Options === 125 126 [[BR]] 127 128 == Static Linking == 129 130 === Windows Instructions === 122 131 123 132 By default, PJMEDIA will automatically link with Intel IPP libraries when Visual Studio is used. This is done by using using {{{#pragma comment(lib)}}} constructs in the source code. This is convenient, however it will only link with the stub libraries and the Intel IPP DLL's will be required when distributing the application. … … 131 140 132 141 142 === Linux Instructions === 143 144 By default, the configuration and build system will link with Intel IPP shared libraries. This is controlled by the {{{IPP_LIBS}}} setting in the auto-generated {{{build.mak}}} file: 145 146 {{{ 147 export IPP_LIBS=-lusc -lippsc -lipps -lippsr -lippcore -lguide 148 }}} 149 150 If you want to configure static linking, you can override this variable in your {{{user.mak}}} file, or change the value in the {{{build.mak}}}. The later is not recommended since the {{{build.mak}}} file will be overwritten everytime {{{configure}}} is run. 151 152 Sample to override the variable in {{{user.mak}}}: 153 154 {{{ 155 export IPP_LIBS=-lusc -lippscmerged .. 156 }}} 133 157 134 158 [[BR]] … … 152 176 [[BR]] 153 177 178 == Setting DLL/Shared Library Path == 179 180 By default, the build process links with the IPP dynamic libraries. Because of this, you'd need to set the DLL/shared library path before running PJSIP application that links with Intel IPP. 181 182 === Setting up DLL Path === 183 184 On Windows, you'd need to add Intel IPP's DLL location to your PATH variable. 185 186 === Setting up LD_LIBRARY_PATH === 187 188 On Linux, you'd need to add Intel IPP shared library location to your {{{LD_LIBRARY_PATH}}} environment variable: 189 190 {{{ 191 $ export LD_LIBRARY_PATH="$IPPROOT/sharedlib:$LD_LIBRARY_PATH" 192 }}} 193 194 195 196 197 [[BR]] 198 154 199 == Open Issues == 155 200 … … 170 215 Negotiation of various AMR options in SDP is currently not supported. The AMR mode is locked to bandwidth-optimized, and when AMR with octet-aligned packet is received, the behavior is undefined. 171 216 172 === Linux Support ===173 174 Currently IPP integration is not supported by the autoconf script. You must add the appropriate CFLAGS and LDFLAGS in {{{user.mak}}} file in order to use IPP.175 176 217 === MacOS X Support === 177 218