Intel IPP Static Libs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If anyone is interested in using the Intel IPP static libs for Win32.   Here
are the unofficial code changes.  The static lib adds about 2.5meg to the
program size.

 

Archie

 

 

In addition to the instructions at
http://trac.pjsip.org/repos/wiki/Intel_IPP_Codecs, add these to your build
directories

 

Includes: C:\Program Files\Intel\IPP\5.3.3.082\ia32\tools\staticlib

Libs: C:\Program Files\Intel\IPP\5.3.3.082\ia32\lib

 

Set this in your config_site.h along with the instructions at
http://trac.pjsip.org/repos/wiki/Intel_IPP_Codecs

            #define PJMEDIA_AUTO_LINK_IPP_LIBS  0

#define PJMEDIA_AUTO_LINK_IPP_STATIC_LIBS 1

 

 

Add this snippet right above the #include <usc.h> in ipp_codecs.c

 

#if defined(_MSC_VER) && PJMEDIA_AUTO_LINK_IPP_STATIC_LIBS

#include <ipp_w7.h>

#endif

 

Note: Replace #include <ipp_w7.h> with the appropriate file choice from
below.

 

ipp_a6.h  IntelR PentiumR III processor (SSE) 

ipp_w7.h  Pentium 4 processor (SSE2) 

ipp_t7.h  Pentium 4 processor with Hyper-Threading Technology and Streaming
SIMD Extensions 3  (SSE3) 

ipp_v8.h  IntelR CoreT2 Duo processors (SSSE3) 

ipp_p8.h  IntelR Penryn based processors (SSE4.1) 

ipp_px.h  All other IntelR architecture processors  

 

 

Add this to the bottom of ipp_codecs.c to include the static libs.

 

#if defined(_MSC_VER) && PJMEDIA_AUTO_LINK_IPP_STATIC_LIBS

#   pragma comment( lib, "usc.lib")

#   pragma comment( lib, "ippcorel.lib")

#   pragma comment( lib,"ippacemerged.lib")

#   pragma comment( lib,"ippacmerged.lib")

#   pragma comment( lib,"ippccemerged.lib")

#   pragma comment( lib,"ippccmerged.lib")

#   pragma comment( lib,"ippchemerged.lib")

#   pragma comment( lib,"ippchmerged.lib")

#   pragma comment( lib,"ippcvemerged.lib")

#   pragma comment( lib,"ippcvmerged.lib")

#   pragma comment( lib,"ippdcemerged.lib")

#   pragma comment( lib,"ippdcmerged.lib")

#   pragma comment( lib,"ippiemerged.lib")

#   pragma comment( lib,"ippimerged.lib")

#   pragma comment( lib,"ippjemerged.lib")

#   pragma comment( lib,"ippjmerged.lib")

#   pragma comment( lib,"ippmemerged.lib")

#   pragma comment( lib,"ippmmerged.lib")

#   pragma comment( lib,"ippremerged.lib")

#   pragma comment( lib,"ipprmerged.lib")

#   pragma comment( lib,"ippscemerged.lib")

#   pragma comment( lib,"ippscmerged.lib")

#   pragma comment( lib,"ippsemerged.lib")

#   pragma comment( lib,"ippsmerged.lib")

#   pragma comment( lib,"ippsremerged.lib")

#   pragma comment( lib,"ippsrmerged.lib")

#   pragma comment( lib,"ippvcemerged.lib")

#   pragma comment( lib,"ippvcmerged.lib")

#   pragma comment( lib,"ippvmemerged.lib")

#   pragma comment( lib,"ippvmmerged.lib")

#endif

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080828/04b043bc/attachment-0001.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux