Dequantization and IDCT for JPEG