ISO/IEC 10918-1 : 1993(E)
Decoding the exact value of the magnitude
After the magnitude category is decoded, the low order magnitude bits are decoded. These bits are decoded in order of
decreasing bit significance. The procedure is shown in Figure F.24.
The context-index S is set in Decode_log2_Sz.
S = S + 14
M = SRL M 1
M = 0
D = Decode(S)
D = 0
Sz = M OR Sz
Figure F.24 Decision sequence to decode the magnitude bit pattern
Figure F.24 [D94] = 16 cm = 625 %
markers which are added to the compressed data between each restart interval have a two byte value which
cannot be generated by the coding procedures. These two byte sequences can be located without decoding, and can
therefore be used to resynchronize the decoder. RST
markers can therefore be used for error recovery.
CCITT Rec. T.81 (1992 E)