Patent ID: 7135997

Claim:
A CAVLC (context-based adaptive variable length coding) decoding method for decoding a coded bitstream using CAVLC length tables and CAVLC value tables, the method comprising the steps of: re-sorting the CAVLC Length tables in an order of a codeword length; and decoding the coded bitstream using the re-sorted length tables; wherein the step of re-sorting the CAVLC length tables is performed for each table of CAVLC variables, and each table comprises a Total_Zeros variable table including a Total_Coeff, a Total_Zeros variable table including a Total_Coeff for a Chroma DC, a run_before variable table of a CAVLC, a Total_Coeff and TrailingOnes variable tables, a Total_Coeff for a Chroma and TrailingOnes variable tables.