Patent ID: 7222283

Claim:
“A method of transmitting signals comprising the steps of: receiving signals to be transmitted; source encoding said signals to build a variable length error code; channel encoding the variable length error code; and transmitting the channel encoded variable length error code, wherein said step of source encoding said signals to build the variable length error code, comprises the sub-steps of:” (1) initializing the needed parameters: minimum and maximum length of codewords L 1 and Lmax respectively, free distance d free between each codeword (said distance d free being for a VLEC code C the minimum Hamming distance in the set of all arbitrary extended codes), required number of codewords S; (2) generating a fixed length code C of length L 1 and minimal distance b min , with b min =min (bk; k=1,2, . . . , R), bk=the distance associated to the codeword length Lk of code C and defined as the minimum Hamming distance between all codewords of C with length Lk, and R=the number of different codeword lengths in C, said generating step 11 creating a set W of n-bit long words distant of d; (3) listing and storing in the set W all the possible L 1 -tuples at the distance of dmin from the codewords of C (said distance dmin for a VLEC code C being the minimum value of all the diverging distances between all possible couples of different-length codewords of C, and, in the case where no word is found or the maximum number of bits is reached, reducing a constraint of distance for finding more words and deleting one or more codewords of a last group, otherwise doubling the number of words in W by affixing at the end of all words one extra bit, said storing step therefore replacing the set W by a new one having twice more words than the previous one and the length of each one of these words being L 1 +1; (4) deleting all the words of the set W that do not satisfy the cmin distance With all codewords of C, said distance c min being the minimum converging distance of the code C; (5) in the case where no word is found following acts 3 and 4, delecting codewords of the last group, otherwise controlling that all words of the set W are distant of bmin, the found words being then added to the code C; (6) if the required number of codewords has not been reached, repeating the acts (1) to (5) until the method finds either no further possibility to continue or the required number of codewords has been reached; (7) if the number of codewords of C is greater than S calculating, on the basis of the structure of the VLEC code, the average length AL obtained by weighting each codeword length with the probability of the source, said AL becoming the ALmin, if it is lower than ALmin, with ALmin=the minimum value of AL, and the corresponding code structure being kept in memory; said building method being moreover such that at most one bit is added at the end of each word of the set W.