CPC H04N 19/13 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/52 (2014.11); H04N 19/70 (2014.11)] | 14 Claims |
1. A video decoding method, comprising:
parsing a received bitstream to obtain a to-be-entropy-decoded syntax element in a current block, wherein the to-be-entropy-decoded syntax element comprises a first syntax element or a second syntax element;
obtaining a context model corresponding to the to-be-entropy-decoded syntax element by either determining a first context model corresponding to the first syntax element or determining a second context model corresponding to the second syntax element;
performing entropy decoding on the to-be-entropy-decoded syntax element based on the context model to obtain a third syntax element;
performing prediction processing on the current block based on the third syntax element to obtain a prediction block of the current block; and
obtaining a reconstructed image of the current block based on the prediction block;
wherein the first syntax element is a first flag indicating whether a subblock-based merge mode is used for the current block or the second syntax element is a second flag indicating whether an affine motion model-based advanced motion vector prediction (AMVP) mode is used for the current block when a slice that comprises the current block is a predicted (P)-type slice or a bi-directional predicted (B)-type slice.
|