摘要 |
A method and apparatus are disclosed for interpolating pixels (80) to obtain subpels for use by a video decompression processor. A prediction area (90) is defined from which subpels are necessary to decompress a portion of a video image. Instead of reading all of the pixels from the prediction area and then processing them together to perform the necessary interpolation, portions of the pixel data are read and simultaneously averaged using in-place computation in order to reduce hardware requirements. Rounding of subpixel results is achieved using the carry input of conventional adders (114, 116, 118, 120, 148) to add a binary "1" to the averaged pixels, which are subsequently truncated (150) to provide the interpolated subpels. <IMAGE> |