<?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 Hi Stefan. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145623#M26210</link>
    <description>&lt;P&gt;Hi Stefan.&lt;/P&gt;

&lt;P&gt;I confirm your issue for images Wx5. I'll put fix to the nearest IPP release. As workaround allocate please 1 additional line for Wx5 images. For big enough images all is ok.&lt;/P&gt;

&lt;P&gt;Also just for information we have 2 additional Debayer functions: linear - ippiCFAToRGB_8u_C1C3R and variable number of gradients&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;ippiCFAToBGRA_VNG_8u_C1C4R_L&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your feedback.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2018 12:59:49 GMT</pubDate>
    <dc:creator>Andrey_B_Intel</dc:creator>
    <dc:date>2018-06-29T12:59:49Z</dc:date>
    <item>
      <title>BUG in ippiDemosaicAHD_8u_C1C3R?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145618#M26205</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a question regarding the ippiDemosaicAHD_8u_C1C3R function and maybe the 16 bit version as well:&lt;/P&gt;

&lt;P&gt;The documentation states the function needs at least a 5 by 5 pixel input image. This can be deduced from the section describing the possible return values:&lt;/P&gt;

&lt;P&gt;"Indicates an error condition if the srcSize has a field that is less than 5, or if the roiSize has a field with negative or zero value."&lt;/P&gt;

&lt;P&gt;However using the latest (2018.3) version of the IPP I noticed that when the height of the image is exactly 5 the function writes results directly BEFORE the address passed as the 'pDst' parameter resulting in a heap corruption very hard to track down.&lt;/P&gt;

&lt;P&gt;Furthermore I am unsure if the documentation shouldn't specify the type of alloc function to use for the pTmp function. To me it seems like you have to use ippiMalloc_8u_C3 so the type of the resulting image as otherwise (when using e.g. ippiMalloc_8u_C1) I get heap corruptions, too however the documentation is not clear about that?!&lt;/P&gt;

&lt;P&gt;Last but not least there are 2 typos in the header:&lt;/P&gt;

&lt;P&gt;- "filter array image to RGB image wih AHD algorithm"&lt;/P&gt;

&lt;P&gt;- "Type of baeyers grid"&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Stefan&lt;/P&gt;

&lt;P&gt;P.S.: Apart from that: This is the first time I ever had any problems with the IPP, which I am using extensively since a lot of years now! Great stuff!!!&lt;/P&gt;

&lt;P&gt;P.P.S.: In case that is important: I am getting this crash on a Windows 10 64-bit machine with an i7-7700@3.6 GHz but also saw this happen on Windows 7 with a different Intel processor. So far this has not been observed on a Linux machine.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 14:15:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145618#M26205</guid>
      <dc:creator>Stefan_B_3</dc:creator>
      <dc:date>2018-06-25T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Hi Stefan.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145619#M26206</link>
      <description>&lt;P&gt;Hi Stefan.&lt;/P&gt;

&lt;P&gt;Thanks for your feedback.&lt;/P&gt;

&lt;P&gt;According with API temporal image pTmp is&lt;/P&gt;

&lt;P&gt;&amp;nbsp;(&lt;SPAN class="parmname" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-style: italic; color: rgb(85, 85, 85); font-size: 15px;"&gt;srcRoi&lt;/SPAN&gt;&lt;SPAN class="keyword" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(85, 85, 85); font-size: 15px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="parmname" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-style: italic; color: rgb(85, 85, 85); font-size: 15px;"&gt;width&lt;/SPAN&gt;&lt;SPAN style="color: rgb(85, 85, 85); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;+6) * 30 * sizeof(Ipp8u) , &lt;/SPAN&gt;tmpStep = 30*sizeof(Ipp8u)&amp;nbsp;&lt;SPAN style="color: rgb(85, 85, 85); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;for Ipp8u or&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(85, 85, 85); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;(&lt;SPAN class="parmname" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-style: italic; color: rgb(85, 85, 85); font-size: 15px;"&gt;srcRoi&lt;/SPAN&gt;&lt;SPAN class="keyword" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; color: rgb(85, 85, 85); font-size: 15px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="parmname" style="box-sizing: border-box; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-style: italic; color: rgb(85, 85, 85); font-size: 15px;"&gt;width&lt;/SPAN&gt;&lt;SPAN style="color: rgb(85, 85, 85); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&amp;nbsp;+6) * 30 * sizeof(Ipp16u)&amp;nbsp;, tmpStep=&lt;/SPAN&gt;30*sizeof(Ipp16u)&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: rgb(85, 85, 85); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;for Ipp16u.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(85, 85, 85); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;So minimal size of buffer is W*H = (5+6) cols * 30 rows.&amp;nbsp; &amp;nbsp;Also could you please provide just small C code reproducer of your issue?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(85, 85, 85); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 14:54:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145619#M26206</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2018-06-26T14:54:19Z</dc:date>
    </item>
    <item>
      <title>Hi Andrey,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145620#M26207</link>
      <description>&lt;P&gt;Hi Andrey,&lt;/P&gt;

&lt;P&gt;I attached a small example explaining what the problem is. You may need to fiddle around with the include path but apart from that it should run with no problems and now it also seems pretty clear what is going on.&lt;/P&gt;

&lt;P&gt;Looking forward to hear from you!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 06:19:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145620#M26207</guid>
      <dc:creator>Stefan_B_3</dc:creator>
      <dc:date>2018-06-27T06:19:53Z</dc:date>
    </item>
    <item>
      <title>Stefan, compiling your</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145621#M26208</link>
      <description>&lt;P&gt;Stefan, compiling your example with the latest IPP 2018 u3 ( statically, 64 bits on AVX2 bases system, window ) and executing , I see no problem:&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;..\780762\_. test.exe&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;ippiDemosaicAHD_8u_C1C3R returned 0&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;ippiDemosaicAHD_8u_C1C3R returned 0&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Jun 2018 08:37:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145621#M26208</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-06-28T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Dear Gennady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145622#M26209</link>
      <description>&lt;P&gt;Dear Gennady,&lt;/P&gt;

&lt;P&gt;thanks for the feedback! I guess this is partly my mistake! The function call return no error (and I missed to add an output message at the place where the error occurs. However the exit code of the application will be 42 in case of an error. I will attach an updated source file plotting an error message when the problem occurs!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 08:47:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145622#M26209</guid>
      <dc:creator>Stefan_B_3</dc:creator>
      <dc:date>2018-06-28T08:47:55Z</dc:date>
    </item>
    <item>
      <title>Hi Stefan.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145623#M26210</link>
      <description>&lt;P&gt;Hi Stefan.&lt;/P&gt;

&lt;P&gt;I confirm your issue for images Wx5. I'll put fix to the nearest IPP release. As workaround allocate please 1 additional line for Wx5 images. For big enough images all is ok.&lt;/P&gt;

&lt;P&gt;Also just for information we have 2 additional Debayer functions: linear - ippiCFAToRGB_8u_C1C3R and variable number of gradients&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;ippiCFAToBGRA_VNG_8u_C1C4R_L&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Thanks for your feedback.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 12:59:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145623#M26210</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2018-06-29T12:59:49Z</dc:date>
    </item>
    <item>
      <title>Hooray, thanks!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145624#M26211</link>
      <description>&lt;P&gt;Hooray, thanks!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Stefan&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jul 2018 05:40:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145624#M26211</guid>
      <dc:creator>Stefan_B_3</dc:creator>
      <dc:date>2018-07-02T05:40:53Z</dc:date>
    </item>
    <item>
      <title>Stefan, could you please try</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145625#M26212</link>
      <description>&lt;P&gt;Stefan,&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;could you please try IPP version 2019 which we release at the last week. The fix of the problem has been added to this initial version.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 07:17:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145625#M26212</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-09-17T07:17:54Z</dc:date>
    </item>
    <item>
      <title>Hi Gennady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145626#M26213</link>
      <description>&lt;P&gt;Hi Gennady,&lt;/P&gt;

&lt;P&gt;I can confirm this bug has been fixed! Thanks! However an old friend is back: &lt;A href="https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/701943" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/701943&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;To be quite honest I do not remember what did help me back then. However since I updated to IPP 2019 on my Ubuntu 8.04 (32-bit) the process simply hangs again. I guess the other thread might be more useful for this.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:29:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/BUG-in-ippiDemosaicAHD-8u-C1C3R/m-p/1145626#M26213</guid>
      <dc:creator>Stefan_B_3</dc:creator>
      <dc:date>2018-10-09T05:29:15Z</dc:date>
    </item>
  </channel>
</rss>

