Frequency envelope vector quantization method and apparatus
First Claim
1. A method of quantizing frequency envelops of an audio signal, for use by an audio signal encoder, comprising:
- obtaining N frequency envelopes of a frame of the audio signal, wherein N is a positive integer;
organizing the N frequency envelopes into N1 groups, wherein each group comprises M frequency envelopes, and wherein N1 and M are positive integers, M is greater than or equal to 2, and N is greater than N1;
quantizing a first group of frequency envelopes to obtain a first vector by using a first codebook wherein the first codebook has 2B code words and each code word corresponds to a vector, wherein the first codebook is divided into 2B1 portions, and wherein B is a positive integer greater than or equal to 2, and B1 is a positive integer greater than or equal to 1;
determining that a code word corresponding to the first vector is in the ith portion of the first codebook, wherein i is a positive integer greater than or equal to 1 and less than or equal to 2B1;
determining a second codebook according to the ith portion of the first codebook; and
quantizing a second group of frequency envelopes by using the second codebook.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present application proposes a frequency envelope vector quantization method and apparatus, where the method includes: dividing N frequency envelopes in one frame into N1 vectors; quantizing a first vector in the N1 vectors by using a first codebook, to obtain a code word corresponding to the quantized first vector, where the first codebook is divided into 2B1 portions; determining, according to the code word corresponding to the quantized first vector; determining a second codebook according to the codebook of the ith portion; and quantizing a second vector in the N1 vectors based on the second codebook. In the embodiments of the present application, vector quantization can be performed on frequency envelope vectors by using a codebook with a smaller quantity of bits. Therefore, complexity of vector quantization can be reduced, and an effect of vector quantization can also be ensured.
-
Citations
12 Claims
-
1. A method of quantizing frequency envelops of an audio signal, for use by an audio signal encoder, comprising:
-
obtaining N frequency envelopes of a frame of the audio signal, wherein N is a positive integer; organizing the N frequency envelopes into N1 groups, wherein each group comprises M frequency envelopes, and wherein N1 and M are positive integers, M is greater than or equal to 2, and N is greater than N1; quantizing a first group of frequency envelopes to obtain a first vector by using a first codebook wherein the first codebook has 2B code words and each code word corresponds to a vector, wherein the first codebook is divided into 2B1 portions, and wherein B is a positive integer greater than or equal to 2, and B1 is a positive integer greater than or equal to 1; determining that a code word corresponding to the first vector is in the ith portion of the first codebook, wherein i is a positive integer greater than or equal to 1 and less than or equal to 2B1; determining a second codebook according to the ith portion of the first codebook; and quantizing a second group of frequency envelopes by using the second codebook. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An audio signal encoding apparatus, comprising a processor and a memory storing program codes, wherein the program codes, when executed by the processor, cause the apparatus to perform a process that comprises:
-
obtaining N frequency envelopes of a frame of an audio signal, wherein N is a positive integer; organizing the N frequency envelopes into N1 groups, wherein each group comprises M frequency envelopes, and wherein N1 and M are positive integers, M is greater than or equal to 2, and N is greater than N1; quantizing a first group of frequency envelops to obtain a first vector by using a first codebook, wherein the first codebook has 2B code words and each code word corresponds to a vector, wherein the first codebook is divided into 2B1 portions, and wherein B is a positive integer greater than or equal to 2, and B1 is a positive integer greater than or equal to 1; determining, that a code word corresponding to the first vector is in the ith portion of the first codebook, wherein i is a positive integer greater than or equal to 1 and less than or equal to 2B1; determining a second codebook according to the ith portion; and quantizing a second group of frequency envelopes by using the second codebook. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification