A method for decoding video data, the method comprising: receiving, in an encoded video bitstream and for a current block of video data, a residual block and a set of syntax elements for a component of a block vector that represents a displacement between the current block and a predictor block of video data in a picture in which the current block resides; decoding the set of syntax elements to determine a value of the component of the block vector by at least: decoding a first syntax element of the set of syntax elements to determine whether or not an absolute value of the component of the block vector is greater than zero; based on the absolute value of the component of the block vector being greater than zero, decoding a second syntax element of the set of syntax elements to determine whether or not the absolute value of the component of the block vector is greater than a threshold that is based on an order of a set of exponential golomb codes; based on the absolute value of the component of the block vector being greater than the threshold, decoding, using the set of exponential golomb codes, a third syntax element of the set of syntax elements to determine the absolute value of the component of the block vector minus an offset that is based on the order of the set of codes; and based on the absolute value of the component of the block vector being greater than zero, decoding a fourth syntax element of the set of syntax elements to determine whether the value of the component of the block vector is positive or negative; determining, based on the value of the component of the block vector, the predictor block of video data; and reconstructing the current block of video data based on the predictor block of video data and the residual block, characterized in that: the order is two, three, four, or five; and based on the absolute value of the component of the block vector not being greater than the threshold, decoding, using fixed length codes having a length equivalent to the order of the set of exponential golomb codes, the third syntax element to determine the absolute value of the component of the block vector minus one. receiving, in an encoded video bitstream and for a current block of video data, a residual block and a set of syntax elements for a component of a block vector that represents a displacement between the current block and a predictor block of video data in a picture in which the current block resides; decoding the set of syntax elements to determine a value of the component of the block vector by at least: decoding a first syntax element of the set of syntax elements to determine whether or not an absolute value of the component of the block vector is greater than zero; based on the absolute value of the component of the block vector being greater than zero, decoding a second syntax element of the set of syntax elements to determine whether or not the absolute value of the component of the block vector is greater than a threshold that is based on an order of a set of exponential golomb codes; based on the absolute value of the component of the block vector being greater than the threshold, decoding, using the set of exponential golomb codes, a third syntax element of the set of syntax elements to determine the absolute value of the component of the block vector minus an offset that is based on the order of the set of codes; and based on the absolute value of the component of the block vector being greater than zero, decoding a fourth syntax element of the set of syntax elements to determine whether the value of the component of the block vector is positive or negative; decoding a first syntax element of the set of syntax elements to determine whether or not an absolute value of the component of the block vector is greater than zero; based on the absolute value of the component of the block vector being greater than zero, decoding a second syntax element of the set of syntax elements to determine whether or not the absolute value of the component of the block vector is greater than a threshold that is based on an order of a set of exponential golomb codes; based on the absolute value of the component of the block vector being greater than the threshold, decoding, using the set of exponential golomb codes, a third syntax element of the set of syntax elements to determine the absolute value of the component of the block vector minus an offset that is based on the order of the set of codes; and based on the absolute value of the component of the block vector being greater than zero, decoding a fourth syntax element of the set of syntax elements to determine whether the value of the component of the block vector is positive or negative; determining, based on the value of the component of the block vector, the predictor block of video data; and reconstructing the current block of video data based on the predictor block of video data and the residual block, characterized in that: the order is two, three, four, or five; and based on the absolute value of the component of the block vector not being greater than the threshold, decoding, using fixed length codes having a length equivalent to the order of the set of exponential golomb codes, the third syntax element to determine the absolute value of the component of the block vector minus one. the order is two, three, four, or five; and based on the absolute value of the component of the block vector not being greater than the threshold, decoding, using fixed length codes having a length equivalent to the order of the set of exponential golomb codes, the third syntax element to determine the absolute value of the component of the block vector minus one.