EP1142130A1

Entropy code mode switching for frequency-domain audio coding

Abstract

A frequency-domain audio coder selects among different entropy coding modes according to characteristics of an input stream. In particular, the input stream is partitioned into frequency ranges according to some statistical criteria derived from a statistical analysis of typical or actual input to be encoded. Each range is assigned an entropy encoder optimized to encode that range's type of data. During encoding and decoding, a mode selector applies the correct entropy method to the different frequency ranges. Partition boundaries can be decided in advance, allowing the decoder to implicitly know which decoding method to apply to encoded data. Or, adaptive arrangements may be used, in which boundaries are flagged in the output stream by indicating a change in encoding mode for subsequent data. For example, one can create a partition boundary which separates out primarily zero quantized frequency coefficients, from primarily non-zero quantized coefficients, and then apply a coder optimized for such data. An overall more efficient process is achieved by basing coding methods according to the properties of the input data. In practice, the number of partitions and frequency ranges will vary according to the type of data to be encoded and decoded.

Term

Term ended

Projected expiry passed 7 December 2019, 6.8 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

28 claims: 7 independent, 21 dependent

  1. 1
    Claims of equivalent WO 0036754 A1 What is claimed is:1 . A method of encoding a sequence of audio data frequency coefficients with two or more different entropy encoders, the method comprising: partitioning a frequency range for the sequence of audio data frequency coefficients into at least first and second sub-ranges, such partitioning made according to statistical analysis identifying which entropy encoder will achieve better coding efficiency for each sub-range;encoding the first sub-range with a first entropy encoder;and encoding the second sub-range with a second entropy encoder.
  2. 16
    A method of decoding a sequence of encoded audio frequency coefficients with two or more different entropy encoders, the method comprising:receiving a coded audio input sequence having a frequency range partitioned into at least a first and a second sub-range, each sub-range having an associated entropy decoder;and decoding data in each sub-range with the associated decoder.
  3. 21
    A method of entropy encoding a sequence of audio data frequency coefficients audio data symbols with at least two different entropy encoders, such data symbols having a minimum and a maximum amplitude, the method comprising:preparing a first code book for the first entropy encoder;preparing a second code book for the second entropy encoder according to optimizing for encoding repeating spectral coefficient intensities at or near a fixed value;partitioning a frequency range for the sequence of audio data frequency coefficients into at least first and second sub-ranges, such partitioning made according to a statistical analysis identifying which entropy encoder will achieve better coding efficiency for each sub-range;encoding each sub-range with an appropriate entropy encoder.
  4. 24
    A method of encoding a sequence of time-domain audio data symbols with two or more different entropy encoders into an output data stream, each encoder optimized for data sharing a particular value characteristic such as being non- zero, or being at or near a fixed intensity value, the method comprising:converting the time-domain data symbols into frequency domain data;reducing the frequency domain data according to a psychoacoustic model;quantizing the reduced frequency domain data;selecting an entropy encoder to apply to the quantized data;and encoding the quantized data with the selected entropy encoder.
  5. 25
    A method of encoding an arbitrarily long series of audio input symbols having spectral coefficients within a frequency range, the method comprising:calculating the probability of spectral coefficients having near zero values;partitioning the frequency range into a first and a second sub-range to group input symbols having primarily non-zero coefficients into the first sub-range, and input symbols having primarily zero coefficients into the second sub-range;encoding the first range with a variable-to-variable entropy encoder;and encoding the second range with a run-length entropy encoder.
  6. 26
    A system for encoding an input signal with multiple encoding methods according to characteristics of the input signal, the system comprising:an input for receiving a time-domain audio input signal;a signal transformer for converting the time-domain audio signal to a frequency-domain audio signal;a quantizer for converting the frequency-domain signal into quantized symbols;and a mode selector for selecting an entropy encoder for the quantized symbols.
  7. 27
    A system for encoding an input signal with multiple encoding methods according to characteristics of the input signal, the system comprising:means for receiving a time-domain audio input signal;means for converting the time-domain audio signal to a frequency- domain audio signal;means for quantizing the frequency-domain signal into quantized symbols;and means for selecting an entropy encoder for the quantized symbols.