<?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 RS Decoder in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/RS-Decoder/m-p/821880#M4813</link>
    <description>I am using the RS Decoder function groups. &lt;BR /&gt;&lt;BR /&gt;Currently, I have these questions and can't find in the IPPSman.pdf document.&lt;BR /&gt;&lt;BR /&gt;1) How can I know the result of RsDecode? I mean how many bits have corrected? or RSDecode fail to decode.&lt;BR /&gt;&lt;BR /&gt;2) How can I use the ErasereList?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;----------------&lt;BR /&gt;Ps, the document only show these words:&lt;BR /&gt;This function is declared in the ippdi.h file. The function performs RS decoding defined by the&lt;BR /&gt;context pRS for the systematic code in the given codeword and stores the result back at the&lt;BR /&gt;address of pCodeWord. The RS decoders ippsRSDecodeBM and ippsRSDecodeEE implement&lt;BR /&gt;the Berlekamp-Massey (BM) and Extended Euclidean (EE) decoding algorithms, respectively.&lt;BR /&gt;The work buffer pointed by pBuffer must have size not less than the respective function&lt;BR /&gt;ippsRSDecodeBMGetBufferSize or ippsRSDecodeEEGetBufferSize returns.</description>
    <pubDate>Tue, 11 May 2010 20:36:06 GMT</pubDate>
    <dc:creator>Yudong_Fang</dc:creator>
    <dc:date>2010-05-11T20:36:06Z</dc:date>
    <item>
      <title>RS Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/RS-Decoder/m-p/821880#M4813</link>
      <description>I am using the RS Decoder function groups. &lt;BR /&gt;&lt;BR /&gt;Currently, I have these questions and can't find in the IPPSman.pdf document.&lt;BR /&gt;&lt;BR /&gt;1) How can I know the result of RsDecode? I mean how many bits have corrected? or RSDecode fail to decode.&lt;BR /&gt;&lt;BR /&gt;2) How can I use the ErasereList?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;----------------&lt;BR /&gt;Ps, the document only show these words:&lt;BR /&gt;This function is declared in the ippdi.h file. The function performs RS decoding defined by the&lt;BR /&gt;context pRS for the systematic code in the given codeword and stores the result back at the&lt;BR /&gt;address of pCodeWord. The RS decoders ippsRSDecodeBM and ippsRSDecodeEE implement&lt;BR /&gt;the Berlekamp-Massey (BM) and Extended Euclidean (EE) decoding algorithms, respectively.&lt;BR /&gt;The work buffer pointed by pBuffer must have size not less than the respective function&lt;BR /&gt;ippsRSDecodeBMGetBufferSize or ippsRSDecodeEEGetBufferSize returns.</description>
      <pubDate>Tue, 11 May 2010 20:36:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/RS-Decoder/m-p/821880#M4813</guid>
      <dc:creator>Yudong_Fang</dc:creator>
      <dc:date>2010-05-11T20:36:06Z</dc:date>
    </item>
    <item>
      <title>RS Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/RS-Decoder/m-p/821881#M4814</link>
      <description>Hello Yudong, &lt;BR /&gt;&lt;BR /&gt;According to the RS decoding algorithm,theexpected error-correctingability ist,t = (codeLength - dataLength)/2,iferror bit &amp;gt;t, then no guarantee. So in generall, t bit should be corrected when the functionRSDecode returnippStsNoErr.Butif you feed the code with error bit exceed the t,the functionRSDecoder just go toprocess, don't report error.So the user need to check the erroroneself. &lt;BR /&gt;&lt;BR /&gt;Here is sampe for use the Eraserlist for your reference, &lt;BR /&gt;&lt;P&gt;int codeLength=7;&lt;BR /&gt;int dataLength=5;&lt;BR /&gt;//correct code ={0,1,2,3,4,4,0}&lt;BR /&gt;Ipp8u pCodeWord[7] ={0, 7, 2, 3, 4, 4,0};&lt;/P&gt;&lt;P&gt;int pSize=0, pBufferSize=0;&lt;BR /&gt;&lt;BR /&gt;// withour errorList&lt;BR /&gt;//const int *pErasureList=NULL;&lt;BR /&gt;// int erasureListLength=0;&lt;/P&gt;&lt;P&gt;const int pErasureList[] = {1}; // the positionwhere wrongbit occurs&lt;BR /&gt;int erasureListLength=1;&lt;BR /&gt;&lt;BR /&gt;IppStatus status;&lt;BR /&gt;int maxDegree=4;&lt;BR /&gt;int pGFSize;&lt;BR /&gt;IppsGFSpec_8u* pGF=NULL;&lt;BR /&gt;int feBitSize=3;&lt;BR /&gt;const Ipp8u pPolynomial[5]={1,1,0,1,1};&lt;BR /&gt;Ipp8u root=1;&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;/P&gt;&lt;P&gt; status=ippsGFInit_8u(feBitSize, pPolynomial,pGF);&lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;/P&gt;&lt;P&gt; status=ippsRSDecodeGetSize_8u(codeLength, dataLength, &amp;amp;pSize); &lt;BR /&gt; printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;IppsRSDecodeSpec_8u* pRS = (IppsRSDecodeSpec_8u *) malloc(pSize);&lt;/P&gt;&lt;P&gt;status=ippsRSDecodeInit_8u(codeLength, dataLength, pGF, root, pRS);&lt;BR /&gt;printf("%s\n", ippGetStatusString(status));&lt;BR /&gt;status=ippsRSDecodeBMGetBufferSize_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=ippsRSDecodeBM_8u(pErasureList, erasureListLength, pCodeWord, pRS, pBuffer);&lt;BR /&gt;printf("%s\n", ippGetStatusString(status));&lt;/P&gt;&lt;P&gt;printf(" output\n");&lt;BR /&gt;for(int n=0; n&lt;DATALENGTH&gt;&lt;/DATALENGTH&gt;{&lt;BR /&gt;printf("%d\n", pCodeWord&lt;N&gt;);&lt;BR /&gt; &lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;printf(" ok\n" );&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;See somematlab documentation from Mathworks website&lt;BR /&gt;&lt;A href="http://www.mathworks.com/support/solutions/en/data/1-716Z2P/?solution=1-716Z2P"&gt;http://www.mathworks.com/support/solutions/en/data/1-716Z2P/?solution=1-716Z2P&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Ying&lt;/N&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2010 08:43:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/RS-Decoder/m-p/821881#M4814</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-05-12T08:43:38Z</dc:date>
    </item>
    <item>
      <title>RS Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/RS-Decoder/m-p/821882#M4815</link>
      <description>Where from came polynom 11011???</description>
      <pubDate>Sun, 31 Oct 2010 11:52:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/RS-Decoder/m-p/821882#M4815</guid>
      <dc:creator>Efim_Zabarsky</dc:creator>
      <dc:date>2010-10-31T11:52:21Z</dc:date>
    </item>
  </channel>
</rss>

