Coding method, decoding method, coder, and decoder
First Claim
1. A method for coding an audio signal sample, comprising:
- obtaining, by a coder, a pulse distribution of pulses to be encoded on a track of the audio signal sample, wherein the pulse distribution comprises a quantity of pulse positions N, a vector P(N)={p(0), p(1), . . . , p(N−
1)} indicating a distribution of the pulse positions on the track, and a quantity of the pulses in each of the pulse positions;
determining, by the coder, a first index according to the quantity of the pulse positions N;
determining, by the coder, a second index by using the following permutation formula;
0 Assignments
0 Petitions
Accused Products
Abstract
A coding method, a decoding method, a coder, and a decoder, where the coding method includes obtaining the pulse distribution, on a track, of the pulses to be encoded on the track, determining a distribution identifier for identifying the pulse distribution according to the pulse distribution, and generating a coding index that includes the distribution identifier. The decoding method includes receiving a coding index, obtaining a distribution identifier from the coding index, wherein the distribution identifier is configured to identify the pulse distribution, on a track, of the pulses to be encoded on the track, determining the pulse distribution, on a track, of all the pulses to be encoded on the track according to the distribution identifier, and reconstructing the pulse order on the track according to the pulse distribution.
40 Citations
12 Claims
-
1. A method for coding an audio signal sample, comprising:
-
obtaining, by a coder, a pulse distribution of pulses to be encoded on a track of the audio signal sample, wherein the pulse distribution comprises a quantity of pulse positions N, a vector P(N)={p(0), p(1), . . . , p(N−
1)} indicating a distribution of the pulse positions on the track, and a quantity of the pulses in each of the pulse positions;determining, by the coder, a first index according to the quantity of the pulse positions N; determining, by the coder, a second index by using the following permutation formula; - View Dependent Claims (2, 3)
-
-
4. A coding device, comprising:
-
a processor; and a nonvolatile memory coupled to the processor and configured to store a set of instructions, wherein when executed by the processor, the set of instructions causes the processor to perform the following operations; obtain a pulse distribution, of pulses to be encoded on a track of an audio signal sample, wherein the pulse distribution comprises a quantity of pulse positions N, a vector P(N)={p(0), p(1), . . . , p(N−
1)} indicating a distribution of the pulse positions on the track, and a quantity of the pulses in each of the pulse positions;determine a first index according to the quantity of the pulse positions N; determine a second index by using the following permutation formula; - View Dependent Claims (5, 6)
-
-
7. A method for coding of an audio signal sample, comprising:
-
obtaining, by a coder, a pulse distribution of pulses to be encoded on a track of the audio signal sample, wherein the pulse distribution comprises a quantity of pulse positions N, a vector P(N)={p(0), p(1), . . . , p(N−
1)} indicating a distribution of the pulse positions on the track, and a quantity of pulses in each of the pulse positions;determining, by the coder, a first index from a lookup table according to the quantity of the pulse positions N, determining, by the coder, a second index by using the following permutation formula; - View Dependent Claims (8, 9)
-
-
10. A coding device comprising:
-
a non-transitory memory storage comprising instructions; and one or more processors in communication with the memory, wherein the one or more processors execute the instructions to obtain a pulse distribution of pulses to be encoded on a track of an audio signal sample, wherein the pulse distribution comprises a quantity of pulse positions N, a vector P(N)={p(0), p(1), . . . , p(N−
1)} indicating a distribution of the pulse positions on the track, and a quantity of pulses in each of the pulse positions;determine a first index from a lookup table according to the quantity of the pulse positions N; determine a second index by using the following permutation formula; - View Dependent Claims (11, 12)
-
Specification