1. A method of coding a block of pixels, comprising: obtaining, by a video coding device, a block of pixels, wherein the block of pixels includes integer pixel values corresponding to integer pixel positions within the block of pixels; applying, by the video coding device, a first interpolation filtering operation to a group of integer pixel values associated with the block of pixels to generate a first intermediate pixel value having a first bit depth, wherein the first intermediate pixel value is limited to be within a range of values associated with a second bit depth, and wherein the second bit depth comprises a bit depth value that is smaller than a bit depth value associated with the first bit depth; adding, by the video coding device, a first offset value to the first intermediate pixel value to generate a second intermediate pixel value at least in part by performing a right-shift operation, wherein adding the first offset value causes the second intermediate pixel value to be a value within the range of values associated with the second bit depth; storing, by the video coding device, the second intermediate pixel value; retrieving, by the video coding device, the second intermediate pixel value; adding, by the video coding device, a second offset value to the retrieved second intermediate value; applying, by the video coding device, a second interpolation filtering operation to a group of intermediate pixel values comprising the retrieved second intermediate pixel value with the added second offset value to compute a first pixel value for a sub-pixel location; and generating, by the video coding device, a prediction block based on at least the first pixel value for the sub-pixel location.