0 ‘hip 7» Ont compression
Figure 7-12 Quantization effect.
7523 Entropy Encoding
‘During the next step, either the initial step of entropy encoding or preparation for
the coding process, the quantized DC-coeficients are treated differently than the quan
tized AC-coefficients. The processing order ofall coefficients is specified by the zig-zag
sequence,
* The DC-coefficients determine the fundamental color of the data units, Since this
changes litle between neighboring data units, the differences between successive
DC-coefficients are very small values. Thus each DC-coefficient is encoded by
subtracting the DC-coefficient ofthe previous data unit, as shown in Figure 7-13,
and subsequently using only the difference.
a
ek
Figure 7-13 Preparation of DCT DC-cootficients for entropy encoding. Calculation of
‘ne ference between neighboring values.
+The DCT processing order of the AC-coefficiens using the zig-zag sequence as
shown in Figure 7-14 illustrates that coefficients with lower frequencies (typically
With higher values) are encoded first, followed by the higher frequencies (typi-
cally zero or almost zero). The result is an extended sequence of similar data
bytes, permitting efficient entropy encoding.