| CPC H04N 19/109 (2014.11) [H04N 19/105 (2014.11); H04N 19/139 (2014.11); H04N 19/157 (2014.11); H04N 19/159 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/46 (2014.11); H04N 19/513 (2014.11); H04N 19/52 (2014.11)] | 20 Claims |

|
1. A method of processing video data comprising:
determining whether an affine coding mode is enabled for a conversion between a visual media data of a video and a bitstream of the video;
determining, based on whether the affine coding mode is enabled for the conversion, whether a first indication for the visual media data is included in the bitstream, the first indication indicating whether a first coding mode is enabled for the visual media data; and
performing the conversion at least based on the first indication,
wherein in response to the first indication indicating the first coding mode being enabled, performing the conversion comprises:
generating initial prediction samples of a sub-block of a current video block coded with the affine coding mode of the visual media data; and
applying an optical flow operation to generate final prediction samples for the sub-block by deriving a prediction refinement based on motion vector differences dMvH and/or dMvV, wherein dMvH and dMvV indicate motion vector differences along a horizontal direction and a vertical direction, respectively;
wherein whether a third indication is included in the bitstream is based on whether the affine coding mode is enabled for the conversion, wherein the third indication indicates whether to enable a tool used to determine, for motion information determined in the affine coding mode, a first motion precision from a set of allowed multiple motion precisions,
wherein whether the third indication is included in the bitstream is further based on a fourth indication, and wherein the fourth indication indicates whether to enable a tool used to determine, for motion information determined in the affine coding mode, the first motion precision from the set of allowed multiple motion precisions and for motion information determined in a non-affine coding mode, a second motion precision from the set of allowed multiple motion precisions,
wherein the first indication is included in the bitstream for the visual media data in response to a second indication indicating the affine coding mode is enabled,
wherein the method further comprises:
determining whether a temporal motion vector prediction coding mode is enabled for the visual media data,
wherein performing the conversion is further at least based on the determining whether the temporal motion vector prediction coding mode is enabled for the visual media data, and
wherein whether a fifth indication indicating information related to a collocated reference picture associated with the visual media data is included in the bitstream is at least based on whether the temporal motion vector prediction coding mode is enabled for the visual media data.
|