| CPC H04N 19/517 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/137 (2014.11); H04N 19/139 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/196 (2014.11); H04N 19/521 (2014.11); H04N 19/573 (2014.11); H04N 19/577 (2014.11)] | 14 Claims |

|
1. A method of processing video data, comprising:
performing a determination, by a processor, a flag which can be signaled at multiple levels indicates, at least in part, that one or both of a decoder-side motion vector refinement (DMVR) technique and a bi-directional optical flow (BIO) technique is to be enabled for a current block;
performing a conversion between the current block and a bitstream, wherein the bitstream conditionally includes the flag indicating whether one or both of the DMVR technique and the BIO technique is enabled,
wherein the flag is included in the bitstream only in response to an advanced motion vector prediction (AMVP) mode being enabled for the current block,
wherein, in response to detecting that a merge mode is enabled for the current block, the flag is inherited from a selected merging candidate when the selected merging candidate is a spatial merging candidate or a temporal merging candidate, and a value of the flag is derived as a Boolean true or false without inheriting from the selected merging candidate when the selected merging candidate is not the spatial merging candidate or the temporal merging candidate,
wherein, a cost criterion associated with the current block is used to make a determination about whether the one or both of the DMVR technique and the BIO technique are enabled, and the flag signaled in the bitstream is used to indicate whether the determination is correct or not,
wherein the determination that the one or both of the DMVR technique and the BIO technique is enabled applies when the cost criterion is greater than a threshold,
wherein upon determining that the flag is a Boolean true, the determination of the enabling one or both of the DMVR technique or the BIO technique based on at least the cost criterion being greater than the threshold is determined as correct, and
wherein upon determining that the flag is a Boolean false, the determination of the enabling one or both of the DMVR technique or the BIO technique based on at least the cost criterion being greater than the threshold is determined as incorrect.
|