<?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: MJPEG bug ? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910938#M14205</link>
    <description>No problem, I'll log on with my premier account thank you.&lt;BR /&gt;</description>
    <pubDate>Sat, 16 Sep 2006 02:32:29 GMT</pubDate>
    <dc:creator>jsgoupil</dc:creator>
    <dc:date>2006-09-16T02:32:29Z</dc:date>
    <item>
      <title>MJPEG bug ?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910934#M14201</link>
      <description>I'm currently realizing a MJPEG decoder and it looks it doesn't act at all as the other decoders.&lt;BR /&gt;I used MPEG4 and H264 and after calling Init, the information about the width and height were filled into VideoDecoderParams.info.clip_info.width|height but the MJPEG doesn't fill the information.&lt;BR /&gt;I need them to initialize the output buffer... so for now I use this workaround :&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="Courier New" size="1"&gt;int nchannels;&lt;BR /&gt;int precision;&lt;BR /&gt;JSS sampling;&lt;BR /&gt;JCOLOR color;&lt;BR /&gt;CJPEGDecoder* m_dec;&lt;BR /&gt;m_dec = new CJPEGDecoder;&lt;BR /&gt;m_dec-&amp;gt;SetSource((Ipp8u*)p_dataIn.GetDataPointer(),p_dataIn.GetDataSize());&lt;BR /&gt;m_dec-&amp;gt;ReadHeader(&amp;amp;vdp.info.clip_info.width, &amp;amp;vdp.info.clip_info.height, &amp;amp;nchannels,&amp;amp;color,&amp;amp;sampling,&amp;amp;precision);&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Furthermore, GetFrame is supposed to return the next decoded frame. So each time we use GetFrame it supposed to use the next frame.&lt;BR /&gt;With MJPEG, the datapointer doesn't seem to be moved to the next frame...&lt;BR /&gt;In file codec/jpeg/src/umc_mjpeg_video_decoder.cpp:397 you change the data size here :&lt;BR /&gt;&lt;FONT face="Courier New" size="1"&gt;in-&amp;gt;SetDataSize(nBytesRemains);&lt;/FONT&gt;&lt;BR /&gt;But I think you would have to do a MoveDataPointer somewhere instead of modifying the DataSize like that.&lt;BR /&gt;&lt;BR /&gt;So after a GetFrame I need to do something like :&lt;BR /&gt;&lt;FONT face="Courier New" size="1"&gt;p_dataIn.SetBufferPointer( (Ipp8u*)p_dataIn.GetBufferPointer() + p_dataIn.GetBufferSize() - p_dataIn.GetDataSize(), p_dataIn.GetDataSize());&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Do I forget something to prevent the use of these tweaks?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Sep 2006 23:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910934#M14201</guid>
      <dc:creator>jsgoupil</dc:creator>
      <dc:date>2006-09-15T23:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: MJPEG bug ?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910935#M14202</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;did you take a look on simple MJPEG sample in UMC manual? It could help in understanding how to use this codec.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2006 01:08:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910935#M14202</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-09-16T01:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: MJPEG bug ?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910936#M14203</link>
      <description>Yes I did, I make my test looks like the example... but I dont have any splitter... I just have bitstream. So I removed the splitter...&lt;BR /&gt;&lt;BR /&gt;After the GetFrame, only the m_nDataSize change... the pointer m_pDataPointer doesn't change its position in the file... So the next call of GetFrame it will get the same starting frame.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Sep 2006 01:48:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910936#M14203</guid>
      <dc:creator>jsgoupil</dc:creator>
      <dc:date>2006-09-16T01:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: MJPEG bug ?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910937#M14204</link>
      <description>That can be the reason. This sample was designed to work with AVI splitter. Good point to consider changes, thank you. Could you also submit your report to &lt;A href="http://premier.intel.com"&gt;Intel Premier Support&lt;/A&gt;?</description>
      <pubDate>Sat, 16 Sep 2006 01:53:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910937#M14204</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-09-16T01:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: MJPEG bug ?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910938#M14205</link>
      <description>No problem, I'll log on with my premier account thank you.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Sep 2006 02:32:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MJPEG-bug/m-p/910938#M14205</guid>
      <dc:creator>jsgoupil</dc:creator>
      <dc:date>2006-09-16T02:32:29Z</dc:date>
    </item>
  </channel>
</rss>

