Figure 3: The FDCT algorithm of 2D DCT calculated by one pair of 1D DCTs.