Implementing a two-dimensional inverse discrete cosine transform function
includes executing two one-dimensional inverse discrete cosine
transforming functions. Each of the one-dimensional functions is
controlled to operate on a matrix of coefficients in either of two
different directions.