摘要 |
A multiple symbol length lookup table is described. The multiple symbol length lookup table includes a plurality of lookup entries and a plurality of lookup results, each lookup entry having a corresponding lookup result. Each lookup entry comprises a particular sequence of input data bits. The input data bits are encoded with a variable length coding. Moreover, the input data bits form one or more consecutive variable length symbols. Each lookup result comprises a total length of the consecutive variable length symbols in the input data bits. In an embodiment, the multiple symbol length lookup table is generated by using a single symbol length lookup table. In practice, the input data bits are submitted to the multiple symbol length lookup table as a lookup entry. In response, the multiple symbol length lookup table returns a lookup result that is the total length or number of bits in the input data bits that a variable length decoder can decode. The total length is the length of the codes of the consecutive variable length symbols in the input data bits. Therefore, utilization of the multiple symbol length lookup table reduces the number of lookup operations that are performed on a stream of variable length encoded data and speeds up processing of the variable length encoded data, as compared to employing the single symbol length lookup table.
|