가변길이 부호기
본 발명은 가변길이 부호기에 관한 것으로, 줄길이 부호화된 데이타를 입력받아 미리 내장된 허프만 테이블을 참조하여 가변길이의 부호어(TBL_C)와 이 부호어의 길이(TBL_L)를 출력하는 참조표부(10); 상기 참조표(10)로부터 입력된 가변길이의 부호어(TBL_C)와 부호어의 길이(TBL_L)를 입력받아 이전에 발생된 부호어와 연결시키는 부호어 연결기(20); 상기 참조표부(10)로부터 가변길이 부호어의 길이(TBL_L)를 입력받아 누산하여 라이트(WRITE)신호와 레지듀 데이타(ACC_L)를 출력하는 누산기(40); 및 상기 연...
Gespeichert in:
Format: | Patent |
---|---|
Sprache: | kor |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | 본 발명은 가변길이 부호기에 관한 것으로, 줄길이 부호화된 데이타를 입력받아 미리 내장된 허프만 테이블을 참조하여 가변길이의 부호어(TBL_C)와 이 부호어의 길이(TBL_L)를 출력하는 참조표부(10); 상기 참조표(10)로부터 입력된 가변길이의 부호어(TBL_C)와 부호어의 길이(TBL_L)를 입력받아 이전에 발생된 부호어와 연결시키는 부호어 연결기(20); 상기 참조표부(10)로부터 가변길이 부호어의 길이(TBL_L)를 입력받아 누산하여 라이트(WRITE)신호와 레지듀 데이타(ACC_L)를 출력하는 누산기(40); 및 상기 연결기(20)로부터 연결된 부호어(CAT_C)를 입력받고 상기 참조표부(10)로부터 가변길이 부호어(TBL_C)를 각각 입력받아 상기 누산기(40)의 레지듀 데이타(ACC_L) 출력만큼 내부 레지스터에 저장하는 분할기(30)로 구성된다.
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. |
---|