A spectral approach to recursive end-to-end distortion estimation for sub-pixel motion-compensated video coding