Restriction on sub-block size derivation for affine inter prediction
First Claim
1. A method comprising:
- selecting, by a processor at an encoder, a current block for sub-block based affine inter-prediction, the current block associated with a plurality of motion vectors;
deriving, by the processor, a sub-block size for a sub-block of the current block, the sub-block size including a sub-block width and a sub-block height;
determining, by the processor, a unidirectional width threshold (TwU), a bidirectional width threshold (TwB), a unidirectional height threshold (ThU), and a bidirectional height threshold (ThB), wherein a total value of TwB and ThB exceeds a total value of TwU and ThU, and wherein the total value of TwB and ThB is greater than the total value of TwU and ThU to ensure a minimum sub-block size for bidirectional inter-prediction exceeds a minimum sub-block size for unidirectional inter-prediction;
determining, by the processor, that the affine inter-prediction is unidirectional inter-prediction or bidirectional inter-prediction;
based on the determination of unidirectional inter-prediction or bidirectional inter-prediction, applying, by the processor, the TwU or the TwB to the sub-block width;
based on the determination, applying, by the processor, the ThU or the ThB to the sub-block height;
deriving, by the processor, a motion vector for the sub-block based on motion vectors for the current block, the sub-block width, and the sub-block height;
encoding, by the processor, prediction information for the sub-block in a bitstream, the prediction information based on the motion vector for the sub-block; and
transmitting, by a transmitter coupled to the processor, the bitstream toward a decoder for decoding and display.
1 Assignment
0 Petitions
Accused Products
Abstract
A video coding device selects a current block for sub-block based affine inter-prediction, and derives a sub-block size for a sub-block of the current block. The sub-block size includes a sub-block width and a sub-block height. The device determines a unidirectional width threshold (TwU), a bidirectional width threshold (TwB), a unidirectional height threshold (ThU), and a bidirectional height threshold (ThB), where a total value of TwB and ThB exceeds a total value of TwU and ThU. The device determines that the affine inter-prediction is unidirectional inter-prediction or bidirectional inter-prediction. Based on the determination, the device applies the TwU or the TwB to the sub-block width, and applies the ThU or the ThB to the sub-block height. The device then derives a motion vector for the sub-block based on motion vectors for the current block, the sub-block width, and the sub-block height.
53 Citations
17 Claims
-
1. A method comprising:
-
selecting, by a processor at an encoder, a current block for sub-block based affine inter-prediction, the current block associated with a plurality of motion vectors; deriving, by the processor, a sub-block size for a sub-block of the current block, the sub-block size including a sub-block width and a sub-block height; determining, by the processor, a unidirectional width threshold (TwU), a bidirectional width threshold (TwB), a unidirectional height threshold (ThU), and a bidirectional height threshold (ThB), wherein a total value of TwB and ThB exceeds a total value of TwU and ThU, and wherein the total value of TwB and ThB is greater than the total value of TwU and ThU to ensure a minimum sub-block size for bidirectional inter-prediction exceeds a minimum sub-block size for unidirectional inter-prediction; determining, by the processor, that the affine inter-prediction is unidirectional inter-prediction or bidirectional inter-prediction; based on the determination of unidirectional inter-prediction or bidirectional inter-prediction, applying, by the processor, the TwU or the TwB to the sub-block width; based on the determination, applying, by the processor, the ThU or the ThB to the sub-block height; deriving, by the processor, a motion vector for the sub-block based on motion vectors for the current block, the sub-block width, and the sub-block height; encoding, by the processor, prediction information for the sub-block in a bitstream, the prediction information based on the motion vector for the sub-block; and transmitting, by a transmitter coupled to the processor, the bitstream toward a decoder for decoding and display. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus comprising:
-
a receiver to receive a bitstream; a processor coupled to the receiver and configured to; select a current block from the bitstream for decoding by sub-block based affine inter-prediction; obtain a plurality of motion vectors for the current block from the bitstream; derive a sub-block size for a sub-block of the current block, the sub-block size including a sub-block width and a sub-block height; determine a unidirectional width threshold (TwU), a bidirectional width threshold (TwB), a unidirectional height threshold (ThU), and a bidirectional height threshold (ThB), wherein a total value of TwB and ThB exceeds a total value of TwU and ThU, and wherein the total value of TwB and ThB is greater than the total value of TwU and ThU to ensure a minimum sub-block size for bidirectional inter-prediction exceeds a minimum sub-block size for unidirectional inter-prediction; determine that the affine inter-prediction is unidirectional inter-prediction or bidirectional inter-prediction based on the bitstream; based on the determination of unidirectional inter-prediction or bidirectional inter-prediction, apply the TwU or the TwB to the sub-block width; based on the determination, apply the ThU or the ThB to the sub-block height; derive a motion vector for the sub-block based on motion vectors for the current block, the sub-block width, and the sub-block height; employ the motion vector for the sub-block to reconstruct the sub-block based on a reference frame; and forward a video sequence for display, the video sequence including the sub-block in a current frame. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A method comprising:
-
receiving, by a receiver, a bitstream; selecting, by a processor, a current block from the bitstream for decoding by sub-block based affine inter-prediction; obtaining, by the processor, a plurality of motion vectors for the current block from the bitstream; deriving, by the processor, a sub-block size for a sub-block of the current block, the sub-block size including a sub-block width and a sub-block height; determining, by the processor, a unidirectional width threshold (TwU), a bidirectional width threshold (TwB), a unidirectional height threshold (ThU), and a bidirectional height threshold (ThB), wherein a total value of TwB and ThB exceeds a total value of TwU and ThU, and wherein the total value of TwB and ThB is greater than the total value of TwU and ThU to ensure a minimum sub-block size for bidirectional inter-prediction exceeds a minimum sub-block size for unidirectional inter-prediction; determining, by the processor, that the affine inter-prediction is unidirectional inter-prediction or bidirectional inter-prediction based on the bitstream; based on the determination of unidirectional inter-prediction or bidirectional inter-prediction, applying, by the processor, the TwU or the TwB to the sub-block width; based on the determination, applying, by the processor, the ThU or the ThB to the sub-block height; deriving, by the processor, a motion vector for the sub-block based on motion vectors for the current block, the sub-block width, and the sub-block height; employing, by the processor, the motion vector for the sub-block to reconstruct the sub-block based on a reference frame; and forwarding, by the processor, a video sequence for display, the video sequence including the sub-block in a current frame. - View Dependent Claims (14, 15, 16, 17)
-
Specification