<?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 Re: MPEG-4 encoder crash problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-encoder-crash-problem/m-p/910777#M14173</link>
    <description>I forget to tell you that i am using IPP v5.1. The &lt;FONT size="2"&gt;
&lt;P&gt;BVOPsearchWidthForw, &lt;FONT size="2"&gt;BVOPsearchWidthBack, &lt;FONT size="2"&gt;BVOPsearchHeightForw, &lt;FONT size="2"&gt;BVOPsearchHeightBack, &lt;FONT size="2"&gt;PVOPsearchWidth and&lt;FONT size="2"&gt;PVOPsearchHeight valuesis1022 for all.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;</description>
    <pubDate>Mon, 18 Sep 2006 15:58:27 GMT</pubDate>
    <dc:creator>ahmadkq</dc:creator>
    <dc:date>2006-09-18T15:58:27Z</dc:date>
    <item>
      <title>MPEG-4 encoder crash problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-encoder-crash-problem/m-p/910776#M14172</link>
      <description>&lt;P&gt;Hi,&lt;P&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P&gt;I have a crash in the MPEG-4 encoder when i set the &lt;SPAN style="FONT-SIZE: 10pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt"&gt;IVOPdist to 64 and the BVOPdist 10. The crash occurs in the following code in the EncodeBVOP function at the red line.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;mvLumaForwDirect[0].dx = (Ipp16s)(mTRB * MBcurr-&amp;gt;mv[0].dx / mTRD);&lt;BR /&gt;mvLumaForwDirect[0].dy = (Ipp16s)(mTRB * MBcurr-&amp;gt;mv[0].dy / mTRD);&lt;BR /&gt;mvLumaBackDirect[0].dx = (Ipp16s)((mTRB - mTRD) * MBcurr-&amp;gt;mv[0].dx / mTRD);&lt;BR /&gt;mvLumaBackDirect[0].dy = (Ipp16s)((mTRB - mTRD) * MBcurr-&amp;gt;mv[0].dy / mTRD);&lt;BR /&gt;if (VOL.quarter_sample)&lt;BR /&gt;{&lt;BR /&gt;mp4_Copy16x16QP_8u(pYf, mStepLuma, mcPredD, 16, &amp;amp;mvLumaForwDirect[0], 0);&lt;BR /&gt;mp4_Copy16x16QP_8u(pYb, mStepLuma, mcTmp, 16, &amp;amp;mvLumaBackDirect[0], 0);&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;&lt;SPAN style="COLOR: black"&gt;mp4_Copy16x16HP_8u(pYf, mStepLuma, mcPredD, 16, &amp;amp;mvLumaForwDirect[0], 0);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;mp4_Copy16x16HP_8u(pYb, mStepLuma, mcTmp, 16, &amp;amp;mvLumaBackDirect[0], 0);&lt;/SPAN&gt;&lt;BR /&gt;}&lt;BR /&gt;Do you have any idea?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;P&gt;&lt;/P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2006 15:39:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-encoder-crash-problem/m-p/910776#M14172</guid>
      <dc:creator>ahmadkq</dc:creator>
      <dc:date>2006-09-18T15:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: MPEG-4 encoder crash problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-encoder-crash-problem/m-p/910777#M14173</link>
      <description>I forget to tell you that i am using IPP v5.1. The &lt;FONT size="2"&gt;
&lt;P&gt;BVOPsearchWidthForw, &lt;FONT size="2"&gt;BVOPsearchWidthBack, &lt;FONT size="2"&gt;BVOPsearchHeightForw, &lt;FONT size="2"&gt;BVOPsearchHeightBack, &lt;FONT size="2"&gt;PVOPsearchWidth and&lt;FONT size="2"&gt;PVOPsearchHeight valuesis1022 for all.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 18 Sep 2006 15:58:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-encoder-crash-problem/m-p/910777#M14173</guid>
      <dc:creator>ahmadkq</dc:creator>
      <dc:date>2006-09-18T15:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: MPEG-4 encoder crash problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-encoder-crash-problem/m-p/910778#M14174</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;there is answer from our experts:&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;P&gt;Yes, there seem to be an issue with backward MV limitation in version 5.1,&lt;/P&gt;&lt;P&gt;the issue will be fixed in the next version of IPP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as a temporary workaround you can add the following methods in mp4_enc_misc.cpp&lt;/P&gt;&lt;P&gt;(and define them in mp4_enc.hpp):&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" color="#0000ff" size="2"&gt;&lt;P&gt;void&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; ippVideoEncoderMPEG4::LimitMV(IppMotionVector *pMV, Ipp32s x, Ipp32s y)&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV-&amp;gt;dx, (Ipp16s)((-16 - x) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_width - x) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV-&amp;gt;dy, (Ipp16s)((-16 - y) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_height - y) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" color="#0000ff" size="2"&gt;&lt;P&gt;void&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; ippVideoEncoderMPEG4::LimitMVQ(IppMotionVector *pMV, Ipp32s x, Ipp32s y)&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV-&amp;gt;dx, (Ipp16s)((-16 - x) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_width - x) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV-&amp;gt;dy, (Ipp16s)((-16 - y) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_height - y) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" color="#0000ff" size="2"&gt;&lt;P&gt;void&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; ippVideoEncoderMPEG4::Limit4MV(IppMotionVector *pMV, Ipp32s x, Ipp32s y)&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[0].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_width - x) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[0].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_height - y) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[1].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_width - x - 8) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[1].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_height - y) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[2].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_width - x) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[2].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_height - y - 8) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[3].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_width - x - 8) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[3].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 1), (Ipp16s)((VOL.video_object_layer_height - y - 8) &amp;lt;&amp;lt; 1));&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" color="#0000ff" size="2"&gt;&lt;P&gt;void&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; ippVideoEncoderMPEG4::Limit4MVQ(IppMotionVector *pMV, Ipp32s x, Ipp32s y)&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[0].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_width - x) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[0].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_height - y) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[1].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_width - x - 8) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[1].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_height - y) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[2].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_width - x) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[2].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_height - y - 8) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[3].dx, (Ipp16s)((-8 - x) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_width - x - 8) &amp;lt;&amp;lt; 2));&lt;/P&gt;&lt;P&gt;mp4_Clip(pMV[3].dy, (Ipp16s)((-8 - y) &amp;lt;&amp;lt; 2), (Ipp16s)((VOL.video_object_layer_height - y - 8) &amp;lt;&amp;lt; 2
));&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#008000" size="2"&gt;&lt;/FONT&gt;&lt;FONT face="Arial" color="#0000ff" size="2"&gt;&lt;P&gt;Then, in mp4_enc_vop.cpp, insert &lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;LimitMV(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, i &amp;lt;&amp;lt; 4);&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; in line 3526&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;LimitMVQ(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, i &amp;lt;&amp;lt; 4);&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; line 3523&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;Limit4MV(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, i &amp;lt;&amp;lt; 4);&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; line 3507&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;Limit4MV&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman" size="2"&gt;Q&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, i &amp;lt;&amp;lt; 4);&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; line 3498&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Arial CYR" color="#008000" size="2"&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;LimitMV(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, &lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman" size="2"&gt;curRow&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; &amp;lt;&amp;lt; 4);&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; in line 3135&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;LimitMVQ(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, &lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman" size="2"&gt;curRow&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; &amp;lt;&amp;lt; 4);&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; line 3132&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;Limit4MV(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, &lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman" size="2"&gt;curRow&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; &amp;lt;&amp;lt; 4);&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; line 3116&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;&lt;P&gt;Limit4MV&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman" size="2"&gt;Q&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt;(mvLumaBackDirect, j &amp;lt;&amp;lt; 4, &lt;/FONT&gt;&lt;FONT face="Times New Roman" size="2"&gt;curRow&lt;/FONT&gt;&lt;FONT face="Courier New CYR" size="2"&gt; &amp;lt;&amp;lt; 4);&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="Times New Roman"&gt; line 3107&lt;/FONT&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2006 20:34:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-encoder-crash-problem/m-p/910778#M14174</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-09-20T20:34:35Z</dc:date>
    </item>
  </channel>
</rss>

