Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Noga_Tal
Beginner
65 Views

Getting ippStsRangeErr when calling ippsRSEncodeInit_8u

Hi,

I'm using IPP 7.0 for Linux to do encoding with the Reed Solomon library.

When I set feBitSize = 3, there are no problems, and encoding works fine.

But when I set feBitSize = 8, I get:
ippStsRangeErr: Bad values of bounds: the lower bound is greater than the upper bound
when calling the function ippsRSEncodeInit_8u.

The generator polynomial is {1, 0, 1, 1, 1, 0, 0, 0, 1}
root = 1
codeLength = 7
dataLength = 5

Therefore:
256 = orderof(GF) > codeLength > dataLength.

Am I missing something?

Thanks!

Noga Tal.
0 Kudos
2 Replies
Chao_Y_Intel
Employee
65 Views

Hello,

Please find some comment on some expert on this question:

The classic variant of RS code has the following parameters:
Block length (length of code word): n = q-1
Message length: k
Alphabet size q = 2^m

If the code has n<(q-1), actually it is some "shorted" RS codes. For such "short" code, IPP does not support.

Thanks,
Chao

Noga_Tal
Beginner
65 Views

Thank you for the quick answer!

Can you please refer me to the expert's comment?
I couldn't find it.

Thanks,
Noga.
Reply