ISO/IEC 10918-1 : 1993(E)
The baseline sequential process uses Huffman coding, while the extended DCT-based and lossless processes may use
either Huffman or arithmetic coding.
4.7
Sample precision
For DCT-based processes, two alternative sample precisions are specified: either 8 bits or 12 bits per sample. Applications
which use samples with other precisions can use either 8-bit or 12-bit precision by shifting their source image samples
appropriately. The baseline process uses only 8-bit precision. DCT-based implementations which handle 12-bit source
image samples are likely to need greater computational resources than those which handle only
8-bit source images. Consequently in this Specification separate normative requirements are defined for 8-bit and
12-bit DCT-based processes.
For lossless processes the sample precision is specified to be from 2 to 16 bits.
4.8
Multiple-component control
Subclauses 4.3 and 4.4 give an overview of one major part of the encoding and decoding processes those which operate
on the sample values in order to achieve compression. There is another major part as well the procedures which control
the order in which the image data from multiple components are processed to create the compressed data, and which
ensure that the proper set of table data is applied to the proper data units in the image. (A data unit is a sample for lossless
processes and an 8
×
8 block of samples for DCT-based processes.)
4.8.1
Interleaving multiple components
Figure 11 shows an example of how an encoding process selects between multiple source image components as well as
multiple sets of table data, when performing its encoding procedures. The source image in this example consists of the
three components A, B and C, and there are two sets of table specifications. (This simplified view does not distinguish
between the quantization tables and entropy coding tables.)
TISO0750-93/d011
A
B
C
Encoding
process
Source
image data
Table speci-
fication 1
Table speci-
fication 2
Compressed
image data
Figure 11 Component-interleave and table-switching control
FIGURE 11 [D11] 7 cm = 273 %
In sequential mode, encoding is non-interleaved if the encoder compresses all image data units in component A before
beginning component B, and then in turn all of B before C. Encoding is interleaved if the encoder compresses a data unit
from A, a data unit from B, a data unit from C, then back to A, etc. These alternatives are illustrated in Figure 12, which
shows a case in which all three image components have identical dimensions: X columns by Y lines, for a total of n data
units each.
CCITT Rec. T.81 (1992 E)
19