Abstract: |
This invention discloses a method for an adaptive variable-length decoding based on the context controlled by a controller including decoding five grammar elements: beginning from coeff token, numbers of total coeff of non-zero factors and trailing ones of trailing one, decoding trailing one sign, the symbol of trailing one, level, the amplitude of the left non-zero coefficient, decoding of total zeros, the number of zero before the last non-zero coefficient, run before decoding number of zero from the last non-zero coefficient to the front non-zero coefficient, in which, coeff token decoding applies a multi-ID number distribution method based on the packet rule or a storage conversion method and decoding of total zeros applies the multi-ID number distribution method based on the packet rule or a code word merging method based on the relation of the code words after packet. |