Introduction - If you have any usage issues, please Google them yourself
An approximate kernel for the discrete cosine
transform (DCT) of length 4 is derived from the 4-point DCT
defined by the High Efficiency Video Coding (HEVC) standard
and used for the computation of DCT and inverse DCT (IDCT)
of power-of-two lengths. There are two reasons for considering
the DCT of length 4 as the basic module. First, it allows
computation of DCTs of lengths 4, 8, 16, and 32 prescribed by
the HEVC.