<?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: IppsConvert_8u16s_Sfs not available? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsConvert-8u16s-Sfs-not-available/m-p/895454#M11995</link>
    <description>&lt;P&gt;int Step = 8192; /*or other*/ &lt;/P&gt;
&lt;P&gt;for ( i = 0; ( i + Step) &amp;lt;= HugeArrayLength; i += Step ) {&lt;/P&gt;
&lt;P&gt;ippsConvert_8s16s( (Ipp8s *)HugeSrcArray8u, HugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt;ippsLShiftC_16s_I( 8, HugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt; HugeSrcArray8u += Step;&lt;/P&gt;
&lt;P&gt;HugeDstArray16s += Step;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Step = HugeArrayLength - i;&lt;/P&gt;
&lt;P&gt;if ( Step &amp;gt; 0 ) {&lt;/P&gt;
&lt;P&gt;ippsConvert_8s16s( (Ipp8s HugeSrcArray8u,ugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt;ippsLShiftC_16s_I( 8, HugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2008 07:48:56 GMT</pubDate>
    <dc:creator>Ivan_Z_Intel</dc:creator>
    <dc:date>2008-04-30T07:48:56Z</dc:date>
    <item>
      <title>IppsConvert_8u16s_Sfs not available?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsConvert-8u16s-Sfs-not-available/m-p/895453#M11994</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a huge array of 8u. I want to make it an array of 16s &lt;B&gt;BUT &lt;/B&gt;swapping the bytes.&lt;BR /&gt;&lt;BR /&gt;eg; input (size byte) = 0xAA h&lt;BR /&gt;   output (size short) = 0xAA00 h instead of just plain 0x00AA h.&lt;BR /&gt;&lt;BR /&gt;I was trying to find the function like ippsConvert_8u16s_Sfs which can do this, but it does not exist for these data types.&lt;BR /&gt;&lt;BR /&gt;Can you suggest the most efficient way of doing this ? I need to do this repeatedly for huge arrays.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Apr 2008 23:01:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsConvert-8u16s-Sfs-not-available/m-p/895453#M11994</guid>
      <dc:creator>Anirudh</dc:creator>
      <dc:date>2008-04-29T23:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: IppsConvert_8u16s_Sfs not available?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppsConvert-8u16s-Sfs-not-available/m-p/895454#M11995</link>
      <description>&lt;P&gt;int Step = 8192; /*or other*/ &lt;/P&gt;
&lt;P&gt;for ( i = 0; ( i + Step) &amp;lt;= HugeArrayLength; i += Step ) {&lt;/P&gt;
&lt;P&gt;ippsConvert_8s16s( (Ipp8s *)HugeSrcArray8u, HugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt;ippsLShiftC_16s_I( 8, HugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt; HugeSrcArray8u += Step;&lt;/P&gt;
&lt;P&gt;HugeDstArray16s += Step;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Step = HugeArrayLength - i;&lt;/P&gt;
&lt;P&gt;if ( Step &amp;gt; 0 ) {&lt;/P&gt;
&lt;P&gt;ippsConvert_8s16s( (Ipp8s HugeSrcArray8u,ugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt;ippsLShiftC_16s_I( 8, HugeDstArray16s, Step );&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2008 07:48:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppsConvert-8u16s-Sfs-not-available/m-p/895454#M11995</guid>
      <dc:creator>Ivan_Z_Intel</dc:creator>
      <dc:date>2008-04-30T07:48:56Z</dc:date>
    </item>
  </channel>
</rss>

