JPEG
gif data

inADA

DCT

In same way, calculate the following blocks.

{(-15) + (-45) - 15 - (-35)} / 4 = -10
{(-5) - (-35) - 25 + (-25)} / 4 = -5

The equations above show the result of the calculation of DCT coefficient for this example.