IP Library › Granted Patent US 6,958,715
Granted Patent B2
US 6,958,715 · App. 10/822,087 · Granted Oct 25, 2005

Variable length decoding system and method

Assignee: Texas Instruments Incorporated
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,958,715
App. No.
10/822,087
Granted
Oct 25, 2005
Kind
B2
Abstract

A method of decoding variable length codes converts a variable length code table into standard format decomposition tables from which a universal variable length decoder can decode. This allows the same universal variable length decoder to decode any variable length code. The memory required to store the standard format decomposition tables is minimized by the conversion process.

Claims (15)

1. A method of decoding variable length codes, comprising:

(a) providing a translation of a variable length code table into a variable length decode control table and a variable length decode code table;

(b) applying a universal decode function to an input bitstream, said input bitstream including sequences of codewords from said variable length code table, and said universal decode function interpreting said bitstream using said variable length decode control table to access said variable length decode code table to decode said codewords.

2. The method of claim 1 , wherein said universal decode function:

(a) interprets a first set of bits from said bitstream as a codeword prefix;

(b) uses said prefix and a provided variable length decoding prefix table to determine (i) a maximum length for codewords with said prefix after removal of said prefix and (ii) a mask for bit complementation by XOR; and

(c) uses said prefix and said mask applied to a second set of bits from said bitstream to access said variable length decode control table and then to find an index to access said variable length decode code table and decode one of said codewords.

3. The method of claim 1 , wherein said universal decode function:

(a) interprets a first set of bits from said bitstream as a codeword prefix to determine a first location within said variable length control table;

(b) uses a first entry at said first location to interpret a second set of bits from said bitstream to determine a second location in said variable length control table;

(c) uses a second entry at said second location in said variable length decode control table to find an index to access said variable length decode code table and decode one of said codewords.

4. The method of claim 3 , wherein:

(a) said first entry includes (i) a maximum length for codewords with said prefix after removal of said prefix and (ii) a mask for bit complementation by XOR of said second set of bits;

(b) said second entry includes (i) a shift and (ii) an offset; and

(c) said index is computed as the XOR of said second set of bits followed by said shift and then by said offset.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 17, 2004
From: ZHOU, MINHUA
To: TEXAS INSTRUMENTS INCORPORATED
Reel/Frame 014862/0439 →
Continuity (3)
Continuation In Part 0978880700 · Feb 20, 2001
Provisional Application 6046250100 · Apr 11, 2003
Related Publication 20040233076A1 · Nov 25, 2004