EP1575032A2

Lossless audio coding/decoding method and apparatus

Abstract

A lossless audio coding and/or decoding method and apparatus are provided. The coding method includes: mapping the audio signal in the frequency domain having an integer value into a bit-plane signal with respect to the frequency; obtaining a most significant bit and a Golomb parameter for each bit-plane; selecting a binary sample on a bit-plane to be coded in the order from the most significant bit to the least significant bit and from a lower frequency component to a higher frequency component; calculating the context of the selected binary sample by using significances of already coded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the selected binary sample belongs; selecting a probability model by using the obtained Golomb parameter and the calculated contexts; and lossless-coding the binary sample by using the selected probability model. According to the method and apparatus, a compression ratio better than that of the bit-plane Golomb code (BPGC) is provided through context-based coding method having optimal performance.

EP1575032A2, drawing sheet 1
Sheet 1 of 17

Term

Term ended

Projected expiry passed 10 March 2025, 1.5 years ago.

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

57 claims: 15 independent, 42 dependent

  1. 1
    A lossless audio coding method comprising:mapping the audio spectral signal in the frequency domain having an integer value into a bit-plane signal with respect to the frequency;obtaining a most significant bit and a Golomb parameter for each bit-plane;selecting a binary sample on a bit-plane to be coded in the order from the most significant bit to the least significant bit and from a lower frequency component to a higher frequency component;calculating the context of the selected binary sample by using significances of already coded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the selected binary sample belongs;selecting a probability model of the binary sample by using the obtained Golomb parameter and the calculated contexts;and lossless-coding the binary sample by using the selected probability model.
  2. 4
    The method of any preceding claim, wherein in the calculating of the context of the selected binary sample, the significances of already coded samples of bit-planes on each identical frequency line in a plurality of frequency lines existing before a frequency line to which the selected binary sample belongs are obtained;a ratio on how many lines among the plurality of frequency lines have significance is expressed in an integer, by multiplying the ratio by a predetermined integer value;and then, the context value of the binary sample is calculated by using the integer.
  3. 5
    The method of any preceding claim, wherein the calculating of the context of the selected binary sample comprise;calculating a first context by using the significances of already coded samples of bit-plane on each identical frequency line in a plurality of frequency lines existing in the vicinity of a frequency line to which a sample to be coded belongs;and calculating a second context by using the significances of already coded samples of bit-planes on each identical frequency line in a plurality of frequency lines before a frequency line to which a sample to be coded belongs.
  4. 6
    The method of any preceding claim, wherein some binary samples on the bit-plane are coded with probability of 0.5.
  5. 7
    The method of any preceding claim, further comprising transforming an audio signal in the time domain into an audio spectral signal in the frequency domain having an integer value.
  6. 8
    A lossless audio coding method comprising:scaling the audio spectral signal in the frequency having an integer value domain to be used as an input signal of a lossy coder;lossy compression coding the scaled frequency signal;obtaining an error mapped signal corresponding to the difference of the lossy coded data and the audio spectral signal in the frequency domain having an integer value;lossless-coding the error mapped signal by using a context obtained based on the significances of already coded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the error mapped signal belongs;and generating a bitstream by multiplexing the lossless coded signal and the lossy coded signal.
  7. 14
    The method of any of claims 10 to 13, wherein some binary samples on the bit-plane are coded with probability of 0.5.
  8. 15
    The method of any of claims 8 to 14, further comprising transforming an audio signal in the time domain into an audio spectral signal in a frequency domain having an integer value.
  9. 16
    A lossless audio coding apparatus comprising:a bit-plane mapping unit arranged to map the audio signal in the frequency domain having an integer value into bit-plane data with respect to the frequency;a parameter obtaining unit arranged to obtain a most significant bit and a Golomb parameter for the bit-plane;a binary sample selection unit arranged to select a binary sample on a bit-plane to be coded in the order from the most significant bit to the least significant bit and from a lower frequency component to a higher frequency component;a context calculation unit arranged to calculate the context of the selected binary sample by using significances of already coded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the selected binary sample belongs;a probability model selection unit arranged to select a probability model of the binary sample by using the obtained Golomb parameter and the calculated contexts;and a binary sample coding unit arranged to lossless-code the binary sample by using the selected probability model.
  10. 22
    A lossless audio coding apparatus comprising:a scaling unit arranged to scale the audio spectral signal in the frequency domain having an integer value to be used as an input signal of a lossy coder;a lossy coding unit arranged to lossy compression code the scaled frequency signal;an error mapping unit arranged to obtain the difference of the lossy coded signal and the signal of the integer time/frequency transform unit;a lossless coding unit arranged to lossless-code the error mapped signal by using a context obtained based on the significances of already coded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the error mapped signal belongs;and a multiplexer arranged to generate a bitstream by multiplexing the lossless coded signal and the lossy coded signal.
  11. 27
    The apparatus of any of claims 22 to 26, further comprising an integer time/frequency transform unit transforming an audio signal in the time domain into an audio spectral signal in the frequency domain having an integer value.
  12. 28
    A lossless audio decoding method comprising:obtaining a Golomb parameter from a bitstream of audio data;selecting a binary sample to be decoded in the order from a most significant bit to a least significant bit and from a lower frequency to a higher frequency;calculating the context of a binary sample to be decoded by using the significances of already decoded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the binary sample to be decoded belongs;selecting a probability model of the binary sample by using the Golomb parameter and the context;performing arithmetic-decoding by using the selected probability model;and repeatedly performing the operations from the selecting of a binary sample to be decoded to the arithmetic decoding until all samples are decoded.
  13. 32
    The method of any of claims 28 to 31, wherein the calculating of the context comprises:calculating a first context by using the significances of already decoded samples of bit-plane on each identical frequency line in a plurality of frequency lines existing in the vicinity of a frequency line to which a sample to be decoded belongs;and calculating a second context by using the significances of already decoded samples of bit-planes on each identical frequency line in a plurality of frequency lines before a frequency line to which a sample to be decoded belongs.
  14. 33
    The method of any of claims 28 to 32, some binary samples on the bit-plane are decoded with probability of 0.5.
  15. 34
    A lossless audio decoding method wherein the difference of lossy coded audio data and an audio spectral signal in the frequency domain having an integer value is referred to as error data, the method comprising:extracting a lossy bitstream lossy-coded in a predetermined method and an error bitstream of the error data, by demultiplexing an audio bitstream;lossy-decoding the extracted lossy bitstream in a predetermined method;lossless-decoding the extracted error bitstream, by using a context based on the significances of already decoded samples of bit-planes on each identical line of a plurality of frequency lines existing in the vicinity of a frequency line to which a sample to be decoded belongs;and restoring a frequency spectral signal by using the decoded lossy bitstream and error bitstream;and restoring an audio signal in the time domain by inverse integer time/frequency transforming the frequency spectral signal.
  16. 40
    The method of any of claims 36 to 39, in which some binary samples on the bit-plane are decoded with probability of 0.5.
  17. 41
    The method of any of claims 34 to 40, further comprising restoring an audio signal in the time domain by inverse integer time/frequency transforming the frequency spectral signal.
  18. 42
    A lossless audio decoding apparatus comprising:a parameter obtaining unit arranged to obtain a Golomb parameter from a bitstream of audio data;a sample selection unit arranged to select a binary sample to be decoded in the order from a most significant bit to a least significant bit and from a lower frequency to a higher frequency;a context calculation unit arranged to calculate the context of a binary sample to be decoded by using the significances of already decoded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the binary sample to be decoded belongs;a probability model selection unit arranged to select a probability model by using the Golomb parameter and the context;and an arithmetic decoding unit arranged to perform arithmetic-decoding by using the selected probability model.
  19. 46
    A lossless audio decoding apparatus wherein the difference of lossy coded audio data and an audio spectral signal in the frequency domain having an integer value is referred to as error data, the apparatus comprising:a demultiplexing unit arranged to extract a lossy bitstream lossy-coded in a predetermined method and an error bitstream of the error data, by demultiplexing an audio bitstream;a lossy decoding unit arranged to lossy-decode the extracted lossy bitstream in a predetermined method;a lossless decoding unit arranged to lossless-decode the extracted error bitstream, by using a context based on the significances of already decoded samples of bit-planes on each identical line of a plurality of frequency lines existing in the vicinity of a frequency line to which a sample to be decoded belongs;and an audio signal synthesis unit arranged to restore a frequency spectral signal by synthesizing the decoded lossy bitstream and error bitstream.
  20. 50
    The apparatus of any of claims 46 to 49, wherein in the significance, the significance is '1' if there is at least one '1' in already decoded bit-planes on each identical frequency line in a plurality of frequency lines existing in the vicinity of a frequency line to which the selected binary sample belongs, and if there is no '1', the significance is '0'.
  21. 51
    The apparatus of any of claims 46 to 50, wherein the lossless decoding unit comprises:a parameter obtaining unit arranged to obtain a Golomb parameter from a bitstream of audio data;a sample selection unit arranged to select a binary sample to be decoded in the order from a most significant bit to a least significant bit and from a lower frequency to a higher frequency;a context calculation unit arranged to calculate the context of the selected binary sample by using the significances of already coded bit-planes for each of a plurality of frequency lines existing in the vicinity of a frequency line to which the selected binary sample belongs;a probability model selection unit arranged to select a probability model of the binary sample by using the Golomb parameter and context;and an arithmetic decoding unit arranged to perform arithmetic-decoding by using the selected probability model.
Independent claims21