update the API for the idct function