Patent ID: 7613269

Claim:
A method of calculating equal error protection (EEP) profiles, suitable for calculating the EEP profiles according to a size function x=a*n and a profile function y=b*n+c, wherein a, b and n are positive integers and c is an integer, and using the EEP profiles to decode a stream of data at a bit rate, comprising: using a receiver to receive a protection level and a size value S of a sub-channel size, wherein S=a*n and S is a positive integer; setting b/a=z*2 m so that the profile function is represented by y=(z*2 m )*S+c and using a calculating unit to obtain the values of z and m, wherein m is an integer and z is any number greater than zero; and using the calculating unit to calculate (z*2 m )*S+c and obtain a profile y, wherein if m=0, then the size value S is directly used in the calculation, if m>0, then a shifter is used to shift the bits of the size value S forward by |m| digits, and if m<0, then a shifter is used to shift the bits of the size value S backward by |m| digits.