background image
ISO/IEC 10918-1 : 1993(E)
SOF
3
:
Lossless (sequential), Huffman coding
SOF
9
:
Extended sequential DCT, arithmetic coding
SOF
10
:
Progressive DCT, arithmetic coding
SOF
11
:
Lossless (sequential), arithmetic coding
Lf:
Frame header length ­ Specifies the length of the frame header shown in Figure B.3 (see B.1.1.4).
P:
Sample precision ­ Specifies the precision in bits for the samples of the components in the frame.
Y:
Number of lines ­ Specifies the maximum number of lines in the source image. This shall be equal to the
number of lines in the component with the maximum number of vertical samples (see A.1.1). Value 0 indicates
that the number of lines shall be defined by the DNL marker and parameters at the end of the first scan (see
B.2.5).
X:
Number of samples per line ­ Specifies the maximum number of samples per line in the source image. This
shall be equal to the number of samples per line in the component with the maximum number of horizontal
samples (see A.1.1).
Nf:
Number of image components in frame ­ Specifies the number of source image components in the frame.
The value of Nf shall be equal to the number of sets of frame component specification parameters (C
i
, H
i
, V
i
,
and Tq
i
) present in the frame header.
C
i
:
Component identifier ­ Assigns a unique label to the ith component in the sequence of frame component
specification parameters. These values shall be used in the scan headers to identify the components in the scan.
The value of C
i
shall be different from the values of C
1
through C
i
-
1
.
H
i
:
Horizontal sampling factor ­ Specifies the relationship between the component horizontal dimension
and maximum image dimension X (see A.1.1); also specifies the number of horizontal data units of component
C
i
in each MCU, when more than one component is encoded in a scan.
V
i
:
Vertical sampling factor ­ Specifies the relationship between the component vertical dimension and
maximum image dimension Y (see A.1.1); also specifies the number of vertical data units of component C
i
in
each MCU, when more than one component is encoded in a scan.
Tq
i
:
Quantization table destination selector ­ Specifies one of four possible quantization table destinations
from which the quantization table to use for dequantization of DCT coefficients of component C
i
is retrieved. If
the decoding process uses the dequantization procedure, this table shall have been installed in this destination
by the time the decoder is ready to decode the scan(s) containing component C
i
. The destination shall not be re-
specified, or its contents changed, until all scans containing C
i
have been completed.
Table B.2 ­ Frame header parameter sizes and values
Values
Parameter
Size (bits)
Sequential DCT
Progressive DCT
Lossless
Baseline
Extended
Lf
16
8
+
3
×
Nf
P
1
8
8
-255
8, 12
8, 12
2-16
5
Y
16
0-65 535
X
16
1-65 535
Nf
1
8
1-255
1-255
1-4
1-255
C
i
1
8
0-255
35
H
i
1
4
1-4
3550
V
i
1
4
1-4
3550
Tq
i
1
8
0-3
12
0-3
55
0-3
0
-125
36
CCITT Rec. T.81 (1992 E)
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186]