摘要 |
A method for decoding elements is disclosed. The method decodes at least a part of the binary stream into a set of elements on the basis of first and second decoding parameters CodlOffset0 and CodIRange, the set of elements comprising a prefix composed of n first elements and a suffix comprising m second elements, the prefix and the suffix being separated by an element called a pivot. The method comprises: determining the value of n on the basis of the first and second decoding parameters and of the values of k consecutive bits of the binary stream, termed k first bits, so as to deduce therefrom the prefix and the value of m; and determining the suffix on the basis of the first and second decoding parameters and of the values of m consecutive bits which follow the n first bits of the k first bits. |