PULSE ENCODING AND DECODING METHOD AND PULSE CODEC
First Claim
1. A pulse encoding method, comprising:
- obtaining pulses that are on T tracks and required to be encoded, wherein T is an integer greater than or equal to 2;
separately collecting, according to positions, statistics about a pulse that is on each track and required to be encoded, to obtain the number Nt of positions that have pulses on each track, distribution of the positions that have pulses on the track, and the number of pulses on each position that has a pulse, wherein the subscript t represents a tth track, and tε
[0, T−
1];
according to the number {N0, N1, . . . , NT-1} of positions that have pulses and are on each track, determining a first index I1, wherein the first index I1 corresponds to all possible distribution situations of positions that have pulses and are on each track under the number of the positions having pulses, wherein the number of the positions having pulses is represented by it;
determining a second index I2t of each track separately according to distribution of positions that have pulses and are on each track, wherein the second index indicates, among all possible distribution situations corresponding to the first index I1, a distribution situation which corresponds to distribution of current positions having pulses on a corresponding track;
determining a third index I3t of each track separately according to the number of pulses on each position that has the pulse and is on each track; and
generating a code index Ind, wherein the code index comprises information of the first index and the second and third indexes of each track.
1 Assignment
0 Petitions
Accused Products
Abstract
In a pulse encoding and decoding method and a pulse codec, more than two tracks are jointly encoded, so that free codebook space in the situation of single track encoding can be combined during joint encoding to become code bits that may be saved. Furthermore, a pulse that is on each track and required to be encoded is combined according to positions, and the number of positions having pulses, distribution of the positions that have pulses on the track, and the number of pulses on each position that has a pulse are encoded separately, so as to avoid separate encoding performed on multiple pulses of a same position, thereby further saving code bits.
10 Citations
21 Claims
-
1. A pulse encoding method, comprising:
-
obtaining pulses that are on T tracks and required to be encoded, wherein T is an integer greater than or equal to 2; separately collecting, according to positions, statistics about a pulse that is on each track and required to be encoded, to obtain the number Nt of positions that have pulses on each track, distribution of the positions that have pulses on the track, and the number of pulses on each position that has a pulse, wherein the subscript t represents a tth track, and tε
[0, T−
1];according to the number {N0, N1, . . . , NT-1} of positions that have pulses and are on each track, determining a first index I1, wherein the first index I1 corresponds to all possible distribution situations of positions that have pulses and are on each track under the number of the positions having pulses, wherein the number of the positions having pulses is represented by it; determining a second index I2t of each track separately according to distribution of positions that have pulses and are on each track, wherein the second index indicates, among all possible distribution situations corresponding to the first index I1, a distribution situation which corresponds to distribution of current positions having pulses on a corresponding track; determining a third index I3t of each track separately according to the number of pulses on each position that has the pulse and is on each track; and generating a code index Ind, wherein the code index comprises information of the first index and the second and third indexes of each track. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A pulse encoding method, comprising:
-
obtaining pulses that are on T tracks and required to be encoded, wherein T is an integer greater than or equal to 2; separately collecting, according to positions, statistics about a pulse that is on each track and required to be encoded, to obtain the number Nt of positions that have pulses on each track, distribution of the positions that have pulses on the track, and the number of pulses on each position that has a pulse, wherein the subscript t represents a tth track, and tε
[0, T−
1];according to the number of positions that have pulses and are on each track, determining a first index I1t of each track, wherein the first index I1t corresponds to all possible distribution situations of positions that have pulses and are on the track under the number of the positions having pulses, wherein the number of the positions having pulses is represented it; determining a second index I2t of each track separately according to distribution of positions that have pulses and are on each track, wherein the second index indicates, among all possible distribution situations corresponding to the first index, a distribution situation which corresponds to distribution of current positions having pulses and is on the track; determining a third index I3t of each track separately according to the number of pulses on each position that has the pulse and is on each track; and generating a code index Ind, wherein the code index comprises information of the first, second, and third indexes of each track.
-
-
11. A pulse decoding method, comprising:
-
obtaining a code index Ind, extracting a first index from the code index, and determining, according to the first index, the number {N0, N1, . . . , NT-1} of positions that have pulses and are on each track of T tracks, wherein the subscript t of Nt represents a tth track, tε
[0, T−
1], and T is an integer greater than or equal to 2;extracting a second index I2t of each track and a third index I3t of each track from the code index; for each track, according to the second index, determining distribution of positions that have pulses on the track under the number of positions having pulses, wherein the number of positions having pulses corresponds to the first index; for each track, according to the third index, determining the number of pulses on each position that has pulse; and for each track, according to distribution of the positions that have pulses on the track and the number of pulses on each position that has the pulse, reconstructing a pulse sequence on the track. - View Dependent Claims (12, 13, 14)
-
-
15. A pulse decoding method, comprising:
-
obtaining a code index Ind, extracting a first index I1t of each track from the code index, and for each track, determining the number Nt of positions having pulses according to the first index, wherein the subscript t represents a tth track, tε
[0, T−
1], and T is an integer greater than or equal to 2;extracting a second index I2t of each track and a third index I3t of each track from the code index; for each track, according to the second index, determining distribution of positions that have pulses on the track under the number of positions having pulses, wherein the number of positions having pulses corresponds to the first index; for each track, according to the third index, determining the number of pulses on each position that has a pulse; and for each track, according to distribution of the positions that have pulses on the track and the number of pulses on each position that has the pulse, reconstructing a pulse sequence on the track.
-
-
16. A pulse encoder, comprising:
-
a pulse statistics unit, configured to obtain pulses that are on T tracks and required to be encoded, wherein T is an integer greater than or equal to 2; and
separately collect, according to positions, statistics about a pulse that is on each track and required to be encoded, to obtain the number Nt of positions that have pulses on each track, distribution of the positions that have pulses on the track, and the number of pulses on each position that has a pulse, wherein the subscript t represents a tth track, and tε
[0, T−
1];an index calculation unit, wherein the index calculation unit comprises;
a first index unit, configured to, according to the number {N0, N1, . . . , NT-1} of positions that have pulses and are on each track, output a first index I1, wherein the first index corresponds to all possible distribution situations of positions that have pulses and are on each track under the number of the positions having pulses, wherein the number of the positions having pulses is represented by it;
a second index unit, configured to output a second index I2t of each track separately according to distribution of positions that have pulses and are on each track, wherein the second index indicates, among all possible distribution situations corresponding to the first index, a distribution situation which corresponds to distribution of current positions having pulses on a corresponding track; and
a third index unit, configured to output a third index I3t of each track separately according to the number of pulses on each position that has a pulse and is on the track; andan index combination unit, configured to combine information of the first index I1 and the second and third indexes of each track to generate a code index Ind. - View Dependent Claims (17, 18)
-
-
19. A pulse decoder, comprising:
-
a first extraction unit, configured to obtain a code index Ind, extract a first index from the code index, and determine, according to the first index, the number {N0, N1, . . . , NT-1} of positions that have pulses and are on each track of T tracks, wherein the subscript t of Nt represents a tth track, tε
[0, T−
1], and T is an integer greater than or equal to 2;a second extraction unit, configured to extract a second index I2t of each track and a third index I3t of each track from the code index; a first decoding unit, configured to, for each track, according to the second index, determine distribution of the positions that have pulses on the track under the number of positions having pulses, wherein the number of positions having pulses corresponds to the first index; a second decoding unit, configured to, for each track, according to the third index, determine the number of pulses on each position that has a pulse; and a pulse reconstruction unit, configured to, for each track, according to distribution of the positions that have pulses on the track and the number of pulses on each position that has the pulse, reconstruct a pulse sequence on the track. - View Dependent Claims (20, 21)
-
Specification