<?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 Problem about the FWVideoRender in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-about-the-FWVideoRender/m-p/941950#M17723</link>
    <description>After a few days of disscussion the MPEG4 decoder issue with Scott, he solve the problem. But whenever I use Scott's or Vladimir's code, there is always a "segmentation fault" when I run my decoder.&lt;BR /&gt;  I have looked into this problem for a long time, and have found something.&lt;BR /&gt;First, problem comes here,&lt;BR /&gt;    umcRes = dst.RenderFrame();&lt;BR /&gt;Then I turn into the function RenderFrame of FWVideoRender, problem comes here,&lt;BR /&gt;for (int i = 0; i &amp;lt; m_SrcInfo.height; i++)&lt;BR /&gt;    {&lt;BR /&gt;        umcRes = m_pFileWriter-&amp;gt;PutData((unsigned char *)m_Buffers[m_iReadIndex].surface + i * m_nPitch, nbytes);&lt;BR /&gt;        if (UMC_OK != umcRes)&lt;BR /&gt;            break;&lt;BR /&gt;    }&lt;BR /&gt;the first for loop in "RenderFrame".&lt;BR /&gt;Then I looking into PutDat a in "FileWriter", problem comes here,&lt;BR /&gt;if((UMC_OK == ret) &amp;amp;&amp;amp; (tmp_size &amp;lt;= m_uiPageSize * 1024))&lt;BR /&gt;        {&lt;BR /&gt;            memcpy(m_pbBuffer + m_stPos, (unsigned char*)data + bufsize, tmp_size);&lt;BR /&gt;            m_stPos += tmp_size;&lt;BR /&gt;            break;&lt;BR /&gt;        }&lt;BR /&gt;Finally, the memcpy function is wrong. Maybe there is something wrong with the pointer, But I don't know how to fix it.&lt;BR /&gt;I hope someone could give me some suggestion, and this problem is very important to me. Thanks very much.&lt;BR /&gt;&lt;BR /&gt;PS:I build my application in Fedora Core4.&lt;BR /&gt;&lt;BR /&gt;   Wu Yu</description>
    <pubDate>Tue, 07 Mar 2006 16:32:33 GMT</pubDate>
    <dc:creator>walkdeath</dc:creator>
    <dc:date>2006-03-07T16:32:33Z</dc:date>
    <item>
      <title>Problem about the FWVideoRender</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-about-the-FWVideoRender/m-p/941950#M17723</link>
      <description>After a few days of disscussion the MPEG4 decoder issue with Scott, he solve the problem. But whenever I use Scott's or Vladimir's code, there is always a "segmentation fault" when I run my decoder.&lt;BR /&gt;  I have looked into this problem for a long time, and have found something.&lt;BR /&gt;First, problem comes here,&lt;BR /&gt;    umcRes = dst.RenderFrame();&lt;BR /&gt;Then I turn into the function RenderFrame of FWVideoRender, problem comes here,&lt;BR /&gt;for (int i = 0; i &amp;lt; m_SrcInfo.height; i++)&lt;BR /&gt;    {&lt;BR /&gt;        umcRes = m_pFileWriter-&amp;gt;PutData((unsigned char *)m_Buffers[m_iReadIndex].surface + i * m_nPitch, nbytes);&lt;BR /&gt;        if (UMC_OK != umcRes)&lt;BR /&gt;            break;&lt;BR /&gt;    }&lt;BR /&gt;the first for loop in "RenderFrame".&lt;BR /&gt;Then I looking into PutDat a in "FileWriter", problem comes here,&lt;BR /&gt;if((UMC_OK == ret) &amp;amp;&amp;amp; (tmp_size &amp;lt;= m_uiPageSize * 1024))&lt;BR /&gt;        {&lt;BR /&gt;            memcpy(m_pbBuffer + m_stPos, (unsigned char*)data + bufsize, tmp_size);&lt;BR /&gt;            m_stPos += tmp_size;&lt;BR /&gt;            break;&lt;BR /&gt;        }&lt;BR /&gt;Finally, the memcpy function is wrong. Maybe there is something wrong with the pointer, But I don't know how to fix it.&lt;BR /&gt;I hope someone could give me some suggestion, and this problem is very important to me. Thanks very much.&lt;BR /&gt;&lt;BR /&gt;PS:I build my application in Fedora Core4.&lt;BR /&gt;&lt;BR /&gt;   Wu Yu</description>
      <pubDate>Tue, 07 Mar 2006 16:32:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-about-the-FWVideoRender/m-p/941950#M17723</guid>
      <dc:creator>walkdeath</dc:creator>
      <dc:date>2006-03-07T16:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem about the FWVideoRender</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-about-the-FWVideoRender/m-p/941951#M17724</link>
      <description>&lt;DIV&gt;Thanks for finding the issue. Could you please submitt bug report through &lt;A href="http://premier.intel.com" target="_blank"&gt;Intel Premier Support&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Mar 2006 04:01:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-about-the-FWVideoRender/m-p/941951#M17724</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-03-16T04:01:20Z</dc:date>
    </item>
  </channel>
</rss>

