On Thu, Aug 28, 2008 at 4:47 PM, Archie Rosenblum <archie at bbsti.com> wrote: > 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. > > > Cool, thanks for the tip. I'll see if I can add this after rc1. -benny > 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 Intel(R) Pentium(R) 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 Intel(R) Core?2 Duo processors (SSSE3) > > ipp_p8.h Intel(R) Penryn based processors (SSE4.1) > > ipp_px.h All other Intel(R) 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 > > > > > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080828/e45edee3/attachment-0001.html