<?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 jpeg decoder problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/jpeg-decoder-problem/m-p/848732#M6325</link>
    <description>&lt;P&gt;Hi : I am using an example in UIC document 3-32. This simple example only require to include "uic_jpeg_dec.h". when I build it and gotone error: error C3861: 'AlignStep': identifier not found&lt;BR /&gt;Question1: I wonder where AlignStep is defined ?&lt;BR /&gt;&lt;BR /&gt;Question2:&lt;BR /&gt;I saw in this example: dataOrder.LineStep() [0] = AlignStep(geometry.RefGridRect().Width() *nOfComponents);&lt;BR /&gt;If I use dataOrder.LineStep() [0]=((geometry.RefGridRect().Width() * nOfComponents *du+ 3) &amp;amp; ~3) to replace AlignStep(), the program can be build. &lt;BR /&gt;After call ReadData(), I got depressed data from imageCn.Buffer().DataPtr(). How can I know the buffer data is correct?&lt;BR /&gt;I also create a data buffer with more than enough size (&amp;gt; image width X height X Chanel X sizeof(Ipp8u) ). I am trying to memcpyimageCn.Buffer().DataPtr() to my own data buffer, but the program crash. I think the problem is not my buffer size but imageCn.Buffer().DataPtr() . please give me suggestion how can I know problem in imageCn.Buffer().DataPtr()? &lt;BR /&gt;&lt;BR /&gt;Question 3;&lt;BR /&gt;I want to copy the depressed image data to a buffer -myBuf (BYTE type) and sent the data from myBuf to our application. I create: BYTE *myBuf (also allocation enough size).&lt;BR /&gt;How can I copy or send the data from imageCn.Buffer().DataPtr() to myBuf ? I used memcpy but got problem.&lt;BR /&gt;Thank you for helps&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2009 16:01:36 GMT</pubDate>
    <dc:creator>fanguts</dc:creator>
    <dc:date>2009-07-22T16:01:36Z</dc:date>
    <item>
      <title>jpeg decoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/jpeg-decoder-problem/m-p/848732#M6325</link>
      <description>&lt;P&gt;Hi : I am using an example in UIC document 3-32. This simple example only require to include "uic_jpeg_dec.h". when I build it and gotone error: error C3861: 'AlignStep': identifier not found&lt;BR /&gt;Question1: I wonder where AlignStep is defined ?&lt;BR /&gt;&lt;BR /&gt;Question2:&lt;BR /&gt;I saw in this example: dataOrder.LineStep() [0] = AlignStep(geometry.RefGridRect().Width() *nOfComponents);&lt;BR /&gt;If I use dataOrder.LineStep() [0]=((geometry.RefGridRect().Width() * nOfComponents *du+ 3) &amp;amp; ~3) to replace AlignStep(), the program can be build. &lt;BR /&gt;After call ReadData(), I got depressed data from imageCn.Buffer().DataPtr(). How can I know the buffer data is correct?&lt;BR /&gt;I also create a data buffer with more than enough size (&amp;gt; image width X height X Chanel X sizeof(Ipp8u) ). I am trying to memcpyimageCn.Buffer().DataPtr() to my own data buffer, but the program crash. I think the problem is not my buffer size but imageCn.Buffer().DataPtr() . please give me suggestion how can I know problem in imageCn.Buffer().DataPtr()? &lt;BR /&gt;&lt;BR /&gt;Question 3;&lt;BR /&gt;I want to copy the depressed image data to a buffer -myBuf (BYTE type) and sent the data from myBuf to our application. I create: BYTE *myBuf (also allocation enough size).&lt;BR /&gt;How can I copy or send the data from imageCn.Buffer().DataPtr() to myBuf ? I used memcpy but got problem.&lt;BR /&gt;Thank you for helps&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2009 16:01:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/jpeg-decoder-problem/m-p/848732#M6325</guid>
      <dc:creator>fanguts</dc:creator>
      <dc:date>2009-07-22T16:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: jpeg decoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/jpeg-decoder-problem/m-p/848733#M6326</link>
      <description>&lt;DIV style="margin:0px;"&gt;by the way, you may avoid copying data from UIC ImageBuffer to your application buffer. Did you notice Attach() method in UIC ImageBuffer object? Instead of allocating pixels memory in UIC you mayattach your own memory buffer. Just need to be careful with correct buffer description (image step, data type and so on)&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2009 18:46:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/jpeg-decoder-problem/m-p/848733#M6326</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-07-23T18:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: jpeg decoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/jpeg-decoder-problem/m-p/848734#M6327</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336498"&gt;Vladimir Dudnik (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;by the way, you may avoid copying data from UIC ImageBuffer to your application buffer. Did you notice Attach() method in UIC ImageBuffer object? Instead of allocating pixels memory in UIC you mayattach your own memory buffer. Just need to be careful with correct buffer description (image step, data type and so on)&lt;BR /&gt;&lt;BR /&gt;Vladimir&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;thanks Vladimir, now the my jpeg decorder is work</description>
      <pubDate>Fri, 24 Jul 2009 21:36:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/jpeg-decoder-problem/m-p/848734#M6327</guid>
      <dc:creator>fanguts</dc:creator>
      <dc:date>2009-07-24T21:36:11Z</dc:date>
    </item>
  </channel>
</rss>

