Method, device and system for enhancement layer signal encoding and decoding
First Claim
1. A signal encoding method, comprising:
- encoding a core layer signal to obtain a core layer signal code;
determining a number of bits that can be used by an enhancement layer;
selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal encoding;
using the enhancement sample point to obtain an enhancement layer signal code; and
outputting a bit stream, wherein the bit stream comprises the core layer signal code and the enhancement layer signal code,wherein before outputting the bit stream, the method further comprises;
performing local decoding for the enhancement layer signal code of the enhancement sample point;
performing local decoding for the code layer signal code;
modifying a core layer local decode signal according to the locally decoded enhancement layer signal; and
determining predicted values of core layer signals of subsequent sample points according to the modified core layer local decoded signal.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, device and system for signal encoding and decoding are disclosed. The method includes: encoding a core layer signal to obtain a core layer signal code; selecting an enhancement sample point that requires enhancement layer signal encoding according to the core layer signal code and the number of bits that can be used by an enhancement layer; obtaining an enhancement layer signal code of the enhancement sample point; and outputting a bit stream, where the bit stream includes the core layer signal code and the enhancement layer signal code. In embodiments of the present invention, according to the number of bits that can be used by the enhancement layer, the enhancement sample point that requires enhancement layer signal encoding is selected; the enhancement layer signal of the selected enhancement sample point is encoded and decoded; when no sufficient bits are available for the enhancement layer, the enhancement quality of the core layer can be improved.
25 Citations
8 Claims
-
1. A signal encoding method, comprising:
-
encoding a core layer signal to obtain a core layer signal code; determining a number of bits that can be used by an enhancement layer; selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal encoding; using the enhancement sample point to obtain an enhancement layer signal code; and outputting a bit stream, wherein the bit stream comprises the core layer signal code and the enhancement layer signal code, wherein before outputting the bit stream, the method further comprises; performing local decoding for the enhancement layer signal code of the enhancement sample point; performing local decoding for the code layer signal code; modifying a core layer local decode signal according to the locally decoded enhancement layer signal; and determining predicted values of core layer signals of subsequent sample points according to the modified core layer local decoded signal.
-
-
2. A signal encoding method, comprising:
-
encoding a core layer signal to obtain a core layer signal code; determining a number of bits that can be used by an enhancement layer; selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal encoding; using the enhancement sample point to obtain an enhancement layer signal code; and outputting a bit stream, wherein the bit stream comprises the core layer signal code and the enhancement layer signal code, wherein N indicates a total number of sample points and n indicates a sequence number for each of a sample point, wherein 0≦
n≦
N−
1, andwherein the step of selecting the enhancement sample point used in the enhancement layer signal encoding comprises; obtaining a moving average value of a specified signal of the sample point numbered n, wherein the moving average value is an average value of absolute values of specified signals of sample points numbered less than n; and determining whether the sample point numbered n is the enhancement sample point used in the enhancement layer signal encoding according to the moving average value.
-
-
3. A signal encoding method, comprising:
-
encoding a core layer signal to obtain a core layer signal code; determining a number of bits that can be used by an enhancement layer; selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal encoding; using the enhancement sample point to obtain an enhancement layer signal code; and outputting a bit stream, wherein the bit stream comprises the core layer signal code and the enhancement layer signal code, wherein EN indicates the number of enhancement sample points, and wherein the step of selecting the enhancement sample point used in the enhancement layer signal encoding comprises; calculating an average value of absolute values of specified signals of all sample points; and from a first sample point, sequentially selecting sample points where the absolute values of the specified signals are larger than the average value as enhancement sample points used in the enhancement layer signal encoding, until the number of enhancement sample points is equal to EN. - View Dependent Claims (4)
-
-
5. A signal encoding method, comprising:
-
encoding a core layer signal to obtain a core layer signal code; determining a number of bits that can be used by an enhancement layer; selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal encoding; using the enhancement sample point to obtain an enhancement layer signal code; and outputting a bit stream, wherein the bit stream comprises the core layer signal code and the enhancement layer signal code, wherein EN indicates the number of enhancement sample points, and wherein the step of selecting the enhancement sample point used in the enhancement layer signal encoding comprises; selecting a sample point at intervals of one sample point as an enhancement sample point used in the enhancement layer signal encoding; when the number of enhancement sample points is larger than EN, from a specified sample point among the enhancement sample points, removing enhancement sample points, until the number of enhancement sample points is equal to EN; and when the number of enhancement sample points is smaller than EN, from a first unselected sample point, sequentially selecting unselected sample points as enhancement sample points, until the number of enhancement sample points is equal to EN.
-
-
6. A signal decoding method, comprising:
-
receiving a bit stream, wherein the bit stream comprises a core layer signal code and an enhancement layer signal code; determining a number of bits used by an enhancement layer; selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal decoding; decoding the enhancement layer signal code of the enhancement sample point to obtain an enhancement layer signal; and obtaining a modified core layer signal according to the enhancement layer signal and the bit stream, wherein N indicates a total number of sample points and n indicates a sequence number for each sample point, wherein 0≦
n≦
N−
1, andwherein the step of selecting the enhancement sample point used in the enhancement layer signal decoding comprises; obtaining a moving average value of a specified signal of the sample point numbered n, wherein the moving average value is an average value of absolute values of specified signals of sample points numbered less than n; and determining whether the sample point numbered n is the enhancement sample point used in the enhancement layer signal decoding according to the moving average value.
-
-
7. A signal decoding method, comprising:
-
receiving a bit stream, wherein the bit stream comprises a core layer signal code and an enhancement layer signal code; determining a number of bits used by an enhancement layer; selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal decoding; decoding the enhancement layer signal code of the enhancement sample point to obtain an enhancement layer signal; and obtaining a modified core layer signal according to the enhancement layer signal and the bit stream, wherein EN indicates the number of enhancement sample points, and wherein the step of selecting the enhancement sample point used in the enhancement layer signal decoding comprises; calculating an average value of absolute values of specified signals of all sample points; and from a first sample point, sequentially selecting sample points where the absolute values of the specified signals are larger than the average value as enhancement sample points that require enhancement layer signal decoding, until the number of enhancement sample points is equal to EN.
-
-
8. A signal decoding method, comprising:
-
receiving a bit stream, wherein the bit stream comprises a core layer signal code and an enhancement layer signal code; determining a number of bits used by an enhancement layer; selecting, according to the core layer signal code and the determined number of bits, an enhancement sample point used in an enhancement layer signal decoding; decoding the enhancement layer signal code of the enhancement sample point to obtain an enhancement layer signal; and obtaining a modified core layer signal according to the enhancement layer signal and the bit stream, wherein EN indicates the number of enhancement sample points, and wherein the step of selecting the enhancement sample point used in the enhancement layer signal decoding comprises; selecting a sample point at intervals of one sample point as an enhancement sample point used in the enhancement layer signal decoding; when the number of enhancement sample points is larger than EN, from a specified sample point among the enhancement sample points, removing enhancement sample points, until the number of enhancement sample points is equal to EN; and when the number of enhancement sample points is smaller than EN, from a first unselected sample point, sequentially selecting unselected sample points as enhancement sample points, until the number of enhancement sample points is equal to EN.
-
Specification