Syntax signaling in sub-block merge mode
A method of visual media processing includes determining whether to use an affine adaptive motion vector resolution (AMVR) technique on visual media data relying on a control information related to the affine AMVR technique in a bitstream representation of the visual media data, wherein the control information is included or excluded from the bitstream representation based on a rule; and performing a conversion between the visual media data and the bitstream representation of the visual media data.
1. A method of processing video data, comprising:
determining, for a conversion between a visual media data of a video and a bitstream of the video, a first information indicating whether a temporal motion vector prediction coding mode is enabled for the visual media data in a first level;
determining, based on the first information, whether a second information is included in the bitstream, wherein the second information indicates whether a subblock-based temporal motion vector prediction is enabled in the first level;
determining, based on the first information, whether a third information is included in the bitstream, wherein the third information indicates whether a temporal motion vector prediction coding mode is enabled for the visual media data in a second level;
determining, based on the third information, whether a fourth information is included in the bitstream, wherein the fourth information indicates information related to a collocated reference picture associated with the visual media data in the second level; and
performing, at least based on the fourth information, the conversion,
wherein, during the conversion, a candidate list is constructed,
wherein whether a maximum number of the candidate list is based on a fifth information included in the bitstream is based on a sixth information indicating a coding mode in the first level, and wherein the fifth information is coded by subtracting an integer from 5.
2. The method of claim 1 , wherein the fourth information indicates from which reference picture list the collocated reference picture is derived.
3. The method of claim 1 , wherein the fourth information indicates a reference index of the collocated reference picture.
4. The method of claim 1 , wherein the fourth information is included in the bitstream in response to the temporal motion vector prediction coding mode being enabled.
5. The method of claim 1 , wherein the fourth information is not included in the bitstream based on the temporal motion vector prediction coding mode being disabled.
6. The method of claim 1 , wherein a maximum number of candidates in the candidate list depends on whether the temporal motion vector prediction coding mode is enabled.
7. The method of claim 1 , wherein a maximum number of candidates in the candidate list depends on whether a subblock-based temporal motion vector prediction coding mode is enabled.
8. The method of claim 1 , wherein the conversion comprises encoding the visual media data into the bitstream.
9. The method of claim 1 , wherein the conversion comprises decoding the visual media data from the bitstream.
10. An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
determine, for a conversion between a visual media data of a video and a bitstream of the video, a first information indicating whether a temporal motion vector prediction coding mode is enabled for the visual media data in a first level;
determine, based on the first information, whether a second information is included in the bitstream, wherein the second information indicates whether a subblock-based temporal motion vector prediction is enabled in the first level;
determine, based on the first information, whether a third information is included in the bitstream, wherein the third information indicates whether a temporal motion vector prediction coding mode is enabled for the visual media data in a second level;
determine, based on the third information, whether a fourth information is included in the bitstream, wherein the fourth information indicates information related to a collocated reference picture associated with the visual media data in the second level; and
perform, at least based on the fourth information, the conversion,
wherein, during the conversion, a candidate list is constructed,
wherein whether a maximum number of the candidate list is based on a fifth information included in the bitstream is based on a sixth information indicating a coding mode in the first level, and wherein the fifth information is coded by subtracting an integer from 5.
11. The apparatus of claim 10 , wherein the fourth information indicates from which reference picture list the collocated reference picture is derived.
12. The apparatus of claim 10 , wherein the fourth information indicates a reference index of the collocated reference picture.
13. The apparatus of claim 10 , wherein the fourth information is included in the bitstream in response to the temporal motion vector prediction coding mode being enabled.
14. The apparatus of claim 10 , wherein the fourth information is not included in the bitstream based on the temporal motion vector prediction coding mode being disabled.
15. The apparatus of claim 10 , wherein a maximum number of candidates in the candidate list depends on whether the temporal motion vector prediction coding mode is enabled.
16. The apparatus of claim 10 , wherein a maximum number of candidates in the candidate list depends on whether a subblock-based temporal motion vector prediction coding mode is enabled.
17. A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, for a conversion between a visual media data of a video and a bitstream of the video, a first information indicating whether a temporal motion vector prediction coding mode is enabled for the visual media data in a first level;
determine, based on the first information, whether a second information is included in the bitstream, wherein the second information indicates whether a subblock-based temporal motion vector prediction is enabled in the first level;
determine, based on the first information, whether a third information is included in the bitstream, wherein the third information indicates whether a temporal motion vector prediction coding mode is enabled for the visual media data in a second level;
determine, based on the third information, whether a fourth information is included in the bitstream, wherein the fourth information indicates information related to a collocated reference picture associated with the visual media data in the second level; and
perform, at least based on the fourth information, the conversion,
wherein, during the conversion, a candidate list is constructed,
wherein whether a maximum number of the candidate list is based on a fifth information included in the bitstream is based on a sixth information indicating a coding mode in the first level, and wherein the fifth information is coded by subtracting an integer from 5.
18. The non-transitory computer-readable storage medium of claim 17 , wherein the fourth information indicates from which reference picture list the collocated reference picture is derived.
19. The non-transitory computer-readable storage medium of claim 17 , wherein the fourth information indicates a reference index of the collocated reference picture.
20. A non-transitory computer-readable recording medium storing a bitstream which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining a first information indicating whether a temporal motion vector prediction coding mode is enabled for a visual media data of a video in a first level;
determining, based on the first information, whether a second information is included in the bitstream, wherein the second information indicates whether a subblock-based temporal motion vector prediction is enabled in the first level;
determining, based on the first information, whether a third information is included in the bitstream, wherein the third information indicates whether a temporal motion vector prediction coding mode is enabled for the visual media data in a second level;
determining, based on the third information, whether a fourth information is included in the bitstream, wherein the fourth information indicates information related to a collocated reference picture associated with the visual media in the second level; and
performing, at least based on the fourth information, the conversion,
wherein, during the conversion, a candidate list is constructed,
wherein whether a maximum number of the candidate list is based on a fifth information included in the bitstream is based on a sixth information indicating a coding mode in the first level, and wherein the fifth information is coded by subtracting an integer from 5.