A video processing method is provided to include determining, for a conversion between a current video block of a current picture of a video and a coded representation of the video, that use of a coding tool is disabled for the current video block due to use of a reference picture having a dimension different from a dimension of the current picture for coding of the current video block into the coded representation; and performing the conversion based on the determining.