Patent ID: 6601032
Filing Date: 2003-07-29
Classification: G10L,H03M

Abstract:
A method for encoding digital data, the method comprising:creating a first code length table containing pre-calculated total code length values for a ones region, wherein the total code length values comprise a code length and a sign extension count; creating a second code length table containing pre-calculated total code length values for a big values region, wherein the total code length values comprise a code length, a sign extension count, and a linear bit extension count; storing the first and second code length tables in memory prior to encoding a digital data stream; receiving an input digital data frame and for each data sample in the input digital data frame; determining a corresponding size entry in one of the code length tables; and adding the size entry to a total length counter; wherein after processing the data frame, if a value of the total length counter is within a predetermined range, then the data frame is encoded, otherwise a quantization procedure is adjusted, and the steps of determining a corresponding size entry and adding the size entry to a total length counter are repeated for the data frame.