ISO/IEC 10918-1 : 1993(E)
TISO1470-93/d085
Figure F.15 Decoder table generation
Decoder_tables
I = 0
J = 0
MAXCODE(I) = 1
I = I + 1
I > 16
?
Yes
No
BITS(I) = 0
?
No
Yes
Done
VALPTR(I) = J
MINCODE(I) = HUFFCODE(J)
J = J + BITS(I) 1
MAXCODE(I) = HUFFCODE(J)
J = J + 1
Figure F.15 [D85] = 14.5 cm = 567 %
108
CCITT Rec. T.81 (1992 E)