KR0152845B1 - Cordward distinguishing apparatus of digital vcr - Google Patents
Cordward distinguishing apparatus of digital vcr Download PDFInfo
- Publication number
- KR0152845B1 KR0152845B1 KR1019950012570A KR19950012570A KR0152845B1 KR 0152845 B1 KR0152845 B1 KR 0152845B1 KR 1019950012570 A KR1019950012570 A KR 1019950012570A KR 19950012570 A KR19950012570 A KR 19950012570A KR 0152845 B1 KR0152845 B1 KR 0152845B1
- Authority
- KR
- South Korea
- Prior art keywords
- length
- codeword
- data
- bit
- start bit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1833—Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10009—Improvement or modification of read or write signals
- G11B20/10481—Improvement or modification of read or write signals optimisation methods
- G11B20/105—Improvement or modification of read or write signals optimisation methods selecting parameter values from a plurality of predetermined settings
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
본 발명은 디지탈 브이씨알의 코드워드 판별 장치에 관한 것으로, 본 발명은 디지탈 브이씨알에 있어서, 에러 정정 복호기의 출력에서 코드워드의 길이를 판별하는 회로를 간단한 하드웨어로 구성하므로서 압축된 비트 스트림으로부터 코드 워드와 그 코드 길이를 구하여 원래의 데이타를 복호하도록 구성한 것으로, 본 발명은 코드워드의 특성을 이용하여 코드 워드 검출 및 그 코드워드의 길이를 판별하기 위한 하드웨어를 간단하게 구현하므로서 하드웨어의 오버-헤드(over-head)를 감소시킬 수 있고, 특히, 압축된 비트 스트림의 데이타에서 원 코드워드와 코드길이를 구하여 이를 복호함으로써 압축전의 데이타를 쉽게 얻을 수 있다.The present invention relates to an apparatus for determining a codeword of a digital VLC. The present invention relates to a codeword discrimination apparatus of a digital VLC. The present invention relates to a codeword coder for determining the length of a codeword at an output of an error correction decoder. The present invention is configured to decode the original data by obtaining a word and its code length. The present invention provides an overhead of hardware by simply implementing hardware for detecting a code word and determining the length of the code word using characteristics of the codeword. (over-head) can be reduced, and in particular, the data before compression can be easily obtained by obtaining and decoding the original codeword and the code length from the data of the compressed bit stream.
Description
제1도는 일반적인 데이타 압축 신장 장치의 블럭도.1 is a block diagram of a typical data compression decompression device.
제2도는 본 발명의 코드워드 판별 장치의 블럭도.2 is a block diagram of a codeword discrimination apparatus of the present invention.
제3도는 가변장 부호 테이블을 보인 예시도.3 is an exemplary view showing a variable length code table.
제4도는 제2도에서 코드워드 길이별 상위비트를 보인 테이블 예시도.FIG. 4 is an exemplary table showing upper bits of codeword lengths in FIG.
제5도는 본 발명의 코드워드 길이 판별을 위한 신호 흐름도.5 is a signal flow diagram for codeword length determination of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
101 : 가변장 부호화기 102 : 포멧터101 variable length encoder 102 formatter
103 : 에러 정정 부호기 104 : 변조기103: error correction encoder 104: modulator
106 : 복조기 107 : 에러 정정 복호기106: demodulator 107: error correction decoder
108 : 코드워드 검출기 109 : 디포멧터108: codeword detector 109: formatter
110 : 가변장 복호화기 201 : 선입선출 메모리(FIFO)110 variable length decoder 201 first-in first-out memory (FIFO)
202 : 비트 스트림 저장부 203 : 멀티플렉서(MUX)202: bit stream storage unit 203: multiplexer (MUX)
204 : 워드 길이 판별부 205 : 코드워드 저장부204: word length discrimination unit 205: codeword storage unit
206 : 길이 데이타 저장부 207 : 시작 비트 결정부206: length data storage unit 207: start bit determination unit
208 : 시작 비트 저장부208: start bit storage unit
본 발명은 디지탈 브이씨알의 데이타의 압축, 신장에 관한 것으로 특히, 가변장 부호 복호에 있어서 코드 워드의 특성을 이용하여 코드 워드와 코드 길이를 판별함에 의해 원래의 데이타를 재생하는 디지탈 브이씨알의 코드워드 판별 장치에 관한 것이다.The present invention relates to the compression and decompression of data of a digital VRL. In particular, in a variable length code decoding, a digital VLC code for reproducing original data by determining a codeword and a code length using characteristics of a codeword. It relates to a word discrimination apparatus.
일반적인 디지탈 브이씨알의 데이타 압축 신장 장치는 제1도에 도시된 바와 같이 구성된다.A typical digital data compression stretching device is constructed as shown in FIG.
이러한 데이타 압축 신장 장치는 먼저, 영상 데이타를 테이에 기록하려는 경우, 압축 영상 데이타가 입력되면 가변장 부호화기(101)는 연트로피(Entropy) 부호화에 의해 각 입력 부호를 같은 길이 부호로 변환하여 부호화 데이타를 포멧터(102)에 출력하게 된다.In the data compression and decompression apparatus, when the image data is to be recorded in a table, the variable length encoder 101 converts each input code into the same length code by entropy encoding and encodes the encoded data. Will be output to the formatter 102.
여기서, 엔트로피(Entropy) 부호화란 대상 신호의 값들의 발생 빈도가 균일하지 않을 경우 가변장 부호화 방식을 적용하여 발생 빈도가 많은 코드에 대해서는 짧은 길이 부호를 할당하고 발생 빈도가 적은 코드에 대해서는 긴 길이 부호를 할당하므로써 모든 코드를 같은 길이로 할당하는 방식이다.In this case, when the frequency of the target signal is not uniform, the entropy coding is applied to a variable length coding scheme to assign a short length code to a code having a high frequency and a long length code to a code with a low frequency. By assigning all codes to the same length.
이때, 포멧터(102)는 가변장 보호화기(101)에서 출력된 부호화 데이타를 시스템의 기록 방식에 적합한 소정 형태로 변환하고 이 소정 형태의 데이타를 입력받은 에러 정정 부호기(103)는 상기 소정 형태의 데이타를 재생시 에러 정정을 위한 부호를 부가하게 된다.At this time, the formatter 102 converts the encoded data output from the variable length protector 101 into a predetermined form suitable for the system recording method, and the error correction encoder 103 receiving the predetermined type of data receives the predetermined form. Code for error correction is added during reproduction of the data.
이에따라, 변조기(104)는 에러 정정 부호기(103)으로부터 출력되는 부호화 데이타를 기록 특성에 적합하게 변조하여 테이프(105)에 기록하게 된다.As a result, the modulator 104 modulates the coded data output from the error correction coder 103 so as to conform to the recording characteristics and records it on the tape 105.
반대로, 테이프의 기록 데이타를 재생하는 경우, 테이프(105)에서 기록 데이타를 검출하면 복조기(106)가 변조된 고주파 대역의 신호로부터 원신호를 복조하고 이 복조된 데이타를 입력받은 에러 정정 복호기(107)는 기록시 에러 정정 부호기(103)에 의해 부가된 에러 정정 코드를 추출하여 재생 과정에서 발생한 에러를 정정하게 된다.In contrast, in the case of reproducing the recording data of the tape, when the recording data is detected by the tape 105, the demodulator 106 demodulates the original signal from the modulated high frequency band signal and receives the demodulated data. ) Extracts an error correction code added by the error correction encoder 103 at the time of recording to correct an error occurring in the reproduction process.
이때, 코드워드 검출부(108)는 에러 정정 복호기(107)에서 출력되는 비트 스트림의 압축 데이타로부터 코드 워드와 그 코드워드의 길이 데이타를 검출하며 디포멧터(109)는 상기 코드워드 검출부(108)의 코딩 데이타를 논리 연산하여 일정 포멧의 원래 코딩 데이타로 변환하게 된다.At this time, the codeword detector 108 detects the codeword and the length data of the codeword from the compressed data of the bit stream output from the error correction decoder 107, and the formatter 109 is the codeword detector 108 Logical operation of the coding data of is converted into the original coding data of a certain format.
이에 따라, 디포멧터(109)에서 일정 포멧의 원래 데이타가 비트 스트림으로 출력되면 가변장 복호화기(110)는 코드워드의 길이 데이타에 따라 해당 코드 워드를 복호하여 영상 데이타를 재생하게 된다.Accordingly, when the formatter 109 outputs the original data of a certain format as a bit stream, the variable length decoder 110 decodes the corresponding code word according to the length data of the codeword to reproduce the image data.
본 발명은 상기의 코드워드 검출부를 간단한 하드웨어로 구성하여 압축된 비트 스트림으로부터 코드워드와 그 코드 길이를 구함에 의해 원래의 데이타를 재생하도록 하는 디지탈 브이씨알의 코드워드 판별 장치를 제공함에 목적이 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a codeword discrimination apparatus of a digital VRL configured to reproduce the original data by obtaining the codeword and its code length from a compressed bit stream by configuring the codeword detector with simple hardware. .
상기의 목적을 달성하기 위하여 본 발명은 압축 데이타를 소정 길이로 순차적으로 저장하는 선입선출 메모리 수단과, 이 선입선출 메모리 수단의 데이타를 소정 길이 단위로 로드하여 저장하는 비트 스트림 저장 수단과, 이 비트 스트림 저장 수단에 로드된 데이타를 시작 비트 포인터에 의해 소정 비트씩 선택하는 멀티플렉서 수단과, 이 멀티플렉서 수단에 시작 비트 포인터를 출력하는 시작 비트 저장 수단과, 상기 멀태플렉서 수단에서 선택된 비트 데이타를 설정 비트 데이타와 비교하여 해당 코드워드의 길이를 판별하는 워드 길이 판별 수단과, 이 워드 길이 판별 수단의 코드 길이 데이타와 상기 시작 비트 저장 수단의 시작 비트 포인터를 합산하여 상기 시작 비트 저장 수단에 출력하는 시작 비트 결정 수단과, 상기 코드워드 판별 수단의 코드 길이를 로드하여 해당 코드워드의 출력시 출력하는 길이 데이타 저장 수단과, 상기 멀티플렉서 수단에서 선택된 코드워드를 일시 저장하는 코드워드 저장 수단과, 동기 신호와 시작 포인터 데이타를 연산하여 상기 각 수단을 제어하는 타이밍 제어 수단으로 구성한다.In order to achieve the above object, the present invention provides a first-in first-out memory means for sequentially storing compressed data in a predetermined length, bit stream storage means for loading and storing data of the first-in first-out memory means in predetermined length units, and this bit. A multiplexer means for selecting data loaded in the stream storage means by a predetermined bit pointer by a start bit pointer, a start bit storage means for outputting a start bit pointer to the multiplexer means, and a bit data selected by the multiplexer means Word length discriminating means for discriminating the length of the corresponding codeword in comparison with data, and start bits for summing up the code length data of the word length discriminating means and the start bit pointer of the start bit storing means and outputting them to the start bit storing means. Determining means and code length of said codeword discriminating means Length data storage means for loading and outputting the codeword when outputting the corresponding codeword, codeword storage means for temporarily storing the codeword selected by the multiplexer means, timing for calculating the synchronization signal and the start pointer data to control the respective means. It consists of control means.
이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the drawings.
제2도는 본 발명의 코드워드 판별 장치의 블럭도로서 이에 도시한 바와 같이, 쓰기 클럭(WCLK)에 의해 압축 데이타를 일정 길이씩 순차적으로 저장하고 읽기 클럭(RCLK)에 의해 저장된 데이타를 출력하는 선입선출 메모리(201)와, 이 선입선출 메모리(201)의 데이타를 소정 길이 단위로 로드하여 저장하는 비트 스트림 저장부(202)와, 이 비트 스트림 저장부(202)에 로드된 데이타를 시작 비트 포인터에 의해 소정 비트씩 선택하는 멀티플렉서(203)와, 이 멀티플렉서(203)에서 선택된 비트 데이타중 상위 소정 비트를 저장된 비트 데이타와 비교하여 해당 코드워드의 길이를 판별하는 워드 길이 판별부(204)와, 이 워드 길이 판별부(204)의 길이 데이타를 일시 저장하는 길이 데이타 저장부(206)와, 상기 워드 길이 판별부(204)의 길이 데이타를 상기 멀티플렉서(203)에 출력되는 시작 비트 포인터와 합산하여 다음 비트 데이타의 선택을 위한 시작 비트 포인터를 결정하는 시작 비트 결정부(207)와, 이 시작 비트 결정부(207)의 시작 비트 포인터를 일시 저장한 후 상기 멀티플렉서(203)에 출력하는 시작 비트 저장부(208)와, 상기 멀티플렉서(203)에서 선택된 비트 데이타를 일시 저장한 후 코드워드로 출력하는 코드워드 저장부(205)와, 동기 신호(SYNC)와 시작 비트 포인터(SP)를 논리 연산하여 상기 선입선출 메모리(201)에 쓰기 클럭(WCLk) 읽기 클럭(RCLK)을 출력하고 상기 비트 스트림 저장부(202), 코드워드 저장부(205), 길이 데이타 저장부(206) 및 시작 비트 저장부(208)에 로드 신호(LOAD)를 출력하는 타이밍 제어부(209)로 구성한다.2 is a block diagram of the codeword discrimination apparatus of the present invention, as shown in FIG. 1, which sequentially stores compressed data by a predetermined length by the write clock WCLK and outputs the data stored by the read clock RCLK. A bit stream storage unit 202 for loading and storing the first-in-first-out memory 201, the data in the first-in-first-out memory 201 by a predetermined length unit, and a start bit pointer for the data loaded in the bit stream storage unit 202. A multiplexer 203 for selecting predetermined bits by means of a word, a word length determination unit 204 for determining the length of a corresponding codeword by comparing the upper predetermined bits of the bit data selected by the multiplexer 203 with the stored bit data; The length data storage unit 206 for temporarily storing the length data of the word length determination unit 204 and the length data of the word length determination unit 204 are outputted to the multiplexer 203. The start bit determiner 207 determines the start bit pointer for the selection of the next bit data by summing with the start bit pointer, and the multiplexer 203 after temporarily storing the start bit pointer of the start bit determiner 207. The start bit storage unit 208 for outputting the data stream), the code word storage unit 205 for temporarily storing the bit data selected by the multiplexer 203 and outputting the code data as a codeword, the synchronization signal SYNC and the start bit pointer. (SP) logical operation to output a write clock (WCLk) read clock (RCLK) to the first-in first-out memory 201, the bit stream storage unit 202, codeword storage unit 205, length data storage unit ( 206 and a timing control unit 209 for outputting a load signal LOAD to the start bit storage unit 208.
상기 비트 스트림 저장부(202)는 24비트 데이타를 저장할 수 있도록 8비트 단위의 레지스터(REG1∼REG3)로 구성하며, 24비트의 크기로 구성하는 이유는 코드워드의 최대 크기가 16비트이기 때문이다.The bit stream storage unit 202 is composed of 8-bit registers REG1 to REG3 to store 24-bit data. The reason why the bit stream storage unit 202 is 24 bits is that the maximum size of the codeword is 16 bits. .
상기 시작 비트 결정부(207)는 덧셈기로 구성한다.The start bit determiner 207 is configured with an adder.
이와같이 구성한 본 발명의 동작 및 작용 효과를 설명하면 다음과 같다.Referring to the operation and effect of the present invention configured as described above are as follows.
먼저, 기록 데이타의 재생 동작으로 에러 정정 목호기(107)에서 에러를 정정한 압축 데이타가 코드워드 검출기(108)에 입력될 때 타이밍 제어부(209)가 동기 신호(SYNC)와 시작 비트 포인터(SP)를 논리 연산함에 의해 쓰기 클럭(WCLK), 읽기 클럭(RCLK) 및 로드 신호(LOAD)를 출력하게 된다.First, when the compressed data whose error is corrected by the error correction tree 107 is input to the codeword detector 108 by the reproduction operation of the recording data, the timing controller 209 causes the synchronization signal SYNC and the start bit pointer SP. ), The write clock WCLK, the read clock RCLK, and the load signal LOAD are outputted.
이때, 선입선출 메모리(201)는 타이밍 제어부(202)의 쓰기 클럭(WCLK)에 따라 비트 스트림인 압축 데이타를 1워드(=8비트) 단위씩 저장하고 읽기 클럭(RCLK)에 따라 저장된 데이타를 1워드 단위씩 출력하게 된다.At this time, the first-in first-out memory 201 stores compressed data, which is a bit stream, in units of one word (= 8 bits) according to the write clock (WCLK) of the timing controller 202, and stores the stored data in accordance with the read clock (RCLK). It will output word by word.
이에따라, 비트 스트림 저장부(202)는 타이밍 제어부(209)의 로드 신호(LOAD)에 따라 선입선출 메모리(201)에서 8비트 단위로 출력되는 데이타를 레지스터(REG1∼REG3)에 각기 저장하여 총 24비트의 데이타를 저장하게 된다.Accordingly, the bit stream storage unit 202 stores data output from the first-in first-out memory 201 in units of 8 bits in accordance with the load signal LOAD of the timing controller 209 in the registers REG1 to REG3, respectively. It will store bits of data.
여기서, 비트 스트림 저장부(202)를 24비트의 크기로 구성하는 이유는 코드워드의 최대 길이가 16비트이기 때문이다.The reason why the bit stream storage unit 202 is configured to be 24 bits is that the maximum length of the codeword is 16 bits.
이 후, 시작 비트 저장부(208)가 비트 스트림 저장부(202)에 저장된 24비트의 데이타중 읽어 들일 시작 비트를 가리키는 시작 비트 포인터(SP)를 출력하면 멀티플렉서(203)는 상기 시작 비트 포인터(SP)에 따라 상기 비트 스트림 저장부(202)의 저장 데이타를 시작 비트부터 16비트의 데이타를 선택하여 출력하게 된다.Thereafter, when the start bit storage unit 208 outputs a start bit pointer SP indicating a start bit to be read among 24 bits of data stored in the bit stream storage unit 202, the multiplexer 203 outputs the start bit pointer ( According to SP), the bit stream storage unit 202 selects and outputs 16 bits of data from the start bit.
이때, 멀티플렉서(203)가 비트 스트림 저장부(202)로부터 선택한 16비트의 데이타를 출력하면 워드 길이 판별부(204)는 상위 8비트의 코드를 기저장된 코드워드의 길이를 판별하기 위한 제4도와 같은 비트 데이타와 비교하여 현재의 코드워드의 길이를 판별하게 된다.At this time, when the multiplexer 203 outputs 16 bits of data selected from the bit stream storage unit 202, the word length determination unit 204 uses a fourth diagram for determining the length of the prestored codeword. The length of the current codeword is determined by comparing with the same bit data.
여기서, 워드 길이 판별부(204)는 제3도와 같은 가변장 코드 데이타에서 길이가 다른 각각의 코드워드들에 대해 공통으로 갖는 코드를 추출하여 그 공통된 코드를 해당 코드의 길이 데이타를 결정하기 위해 제4도와 같이 비교 데이블로 작성하여 저장하고 있는데, 코드워드의 길이는 멀티플렉서(203)이 선택한 16비트 중 상위 8비트를 각기 비교 비트와 배타적 오아링함에 의해 판별하게 된다.Here, the word length determining unit 204 extracts a code having a common length for each codeword having a different length from variable-length code data as shown in FIG. 3 and uses the common code to determine the length data of the corresponding code. As shown in FIG. 4, the comparison word is created and stored, and the length of the codeword is determined by comparing the upper 8 bits of the 16 bits selected by the multiplexer 203 with the comparison bits and the exclusive oaring.
예를 들어, 워드 길이 판별부(204)는 '1101 0000'인 비트가 입력되었다면 제4도와 같은 테이블의 데이타와 비교하여 코드 길이가 8비트임을 판별함에 의해 '1000' 값을 출력하게 된다.For example, if a bit having a '1101 0000' is input, the word length determining unit 204 outputs a '1000' value by determining that the code length is 8 bits by comparing the data of the table shown in FIG.
이에따라, 워드 길이 판별부(204)가 멀티플렉서(203)에서 선택한 코드워드에 대한 길이 데이타를 판별하면 길이 데이타 저장부(206)가 저장하게 되고 시작 비트 결정부(207)는 상기 워드 길이 판별부(204)의 4비트인 길이 데이타를 시작 비트 저장부(208)의 시작 비트 포인터(SP)에 합산하여 다음 데이타의 시작 위치를 결정하기 위한 시작 비트 포인터(SP)를 산출한 후 상기 시작 비트 저장부(208)에 출력하게 된다.Accordingly, when the word length determination unit 204 determines the length data for the codeword selected by the multiplexer 203, the length data storage unit 206 stores the start length determination unit 207. After the 4-bit length data of 204 is added to the start bit pointer SP of the start bit storage unit 208, the start bit pointer SP for determining the start position of the next data is calculated. Output to 208.
그리고, 코드워드 저장부(205)는 시작 비트 저장부(208)의 시작 비트 포인터(SP)에 의해 멀티플렉서(203)가 선택 출력하는 데이타를 저장한 후 코드워드를 출력하게 된다.The codeword storage unit 205 stores data selected and output by the multiplexer 203 by the start bit pointer SP of the start bit storage unit 208 and then outputs the codeword.
이 후, 시작 비트 저장부(208)의 시작 비트 포인터(SP)에 의해 멀티플렉서(203)가 비트 스트림 저장부(202)의 저장 비트 중 16비트를 선택하면 워드 길이 판별부(204)가 해당 코드워드의 길이를 판별하고 그 판별한 길이 데이타에 의해 시작 비트 결정부(207)가 다음 코드워드를 선택하기 위한 시작 위치를 결정하는 동작을 반복하게 된다.Thereafter, when the multiplexer 203 selects 16 bits among the storage bits of the bit stream storage unit 202 by the start bit pointer SP of the start bit storage unit 208, the word length determination unit 204 determines the corresponding code. The length of the word is determined and the start bit determination unit 207 repeats the operation of determining the start position for selecting the next codeword based on the determined length data.
이때, 타이밍 제어부(209)는 시작 비트 저장부(208)의 출력(SP)을 검출하여 비트 스트림 저장부(202)에 선입선출 메모리(201)의 저장 데이타를 로드할 것인지의 여부를 결정하게 된다.At this time, the timing controller 209 detects the output SP of the start bit storage unit 208 and determines whether to load the stored data of the first-in-first-out memory 201 into the bit stream storage unit 202. .
이에따라, 타이밍 제어부(209)가 비트 스트림 저장부(202)에 워드 데이타를 로드하여야 함으로 판별함에 의해 읽기 클럭(RCLK) 및 로드 신호(LOAD)를 출력하면 선입선출 메모리(201)에서 출력된 데이타는 상기 비트 스트림 저장부(202)의 레지스터(REG1∼REG3)에 8비트씩 저장되어진다.Accordingly, when the timing controller 209 outputs the read clock RCLK and the load signal LOAD by determining that the word data should be loaded into the bit stream storage unit 202, the data output from the first-in-first-out memory 201 is output. 8 bits are stored in the registers REG1 to REG3 of the bit stream storage unit 202.
따라서, 상기와 같은 동작을 반복함에 의해 코드워드 검출기(108)에서 코드워드와 그 코드워드의 길이 데이타가 출력하면 디포멧터(109)가 논리 연산을 통해 일정 포멧의 데이타로 복원하여 가변장 복호화기(110)에 출력하므로써 해당 코드 워드를 복호하여 영상을 재생하게 된다.Accordingly, when the codeword and the length data of the codeword are output from the codeword detector 108 by repeating the above operation, the deformatter 109 restores the data of a predetermined format through a logical operation and performs variable length decoding. By outputting to the device 110, the video is reproduced by decoding the corresponding code word.
한편, 상기와 같은 동작은 제5도와 같은 신호 흐름도에 의해 수행되어진다.On the other hand, the above operation is performed by a signal flow diagram as shown in FIG.
즉, 시작 비트 저장부(208)의 시작 비트 포인터(SP)를 검출한 타이밍 제어부(209)가 코드워드를 비트 스트림 저장부(202)에 로드할지의 여부를 결정하는데, 상기 비트 스트림 저장부(202)가 선입선출 메모리(202)의 출력 데이타를 저장하면 시작 비트 저장부(208)의 시작 비트 포인터(SP)에 의해 멀티플렉서(203)가 상기 비트 스트림 저장부(202)의 저장 비트중 16비트를 선택하게 된다.That is, the timing controller 209 detecting the start bit pointer SP of the start bit storage unit 208 determines whether to load the codeword into the bit stream storage unit 202. When 202 stores the output data of the first-in-first-out memory 202, the multiplexer 203 causes the multiplexer 203 to use 16 bits of the storage bits of the bit stream storage unit 202 by the start bit pointer SP of the start bit storage unit 208. Will be selected.
이때, 멀티플렉서(203)의 출력중 상위 8비트를 검출한 워드 길이 판별부(204)는 제4도와 같이 작성된 테이블과 비교하여 해당 코드워드의 길이를 판별하고 이 길이 데이타를 검출한 시작 비트 결정부(207)는 시작 비트 저장부(208)의 출력(SP)과 합산하여 다음 코드 워드의 시작 위치를 결정하게 된다.At this time, the word length determination unit 204 that detects the upper 8 bits of the output of the multiplexer 203 determines the length of the corresponding codeword in comparison with the table created as shown in FIG. 4 and starts the bit determination unit that detects the length data. 207 adds up to the output SP of the start bit storage unit 208 to determine the start position of the next code word.
이에 따라, 시작 위치 저장부(208)가 시작 위치 결정부(207)의 출력을 저장한 후 다음 코드워드의 입력 시점에서 멀티플렉서(203)에 출력하게 되고 코드워드 저장부(205)가 멀티플렉서(203)에서 선택한 16비트의 데이타를 저장한 후 코드워드로 출력할 때 길이 데이타 저장부(206)는 워드 길이 판별부(204)의 출력 데이타를 저장한 후 그 해당 코드워드의 길이 데이타로 출력하게 된다.Accordingly, the start position storage unit 208 stores the output of the start position determination unit 207 and outputs the output to the multiplexer 203 at the time of input of the next codeword, and the codeword storage unit 205 outputs the multiplexer 203. The length data storage unit 206 stores the output data of the word length determination unit 204 and outputs the length data of the corresponding codeword when storing the 16-bit data selected in " .
상기에서 상세히 설명한 바와 같이 본 발명은 코드워드의 특성을 이용하여 코드 워드 검출 및 그 코드워드의 길이를 판별하기 위한 하드웨어를 간단하게 구현하므로써 하드웨어의 오버-헤드(over-head)를 감소시킬 수 있는 효과가 있다.As described in detail above, the present invention can reduce hardware overhead by simply implementing hardware for detecting a code word and determining the length of the code word using characteristics of the code word. It works.
특히, 본 발명은 압축된 비트 스트림의 데이타에서 원 코드워드와 코드 길이를 구하여 이를 복호함으로써 압축전의 데이타를 쉽게 얻을 수 있는 효과가 있다.In particular, the present invention has an effect of easily obtaining the data before compression by obtaining the original codeword and the code length from the data of the compressed bit stream and decoding them.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950012570A KR0152845B1 (en) | 1995-05-19 | 1995-05-19 | Cordward distinguishing apparatus of digital vcr |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950012570A KR0152845B1 (en) | 1995-05-19 | 1995-05-19 | Cordward distinguishing apparatus of digital vcr |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960042671A KR960042671A (en) | 1996-12-21 |
KR0152845B1 true KR0152845B1 (en) | 1998-10-15 |
Family
ID=19414927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950012570A KR0152845B1 (en) | 1995-05-19 | 1995-05-19 | Cordward distinguishing apparatus of digital vcr |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0152845B1 (en) |
-
1995
- 1995-05-19 KR KR1019950012570A patent/KR0152845B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR960042671A (en) | 1996-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5491479A (en) | 8B-16B RLL decoder with hamming distance detection | |
JP3348741B2 (en) | Digital signal decoding apparatus and method | |
JP3037407B2 (en) | Digital signal processing system | |
JP2915568B2 (en) | Adaptive data compression system for tape drive systems. | |
EP0665653B1 (en) | Apparatus and method for decoding variable-length code | |
US4937686A (en) | Method and apparatus for PCM recording and reproducing an audio signal having an asynchronous relation between the sampling frequency for the audio signal and the rotation frequency of a rotary head scanner | |
US5404166A (en) | Variable-length to fixed-length data word reformatting apparatus | |
KR100904626B1 (en) | Trick play for MP3 | |
JP3688297B2 (en) | Video image color encoding | |
KR100729347B1 (en) | Embedding supplemental data in an encoded signal | |
JPH0738893A (en) | Digital television picture transmission or storage device, video recorder and memory medium | |
KR0152845B1 (en) | Cordward distinguishing apparatus of digital vcr | |
JPH0324887A (en) | Encoder for digital image signal | |
JP2937512B2 (en) | Decoded signal error correction device | |
JPH10106151A (en) | Subinformation coding method, recording medium, signal reproducing device and signal reproducing method | |
JP3009900B2 (en) | Encoded data processing device | |
JPH07121999A (en) | Signal encoder, signal decoder, signal encoding and decoding method | |
KR0171443B1 (en) | Apparatus and method of variable length code decoding of digital video cassette recorder | |
KR0144975B1 (en) | Sink code interleave method and apparatus thereof | |
JP2521052B2 (en) | Speech coding system | |
KR0166755B1 (en) | Device and method for generating control signal to correct errors of digital recording/reproducing system | |
KR19990049270A (en) | Digital V's audio signal recorder | |
JPH05114864A (en) | Information transmission and recording device | |
JPH04137823A (en) | Variable length encoder and decoder | |
JPH05183440A (en) | Coder and decoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20060502 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |