ISO/IEC 10918-1 : 1993(E)
TISO1630-93/d101
Encode_AC_
coefficients_SA
K = Ss 1
R = 0
BR = 0
K = K + 1
ZZ(K) = 0
?
No
Yes
R > 15
?
Yes
No
K
EOB
?
Yes
No
|ZZ(K)| = 1
?
Yes
No
Encode_EOBRUN
Append_BE_bits
Encode_ZRL
Append_BR_bits
Append LSB of ZZ(K)
to buffered bits
BR = BR + 1
Encode_EOBRUN
Append_BE_bits
Encode_R_ZZ(K)
Append_BR_bits
K = Se
?
No
Yes
Yes
No
K = Se
?
EOBRUN =
EOBRUN + 1
BE = BE + BR
EOBRUN = X'7FFF'
?
Yes
No
Encode_EOBRUN
Append_BE_bits
Done
R = R + 1
Figure G.7 Successive approximation coding of AC coefficients using Huffman coding
CCITT Rec. T.81 (1992 E)
127