首页>
外国专利>
Apparatus for encoding variable-length codes and segmenting variable- length codewords thereof
Apparatus for encoding variable-length codes and segmenting variable- length codewords thereof
展开▼
机译:用于编码可变长度代码及其分段可变长度代码字的设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
An apparatus for encoding variable length codes (VLCs) represented by variable-length codewords and their lengths, and segmenting variable- length codewords of the VLCs into fixed-length segments for a transmission thereof, comprises: a lookup table for mapping each of source codes into each of the VLCs to produce each of the variable-length codewords and its length; a first barrel shifter, in response to the length of the present input variable-length codeword, for concatenating a present input variable-length codeword and a concatenated variable-length codeword together; a second barrel shifter, in response to a control signal, for producing a fixed-length segment out of combined inputs of the present input variable-length codeword and the concatenated variable- length codeword; an adder for adding the length of the present input variable-length codeword and an added length to produce a newly added length; and a register for comparing the newly added length with a predetermined number of bits to store the newly added length if the newly added length does not exceed a predetermined number of bits and, otherwise, to store a residue representative of the number of exceeding bits after the adding as the added length and to produce an output- available signal; and, in response to the enable signal, producing each stored added length as the second control signal of the second barrel shifter.
展开▼