A method of encoding video data, the method comprising: determining a resolution that will be used for a vector that identifies a predictor block in a current picture of the video data for a current block in the current picture of video data; determining, based on the determined resolution, a search region for the current block, wherein determining the search region for the current block comprises: where the resolution that will be used for the vector is integer-pixel, using an initial search region as the search region for the current block; and where the resolution that will be used for the vector is fractional-pixel, determining the search region comprises: reducing the initial search region by M samples from right and bottom boundaries of the initial search region; reducing the initial search region by N samples from top and left boundaries of the initial search region; and using the reduced initial search region as the search region for the current block; selecting, from within the search region, the predictor block for the current block; determining the vector that identifies the selected predictor block for the current block; and encoding, in an encoded video bitstream, a representation of the vector. determining a resolution that will be used for a vector that identifies a predictor block in a current picture of the video data for a current block in the current picture of video data; determining, based on the determined resolution, a search region for the current block, wherein determining the search region for the current block comprises: where the resolution that will be used for the vector is integer-pixel, using an initial search region as the search region for the current block; and where the resolution that will be used for the vector is fractional-pixel, determining the search region comprises: reducing the initial search region by M samples from right and bottom boundaries of the initial search region; reducing the initial search region by N samples from top and left boundaries of the initial search region; and using the reduced initial search region as the search region for the current block; selecting, from within the search region, the predictor block for the current block; determining the vector that identifies the selected predictor block for the current block; and encoding, in an encoded video bitstream, a representation of the vector. where the resolution that will be used for the vector is integer-pixel, using an initial search region as the search region for the current block; and where the resolution that will be used for the vector is fractional-pixel, determining the search region comprises: reducing the initial search region by M samples from right and bottom boundaries of the initial search region; reducing the initial search region by N samples from top and left boundaries of the initial search region; and using the reduced initial search region as the search region for the current block; reducing the initial search region by M samples from right and bottom boundaries of the initial search region; reducing the initial search region by N samples from top and left boundaries of the initial search region; and using the reduced initial search region as the search region for the current block; selecting, from within the search region, the predictor block for the current block; determining the vector that identifies the selected predictor block for the current block; and encoding, in an encoded video bitstream, a representation of the vector. <EOS>