<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MPEG-4 &amp; OpenMP threads in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-OpenMP-threads/m-p/892445#M11673</link>
    <description>&lt;P&gt;I am using IPP 5.1 media sample to decode MPEG-4 streams. I am linking to the umc libraries statically in my Visual Studio 2005 dll. I noticed on an XP SP2 dual core machine that the threads are not cleaned up right. After further investgation, I concluded that the thread leak is related to OpenMP. Every time I instantiate an MPEG-4 decoder, an extra thread starts and does not get cleaned up after I destroy the decoder. In our application, I can open a multiplexer window that shows MPEG-4 images from up to 64 streams. On closing the window, I notice that the number of leaked theads is exactly equal to the number of decoder instances. I stopped at a break point and noticed the call stack for each of the extra thread is stopped at the call _vcomp NullAPCFunc.&lt;/P&gt;
&lt;P&gt;I tried to use ippSetNumThreads(1) right after ippStaticInit when loading the dll to disable IPP internal threading and observe the difference but it made no difference. Any ideas?&lt;/P&gt;</description>
    <pubDate>Tue, 06 May 2008 19:20:30 GMT</pubDate>
    <dc:creator>mmoussa</dc:creator>
    <dc:date>2008-05-06T19:20:30Z</dc:date>
    <item>
      <title>MPEG-4 &amp; OpenMP threads</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-OpenMP-threads/m-p/892445#M11673</link>
      <description>&lt;P&gt;I am using IPP 5.1 media sample to decode MPEG-4 streams. I am linking to the umc libraries statically in my Visual Studio 2005 dll. I noticed on an XP SP2 dual core machine that the threads are not cleaned up right. After further investgation, I concluded that the thread leak is related to OpenMP. Every time I instantiate an MPEG-4 decoder, an extra thread starts and does not get cleaned up after I destroy the decoder. In our application, I can open a multiplexer window that shows MPEG-4 images from up to 64 streams. On closing the window, I notice that the number of leaked theads is exactly equal to the number of decoder instances. I stopped at a break point and noticed the call stack for each of the extra thread is stopped at the call _vcomp NullAPCFunc.&lt;/P&gt;
&lt;P&gt;I tried to use ippSetNumThreads(1) right after ippStaticInit when loading the dll to disable IPP internal threading and observe the difference but it made no difference. Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2008 19:20:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-OpenMP-threads/m-p/892445#M11673</guid>
      <dc:creator>mmoussa</dc:creator>
      <dc:date>2008-05-06T19:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: MPEG-4 &amp; OpenMP threads</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-OpenMP-threads/m-p/892446#M11674</link>
      <description>&lt;P&gt;Could you please check this on the latest version, which is IPP 6.0 beta?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2008 19:38:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-OpenMP-threads/m-p/892446#M11674</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-05-06T19:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPEG-4 &amp; OpenMP threads</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-OpenMP-threads/m-p/892447#M11675</link>
      <description>&lt;P&gt;I removed the OpenMP support from the media sample version 5.1 and recompiled. It works fine now with no thread leak and without affecting the performance on the dual core machine.&lt;/P&gt;
&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2008 19:10:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-OpenMP-threads/m-p/892447#M11675</guid>
      <dc:creator>mmoussa</dc:creator>
      <dc:date>2008-05-07T19:10:02Z</dc:date>
    </item>
  </channel>
</rss>

