Inventors:
Fahri Surucu - Fremont CA
Assignee:
Intervideo, Inc. - Fremont CA
International Classification:
G10L 1900
US Classification:
704500, 704501, 704502, 704503, 704504
Abstract:
A fast code length search method for determining the length of a code in a codebook, wherein the method is especially suited for MPEG-compliant audio encoding. A code length table is created which stores pre-calculated code lengths, including any sign bits and linear extension bits necessary, for data value pairs or quadruples. In one embodiment, two code length tables are created, one for determining the code lengths of the codes used for the ones region, and a second code length table for the big values region. When a code length determination is made, the value is simply read from the table, instead of being calculated each time.