background image
ISO/IEC 10918-1 : 1993(E)
0
1
2
0
.
.
.
15
EOB
N/A
N/A
N/A
ZRL
. . .
RRRR
SSSS
TISO1430-93/d081
13
14
COMPOSITE VALUES
Figure F.11 ­ Two-dimensional value array for Huffman coding
Figure F.11 {D81] = 4.5 cm = 176 %
Table F.7 ­ Values assigned to coefficient amplitude ranges
SSSS
AC coefficients
11
­2 047..­1 024,1 024..2 047
12
­4 095..­2 048,2 048..4 095
13
­8 191..­4 096,4 096..8 191
14
­16 383..­8 192,8 192..16 383
F.1.6
Extended sequential DCT-based arithmetic encoding process for 12-bit sample precision
The process is identical to the sequential DCT process for 8-bit precision except for changes in the precision of the FDCT
computation.
The structure of the encoding procedure is identical to that specified in F.1.4 which was already defined for a 12-bit
sample precision.
F.2
Sequential DCT-based decoding processes
F.2.1
Sequential DCT-based control procedures and coding models
F.2.1.1
Control procedures for sequential DCT-based decoders
The control procedures for decoding compressed image data and its constituent parts ­ the frame, scan, restart interval and
MCU ­ are given in Figures E.6 to E.10. The procedure for decoding a MCU (Figure E.10) repetitively calls the
procedure for decoding a data unit. For DCT-based decoders the data unit is an 8
×
8 block of samples.
F.2.1.2
Procedure for decoding an 8
×
×
8 block data unit
In the sequential DCT-based decoding process, decoding an 8
×
8 block data unit consists of the following procedures:
a)
decode DC coefficient for 8
×
8 block using the DC table destination specified in the scan header;
b)
decode AC coefficients for 8
×
8 block using the AC table destination specified in the scan header;
c)
dequantize using table destination specified in the frame header and calculate the inverse 8
×
8 DCT.
F.2.1.3
Decoding models for the sequential DCT procedures
Two decoding procedures are used, one for the DC coefficient ZZ(0) and the other for the AC coefficients ZZ(1)...ZZ(63).
The coefficients are decoded in the order in which they occur in the zig-zag sequence order, starting with the DC
coefficient. The coefficients are represented as two's complement integers.
CCITT Rec. T.81 (1992 E)
103
[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]