Patent ID: 8762441

Claim:
An apparatus for encoding media data comprising: a 4×4 discrete cosine transform (DCT) hardware unit that implements an orthogonal 4×4 DCT having an odd portion that applies first and second internal factors (C, S) that are related to a scaled factor (ξ) such that the scaled factor equals a square root of a sum of a square of the first internal factor (C) plus a square of the second internal factor (S), the first and second internal factors (C, S) are co-prime and greater than or equal to two, wherein the 4×4 DCT hardware unit applies the 4×4 DCT implementation to media data to transform the media data from a spatial domain to a frequency domain and to determine one or more DCT coefficients, and wherein the 4×4 DCT hardware unit includes a quantization unit that multiplies the scaled factor (ξ) with one or more DCT coefficients to determine quantized DCT coefficients.