Direct impls of B2 DCT and IDCT