CPC H04N 19/52 (2014.11) [H04N 19/132 (2014.11); H04N 19/137 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/186 (2014.11); H04N 19/513 (2014.11); H04N 19/53 (2014.11); H04N 19/56 (2014.11); H04N 19/70 (2014.11); G06T 7/223 (2017.01); H04N 19/139 (2014.11); H04N 19/523 (2014.11); H04N 19/567 (2014.11)] | 20 Claims |
1. A method of processing video data, comprising:
determining that a coding mode for a first video block is an affine inter mode or a non-affine inter mode;
determining, for motion information of the first video block, a motion precision from a motion precision set including multiple motion precisions; and
coding the first video block based on the determined coding mode and the determined motion precision;
wherein multiple syntax elements are selectively present in a video bitstream to indicate the motion precision in the motion precision set, and semantics of at least one syntax element of the multiple syntax elements are different in the non-affine inter mode and in the affine inter mode;
wherein the multiple syntax elements include a first syntax element and a second syntax element, whether the first syntax element for the first video block is present in the video bitstream based on motion vector differences (MVDs) of control point motion vectors of the first video block and at least one motion vector difference of at least one control point motion vectors of the first video block being non-zero, and the second syntax element is present in the video bitstream only in case that the first syntax element is present in the video bitstream with a specific value;
wherein the first syntax element is coded using context-based coding that includes a use of at least one context model and at least one context, wherein at least one same context model is used for the first syntax element of both blocks coded with the affine inter mode and blocks coded with the non-affine inter mode, and selection of context is dependent on whether the coding mode of the block is the affine inter mode or the non-affine inter mode; and
wherein the second syntax element is coded using context-based coding that includes a use of at least one context model and at least one context, wherein at least one same context model is used for the second syntax element of both blocks coded with the affine inter mode and blocks coded with the non-affine inter mode, and selection of context is dependent on whether the coding mode of the block is the affine inter mode or the non-affine inter mode.
|