Encoding method and apparatus
First Claim
Patent Images
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;
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 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 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.
1 Assignment
0 Petitions
Accused Products
Abstract
Present disclosure provide an audio signal encoding method and encoder, which relate to the communications field and can perform proper bit allocation for spectral coefficients of an audio signal. The method includes: splitting spectral coefficients of a current frame into subbands, acquiring quantized energy envelopes of the subbands; adjusting quantized energy envelopes values of some subbands; perform bit allocation according to adjusted quantized energy envelopes of the some subbands; quantizing a spectral coefficient of a subband to which at least one bit is allocated after the bit allocation.
41 Citations
28 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; 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 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 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An audio signal encoder, comprising:
-
a memory; and a processor coupled to the memory and configured to; split spectral coefficients of a current frame of an audio signal into plurality of subbands; quantize energy envelope for each of the plurality of subbands to obtain initial quantized energy envelope for each of the plurality of subbands; adjust 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 subband having the highest frequency; perform 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 quantize a spectral coefficient of a subband to which at least 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. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A non-transitory computer-readable storage medium storing computer instructions, that when executed by one or more processors, cause the one or more processors to perform the steps of:
-
splitting spectral coefficients of a current frame of an audio signal into plurality of subbands; quantizing energy envelope for each of the plurality of subbands to obtain initial quantized energy envelope for each of the plurality of subbands; adjusting 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 subband having the highest frequency; performing 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 a spectral coefficient of a subband to which at least 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. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28)
-
Specification