background image
ISO/IEC 10918-1 : 1993(E)
TISO1050-93/d042
Code_MPS(S)
A = A ­ Qe(S)
No
No
Yes
Yes
A < X'8000'
?
A < Qe(S)
?
C = C + A
A = Qe(S)
Estimate_Qe(S)_after_MPS
Renorm_e
Done
Figure D.4 ­ Code_MPS(S) procedure with conditional MPS/LPS exchange
Figure D.4 [D42], = 16.5 cm = 645.%
D.1.5
Probability estimation in the encoder
D.1.5.1
Probability estimation state machine
The probability estimation state machine consists of a number of sequences of probability estimates. These sequences are
interlinked in a manner which provides probability estimates based on approximate symbol counts derived from the
arithmetic coder renormalization. Some of these sequences are used during the initial "learning" stages of probability
estimation; the rest are used for "steady state" estimation.
Each entry in the probability estimation state machine is assigned an index, and each index has associated with it a
Qe value and two Next_Index values. The Next_Index_MPS gives the index to the new probability estimate after an MPS
renormalization; the Next_Index_LPS gives the index to the new probability estimate after an LPS renormalization. Note
that both the index to the estimation state machine and the sense of the MPS are kept for each context-index S. The sense
of the MPS is changed whenever the entry in the Switch_MPS is one.
The probability estimation state machine is given in Table D.3. Initialization of the arithmetic coder is always with
an MPS sense of zero and a Qe index of zero in Table D.3.
The Qe values listed in Table D.3 are expressed as hexadecimal integers. To approximately convert the 15-bit integer
representation of Qe to a decimal probability, divide the Qe values by (4/3)
×
(X'8000').
CCITT Rec. T.81 (1992 E)
59
[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]