Downsampling on fast DCT domain and inverse motion compensation