Coding Method, Decoding Method, Coder, and Decoder
First Claim
1. A coder for coding an audio signal sample, comprising:
- a pulse statistic module configured to obtain a pulse distribution of pulses to be encoded on a track of the audio signal sample, the pulse distribution comprising a quantity of pulse positions (N), and 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;
an index calculating module configured to determine a first index according to the N;
a coding module configured to;
determine a second index using a permutation formula; and
determine a third index according to the quantity of the pulses in each of the pulse positions, the third index corresponding to the quantity of the pulses in each of the pulse positions; and
an index combining module configured to generate a coding index comprising the first index, the second index, and the third index.
1 Assignment
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.
0 Citations
9 Claims
-
1. A coder for coding an audio signal sample, comprising:
-
a pulse statistic module configured to obtain a pulse distribution of pulses to be encoded on a track of the audio signal sample, the pulse distribution comprising a quantity of pulse positions (N), and 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;an index calculating module configured to determine a first index according to the N; a coding module configured to; determine a second index using a permutation formula; and determine a third index according to the quantity of the pulses in each of the pulse positions, the third index corresponding to the quantity of the pulses in each of the pulse positions; and an index combining module configured to generate a coding index comprising the first index, the second index, and the third index. - View Dependent Claims (2, 3)
-
-
4. A method for coding of an audio signal sample, comprising:
-
obtaining, by a pulse statistic module, a pulse distribution of pulses to be encoded on a track of the audio signal sample, the pulse distribution comprising a quantity of pulse positions (N), and 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 an index calculating module, a first index from a lookup table according to the N, determining, by the index calculating module, a second index using a permutation formula; determining, by a coding module, a third index according to the quantity of pulses in each of the pulse positions, the third index corresponding to the quantity of pulses in each of the pulse positions; and generating, by an index combining module, a combined index for the track, the combined index comprising the first index, the second index, and the third index. - View Dependent Claims (5, 6)
-
-
7. A computer program product comprising a non-transitory computer readable storage medium storing program code thereon for coding of an audio signal sample, the program code comprising instructions for executing a method that comprises:
-
obtaining a pulse distribution of pulses to be encoded on a track of the audio signal sample, the pulse distribution comprising 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 a first index from a lookup table according to the N, determining a second index using a permutation formula; determining a third index according to the quantity of pulses in each of the pulse positions, the third index corresponding to the quantity of pulses in each of the pulse positions; and generating a combined index for the track, the combined index comprising the first index, the second index, and the third index. - View Dependent Claims (8, 9)
-
Specification