background image
ISO/IEC 10918-1 : 1993(E)
In Figure G.3, Ss is the start of spectral selection, Se is the end of spectral selection, K is the index into the list of
coefficients stored in the zig-zag sequence ZZ, R is the run length of zero coefficients, and EOBRUN is the run length of
EOBs. EOBRUN is set to zero at the start of each restart interval.
If the scan header parameter Al (successive approximation bit position low) is not zero, the DCT coefficient values ZZ(K)
in Figure G.3 and figures which follow in this annex, including those in the arithmetic coding section, shall be replaced
by the point transformed values ZZ'(K), where ZZ'(K) is defined by:
ZZ'(K) =
ZZ(K)x
2
Al
EOBSIZE is a procedure which returns the size of the EOB extension field given the EOB run length as input. CSIZE is a
procedure which maps an AC coefficient to the SSSS value defined in the subclauses on sequential encoding (see F.1.1
and F.1.3).
TISO1600-93/d098
Encode_EOBRUN
EOBRUN = 0
?
Yes
No
SSSS = EOBSIZE(EOBRUN)
I = SSSS × 16
Append EHUFSI(I)
bits of EHUFCO(I)
Append SSSS low order
bits of EOBRUN
EOBRUN = 0
Done
Figure G.4 ­ Progressive encoding of a non-zero AC coefficient
Figure G.4 [98] = 11 cm = 430 %
TISO1610-93/d099
Encode_ZRL
Append EHUFSI(X'F0')
bits of EHUFCO(X'F0')
R = R ­ 16
Done
Figure G.5 ­ Encoding of the run of zero coefficients
124
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]