Nova Patents
AU2018200552B2

Encoding method and apparatus

Abstract

Embodiments of the present invention provide an encoding method and apparatus, which relate to the communications field and can perform proper quantization bit allocation for spectral coefficients of an audio signal, thereby improving quality of a signal obtained by a decoder by means of decoding. The method includes: after splitting spectral coefficients of a current data frame into subbands, acquiring quantized frequency envelope values of the subbands; modifying quantized frequency envelope values of subbands of a first quantity in the subbands; allocating quantization bits to the subbands according to modified quantized frequency envelope values of the subbands of the first quantity; quantizing a spectral coefficient of a subband to which a quantization bit is allocated in the subbands; and writing the quantized spectral coefficient of the subband to which a quantization bit is allocated into a bitstream. After an encoder splits spectral coefficients of a current data Si01 frame into subbands, the encoder acquires quantization frequency envelope values of the subbands The encoder modifies quantization frequency envelope values of S102 subbands of a erst quantity in the subbands The encoder allocates quantization bits to the subbands - S0 according to modified quantization frequency envelope values CS0 of the subbands of the first quantity The encoder quantizes a spectral coefficient of a subband to ,--S104 which a quantization bit is allocated in the subbands The encoder writes the quantized spectral coefficient of the subband to which a quantization bit is allocated into a bitstream S105

AU2018200552B2, drawing sheet 1
Sheet 1 of 7

Term

11.3 yearsleft in the term

Expires 23 January 2038.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

5 claims: 1 independent, 4 dependent

  1. 1
    CLAIMS 1. An audio signal encoding method, comprising:splitting, by an encoder, spectral coefficients of a current frame of an audio signal into plurality of subbands;5 quantizing, by the encoder, energy envelope for each of the plurality of subbands to obtain initial quantized energy envelope for each of the plurality of subbands;adjusting, by the encoder, quantized energy envelopes of some subbands of the plurality of subbands, wherein the some subbands comprises a subband having a highest frequency in the plurality of subbands and a subband consecutive to the 10 subband having the highest frequency;performing, by the encoder, bit allocation based on the adjusted quantized energy envelopes of the some subbands and the initial quantized energy envelope of each subband besides the some subbands in the plurality of subbands;and quantizing, by the encoder, a spectral coefficient of a subband to which at least 15 one bit is allocated after the bit allocation, wherein the quantized spectral coefficient of the subband to which at least one bit is allocated after the bit allocation is used for writing into a bitstream.