KR100195726B1 - A circuit for initially driving run-length decoder - Google Patents

A circuit for initially driving run-length decoder Download PDF

Info

Publication number
KR100195726B1
KR100195726B1 KR1019950069158A KR19950069158A KR100195726B1 KR 100195726 B1 KR100195726 B1 KR 100195726B1 KR 1019950069158 A KR1019950069158 A KR 1019950069158A KR 19950069158 A KR19950069158 A KR 19950069158A KR 100195726 B1 KR100195726 B1 KR 100195726B1
Authority
KR
South Korea
Prior art keywords
signal
output
gate
initial
frame
Prior art date
Application number
KR1019950069158A
Other languages
Korean (ko)
Other versions
KR970057904A (en
Inventor
조영철
Original Assignee
전주범
대우전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 전주범, 대우전자주식회사 filed Critical 전주범
Priority to KR1019950069158A priority Critical patent/KR100195726B1/en
Publication of KR970057904A publication Critical patent/KR970057904A/en
Application granted granted Critical
Publication of KR100195726B1 publication Critical patent/KR100195726B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/93Run-length coding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits

Abstract

본 발명은 줄길이 복호기 초기 구동회로에 관한 것으로, 리드 인에이블 신호(RE)와 프레임 동기신호(Frame-sync.)를 논리곱(AND)하여 출력하는 제1 앤드 게이트(30)와; 상기 제 1 앤드 게이트(30)에서 출력된 신호 및 시스템 리셋신호(sys-rst)를 입력받아 선입선출버퍼의 데이터를 출력하라는 초기 리드요청신호(fir-rrq)를 생성하여 출력하는 초기 리드요청신호 생성부(40) 및; 상기 제 1 앤드게이트(30)에서 출력된 신호와 프레임 종료신호(Frame-end) 또는 상기 시스템 리셋신호(sys_rst)를 입력받아 줄길이 복호화를 수행하라는 액티브신호(active)를 출력하는 액티브신호 생성부(50)를 포함하여 구성되어, 전원이 온 되었을 때 줄길이 복호기를 초기 구동시킬 수 있는 것이다.The present invention relates to an initial driving circuit for a line length decoder, comprising: a first AND gate (30) for ANDing a read enable signal (RE) and a frame synchronization signal (Frame-sync); An initial read request signal for generating and outputting an initial read request signal fir-rrq for receiving the signal output from the first AND gate 30 and the system reset signal sys-rst to output the data of the first-in first-out buffer. A generating unit 40; An active signal generator for receiving a signal output from the first AND gate 30 and a frame end signal or the system reset signal sys_rst and outputting an active signal for performing line length decoding; It is configured to include 50, and can initially drive the line length decoder when the power is turned on.

Description

줄길이 복호기 초기 구동회로Line length decoder initial drive circuit

제1도는 일반적인 영상부호기의 개략적인 블록도.1 is a schematic block diagram of a general video encoder.

제2도는 일반적인 영상복호기의 개략적인 블록도.2 is a schematic block diagram of a general video decoder.

제3도는 일반적인 줄길이 복호기의 개략적인 블록도.3 is a schematic block diagram of a general string length decoder.

제4도는 본 발명에 따른 줄길이 복호기 초기 구동회로의 회로도.4 is a circuit diagram of a line length decoder initial driving circuit according to the present invention.

제5도는 본 발명에 따른 줄길이 복호기 초기 구동회로의 타이밍도.5 is a timing diagram of a string length decoder initial driving circuit according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 이산여현 변환부 2 : 양자화기1: discrete cosine transform unit 2: quantizer

3 : 줄길이 부호기 4 : 가변장 부호기3: line length encoder 4: variable length encoder

5 : 가변장 복호기 6 : 줄길이 복호기5 variable length decoder 6 line length decoder

7 : 역스캐닝부 8 : 역양자화기7: reverse scanning unit 8: inverse quantizer

9 : 역이산여현변환부 10 : 가변장 복호기9: inverse discrete cosine transform unit 10: variable length decoder

15 : 선입선출버퍼 20 : 줄길이 복호기15: First-in, first-out buffer 20: Line length decoder

30 : 제 1 앤드게이트 40 : 초기리드요청신호 생성부30: first end gate 40: initial lead request signal generator

42 : 제 1 오아게이트 44 : 제 1 D-플립플롭42: first oragate 44: first D-flip flop

46 : 제 2 앤드게이트 50 : 액티브신호 생성부46: second AND gate 50: active signal generator

52 : 제 2 오아게이트 54 : 제 2 D-플립플롭52: second oragate 54: second D-flip flop

본 발명은 줄길이 복호기를 초기 구동시키기 위한 회로에 관한 것으로, 특히 전원이 온 되었을 때 줄길이 복호기를 구동시키는 줄길이 복호기 초기 구동회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for initially driving a string length decoder, and more particularly, to a string length decoder initial drive circuit for driving a string length decoder when a power is turned on.

일반적으로, 현대 사회를 일컬어 정보화 사회라고 하는 바, 처리해야 하는 정보의 양이 나날이 늘어나는 추세이므로, 기존의 전송대역을 효과적으로 이용하기 위해서는 데이터를 압축하여야 한다.In general, since modern society is also called an information society, since the amount of information to be processed is increasing day by day, data must be compressed to effectively use the existing transmission band.

특히, 디지털 영상신호의 경우에는 정보량이 매우 방대하기 때문에 정보의 저장과 검색, 전송 등을 보다 효율적으로 하기 위해서는 영상 데이터를 압축하는 것이 필수적이다.In particular, in the case of digital video signals, since the amount of information is very large, it is necessary to compress the video data in order to more efficiently store, retrieve, and transmit the information.

이러한 이유에서 영상 데이터에 대한 압축 기법들이 많이 개발되어 왔으며, 이러한 영상 데이터 압축을 한마디로 요약하면 영상이 갖는 공간적, 시간적 중복성, 통계적 중복성을 제거함으로써 영상을 표시하는데 필요한 데이터량을 줄이는 것이다.For this reason, many compression techniques for image data have been developed. To summarize the compression of image data, the amount of data required to display an image is reduced by eliminating spatial, temporal redundancy, and statistical redundancy.

상기와 같은 영상 데이터 압축기법은 정보의 손실 여부에 따라 손실 부호화와 무손실 부호화 기법으로 나눌 수 있으며, 정지 영상에 존재하는 공간적 중복성을 제거하기 위한 프레임내(intraframe) 부호화와 동영상에 존재하는 시간적 중복성을 제거하기 위한 프레임간(interframe) 부호화로 나눌 수 있다.The image data compressor method can be classified into loss coding and lossless coding according to whether information is lost. Intra-frame coding and temporal redundancy present in video to remove spatial redundancy present in still images It can be divided into interframe encoding to remove.

상기 공간적 중복성을 제거하기 위한 프레임내 부호화는 변환부호화의 일종인 이산여현변환부호화(DCT) 및 양자화를 예로 들 수 있으며, 상기 시간적 중복성을 제거하기 위한 프레임간 부호화의 일예로는 시간적으로 인접한 두 화면간의 움직임을 추정하여 보상함으로써 시간적인 증폭성을 제거하는 움직임 추정 보상 부호화(motion estimation/compensation coding)를 들 수 있다.Intra-frame encoding for removing spatial redundancy includes discrete cosine transform coding (DCT) and quantization, which are a type of transform encoding, and an example of inter-frame encoding for removing the temporal redundancy is two temporally adjacent screens. Motion estimation / compensation coding to remove temporal amplification by estimating and compensating the motion of the liver.

그리고, 상기 이산여현부호화(DCT)와 양자화 과정을 거친 계수값들을 엔트로피 부호화하여 통계적 중복성(statistical redundancy)을 제거하는 것이다.In addition, by performing entropy coding on coefficient values that have undergone the discrete cosine coding (DCT) and quantization, statistical redundancy is removed.

즉, 상기 엔트로피 부호화는, 양자화된 화소의 발생빈도가 다르게 분포되어 있으며 그들의 엔트로피가 B 보다 작다면 Bbpp 보다 작은 코드가 존재한다는 통계적 특성을 이용하여 비트 발생율을 최소로 감축시키기 위한 무손실 부호화 알고리즘을 말한다.That is, the entropy coding refers to a lossless coding algorithm for minimizing the bit rate by using a statistical property that a frequency of occurrence of quantized pixels is distributed differently and their entropy is smaller than B, and a code smaller than Bbpp exists. .

이러한 엔트로피 부호화 기법에는 허프만 부호화 기법을 이용한 가변장 부호화(Variable Length Coding : VLC)기법, 줄길이 부호화(Run Length Coding : RLC)기법 및, 비트 프레인 부호화(Bit Plane Coding : BPC)기법 등 여러 가지가 있으나 가변장 부호화 및 줄길이 부호화 기법이 가장 널리 이용되고 있다.Such entropy coding techniques include Variable Length Coding (VLC), Run Length Coding (RLC), and Bit Plane Coding (BPC) using Huffman coding. However, variable length coding and line length coding are most widely used.

상기 가변장 부호화는 부호화되는 심볼의 확률적 분포에 따라 자주 발생되는 심볼에는 작은 비트를 할당하고, 발생빈도가 낮은 심볼에 대해서는 많은 비트를 할당함으로써, 전체적으로 비트 발생율을 최소화하는 기법이다.The variable length coding is a technique of minimizing the bit generation rate by allocating small bits to symbols that are frequently generated according to the probability distribution of the symbols to be encoded, and assigning many bits to symbols with low occurrences.

이러한 가변장 부호화에는 여러 가지 종류가 있으나 구현이 용이한 허프만 부호화가 가장 널리 사용되고 있다.There are many kinds of such variable length coding, but Huffman coding that is easy to implement is most widely used.

또한, 상기 줄길이 부호화는 주로 이산여현부호화(DCT)와 같은 변환 부호화의 압축 효율을 증가시키기 위해 사용되는 것으로 변환된 DCT 계수들은 일반적으로 대부분의 에너지가 낮은 주파수에 집중되고 높은 주파수 성분들은 거의 0에 가까운 값을 갖게 됨에 따라 지그-재그 주사(zig-zag scan)를 하여 가능한 한 긴 0의 1차원 데이터 열로 만든 다음 계속되는 0의 개수와 바로 연속되는 0이 아닌 계수값으로 구성된 2차원 심볼을 만드는 것이다.In addition, the line length coding is mainly used to increase the compression efficiency of transform coding such as Discrete Cosine Coding (DCT). The transformed DCT coefficients are generally concentrated at low energy frequencies and high frequency components are almost zero. Zig-zag scans are made as long as possible, resulting in a one-dimensional column of zero-dimensional data as long as possible, followed by a two-dimensional symbol consisting of the number of consecutive zeros and non-zero coefficients immediately following it. will be.

한편, 제1도는 일반적인 영상 부호화기의 구성을 개략적으로 나타낸 블록도로서, H.261, MPEG-1, MPEG-2 등의 많은 표준화된 부호기에서 사용되는 것이다.FIG. 1 is a block diagram schematically illustrating the structure of a general video encoder, and is used in many standardized encoders such as H.261, MPEG-1, and MPEG-2.

즉, 이산여현변환부(DCT)(1)에서는 픽셀간의 상관성을 제거하기 위하여 프레임간 차 영상을 예를 들면, 8×8 픽셀의 블록으로 이산여현변환하여 이산여현변환계수를 출력하고, 양자화기(2)에서는 상기 이산여현변환부(1)에서 출력되는 프레임간 차 영상의 이산여현변환 계수를 소정의 양자화간격으로 양자화하여 출력한다.In other words, the discrete cosine transforming unit (DCT) 1 outputs a discrete cosine transform coefficient by performing discrete cosine transforming of the inter-frame difference image into a block of 8x8 pixels, for example, to remove the correlation between pixels. In (2), the discrete cosine transform coefficients of the inter-frame difference image output from the discrete cosine transforming unit 1 are quantized and output at a predetermined quantization interval.

상기 양자화기(2)에서 양자화된 DCT 계수는 지그-재그 스캐닝 과정을 거쳐 1차원 데이터 열로 변환되어 줄길이 부호기(3)로 입력되고, 상기 줄길이 부호기(3)는 지그-재그 스캐닝 과정을 통해 출력된 데이터열을 계속되는 0의 개수와 바로 연속되는 0이 아닌 계수값으로 구성된 (런, 레벨)의 2차원으로 만든다.The DCT coefficients quantized by the quantizer 2 are converted into a one-dimensional data string through a zig-zag scanning process, input to a line length encoder 3, and the line length encoder 3 is subjected to a zig-zag scanning process. Makes the output data stream two-dimensional (run, level) consisting of the number of consecutive zeros and non-zero coefficient values immediately following it.

그리고, 상기 줄길이 부호기(3)에서 줄길이 부호화된 데이터는 가변 길이 부호기(4)에서 허프만 테이블에 의해 가변길이 부호화된 다음 비디오 버퍼(도시하지 않음)로 출력되는 것이다.The length coded data in the length coder 3 is variable length coded by the Huffman table in the variable length coder 4 and then output to a video buffer (not shown).

이때, DCT 계수중 DC 계수와 AC 계수를 구분하여 다른 방법으로 부호화 한다. 보통 각 블록의 DC 값은 주변 블록의 DC 값과 많은 상관성이 있으므로 이전 블록의 DC 값과 차이를 구하여 그 차이값을 부호화하고, 첫 번째 블록의 DC 값은 DC 값의 가변범위의 중간값인 128과의 차이를 구하여 부호화 한다. 이렇게 구해진 DC의 차이값들은 일차원 가변장 부호화를 통하여 부호화하게 되는 것이다.At this time, the DC coefficient and the AC coefficient among the DCT coefficients are distinguished and encoded in another method. Usually, the DC value of each block is highly correlated with the DC value of the neighboring block. Therefore, the difference between the DC value of the previous block is obtained and the difference value is encoded. Encode the difference between and. The DC difference values thus obtained are encoded by one-dimensional variable length coding.

즉, 상기 DC 계수는 DC 크기(dct-dc-size)와 DC 차이(dct-dc-differential)로 나누어져 가변길이 부호화 되는데, DC 크기(dct-dc-size)가 0 이면 그냥 DC 크기(dct-dc-size)의 코드만 전송되고, 0 이 아니면 그 뒤에 DC 크기(dct-dc-size)의 비트 수 만큼 DC 차이(dct-dc-differential)값을 전송하는 것이다.That is, the DC coefficient is variable length coded by dividing the DC size (dct-dc-size) and the DC difference (dct-dc-differential), but if the DC size (dct-dc-size) is 0, the DC size (dct Only the code of -dc-size is transmitted, and if it is not 0, then the DC difference (dct-dc-differential) is transmitted by the number of bits of the DC size (dct-dc-size).

또한, AC는 DCT 영역에서 DC 계수 부근의 AC 계수값이 0이 아닐 확률이 높고, DC에서 멀어질수록 0이 발생할 확률이 높다는 점을 이용하여 보다 더 효과적인 데이터 압축을 위해 계수들을 재정렬하는데, 주로 지그-재그 주사를 통하여 1차원으로 정렬한다. 여기서 0이 연속적으로 나타나는 개수(zero-run)와 0 이 아닌 계수들의 값(level)을 (런, 레벨)의 2차원으로 표현한다.In addition, AC reorders the coefficients for more efficient data compression by taking advantage of the fact that the AC coefficient near the DC coefficient is not zero in the DCT region and that the zero is more likely to be away from the DC. Align in one dimension via zig-zag scan. Here, zero-run and zero-level coefficients are expressed in two dimensions (run, level).

예를 들어, 지그-재그 스캔이 되어, 30,2,0,0,-8,0,0,0,9...와 같이 정열된 DCT 계수는 줄길이 부호기(6)를 통하여 (0,30),(0.2),(2,-8),(3,9)... 와 같이 표현된다.For example, with a zig-zag scan, the aligned DCT coefficients, such as 30,2,0,0, -8,0,0,0,9 ..., are passed through the line length encoder 6 (0, 30), (0.2), (2, -8), (3,9) ...

그리고, 지그-재그 주사된 계수들이 어떤 위치 이후에 계속해서 끝까지 발생할 경우는 블록의 끝을 나타내는 EOB(end of block) 부호를 추가한다.And, if the zig-zag scanned coefficients continue to end after some position, add an end of block (EOB) sign indicating the end of the block.

이와 같이, 줄길이 부호화된 데이터는 허프만 테이블에 의해 가변장 부호화되는 것이다.In this way, the line length coded data is variable length coded by the Huffman table.

또한, 인터코딩(inter)에서 전송해야할 계수가 없는 경우 이를 skipped macroblock이라 하는데 이러한 skipped macroblock 블록이 몇 개나 계속되는지를 나타내는 정보 데이터와, 각 매크로 블록에 속해있는 블록들이 코딩이 됐는가를 나타내는 정보 데이터들도 상기 비디오 버퍼(도시하지 않음)를 통해 복호기로 전송되는 것이다.In addition, when there is no coefficient to be transmitted in inter coding, this is called a skipped macroblock. Information data indicating how many skipped macroblock blocks are continued, and information data indicating whether blocks belonging to each macroblock are coded are also coded. It is transmitted to the decoder through the video buffer (not shown).

한편, 상기와 같은 압축과정을 통해 전송된 영상데이타는 영상 복호기에서 원래의 데이터로 복원되며, 이러한 영상 복호기는 상기 영상 부호기를 역으로 구현하면 되는 것이다.On the other hand, the video data transmitted through the compression process as described above is restored to the original data in the video decoder, such a video decoder is to implement the video encoder in reverse.

즉, 제2도는 일반적인 영상 복호기의 개략적인 블록도로서, 부호화된 데이터상 데이터에 대해 가변길이 복호화를 수행하여 출력하는 가변 길이 복호기(5)와; 상기 가변장 복호기(5)에서 출력된 영상 데이터에 대해 줄 길이 복호기를 수행하는 줄길이 복호기(6); 상기 줄길이 복호기(6)에서 출력된 데이터를 역으로 스캔하여 8×8 주파수 계수 블록을 출력하는 역스캐닝부(7); 상기 역스캐닝부(7)에서 출력된 8×8 주파수 계수 블록에 대해 역 양자화를 수행하여 출력하는 역 양자화기(8); 상기 역 양자화기(8)에서 출력된 8×8 주파수 계수 블록에 대해 DCT를 역으로 수행하여 8×8 최소 블록을 출력하는 역이산여현변환부(9)를 포함하여 구성하고 있다.That is, FIG. 2 is a schematic block diagram of a general video decoder, comprising: a variable length decoder 5 for performing variable length decoding on encoded data on data; A line length decoder 6 for performing a line length decoder on the image data output from the variable length decoder 5; An inverse scanning unit 7 which scans the data output from the line length decoder 6 in reverse and outputs an 8x8 frequency coefficient block; An inverse quantizer 8 for performing inverse quantization on the 8x8 frequency coefficient block output from the inverse scanning unit 7 and outputting the inverse quantizer; The inverse discrete cosine transform unit 9 outputs an 8x8 minimum block by performing DCT inverse with respect to the 8x8 frequency coefficient block output from the inverse quantizer 8.

상기와 같은 영상 복호기에 있어서, 가변장 복호기(5)는 부호화된 비트 스트림으로부터 가변장 부호화된 DCT 계수를 뽑아서 가변장 부호화를 역으로 수행하는 줄길이 복호기(6)로 출력하고, 상기 줄길이 복호기(6)는 상기 가변장 복호기(5)에서 출력된 데이터에 대해 줄길이 복호화를 수행하여 역 스캐닝부(7)로 출력하는 것이다.In the video decoder as described above, the variable length decoder 5 extracts the variable length coded DCT coefficients from the coded bit stream and outputs the result to the line length decoder 6 that performs variable length coding inversely. (6) performs line length decoding on the data output from the variable length decoder 5 and outputs it to the inverse scanning section 7. FIG.

그리고, 역 스캐닝부(7)는 상기 줄길이 복호기(6)에서 출력된 일차원 DCT 계수를 스캐닝 방법에 따라 다시 2차원으로 바꿔주는 작업을 하는 것이다.In addition, the inverse scanning unit 7 converts the one-dimensional DCT coefficients output from the line length decoder 6 into two dimensions again according to the scanning method.

상기와 같이 2차원으로 출력된 DCT 계수는 역 양자화기(8)에서 역 양자화 되어 실제의 DCT 계수값으로 복원된 다음, 역 이산여현변환부(9)에서 역 이산여현변환되어 8×8 화소 블록으로 출력되는 것이다.As described above, the DCT coefficients output in two dimensions are inversely quantized by the inverse quantizer 8 to be restored to the actual DCT coefficients, and then inverse discrete cosine transformed by the inverse discrete cosine transform unit 9 to perform 8 × 8 pixel blocks. Will be output as

이때, 상기 줄길이 복호기(6)로 입력되는 데이터 기본적으로 런(run)과 레벨(level)을 갖게 되며, 런(run)은 0의 길이를 나타내고 레벨(level)은 런 길이 만큼의 0 후에 이어지는 값이다.At this time, the data input to the line length decoder 6 basically has a run and a level, where the run represents the length of zero and the level follows the zero after the run length. Value.

한편, 상기와 같이 동작하는 줄길이 복호기를 제3도를 참조하여 보다 상세히 설명하면 다음과 같다.Meanwhile, the string length decoder operating as described above will be described in more detail with reference to FIG.

전원이 온되면 가변장 복호기(10)는 선입선출버퍼(15)에 데이터를 라이트(write)하기 시작하고, 상기 선입선출 버퍼(15)에 충분한 양의 데이터가 쌓이면 리드인에이블신호(read enable : RE)를 줄길이 복호기(20)로 입력한다.When the power is turned on, the variable length decoder 10 starts to write data to the first-in first-out buffer 15, and when a sufficient amount of data is accumulated in the first-in first-out buffer 15, a read enable signal (read enable: RE) is input to the line length decoder 20.

그리고, 상기 줄길이 복호기(20)는 리드인에이블신호(RE)를 입력받으면 프레임 동기신호(Frame-sync.)를 기다렸다가 프레임 동기신호(Frame-sync)가 입력되면 상기 선입선출버퍼(15)로부터 입력된 데이터를 줄길이 복호화한다.When the line length decoder 20 receives the lead enable signal RE, the line length decoder 20 waits for a frame synchronization signal Frame-sync. Decode the input data lengthwise.

이때, 상기 상기 줄길이 복호기(20)는 선입선출버퍼(15)로 리드요청신호(read request :rrg)를 출력하여 상기 선입선출버퍼(15)로부터 데이터를 입력받는 것이다.In this case, the line length decoder 20 outputs a read request signal (read request: rrg) to the first-in, first-out buffer 15 to receive data from the first-in, first-out buffer 15.

그리고, 프레임 종료신호(Frame-end)가 상기 줄길이 복호기(20)로 입력되면 줄길이 복호화를 중단하고 다음 프레임 동기신호(Frame-end)를 기다리는 대기 모드가 되는 것이다.When the frame end signal (Frame-end) is input to the line length decoder 20, the line length decoding is stopped and the standby mode waits for the next frame synchronization signal (Frame-end).

즉, 상기 줄길이 복호기(20)는 매 프레임마다 프레임 처리를 시작하라는 프레임 동기신호(Frame-sync.)를 입력받아 프레임 처리를 수행하는 한편, 현재 처리하고 있는 프레임을 끝마치라는 프레임 종료신호(Frame-end)를 입력받아 프레임 처리를 종료하는 것이다.That is, the line length decoder 20 receives a frame synchronous signal (Frame-sync.) To start frame processing every frame and performs frame processing, while ending the frame currently being processed. Frame-end) is input to end the frame processing.

본 발명은 상기와 같은 줄길이 복호기의 초기 구동을 실현하기 위한 것으로, 전원이 온 되었을 때 줄길이 복호기를 구동시키는 줄길이 복호기 초기 구동회로를 제공하는데 그 목적이 있다.An object of the present invention is to provide an initial driving circuit for driving a string length decoder when the power is turned on.

이러한 목적을 달성하기 위한 본 발명에 따른 줄길이 복호기 초기 구동회로는, 리드 인에이블 신호와 프레임 동기신호를 논리곱(AND)하여 출력하는 제1 앤드 게이트와; 상기 제 1 앤드 게이트에서 출력된 신호 및 시스템 리셋신호를 입력받아 선입선출버퍼의 데이터를 출력하라는 초기 리드요청신호를 생성하여 출력하는 초기 리드요청신호 생성부 및; 상기 제 1 앤드게이트(30)에서 출력된 신호와 프레임 종료신호 또는 상기 시스템 리셋신호를 입력받아 줄길이 복호화를 수행하라는 액티브신호를 출력하는 액티브신호 생성부를 포함하여 구성된 것을 특징으로 한다.In accordance with an aspect of the present invention, a line length decoder initial driving circuit includes: a first AND gate outputting AND of a read enable signal and a frame synchronization signal; An initial read request signal generator configured to receive an output signal of the first AND gate and a system reset signal to generate and output an initial read request signal for outputting data of a first-in first-out buffer; And an active signal generation unit configured to output an active signal for performing line length decoding upon receiving the signal output from the first end gate 30 and the frame end signal or the system reset signal.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

제4도는 본 발명에 따른 줄길이 복호기 초기 구동회로의 회로도로서, 리드 인에이블 신호(RE)와 프레임 동기신호(Frame-sync.)를 논리곱(AND)하여 출력하는 제1 앤드 게이트(30)와; 상기 제 1 앤드 게이트(30)에서 출력된 신호 및 시스템 리셋신호(sys-rst)를 입력받아 선입선출버퍼의 데이터를 출력하라는 초기 리드요청신호(fir-rrq)를 생성하여 출력하는 초기 리드요청신호 생성부(40) 및; 상기 제 1 앤드게이트(30)에서 출력된 신호와 프레임 종료신호(Frame-end) 또는 상기 시스템 리셋신호(sys_rst)를 입력받아 줄길이 복호화를 수행하라는 액태브신호(active)를 출력하는 액티브신호 생성부(50)를 포함하여 구성되어 있다.4 is a circuit diagram of an initial driving circuit of a line length decoder according to the present invention, and includes: a first AND gate 30 that ANDs and outputs a read enable signal RE and a frame synchronization signal Frame-sync. Wow; An initial read request signal for generating and outputting an initial read request signal fir-rrq for receiving the signal output from the first AND gate 30 and the system reset signal sys-rst to output the data of the first-in first-out buffer. A generating unit 40; Generation of an active signal for outputting an active signal for performing line length decoding by receiving the signal output from the first AND gate 30 and the frame end signal or the system reset signal sys_rst. It is comprised including the part 50.

그리고, 상기 초기리드신호발생부(40)는, 시스템 리셋신호(sys-rst)와 피드백된 신호를 논리합(OR)하여 출력하는 제 1 오아게이트(42)와; 상기 오아게이트(42)에서 출력된 신호를 래치시켜 상기 제 1 오아게이트(42)로 피드백시킴과 더불어 출력하는 제 1 D-플립플롭 및; 상기 제 1 D-플립플롭(44)에서 출력된 신호와 상기 제 1 앤드게이트(30)에서 출력된 신호를 논리곱(AND)하여 상기 D- 플립플롭(44)의 리셋신호로 입력함과 더불어 초기 리드요청신호(fir-rrq)로 출력하는 제 2 앤드게이트(46)를 포함하여 구성되어 있다.The initial lead signal generation unit 40 includes: a first orifice 42 for ORing and outputting a system reset signal sys-rst and a feedback signal; A first D-flip flop that latches the signal output from the orifice (42), feeds it back to the first orifice (42), and outputs it; The AND signal output from the first D-flip flop 44 and the signal output from the first AND gate 30 are ANDed and input as a reset signal of the D-flip flop 44. The second AND gate 46 outputs the initial read request signal fir-rrq.

그리고 상기 액티브신호발생부(50)는, 상기 제1 앤드게이트(30)에서 출력된 신호와 피드백된 신호를 논리합(OR)하여 출력하는 제 2 오아게이트(52) 및 프레임 종료신호(Frame-end) 및 시스템 리셋신호(sys -rst)를 리셋신호로 입력받는 한편, 상기 제 2 오아게이트(52)에서 출력된 신호를 래치시켜 상기 제 2 오아게이트(52)로 피드백함과 더불어 액티브신호(active)로 출력하는 제 2 D-플립플롭(54)을 포함하여 구성되어 있다.In addition, the active signal generator 50 performs a logical OR between the signal output from the first AND gate 30 and the feedback signal, and outputs the second OA gate 52 and the frame end signal (Frame-end). ) And a system reset signal (sys -rst) are input as a reset signal, while the signal output from the second orifice 52 is latched and fed back to the second orifice 52 and an active signal is active. And a second D flip-flop 54 which is output to

상기와 같이 구성된 본 발명에 따른 줄길이 복호기 초기 구동회로의 작용 및 효과를 제3도 및 제4도를 참조하여 상세히 설명한다.The operation and effects of the initial length of the string length decoder initial driving circuit according to the present invention configured as described above will be described in detail with reference to FIGS. 3 and 4.

전원이 온되면 가변장 복호기(10)는 선입선출버퍼(15)에 데이터를 라이트(write)하기 시작하고, 상기 선입선출 버퍼(15)에 충분한 양의 데이터가 쌓이면 리드인에이블신호(read enable : RE)를 출력한다.When the power is turned on, the variable length decoder 10 starts to write data to the first-in first-out buffer 15, and when a sufficient amount of data is accumulated in the first-in first-out buffer 15, a read enable signal (read enable: RE) is printed.

상기와 같이 출력된 리드인에이블신호(RE)와 프레임 동기신호(Frame-sync.)는 제 1 앤드게이트(30)에서 논리곱(AND)해져 초기 리드요청신호 생성부(30)의 제 2 앤드 게이트(46) 및 액티브 신호 생성부(50)의 제 2 오아게이트(52)로 입력된다.The read enable signal RE and the frame synchronization signal Frame-sync. Output as described above are ANDed at the first AND gate 30 to generate the second AND of the initial read request signal generator 30. It is input to the gate 46 and the second or gate 52 of the active signal generator 50.

한편, 초기 리드요청 신호 발생부(30)의 제 1 오아게이트(42)는 전원이 온되면 입력되는 액티브 하이의 시스템 리셋신호(sys-rst)와, 제 1 D-플립플롭(44)에서 피드백된 신호를 논리합(OR)하여 제 1 D-플립플롭(44)으로 출력하고, 상기 제 1 D-플립플롭(44)은 상기 오아게이트(42)에서 입력된 신호를 래치시켜 출력한다.On the other hand, the first oar gate 42 of the initial read request signal generator 30 feeds back the system reset signal sys-rst of the active high input when the power is turned on and the first D-flip flop 44. The OR signal is ORed and output to the first D flip-flop 44, and the first D flip-flop 44 latches and outputs the signal input from the oragate 42.

그리고, 제 2 앤드게이트(46)는 상기 제 1 D-플립플롭(44)에서 출력된 신호와 상기 제 1 앤드게이트(30)에서 출력된 신호를 논리곱(AND)하여 초기 리드요청신호(fir-rrq)로 출력하는 것이다.In addition, the second AND gate 46 performs an AND operation on the signal output from the first D-flip flop 44 and the signal output from the first AND gate 30 to perform an initial read request signal fir. -rrq).

이때, 상기 초기 리드요청신호(fir-rrq)는 상기 제 1 D- 플립플롭(44)이 리셋신호로 입력되는 것이다.At this time, the initial read request signal (fir-rrq) is that the first D- flip-flop 44 is input as a reset signal.

그리고, 상기와 같이 생성된 초기 리드요청신호(fir-rrq)는 선입선출버퍼(15)로 출력되어 줄길이 복호기(20)가 상기 선입선출버퍼(15)로부터 데이터를 입력받는 것이다.The initial read request signal fir-rrq generated as described above is output to the first-in, first-out buffer 15 so that the line length decoder 20 receives data from the first-in, first-out buffer 15.

이때, 상기 초기 리드요청신호(fir-rrq)는 전원이 온된 후 단한번 생성되며, 그 이후에는 줄길이 복호기(20)가 선입선출버퍼(15)로부터 리드요청신호(read request:rrg)를 출력하여 상기 선입선출버퍼(15)로부터 데이터를 입력받는 것이다.In this case, the initial read request signal fir-rrq is generated only once after the power is turned on. After that, the line length decoder 20 outputs a read request signal (read request: rrg) from the first-in, first-out buffer 15. To receive data from the first-in, first-out buffer 15.

한편, 액티브신호 생성부(50)의 제 2 오아게이트(52)는 상기 제 1 앤드게이트(30)에서 출력된 신호와 제 2 D-플립플롭(54)에서 피드백된 신호를 논리합(OR)하여 제 2 D-플립플롭(24)으로 출력하고, 상기 제 2 D-플립플롭(54)은 상기 제 2 오아게이트(52)에서 출력된 신호를 래치시켜 액티브신호(active)를 줄길이 복호기(20)로 출력하는 것이다.On the other hand, the second OA gate 52 of the active signal generator 50 ORs the signal output from the first AND gate 30 and the signal fed back from the second D-flip flop 54. Outputs to a second D flip-flop 24, and the second D flip-flop 54 latches the signal output from the second O-gate 52 to reduce the active signal active. )

이때, 상기 제 2 D-플립플롭(54)은 프레임 종료신호(Frame-end) 및 시스템 리셋신호(sys-rst)를 리셋신호로 입력받는 것이다.In this case, the second D flip-flop 54 receives a frame end signal (Frame-end) and a system reset signal (sys-rst) as a reset signal.

그리고, 줄길이 복호기(20)는 상기 액티브신호(active)를 입력받아 상기 액티브신호(active)가 하이이면 프레임을 줄길이 복호화하고, 로우이면 대기 모드가 된다.The line length decoder 20 receives the active signal active, decodes the frame length when the active signal is high, and enters the standby mode when the low signal is low.

상기에 있어서, 프레임 동기신호(Frame-syn.)와 프레임 종료신호(Frame-end) 및 시스템 리셋신호(sys-rst)는 별도의 제어수단으로부터 입력되는 것이다.In the above, the frame synchronizing signal (Frame-syn.), The frame end signal (Frame-end) and the system reset signal (sys-rst) are input from separate control means.

상기와 같이 동작하는 본 발명에 따른 줄길이 복호기 초기 구동회로의 동작을 제5도의 타이밍도를 참조하여 다시 설명하면 다음과 같다.Referring to the timing diagram of FIG. 5, the operation of the initial length of the string length decoder initial driving circuit operating as described above will be described as follows.

제5도 (a)는 전원이 온된후에 입력되는 액티브 하이의 시스템 리셋신호(sys-rst)의 타이밍도이고, 제5도 (b)는 제 1 D-플립플롭(44)에서 출력된 신호(a)의 타이밍도이며, 제5도 (c)는 가변장복호기(10)에서 입력된 리드 인에이블 신호(RE)의 타이밍도이고, 제5도 (d)는 별도의 제어수단에 입력된 프레임 동기신호(Frame-sync.)의 타이밍도이며, 제5도 (e)는 별도의 제어수단에서 입력된 프레임 종료신호(Frame-end)의 타이밍도이고, 제5도 (f)는 본 발명에 의한 줄길이 복호기 초기 구동회로에서 출력되는 초기 리드요청신호(fir-rrq)의 타이밍도이며, 제5도 (g)는 본 발명에 의한 줄길이 복호기 초기 구동회로에서 출력되는 액티브신호(active)의 타이밍도이다.FIG. 5A is a timing diagram of a system reset signal sys-rst of an active high input after power is turned on, and FIG. 5B is a signal output from the first D flip-flop 44 Fig. 5 (c) is a timing diagram of the read enable signal RE input from the variable length decoder 10, and Fig. 5d is a frame input to separate control means. FIG. 5E is a timing diagram of a frame end signal input from a separate control means, and FIG. 5F is a timing diagram of a synchronization signal Frame-sync. Is a timing diagram of an initial read request signal fir-rrq output from an initial driving circuit of a line length decoder, and FIG. 5 (g) illustrates an active signal output from an initial driving circuit of a line length decoder according to the present invention. Timing diagram.

즉, 전원이 온되면 시스템 리셋신로(sys-rst)가 하이가 되고, 제 1 D-플립플롭(44)의 출력신호는 연속적인 하이 레벨을 가지게 된다.That is, when the power is turned on, the system reset path (sys-rst) becomes high, and the output signal of the first D flip-flop 44 has a continuous high level.

이때, 제 2 앤드게이트(46)에서 출력된 액티브 하이의 초기 리드 요청신호(fir-rrq)가 상기 제 1 D-플립플롭(44)의 리셋신호로 입력되면 상기 제 1 D-플립플롭(44)의 출력은 로우레벨로 변환되는 것이다.At this time, when the initial read request signal fir-rrq of the active high output from the second AND gate 46 is input as the reset signal of the first D-flip flop 44, the first D-flip flop 44 is generated. ) Output is low level.

이때, 상기 제 1 D-플립플롭(44)의 출력은 상기 초기 리드 요청신호(fir-rrq)의 폴링에지(falling edge)에서 변환된다.At this time, the output of the first D-flip-flop 44 is converted at the falling edge of the initial read request signal fir-rrq.

그리고, 상기 제 1 D-플립플롭(44)에서 출력된 신호는 가변장 복호기(10)에서 입력된 리드 인에이블 신호(RE) 및 별도의 제어수단에 입력된 프레임 동기신호(Frame-sync.)가 논리곱(AND)된 신호와 제 2 앤드게이트(46)에서 논리곱(AND)되어 상기 초기 리드요청신호(fit-rrq)가 출력되는 것이다.The signal output from the first D-flip-flop 44 is a read enable signal RE input from the variable length decoder 10 and a frame sync signal input to a separate control means. Is ANDed at the AND signal and the second AND gate 46, and the initial read request signal fit-rrq is output.

즉, 전원이 온된후 입력되는 첫 번째 프레임 동기신호(Frame-syn.)에 의해 초기 리드요청신호(fir-rrq)가 생성되므로, 초기 리드요청신호(fir-rrq)는 전원이 온된후 단 한번 생성되는 것이다.That is, since the initial read request signal fir-rrq is generated by the first frame synchronizing signal (Frame-syn.) Input after the power is turned on, the initial read request signal fir-rrq is generated only once after the power is turned on. Is generated.

그리고, 제 2 D-플립플롭(54)의 출력신호는 가변장 복호기(10)에서 입력된 리드 인에이블 신호(RE) 및 별도의 제어수단에 입력된 프레임 동기신호(Frame-sync.)가 논리곱(AND)된 신호가 하이이면 연속적인 하이 레벨을 가지고 액티브 신호(active)를 줄길이 복호기(20)로 입력하여 줄길이 복호기(20)를 동작시키는 것이다.In addition, the output signal of the second D-flip-flop 54 is composed of the read enable signal RE input from the variable length decoder 10 and the frame synchronization signal Frame-sync. When the AND signal is high, the line length decoder 20 is operated by inputting an active signal to the line length decoder 20 at a continuous high level.

이때, 상기 제 2 D-플립플롭(54)은 별도의 제어수단으로부터 입력된 프레임 종료신호(Frame-end) 및 시스템 리셋신호(sys-rst)를 리셋신호로 입력받음에 따라 프레임 종료신호(Frame-end)가 입력되면 다음 프레임 동기신호(Frame-sysc.) 가 입력될 때까지 로우 레벨의 신호를 출력함에 따라 다음 프레임 동기신호(Frame-sysc.) 가 입력될 때까지 줄길이 복호기(20)의 동작을 정지시키는 것이다.In this case, the second D flip-flop 54 receives a frame end signal (Frame-end) and a system reset signal (sys-rst) input from a separate control means as a reset signal. -end) outputs a low level signal until the next frame synchronization signal (Frame-sysc.) is input, and thus the line length decoder 20 until the next frame synchronization signal (Frame-sysc.) is input. To stop the operation.

이상에서 살펴본 바와 같이 본 발명에 따르면, 전원이 온되었을 때 줄길이 복호기를 초기 구동시킬 수 있는 것이다.As described above, according to the present invention, the string length decoder can be initially driven when the power is turned on.

Claims (5)

리드 인에이블 신호(RE)와 프레임 동기신호(Frame-sync.)를 논리곱(AND)하여 출력하는 제1 앤드 게이트(30)와; 상기 제 1 앤드 게이트(30)에서 출력된 신호 및 시스템 리셋신호(sys-rst)를 입력받아 선입선출버퍼의 데이터를 출력하라는 초기 리드요청신호(fir-rrq)를 생성하여 출력하는 초기 리드요청신호 생성부(40) 및; 상기 제 1 앤드게이트(30)에서 출력된 신호와 프레임 종료신호(Frame-end) 또는 상기 시스템 리셋신호(sys_rst)를 입력받아 줄길이 복호화를 수행하라는 액티브신호(active)를 출력하는 액티브신호 생성부(50)를 포함하여 구성된 것을 특징으로 하는 줄길이 복호기 초기 구동회로.A first AND gate 30 which ANDs the read enable signal RE and the frame synchronization signal Frame-sync. An initial read request signal for generating and outputting an initial read request signal fir-rrq for receiving the signal output from the first AND gate 30 and the system reset signal sys-rst to output the data of the first-in first-out buffer. A generating unit 40; An active signal generator for receiving a signal output from the first AND gate 30 and a frame end signal or the system reset signal sys_rst and outputting an active signal for performing line length decoding; An initial driving circuit for a strip length decoder, comprising: a 50; 제1항에 있어서, 상기 초기리드신호발생부(40)는, 시스템 리셋신호(sys-rst)와 피드백된 신호를 논리합(OR)하여 출력하는 제 1 오아게이트(42)와; 상기 오아게이트(42)에서 출력된 신호를 래치시켜 상기 제 1 오아게이트(42)로 피드백시킴과 더불어 출력하는 제 1 D-플립플롭(44) 및, 상기 D-플립플롭(44)에서 출력된 신호와 상기 제 1 앤드게이트(30)에서 출력된 신호를 논리곱(AND)하여 초기 리드요청신호(fir-rrq)를 출력하는 제 2 앤드게이트(46)를 포함하여 구성된 것을 특징으로 하는 줄길이 복호기 초기 구동회로.2. The system of claim 1, wherein the initial lead signal generator (40) comprises: a first orifice (42) for ORing and outputting a system reset signal (sys-rst) and a feedback signal; The first D-flip flop 44 and the output from the D-flip flop 44 which latch and output the signal output from the oragate 42 to feed back to the first oracle 42. And a second AND gate 46 configured to AND the signal and the signal output from the first AND gate 30 to output an initial read request signal fir-rrq. Decoder initial drive circuit. 제2항에 있어서, 상기 제 1 D-플립플롭(44)은 상기 초기 리드요청신호(fir-rrq)를 리셋신호로 입력받는 것을 특징으로 하는 줄길이 복호기 초기 구동회로.The initial length circuit of claim 2, wherein the first D-flip-flop (44) receives the initial read request signal (fir-rrq) as a reset signal. 제1항에 있어서, 상기 액티브신호발생부(50)는, 상기 제1 앤드게이트(30)에서 출력된 신호와 피드백된 신호를 논리합(OR)하여 출력하는 제 2 오아게이트(52) 및, 상기 제 2 오아게이트(52)에서 출력된 신호를 래치시켜 상기 제 2 오아게이트(52)로 피드백함과 액티브신호(active)로 출력하는 제 2 D-플립플롭(54)을 포함하여 구성된 것을 특징으로 하는 줄길이 복호기 초기 구동회로.2. The second oA gate 52 of claim 1, wherein the active signal generator 50 outputs a logic OR between the signal output from the first AND gate 30 and the feedback signal. And a second D flip-flop 54 which latches the signal output from the second orifice 52 and feeds it back to the second orifice 52 and outputs an active signal. Line length decoder initial drive circuit. 제4항에 있어서, 상기 제 2 D-플립플롭(54)은 프레임 종료신호(Frame-end) 및 시스템 리셋신호(sys-rst)를 리셋신호로 입력받는 것을 특징으로 하는 줄길이 복호기 초기 구동회로.5. The initial length circuit of claim 4, wherein the second D-flip flop 54 receives a frame end signal and a system reset signal sys-rst as reset signals. .
KR1019950069158A 1995-12-30 1995-12-30 A circuit for initially driving run-length decoder KR100195726B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950069158A KR100195726B1 (en) 1995-12-30 1995-12-30 A circuit for initially driving run-length decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950069158A KR100195726B1 (en) 1995-12-30 1995-12-30 A circuit for initially driving run-length decoder

Publications (2)

Publication Number Publication Date
KR970057904A KR970057904A (en) 1997-07-31
KR100195726B1 true KR100195726B1 (en) 1999-06-15

Family

ID=19448318

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950069158A KR100195726B1 (en) 1995-12-30 1995-12-30 A circuit for initially driving run-length decoder

Country Status (1)

Country Link
KR (1) KR100195726B1 (en)

Also Published As

Publication number Publication date
KR970057904A (en) 1997-07-31

Similar Documents

Publication Publication Date Title
US5640420A (en) Variable length coder using two VLC tables
US6917310B2 (en) Video decoder and encoder transcoder to and from re-orderable format
US8064516B2 (en) Text recognition during video compression
JP3743837B2 (en) Run-length encoder
US20030128753A1 (en) Optimal scanning method for transform coefficients in coding/decoding of image and video
KR0180169B1 (en) A variable length coder
KR100280592B1 (en) Method and apparatus for processing variable length encoded data
JPH08111867A (en) Coding method and decoding method for dynamic image
JP2000506715A (en) Dual speed variable length decoder and decoding architecture for MPEG-2 video data
KR0154010B1 (en) Variable length decoder
EP2054841B1 (en) Method and apparatus for transferring digital data between circuits
KR20100089546A (en) Method and apparatus for successively encoding/decoding image
EP1083752A1 (en) Video decoder with reduced memory
KR100195726B1 (en) A circuit for initially driving run-length decoder
US20020159526A1 (en) Video encoder and video recording apparatus provided with such a video encoder
KR0154011B1 (en) Variable length decoder
KR100195717B1 (en) A variable length decoder
KR100195720B1 (en) A state controller for variable length decoder
KR100221310B1 (en) A transfer signal generator of a run length encoder
KR100195715B1 (en) A variable length decoder
KR100210389B1 (en) A run length encoder
KR100195722B1 (en) A variable length decoder
KR100210388B1 (en) Eob signal generator of a run length encoder
KR100251310B1 (en) Transmission signal generator of run length coder
KR100195716B1 (en) A variable length 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: 20110201

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee