background image
ISO/IEC 10918-1 : 1993(E)
G.1.3.3 Coding model for subsequent scans of successive approximation
The procedure "Encode_AC_Coefficient_SA" shown in Figure G.10 increases the precision of the AC coefficient values
in the band by one bit.
As in the first scan of successive approximation for a component, an EOB decision is coded at the start of the band and
after each non-zero coefficient.
However, since the end-of-band index of the previous successive approximation scan for a given component, EOBx, is
known from the data coded in the prior scan of that component, this decision is bypassed whenever the current index, K,
is less than EOBx. As in the first scan(s), the EOB decision is also bypassed whenever the last coefficient in the band is
not zero. The decision ZZ(K)
=
0 decodes runs of zero coefficients. If the decoder is at this step of the procedure, at least
one non-zero coefficient remains in the band of the block being coded. If ZZ(K) is not zero, the procedure in Figure G.11
is followed to code the value.
The context-indices in Figures G.10 and G.11 are defined in Table G.2 (see G.1.3.3.1). The signs of coefficients with
magnitude of one are coded with a fixed probability value of approximately 0.5 (Qe = X'5A1D', MPS
=
0).
G.1.3.3.1
Statistical model for subsequent successive approximation scans
As shown in Table G.2, each statistics area for subsequent successive approximation scans of AC coefficients consists of a
contiguous set of 189 statistics bins. The signs of coefficients with magnitude of one are coded with a fixed probability
value of approximately 0.5 (Qe
=
X'5A1D', MPS
=
0).
G.2
Progressive decoding of the DCT
The description of the computation of the IDCT and the dequantization procedure contained in A.3.3 and A.3.4 apply to
the progressive operation.
Progressive decoding processes must be able to decompress compressed image data which requires up to four sets of
Huffman or arithmetic coder conditioning tables within a scan.
In order to avoid repetition, detailed flow diagrams of progressive decoder operation are not included. Decoder operation
is defined by reversing the function of each step described in the encoder flow charts, and performing the steps in reverse
order.
CCITT Rec. T.81 (1992 E)
129
[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]