<?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 &amp;gt;&amp;gt;...However, its twin in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955429#M19026</link>
    <description>&amp;gt;&amp;gt;...However, its twin brother, ippiBGRToHLS_8u_C3P3R doesn't have any problems...

This is how these two IPP &lt;STRONG&gt;functions&lt;/STRONG&gt; ( not commands ) are declared:

&lt;STRONG&gt;[ ippcc.h ]&lt;/STRONG&gt;

...
IPPAPI( IppStatus, &lt;STRONG&gt;ippiHLSToBGR_8u_P3C3R&lt;/STRONG&gt;, ( const Ipp8u *pSrc[3], int srcStep, Ipp8u *pDst, int dstStep, IppiSize roiSize ) )
...
IPPAPI( IppStatus, &lt;STRONG&gt;ippiBGRToHLS_8u_C3P3R&lt;/STRONG&gt;, ( const Ipp8u *pSrc, int srcStep, Ipp8u *pDst[3], int dstStep, IppiSize roiSize ) )
...

and I don't see any errors with declarations.</description>
    <pubDate>Mon, 22 Jul 2013 04:12:00 GMT</pubDate>
    <dc:creator>SergeyKostrov</dc:creator>
    <dc:date>2013-07-22T04:12:00Z</dc:date>
    <item>
      <title>Parameter issue in ippiHLSToBGR_8u_P3C3R</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955426#M19023</link>
      <description>&lt;P&gt;&amp;nbsp;I am working with ipp ver 7.0 build 205.7, from Jul 11 2010.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The command &lt;STRONG&gt;ippiHLSToBGR_8u_P3C3R&lt;/STRONG&gt; seems to have problems with the first parameter. It doesn't accept this parameter:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;unsigned char *m_pHls3Buffer[3];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;And returns the error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;EM&gt;error C2664: 'ippiHLSToBGR_8u_P3C3R' : cannot convert parameter 1 from 'unsigned char *[3]' to 'const Ipp8u *[]'&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;However, its twin brother, &lt;STRONG&gt;ippiBGRToHLS_8u_C3P3R&lt;/STRONG&gt; doesn't have any problems with the very same parameter (third parameter) few lines before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;All other tries for casting and feeding other types of parameters fails. It even success to inform me that “&lt;EM&gt;cannot convert parameter 1 from Ipp8u *[]' to 'const Ipp8u *[]'&lt;/EM&gt;”.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks for your advice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2013 09:02:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955426#M19023</guid>
      <dc:creator>l-eyal</dc:creator>
      <dc:date>2013-07-21T09:02:19Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955427#M19024</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It's compilation time diagnostics. Try the following:&lt;/P&gt;
&lt;P&gt;[cpp]&lt;/P&gt;
&lt;P&gt;#include &amp;lt;ippcc.h&amp;gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; unsigned char *m_pHls3Buffer[3];&lt;BR /&gt;&amp;nbsp; &amp;nbsp; int srcStep, dstStep;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; IppiSize roiSize;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Ipp8u *pDst;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ippiHLSToBGR_8u_P3C3R((const Ipp8u**)m_pHls3Buffer, srcStep, pDst, dstStep, roiSize);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;[/cpp]&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2013 03:59:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955427#M19024</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2013-07-22T03:59:59Z</dc:date>
    </item>
    <item>
      <title>I'd like to add that:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955428#M19025</link>
      <description>I'd like to add that:

&amp;gt;&amp;gt;...
&amp;gt;&amp;gt;error C2664: 'ippiHLSToBGR_8u_P3C3R' : cannot convert parameter 1 from 'unsigned char *[3]' to 'const Ipp8u *[]'
&amp;gt;&amp;gt;...

is the error from C++ compiler and you'll need to cast types properly ( see Sergey Khlystov example ). In a couple of words: you did not use &lt;STRONG&gt;const&lt;/STRONG&gt; specificator and the compilation error is absolutely correct.</description>
      <pubDate>Mon, 22 Jul 2013 04:06:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955428#M19025</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-22T04:06:09Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...However, its twin</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955429#M19026</link>
      <description>&amp;gt;&amp;gt;...However, its twin brother, ippiBGRToHLS_8u_C3P3R doesn't have any problems...

This is how these two IPP &lt;STRONG&gt;functions&lt;/STRONG&gt; ( not commands ) are declared:

&lt;STRONG&gt;[ ippcc.h ]&lt;/STRONG&gt;

...
IPPAPI( IppStatus, &lt;STRONG&gt;ippiHLSToBGR_8u_P3C3R&lt;/STRONG&gt;, ( const Ipp8u *pSrc[3], int srcStep, Ipp8u *pDst, int dstStep, IppiSize roiSize ) )
...
IPPAPI( IppStatus, &lt;STRONG&gt;ippiBGRToHLS_8u_C3P3R&lt;/STRONG&gt;, ( const Ipp8u *pSrc, int srcStep, Ipp8u *pDst[3], int dstStep, IppiSize roiSize ) )
...

and I don't see any errors with declarations.</description>
      <pubDate>Mon, 22 Jul 2013 04:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955429#M19026</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-22T04:12:00Z</dc:date>
    </item>
    <item>
      <title>Thanks,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955430#M19027</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;The casting to const solved the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eyal&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2013 06:15:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Parameter-issue-in-ippiHLSToBGR-8u-P3C3R/m-p/955430#M19027</guid>
      <dc:creator>l-eyal</dc:creator>
      <dc:date>2013-07-22T06:15:33Z</dc:date>
    </item>
  </channel>
</rss>

