<?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: Cannot use ColorConversion with VC++ 2005 on Intel pentium  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907478#M13718</link>
    <description>hey guys i got one more question,&lt;BR /&gt;&lt;BR /&gt;I have the HLS values in unbuffer. So i was wondering how do i retrieve them?&lt;BR /&gt;&lt;BR /&gt;H should vary from 0 to 360&lt;BR /&gt;L from 0 to 1&lt;BR /&gt;S from 0 to 1&lt;BR /&gt;&lt;BR /&gt;Does H take 2 bytes&lt;BR /&gt;And S and L take one byte each?&lt;BR /&gt;&lt;BR /&gt;I mean what's the order of things?&lt;BR /&gt;</description>
    <pubDate>Fri, 06 Oct 2006 12:14:55 GMT</pubDate>
    <dc:creator>elevenmice</dc:creator>
    <dc:date>2006-10-06T12:14:55Z</dc:date>
    <item>
      <title>Cannot use ColorConversion with VC++ 2005 on Intel pentium D. (static link)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907475#M13715</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I'm trying to use &lt;B&gt;ippiRGBToHLS_8u_AC4R&lt;/B&gt; in my C++ program but i get a crash in disassembly.&lt;BR /&gt;&lt;BR /&gt;here's my code:&lt;BR /&gt;&lt;BR /&gt;// this is what i added at the top of the file&lt;BR /&gt;&lt;BR /&gt;#define IPPAPI(type,name,arg) extern type __STDCALL w7_##name arg;&lt;BR /&gt;#define IPPCALL(name) w7_##name&lt;BR /&gt;#include &lt;IPP.H&gt;&lt;BR /&gt;//#include &lt;IPPCORE.H&gt;&lt;BR /&gt;//#include &lt;IPPCC.H&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// this is inside my function&lt;BR /&gt;&lt;BR /&gt; m_width = 320;&lt;BR /&gt; m_height = 240;&lt;BR /&gt;&lt;BR /&gt; Ipp8u* unBuffer = new Ipp8u( m_width * m_height * 4 );&lt;BR /&gt;&lt;BR /&gt; IppiSize size;&lt;BR /&gt; size.width = m_width;&lt;BR /&gt; size.height = m_height; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; IPPCALL(ippiRGBToHLS_8u_AC4R)((Ipp8u*)(input[0]), nInStride * 4, unBuffer, m_width * 4, size );&lt;BR /&gt;&lt;BR /&gt;//input[0] points to the first row of my frame. It has a stride of -320.&lt;BR /&gt;&lt;BR /&gt;The libraries i added were:&lt;BR /&gt;&lt;BR /&gt;ippccmerged.lib ippcorel.lib&lt;BR /&gt;&lt;BR /&gt;I tried to do a static link with dispatch and added library ippccemerged.lib, but my program still crashes. Everything compiles fine but when i run it, it just blows up. &lt;BR /&gt;&lt;BR /&gt;Am I doing something wrong here. I lost a whole day with this. please help. :(&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;chetan&lt;BR /&gt;&lt;/IPPCC.H&gt;&lt;/IPPCORE.H&gt;&lt;/IPP.H&gt;</description>
      <pubDate>Thu, 05 Oct 2006 18:54:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907475#M13715</guid>
      <dc:creator>elevenmice</dc:creator>
      <dc:date>2006-10-05T18:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use ColorConversion with VC++ 2005 on Intel pentium</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907476#M13716</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Did you try to debug it? What happened? I know that can't be the problem, but in IPP you can allocate memory with &lt;FONT face="Courier New"&gt;ippsMalloc&lt;/FONT&gt; (for &lt;FONT face="Courier New"&gt;Ipp8u&lt;/FONT&gt; use &lt;FONT face="Courier New"&gt;ippsMalloc_8u&lt;/FONT&gt;) and free memory with &lt;FONT face="Courier New"&gt;ippsFree&lt;/FONT&gt;. &lt;BR /&gt;You forgot to call &lt;FONT face="Courier New"&gt;ippStaticInit&lt;/FONT&gt;. And I think you don't need the&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;#define IPPAPI(type,name,arg) extern type __STDCALL w7_##name arg;&lt;BR /&gt;#define IPPCALL(name) w7_##name&lt;BR /&gt;&lt;BR /&gt;lines because you are using dispatching.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Greetings,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Bendeguy&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2006 19:48:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907476#M13716</guid>
      <dc:creator>bendeguy</dc:creator>
      <dc:date>2006-10-05T19:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use ColorConversion with VC++ 2005 on Intel pentium</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907477#M13717</link>
      <description>I made a really stupid mistake :(&lt;BR /&gt;&lt;BR /&gt;Instead of writing:&lt;BR /&gt;&lt;BR /&gt; Ipp8u* unBuffer = new Ipp8u( m_width * m_height * 4 );&lt;BR /&gt;&lt;BR /&gt;I should have written&lt;BR /&gt;&lt;BR /&gt; Ipp8u* unBuffer = new Ipp8u[ m_width * m_height * 4 ];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now everything is working. :)&lt;BR /&gt;&lt;BR /&gt;I was looking at the other posts and someone mentioned something about IPP not accepting negetive strides. I have tried it and so far it looks that IPP does allow negative strides. it work fine. &lt;BR /&gt;&lt;BR /&gt;Alrite then.&lt;BR /&gt;chetan&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Oct 2006 10:30:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907477#M13717</guid>
      <dc:creator>elevenmice</dc:creator>
      <dc:date>2006-10-06T10:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use ColorConversion with VC++ 2005 on Intel pentium</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907478#M13718</link>
      <description>hey guys i got one more question,&lt;BR /&gt;&lt;BR /&gt;I have the HLS values in unbuffer. So i was wondering how do i retrieve them?&lt;BR /&gt;&lt;BR /&gt;H should vary from 0 to 360&lt;BR /&gt;L from 0 to 1&lt;BR /&gt;S from 0 to 1&lt;BR /&gt;&lt;BR /&gt;Does H take 2 bytes&lt;BR /&gt;And S and L take one byte each?&lt;BR /&gt;&lt;BR /&gt;I mean what's the order of things?&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Oct 2006 12:14:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907478#M13718</guid>
      <dc:creator>elevenmice</dc:creator>
      <dc:date>2006-10-06T12:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use ColorConversion with VC++ 2005 on Intel pentium</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907479#M13719</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;readying of IPP manual could help in understanding of this. In IPP we use AC4 to mark images with alpha channel. Image processing functions do not touch alpha pixels if they really do not need it, it means alpha channel will stay unchanged.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2006 21:09:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Cannot-use-ColorConversion-with-VC-2005-on-Intel-pentium-D/m-p/907479#M13719</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-10-12T21:09:48Z</dc:date>
    </item>
  </channel>
</rss>

