| CPC H04N 19/91 (2014.11) [H04N 19/132 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/42 (2014.11); H04N 19/50 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |

|
1. An entropy encoding method, comprising:
obtaining base layer information of a to-be-encoded picture block, wherein
the base layer information corresponds to M samples in the to-be-encoded picture block, and
M is a positive integer;
obtaining K elements corresponding to enhancement layer information of the to-be-encoded picture block, wherein
the enhancement layer information corresponds to N samples in the to-be-encoded picture block,
both K and N are positive integers, and
N≥M;
inputting the base layer information into a neural network to obtain K groups of probability values, wherein
the K groups of probability values correspond to the K elements, and
any group of probability values, from the K groups of probability values, represents probabilities of a plurality of candidate values of a corresponding element from the K elements; and
performing entropy encoding, on the K elements based on the K groups of probability values, to generate an encoded bit stream, wherein obtaining the K elements corresponding to the enhancement layer information of the to-be-encoded picture block comprises at least:
performing hybrid encoding on the original values of the N samples to obtain encoded values of the N samples;
performing hybrid decoding on the encoded values of the N samples to obtain reconstruction values of the N samples;
performing difference calculation based on the original values of the N samples and the reconstruction values of the N samples to obtain first differences of the N samples, and
performing feature extraction on the first differences of the N samples to obtain K difference eigenvalues, wherein the K elements are the K difference eigenvalues.
|