<?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 Using ippsRSEncode_8u in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippsRSEncode-8u/m-p/796641#M2815</link>
    <description>&lt;P&gt;Hello Efim, &lt;BR /&gt;&lt;BR /&gt;If you have every parameterrequired by ippsRSEncode ready, you may have just go ahead to call it. &lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt;&lt;BR /&gt;status=ippsGFGetSize_8u(feBitSize, &amp;amp;pGFSize);&lt;BR /&gt;printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;pGF = (IppsGFSpec_8u *) malloc(pGFSize);&lt;BR /&gt; status=ippsGFInit_8u(feBitSize, pPolynomial,pGF);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;/P&gt;&lt;P&gt;status=ippsRSEncodeGetSize_8u(codeLength, dataLength, &amp;amp;pSize); &lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;IppsRSEncodeSpec_8u* pRS = (IppsRSEncodeSpec_8u *) malloc(pSize);&lt;/P&gt;&lt;P&gt;status=ippsRSEncodeInit_8u(codeLength, dataLength, pGF, root, pRS);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt; status=ippsRSEncodeGetBufferSize_8u(pRS, &amp;amp;pBufferSize);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt; Ipp8u* pBuffer=(Ipp8u *)malloc(pBufferSize);&lt;BR /&gt; status=ippsRSEncode_8u(pMsg, pCodeWord, pRS, pBuffer);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;.&lt;/P&gt;&lt;P align="left"&gt;weprepared forsome easy application based on ippDI internally. I will attach them by privacy thread. &lt;BR /&gt;(For who are intetresting in the codec too, pleasefollow the thread) &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ying &lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2010 07:54:03 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2010-12-07T07:54:03Z</dc:date>
    <item>
      <title>Using ippsRSEncode_8u</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippsRSEncode-8u/m-p/796640#M2814</link>
      <description>Hello&lt;BR /&gt;I try learn IPP data integrity area...&lt;BR /&gt;&lt;BR /&gt;i wrote some code in C++:&lt;BR /&gt;&lt;BR /&gt;void main()&lt;BR /&gt;{&lt;BR /&gt; IppStatus status;&lt;BR /&gt; int feBitSize = 3;               // Size of the field element (in bits).&lt;BR /&gt;&lt;BR /&gt; int pGFSize;                // Size of the buffer to be allocated by the application and used in &lt;BR /&gt;                    // future as the context of the finite field GF(2feBitzise)&lt;BR /&gt;&lt;BR /&gt; status = ippsGFGetSize_8u(feBitSize, &amp;amp;pGFSize);        // Gets the size of the IppsGFSpec_8u context in bytes.&lt;BR /&gt; printf("%s\\n", ippGetStatusString(status));&lt;BR /&gt;&lt;BR /&gt; IppsGFSpec_8u* pGF = (IppsGFSpec_8u *) malloc(pGFSize);      // Pointer to the finite field context to be initialized.&lt;BR /&gt; const Ipp8u pPolynomial[5] = {1,1,0,1,1};         // Pointer to the polynomial generating the finite field.&lt;BR /&gt; status = ippsGFInit_8u(feBitSize, pPolynomial, pGF);      // Initializes user-supplied memory as IppsGFSpec_8u context for future use.&lt;BR /&gt; printf("%s\\n", ippGetStatusString(status));&lt;BR /&gt;&lt;BR /&gt; int codeLength = 7;               // The desired codeword length.&lt;BR /&gt; int dataLength = 5;               // The desired data length.&lt;BR /&gt; int pSize = 0;                // Pointer to the size of the context (in bytes).&lt;BR /&gt; status = ippsRSEncodeGetSize_8u(codeLength, dataLength, &amp;amp;pSize);   // Gets the size of the ippsRSEncodeSpec_8u context in bytes.&lt;BR /&gt; printf("%s\\n", ippGetStatusString(status));&lt;BR /&gt;&lt;BR /&gt; Ipp8u root = 1;                // The root of the (first) minimal polynomial over GF.&lt;BR /&gt; IppsRSEncodeSpec_8u* pRS = (IppsRSEncodeSpec_8u *) malloc(pSize);   // Pointer to the user-supplied buffer to be initialized as the IppsRSEncodeSpec_8u context.&lt;BR /&gt; status = ippsRSEncodeInit_8u(codeLength, dataLength, pGF, root, pRS);  // Initializes user-supplied memory as the IppsRSEncodeSpec_8u context for future use.&lt;BR /&gt; printf("%s\\n", ippGetStatusString(status));&lt;BR /&gt;&lt;BR /&gt; int pBufferSize = 0;              // Pointer to the size of the work buffer (in bytes).&lt;BR /&gt; status = ippsRSEncodeGetBufferSize_8u(pRS, &amp;amp;pSize);       // Gets the size of a work buffer for the encoding operation.&lt;BR /&gt; printf("%s\\n", ippGetStatusString(status));&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;now how i use the ippsRSEncode_8u function???&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Sun, 31 Oct 2010 08:13:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippsRSEncode-8u/m-p/796640#M2814</guid>
      <dc:creator>Efim_Zabarsky</dc:creator>
      <dc:date>2010-10-31T08:13:35Z</dc:date>
    </item>
    <item>
      <title>Using ippsRSEncode_8u</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippsRSEncode-8u/m-p/796641#M2815</link>
      <description>&lt;P&gt;Hello Efim, &lt;BR /&gt;&lt;BR /&gt;If you have every parameterrequired by ippsRSEncode ready, you may have just go ahead to call it. &lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt;&lt;BR /&gt;status=ippsGFGetSize_8u(feBitSize, &amp;amp;pGFSize);&lt;BR /&gt;printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;pGF = (IppsGFSpec_8u *) malloc(pGFSize);&lt;BR /&gt; status=ippsGFInit_8u(feBitSize, pPolynomial,pGF);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;/P&gt;&lt;P&gt;status=ippsRSEncodeGetSize_8u(codeLength, dataLength, &amp;amp;pSize); &lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;IppsRSEncodeSpec_8u* pRS = (IppsRSEncodeSpec_8u *) malloc(pSize);&lt;/P&gt;&lt;P&gt;status=ippsRSEncodeInit_8u(codeLength, dataLength, pGF, root, pRS);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt; status=ippsRSEncodeGetBufferSize_8u(pRS, &amp;amp;pBufferSize);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt; Ipp8u* pBuffer=(Ipp8u *)malloc(pBufferSize);&lt;BR /&gt; status=ippsRSEncode_8u(pMsg, pCodeWord, pRS, pBuffer);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;.&lt;/P&gt;&lt;P align="left"&gt;weprepared forsome easy application based on ippDI internally. I will attach them by privacy thread. &lt;BR /&gt;(For who are intetresting in the codec too, pleasefollow the thread) &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ying &lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2010 07:54:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippsRSEncode-8u/m-p/796641#M2815</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-12-07T07:54:03Z</dc:date>
    </item>
  </channel>
</rss>

