Coding Operation

 

1.Four Types of Coding Operation
 

(1)Zero Coding (ZC)

  –Used to code new significance.
  –9 contexts according to the significance of its neighbors

 

(2)Sign Coding (SC)
  Used to code the sign right after a coefficient is identified significant.
  5 contexts based on the sign of four neighbors

 

(3)Magnitude Refinement (MR)
  –3 contexts depending on the significance of its neighbors and whether it is the first time for refinement.

 

(4)Run-Length Coding(RLC)
  –Group 4 insignificant coefficients when they are very probable.
  –Reduce the average number of symbols needed to be coded.
  –One context for whether all four are insignificant
 
          Run-Length Coding for Cleanup pass

 

 

2.Flow Chart for All Coding Passes