A method of video processing includes performing a conversion between a video unit of a video and a coded representation of the video using at least a video picture. Only one of a subpicture coding mode or a resolution-changing coding mode is enabled for the video unit. The subpicture coding mode is a mode in which the video picture is divided into multiple subpictures, and the resolution-changing coding mode is a mode in which a resolution of the video picture is adjusted during the conversion.