background image
ISO/IEC 10918-1 : 1993(E)
If a carry has not occurred, the output byte is tested to see if it is X'FF'. If so, the stack count ST is incremented, as the
output must be delayed until the carry-over is resolved. If not, the carry-over has been resolved, and any stacked X'FF'
bytes must then be placed in the entropy-coded segment. Note that a zero byte is stuffed following each X'FF'.
The procedures used by Byte_out are defined in Figures D.9 through D.11.
TISO1810-93/d047
Yes
No
Done
BP = BP + 1
B = 0
ST = ST ­ 1
Output_stacked_
zeros
ST = 0
?
Figure D.9 ­ Output_stacked_zeros procedure for encoder
Figure D.9 [D47], = 8.5 cm = 332.%
TISO1100-93/d048
Output_stacked_
X'FF's
Yes
No
Done
BP = BP + 1
B = X'FF'
BP = BP + 1
B = 0
ST = ST ­ 1
ST = 0
?
Figure D.10 ­ Output_stacked_X'FF's procedure for encoder
Figure D.10 [D48], = 8.5 cm = 332.%
CCITT Rec. T.81 (1992 E)
65
[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]