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 sub-picture coding mode or a resolution-changing coding mode is enabled for the video unit. The sub-picture coding mode is a mode in which the video picture is divided into multiple sub-pictures, and the resolution-changing coding mode is a mode in which a resolution of the video picture is adjusted during the conversion.