KR100238733B1 - Circuit and method for transforming scanning having data packing function of mpeg decoder - Google Patents

Circuit and method for transforming scanning having data packing function of mpeg decoder Download PDF

Info

Publication number
KR100238733B1
KR100238733B1 KR1019950033234A KR19950033234A KR100238733B1 KR 100238733 B1 KR100238733 B1 KR 100238733B1 KR 1019950033234 A KR1019950033234 A KR 1019950033234A KR 19950033234 A KR19950033234 A KR 19950033234A KR 100238733 B1 KR100238733 B1 KR 100238733B1
Authority
KR
South Korea
Prior art keywords
data
read
input data
value
address
Prior art date
Application number
KR1019950033234A
Other languages
Korean (ko)
Other versions
KR970019568A (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 KR1019950033234A priority Critical patent/KR100238733B1/en
Publication of KR970019568A publication Critical patent/KR970019568A/en
Application granted granted Critical
Publication of KR100238733B1 publication Critical patent/KR100238733B1/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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

엠펙디코더의 스캔변환회로 및 그 변환방법에 관한 것Scan conversion circuit of MPEG decoder and method thereof

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

입력데이타를 스캔변환함과 함께 입력데이타중 유효하지 않은 데이타성분을 패킹하는 기능을 가지는 스캔변환회로를 구현한다.A scan conversion circuit having a function of scanning conversion of input data and packing invalid data components of the input data is implemented.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명에 따른 스캔변환회로는, 입력데이타가 유효한 데이타인 경우 소정 비트값을 카운트하고 이 카운트되는 값을 라이트어드레스로서 발생하는 라이트어드레스 발생수단과, 미리 설정된 비트만큼 입력데이타가 라이트됨에 응답하여 소정 비트값을 카운트하고 이 카운트되는 값을 스캔모드에 대응하는 리드어드레스로서 변환하여 발생하는 리드어드레스 발생수단과, 리드어드레스 발생수단에서 카운트되는 값을 소정 시간 지연시켜 카운트하고, 이 카운트되는 값을 리드클럭으로 발생하는 리드클럭 발생수단과, 저장수단과, 상기 발생된 라이트어드레스에 따라 입력데이타를 저장수단에 라이트하고, 저장수단에 라이트되어 있는 데이타를 상기 발생된 리드클럭과 리드어드레스에 따라 출력하는 데이타처리수단으로 구성함을 특징으로 한다.The scan conversion circuit according to the present invention comprises a write address generating means for counting a predetermined bit value when the input data is valid data and generating the counted value as a write address, and in response to the input data being written by a predetermined bit. Counting the bit value and converting the counted value as a read address corresponding to the scan mode, the lead address generating means and the value counted by the lead address generating means are delayed for a predetermined time to count, and the read value is read. A read clock generation means generated by a clock, a storage means, and input data are written to the storage means according to the generated write address, and the data written to the storage means is outputted according to the generated read clock and read address. Characterized in that the data processing means.

4. 발명의 중요한 용도4. Important uses of the invention

엠펙(EMPEG)디코더.EMPEG decoder.

Description

앰팩디코더의 데이타패킹기능을 가지는 스캔변환회로 및 그 변환방법Scan conversion circuit having a data packing function of an amp decoder and its conversion method

제1도는 통상의 스캔매트릭스의 구조를 나타내는 도면.1 is a diagram showing the structure of a conventional scan matrix.

제2도는 엠펙디코더의 메모리에 데이타를 라이트하고, 라이트되어 있는 데이타를 리드하여 스캔변환을 행하는 동작을 나타내는 도면.FIG. 2 is a diagram showing an operation of writing data into the memory of the MPEG decoder, reading the written data, and performing scan conversion.

제3도는 본 발명에 따른 스캔변환회로의 구성도.3 is a block diagram of a scan conversion circuit according to the present invention.

제4도는 제3도의 구성중 라이트어드레스발생부의 상세구성도.4 is a detailed configuration diagram of the light address generation unit in the configuration of FIG.

제5도는 제3도의 구성중 리드어드레스발생부의 상세구성도.5 is a detailed configuration diagram of the lead address generation unit in the configuration of FIG.

제6도는 제3도의 구성중 어드레스다중화부의 상세구성도.6 is a detailed block diagram of the address multiplexing unit in FIG.

제7도는 제3도의 구성중 제어신호발생부의 상세구성도.7 is a detailed block diagram of the control signal generator of FIG.

제8도는 제3도의 구성중 라이트데이타처리부 및 리드데이타처리부의 상세 구성도.8 is a detailed block diagram of the write data processing unit and the read data processing unit in the configuration of FIG.

제9도는 본 발명에 따른 동작파형도.9 is an operational waveform diagram according to the present invention.

〈도면의 주요부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

100 : 라이트어드레스발생부 200 : 리드어드레스발생부100: light address generator 200: lead address generator

300 : 어드레스다중화부 400 : 제어신호발생부300: address multiplexer 400: control signal generator

500 : 라이트데이타처리부 600 : 리드데이타처리부500: light data processing unit 600: lead data processing unit

700 : 정적램(SRAM)700: static RAM

본 발명은 엠펙디코더의 스캔변환회로 및 그 변환방법에 관한 것으로, 특히 데이타패킹기능을 가지는 스캔변환회로 및 그 변환방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scan conversion circuit of an MPEG decoder and a conversion method thereof, and more particularly, to a scan conversion circuit having a data packing function and a conversion method thereof.

최근 디지탈통신기술의 눈부신 신장과 고집적 반도체(VLSI), 그리고 신호처리(DSP)기술의 접목에 따라 종래에는 이질적이고 독립적으로 생성, 처리되어 오던 비디오데이타, 오디오데이타 및 기타에이타들이 정보소스나 매체등의 구별없이 매우 다양한 형태로 처리, 이용될 수 있게 되었다. 이와 같은 환경에서 서로 다른 기기간의 원활한 정보전송 및 공유를 위한 디지탈데이타의 국제적 전송규격 표준화의 필요성이 대두되었고, 이러한 필요성에 따라 정지화상의 전송을 위한 제어펙(Joint Picture Experts Group) 및 동화상의 전송을 위한 엠펙(Moving Picture Experts Group : 이하 "MPEG"라 칭함)등이 표준화되었다.With the recent expansion of digital communication technology and the integration of high-density semiconductor (VLSI) and signal processing (DSP) technologies, video data, audio data, and other data that have been generated and processed heterogeneously and independently in the past have been used as information sources and media. It can be processed and used in a wide variety of forms without distinction. In such an environment, the need for standardization of international data transmission standards for digital data for the smooth transmission and sharing of information between different devices has emerged, and according to these needs, the control picture (Joint Picture Experts Group) and moving picture transmission for the transmission of still pictures Moving Picture Experts Group (hereinafter referred to as "MPEG") has been standardized.

상기 MPEG표준화에 따르면 디지탈 비디오데이타와 오디오데이타를 압축한 후 다중화하여 전송하는 방법 및 압축되어 전송된 비디오데이타와 오디오데이타를 디코딩하는 방법 등이 규정되어 있다. 이 규정된 내용에 따르면 디지탈데이타는 이산코사인변환(Discrete Cosine Transform) 및 양자화되고, 양자화과정을 거친 DCT계수들은 데이타전송에 편하도록 1차원배열로 재배열하게 된다. 이와 같이 DCT계수들을 1차원배열로 재배열하는 동작은 소위 스캔이라 불리운다. 스캔된 데이타는 최종적으로 가변길이코딩(Variable Length Coding)에 의해 더욱 압축된다. 그리고 이렇게 압축되어 전송된 데이타는 런렝스디코더(Run Length Decoder)와 같은 MPEG디코더에 의해 디코딩된다.According to the MPEG standardization, a method of compressing and multiplexing and transmitting digital video data and audio data, and a method of decoding compressed and transmitted video data and audio data, and the like are specified. According to this provision, digital data is discrete cosine transformed and quantized, and DCT coefficients, which have been quantized, are rearranged into one-dimensional arrays to facilitate data transmission. The rearrangement of the DCT coefficients into one-dimensional arrays is called a scan. The scanned data is finally further compressed by Variable Length Coding. The compressed and transmitted data is then decoded by an MPEG decoder such as a run length decoder.

통상 런렝스디코더에 의해 변환되는 데이타들의 순서는 각 블럭(8×8화소의수)에 대하여 2가지의 방식으로 구분될 수 있다. 그 첫번째 방식이 스캔[0][U][V]로 정의되는 노말스캔(Normal Scan)(일명, 지그재그스캔; Zigzag Scan이고, 두번째 방식이 스캔[1][U][V]로 정의되는 얼터너티브스캔(Alternative Scan)이다. 노말스캔 및 얼터너티브스캔에 의해 변환되는 데이타들의 순서는 제1도에 도시되어 있다. 제1도의 (a)는 노말스캔에 따라 변환되는 데이타들의 순서를 나타내는 도면이고, 제1도의 (b)는 얼터너티브스캔에 따라 변환되는 데이타들의 순서를 나타내는 도면이다. 예를 들어 일련의 입력데이타가 노말스캔되면 첫번째 데이타는 [0, 0], 두번째 데이타는 [0, 1], 세번째 데이타는 [1, 0], 네번째 데이타는 [2, 0]과 같은 순서로 출력된다. 이와 달리 일련의 입력데이타가 얼터너티브스캔되면 첫번째 데이타는 [0, 0], 두번째 데이타는 [1, 0], 세번째 데이타는 [2, 0], 네번째 데이타는 [3, 0]과 같은 순서로 출력된다.In general, the order of the data converted by the run length decoder can be divided in two ways for each block (number of 8x8 pixels). The first method is a normal scan defined as scan [0] [U] [V] (aka Zigzag Scan; Zigzag Scan, and the second method is an alternative defined as scan [1] [U] [V]). (Alternative Scan) The order of the data converted by the normal scan and the alternative scan is shown in Fig. 1. (a) of Fig. 1 shows the order of the data converted according to the normal scan. (B) of FIG. 1 shows the order of data converted according to the alternative scan, for example, if a series of input data is normally scanned, the first data is [0, 0], the second data is [0, 1], and the third is The data is output in the order of [1, 0] and the fourth data in the order of [2, 0.] In contrast, when a series of input data is alternatively scanned, the first data is [0, 0] and the second data is [1, 0]. , The third data is [2, 0], the fourth is [3, 0] Is output.

이러한 스캔변환회로에 대한 가장 보편적인 구현방법이 제2도에 도시되어 있다. 즉, 제2도의 (a)에 도시한 바와 같이 입력데이타를 카운터에 의해 카운팅되는 값인 라이트어드레스에 따라 메모리에 라이트한 후 제2도의 (b)에 도시한 바와 같이 카운터에 의해 카운팅된 값이 어드레스 변형부에 의해 변형된 값인 리드어드레스에 따라 메모리에 라이트되어 있는 데이타를 리드함으로써 스캔변환이 이루어지게 된다. 제1도 및 제2도를 참조하면 스캔변환시에 리드어드레스는 순차적으로 [0, 1, 2, 3, . . . 63]까지 증가하는 것이 아니고 스캔모드에 따라 달라지게 된다. 다시 말하면 노말모드에서 리드어드레스는 [0, 1, 8, 16, 9, 2, 3, 10, . . . 63]의 순서가 되고, 얼터너티브모드에서 리드어드레스는 [0, 8, 16, 32, 1, 9, 2, 10, . . . 63]의 순서가 된다. 이에 대한 어드레스매핑은 롬(ROM : Read Only Memory), 피엘에이(PLA : Programmable Logic Array) 또는 로직게이트(앤드게이트, 오아게이트)등으로 구현될 수 있다.The most common implementation of this scan conversion circuit is shown in FIG. That is, as shown in (a) of FIG. 2, the input data is written to the memory according to the write address, which is a value counted by the counter, and then the value counted by the counter is shown as shown in (b) of FIG. The scan conversion is performed by reading data written in the memory according to the read address, which is a value modified by the deforming unit. Referring to FIGS. 1 and 2, the read addresses are sequentially [0, 1, 2, 3,. . . 63] does not increase but depends on the scan mode. In other words, in normal mode the lead address is [0, 1, 8, 16, 9, 2, 3, 10,. . . 63], and the lead address in alternative mode is [0, 8, 16, 32, 1, 9, 2, 10,. . . 63]. The address mapping may be implemented as a read only memory (ROM), a programmable logic array (PLA), or a logic gate (end gate, or o gate).

그러나 종래기술에 따르면 입력되는 데이타를 메모리에 순차적으로 라이트하고 이를 어드레스매핑상태에 따라 비순차적으로 리드하는 일련의 스캔동작이 서로 다른 클럭에 의해 수행되었다. 또한 유효하지 않은 데이타(Invalid Data)성분이 입력데이타에 포함되는 경우 스캔변환된 후 출력되는 데이타에도 유효하지 않은 데이타성분이 존재하였다.However, according to the prior art, a series of scan operations for sequentially writing input data into a memory and reading them out of order according to an address mapping state are performed by different clocks. In addition, when an invalid data element is included in the input data, an invalid data element exists in the data output after the scan conversion.

따라서 본 발명의 목적은 단일의 클럭을 이용하여 리드동작 및 라이트동작을 행하는 스캔변환회로 및 그 변환방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a scan conversion circuit and a conversion method for performing a read operation and a write operation using a single clock.

본 발명의 다른 목적은 입력데이타를 스캔변환함과 함께 입력데이타중 유효하지 않은 데이타성분을 패킹(packing)하는 기능을 가지는 스캔변환회로 및 그 변환방법을 제공함에 있다.Another object of the present invention is to provide a scan conversion circuit having a function of scanning and converting input data and packing invalid data components among the input data, and a conversion method thereof.

상기와 같은 목적들을 달성하기 위한 본 발명은 입력데이타를 메모리에 순차적으로 라이트하고 어드레스매핑상태에 따라 비순차적으로 리드하는 일련의 동작이 단일클럭에 의해 수행되며, 입력데이타의 유효하지 않은 상태를 리드동작시에 패킹하여 출력데이타에는 유효하지 않은 데이타가 없도록 하는 스캔변환회로를 향한 것이다.According to the present invention for achieving the above objects, a series of operations for sequentially writing input data into a memory and reading out of sequence according to an address mapping state is performed by a single clock, and reads an invalid state of the input data. It is directed to a scan conversion circuit that packs during operation to ensure that there is no invalid data in the output data.

본 발명에 따른 엠펙디코더의 스캔변환회로는, 입력데이타가 유효한 데이타인 경우 소정 비트값을 카운트하고 이 카운트되는 값을 라이트어드레스로서 발생하는 라이트어드레스 발생수단과, 미리 설정된 비트만큼 입력데이타가 라이트됨에 응답하여 소정 비트값을 카운트하고 이 카운트되는 값을 스캔모드에 대응하는 리드어드레스로서 변환하여 발생하는 리드어드레스 발생수단과, 상기 리드어드레스 발생수단에서 카운트되는 값을 소정 시간 지연시켜 카운트하고, 이 카운트되는 값을 리드클럭으로 발생하는 리드클럭 발생수단과, 저장수단과, 상기 발생된 라이트어드레스에 따라 입력데이타를 상기 저장수단에 라이트하고, 상기 저장수단에 라이트되어 있는 데이타를 상기 발생된 리드클럭과 리드어드레스에 따라 출력하는 데이타처리수단으로 구성된다.The scan decoder circuit of the MPEG decoder according to the present invention includes a write address generating means for counting a predetermined bit value when the input data is valid data and generating the counted value as a write address, and the input data being written by a predetermined bit. In response to counting a predetermined bit value and converting the counted value into a read address corresponding to the scan mode, the lead address generating means and the value counted by the read address generating means are delayed for a predetermined time and counted. A read clock generation means for generating a read clock value, a storage means, and input data to the storage means according to the generated write address, and data written to the storage means and the generated read clock; Data processing means to output according to the lead address It is composed.

또한 본 발명에 따른 스캔변환방법은, 입력데이타가 유효한 데이타인 경우 상기 입력데이타를 "로우"레벨 및 "하이"레벨을 가지는 시스템클럭의 어느 한 레벨에서 라이트하는 데이타라이트과정과, 상기 입력데이타가 소정 비트만큼 라이트된 이후에 상기 시스템클럭의 다른 한 레벨에서 상기 라이트된 데이타를 리드하는 데이타리드과정과, 상기 입력데이타가 유효한 데이타가 아닌 경우 이전에 라이트되어 있는 데이타를 유지시키고 유효하지 않은 데이타는 라이트시키지 않는 과정으로 구성된다.In addition, the scan conversion method according to the present invention includes a data writing process of writing the input data at any level of a system clock having the "low" level and the "high" level when the input data is valid data. A data read process of reading the written data at another level of the system clock after being written by a predetermined bit; and if the input data is not valid data, the previously written data is maintained and invalid data is stored. It consists of a process that does not light.

이하 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면을 참조하여 설명될 것이다.DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings.

우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한 하기 설명에서는 구체적인 회로의 구성 소자등과 같은 많은 특정(特定) 사항들이 나타나고 있는데, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정사항들 없이도 본 발명이 실시될 수 있음은 이 기술분야에서 통상의 지식을 가진자에게는 자명하다할 것이다. 그리고 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다.First, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals have the same reference numerals as much as possible even if displayed on different drawings. In addition, in the following description, many specific details such as components of specific circuits are shown, which are provided to help a more general understanding of the present invention, and the present invention may be practiced without these specific details. It will be obvious to those skilled in the art. In the following description of the present invention, if it is determined that detailed descriptions of related known functions or configurations may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted.

먼저 본 발명에 따라 입력데이타를 순차적으로 메모리에 라이트하고, 비순차적으로 리드하는 스캔변환방법을 설명한다.First, according to the present invention, a scan conversion method of sequentially writing input data into a memory and reading the data out of order will be described.

본 발명에 따른 입력데이타는 편의상 12비트로 가정할 것이며, 이 데이타는 블럭의 시작을 알리는 BS(Block Start)신호를 이용하여 스캔변환 및 패킹을 동기화한다. 입력되는 데이타는 시스템클럭 CLK(예 : 27MHz)의 레이트로 메모리에 라이트되고, 동시에 변형된 어드레스로 리드된다. 이를 위하여 본 발명에서는 시스템클럭 CLK의 "하이"레벨의 구간에서 리드동작이, "로우"레벨의 구간에서 라이트동작이 수행되도록 설정하였다. 그러나 이와 달리 시스템 클럭 CLK의 "로우"레벨의 구간에서 리드동작이, "하이"레벨의 구간에서 라이트동작이 수행되도록 할 수도 있다.The input data according to the present invention will be assumed to be 12 bits for convenience, and this data is synchronized with scan conversion and packing using a BS (Block Start) signal indicating the start of a block. The incoming data is written to the memory at the system clock CLK (eg 27 MHz) and simultaneously read to the modified address. To this end, in the present invention, the read operation is set in the section of the "high" level of the system clock CLK, and the write operation is performed in the section of the "low" level. Alternatively, the read operation may be performed in the section of the "low" level of the system clock CLK, and the write operation may be performed in the section of the "high" level.

본 발명의 라이트동작에 따르면 입력되는 데이타가 유효한지 유효하지 않은 지는 VALID신호로서 판단가능하다. 즉 VALID가 "하이"레벨이면 입력데이타가 정상적인 데이타이므로 라이트되지만, "로우"레벨이면 라이트되지 않는다. 한편 본 발명의 리드동작에 따르면 데이타의 리드동작은 라이트데이타가 64개 모두 라이트완료된 후 시작되도록 하는 구조를 갖는다. 이렇게 함으로써 블럭시작신호를 이용하여 뱅크스위칭을 하는 종래기술에 따른 구조에 비하여 타이밍상의 안정화를 기할 수 있고, 또한 마지막 블럭에 대한 부가회로가 필요없게 된다.According to the write operation of the present invention, it is possible to determine whether the input data is valid or invalid as the VALID signal. That is, if the VALID is at the "high" level, the input data is written because it is normal data. If the VALID is at the "low" level, it is not written. On the other hand, according to the read operation of the present invention, the read operation of the data has a structure that starts after all 64 write data have been written. By doing so, the timing can be stabilized as compared with the structure of the prior art in which bank switching is performed using the block start signal, and no additional circuit is required for the last block.

이에 따라 전체적인 지연량은 입력데이타중 유효하지 않은 갯수에 따라 달라지게 되지만 블럭의 마지막 화소가 라이트된 후에는 항상 4클럭후에 첫번째 데이타를 패킹하여 리드할 수 있다. 이렇게 하면 이후의 64개 데이타에는 유효하지 않은 데이타가 없는 순수데이타가 얻어지며, 이는 역양자화 및 역이산코사인변환에 직접 이용될 수 있다.Accordingly, the overall delay amount depends on the invalid number of input data. However, after the last pixel of the block is written, the first data can be packed and read after 4 clocks. This results in pure data without invalid data for the next 64 data, which can be used directly for inverse quantization and inverse discrete cosine transformation.

다음에 본 발명에 따른 스캔변환회로의 구성을 살펴본다.Next, the configuration of the scan conversion circuit according to the present invention will be described.

본 발명에 따른 스캔변환회로는 제3도와 같이 구성되는데, 제3도를 참조하면 라이트어드레스발생부(100)와, 리드어드레스발생부(200)와, 어드레스다중화부(300)와, 제어신호발생부(400)와, 라이트데이타처리부(500)와, 리드데이타처리부(600)와, 메모리인 정적램(Static RAM : 이하 "SRAM"이라 칭함)(700)이 포함되어 있다.The scan conversion circuit according to the present invention is configured as shown in FIG. 3, and with reference to FIG. 3, the write address generator 100, the read address generator 200, the address multiplexer 300, and the control signal generation are described. The unit 400, the write data processing unit 500, the read data processing unit 600, and a static RAM (hereinafter, referred to as "SRAM") 700 which is a memory are included.

제4도는 제3도의 구성중 라이트어드레스발생부(100)의 상세구성을 나타내는 도면이다.4 is a diagram showing the detailed configuration of the light address generation unit 100 in the configuration of FIG.

제4도에서 6비트카운터(110)는 입력데이타가 유효한지 나타내는 신호VALID와, 블럭의 시작을 알리는 신호 BS와, 리세트신호 RESET와, 시스템 클럭 CLK에 따라 0에서 32의 값을 순차적으로 카운트하여 라이트어드레스 WADDR[5 : 0]를 발생한다. 이때 "32"가 카운트되는 경우디코더(112)는 이를 디코딩하여 6비트카운터 (110)의 동작을 인에이블시키기 위한 wcnt_En으로 출력한다. 상기 인에이블 신호wcnt_En은 디플립플롭(114), 디플립플롭(116), 인버터(118) 및 앤드게이트(120)을 거쳐 신호 Last PEL로 출력되는데, 이때 출력되는 신호 Last PEL은 라이트될 입력데이타가 마지막 화소임을 나타내는 신호이다.In FIG. 4, the 6-bit counter 110 sequentially counts values from 0 to 32 according to the signal VALID indicating whether the input data is valid, the signal BS indicating the start of the block, the reset signal RESET, and the system clock CLK. To generate the write address WADDR [5: 0]. In this case, when "32" is counted, the decoder 112 decodes it and outputs it to wcnt_En for enabling the operation of the 6-bit counter 110. The enable signal wcnt_En is output as a signal Last PEL via the flip-flop 114, the flip-flop 116, the inverter 118, and the AND gate 120, and the output signal Last PEL is input data to be written. Is a signal indicating that the last pixel is.

제5도는 제3도의 구성중 리드어드레스발생부(200)의 상세구성을 나타내는 도면이다.5 is a diagram showing the detailed configuration of the lead address generation unit 200 in the configuration of FIG.

제5도에서 6비트카운터(208)는 라이트어드레스발생부(100)에서 발생되는 신호 Last PEL와, 리세트신호 RESET와, 시스템 클럭 CLK에 따라 0에서 32의 값을 순차적으로 카운트한다. 이때 카운트되는 값 rcnt[5 : 0]는 리드어드레스변환용 롬(ROM)(212)로 인가되어 스캔모드에 따른 리드어드레스로 변환되어 출력된다. 이렇게 변환되어 출력되는 리드어드레스는 6비트레지스터(214, 218)를 거쳐 리드어드레스 RADDR[5 : 0]로 출력된다.In FIG. 5, the 6-bit counter 208 sequentially counts values from 0 to 32 according to the signal Last PEL generated by the write address generator 100, the reset signal RESET, and the system clock CLK. At this time, the counted value rcnt [5: 0] is applied to the read address converting ROM (ROM) 212 and is converted into the read address according to the scan mode and output. The read address converted and output in this manner is output to the read address RADDR [5: 0] through the 6-bit registers 214 and 218.

한편 6비트카운터(208)에 의해 카운트되는 값이 "32"인 경우 디코더(210)는 이를 디코딩하여 6비트카운터(208)의 인에이블신호 rcnt_En으로 출력한다. 상기 인에이블 신호 rcnt_En은 또한 디플립플롭(220, 222, 226) 및 낸드게이트(228, 230)를 거쳐 리드클럭 RCLK로 출력된다.On the other hand, if the value counted by the 6-bit counter 208 is "32", the decoder 210 decodes it and outputs it to the enable signal rcnt_En of the 6-bit counter 208. The enable signal rcnt_En is also output to the read clock RCLK via the flip-flops 220, 222, 226 and the NAND gates 228, 230.

제6도는 제3도의 구성중 어드레스다중화부(300)의 상세구성을 나타내는 도면이다.FIG. 6 is a diagram showing the detailed configuration of the address multiplexer 300 in FIG.

제6도에서 다중화기(MUX)는 라이트어드레스 WADDR[5 : 0]와, 리드어드레스 RADDR[5 : 0]를 시스템클럭 CLK에 따라 다중화하여 SRAM(700)의 어드레스 ADDR[5 : 0]로서 제공한다.In FIG. 6, the multiplexer (MUX) multiplexes the write address WADDR [5: 0] and the lead address RADDR [5: 0] according to the system clock CLK to provide the address ADDR [5: 0] of the SRAM 700. do.

제7도는 제3도의 구성중 제어신호발생부(400)의 상세구성을 나타내는 도이다.FIG. 7 is a diagram showing a detailed configuration of the control signal generator 400 in FIG.

제7도에서 리세트신호 RESET는 SRAM(700)의 칩인에이블 신호 CE로서 제공되고, 입력데이타가 유효한지를 나타내는 신호 VALID 및 시스템 클럭 CLK는 디플립플롭(402) 및 인버터(404)를 거친 후 낸드게이트(406)를 거쳐 SRAM(700)의 라이트인에이블신호 WE로서 제공된다.In FIG. 7, the reset signal RESET is provided as the chip enable signal CE of the SRAM 700, and the signal VALID and the system clock CLK indicating whether the input data is valid are NAND after passing through the flip-flop 402 and the inverter 404. It is provided as a write enable signal WE of the SRAM 700 via the gate 406.

제8도는 제3도의 구성중 라이트데이타처리부(500) 및 리드데이타처리부(600)의 상세구성을 나타내는 도면이다.8 is a diagram showing the detailed configuration of the write data processing unit 500 and the read data processing unit 600 in the configuration of FIG.

제8도에서 입력데이타 DATA_IN[11 : 0]은 12비트 레지스터(502, 506)를 거쳐 SRAM(700)의 Din단자로 입력되어 라이트되고, SRAM(700)에 라이트되어 있는 데이타는 Dout단자를 통해 출력된 후 12비트 레지스터(602, 604)를 거쳐 출력데이타 DATA_OUT[11 : 0]로서 출력된다. 이때 입력데이타의 라이트동작은 시스템 클럭 CLK에 의해 제어되고, 리드동작은 리드클럭 RCLK 및 시스템 클럭 CLK에 의해 제어된다.In FIG. 8, input data DATA_IN [11: 0] is inputted and written to the Din terminal of the SRAM 700 via the 12-bit registers 502 and 506, and data written to the SRAM 700 is written to the Dout terminal. After being output, it is output as output data DATA_OUT [11: 0] through 12-bit registers 602 and 604. At this time, the write operation of the input data is controlled by the system clock CLK, and the read operation is controlled by the read clock RCLK and the system clock CLK.

제9도는 본 발명에 따른 동작파형을 나타내는 도면으로, 제3도와 같은 구성에 따른 동작파형이다.9 is a view showing an operating waveform according to the present invention, which is an operating waveform according to the configuration shown in FIG.

상기 제9도를 참조하면, 라이트동작 및 리드동작은 단일의 시스템 클럭 CLK에 의해 제어되어 수행된다. 그리고 입력데이터에 섞여있는 유효하지 않은 데이타(invalid data)는 패킹되어 유효한 데이터만이 라이트된 후 리드되게 된다.Referring to FIG. 9, the write operation and the read operation are controlled and performed by a single system clock CLK. Invalid data mixed with the input data is packed so that only valid data is written and then read.

상술한 바와 같이 본 발명에 의해 스캔변환될 시 라이트동작과 리드동작은 단일의 시스템클럭에 의해 제어되며, 입력데이타에 섞여 있는 유효하지 않은 데이타는 패킹되어 처리되므로 이후에 출력되는 데이타에는 유효한 성분만이 포함될 수 있는 잇점이 있다.As described above, when the scan conversion is performed according to the present invention, the write operation and the read operation are controlled by a single system clock, and the invalid data mixed in the input data is packed and processed, so that only valid components are output to the data output thereafter. There are advantages that can be included.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도내에서 여러가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 않되며 후술하는 특허청구의 범위뿐 만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the scope of the following claims, but also by the equivalents of the claims.

Claims (8)

엠펙디코더의 스캔변환회로에 있어서, 입력데이타가 유효한 데이타인 경우 소정 비트값을 카운트하고 이 카운트되는 값을 라이드어드레스로서 발생하는 (라이트어드레스 발생수단과), 미리 설정된 비트만큼 입력데이타가 라이트됨에 응답하여 소정 비트값을 카운트하고 이 카운트되는 값을 스캔모드에 대응하는 리드어드레스로서 변환하여 발생하는 (리드어드레스 발생수단과), 상기 리드어드레스 발생수단에서 카운트되는 값을 소정 시간 지연시켜 카운트하고, 이 카운트되는 값을 리드클럭으로 발생하는 (리드클럭 발생수단과), (저장수단과), 상기 발생된 라이트어드레스에 따라 입력데이타를 상기 저장수단에 라이트하고, 상기 저장수단에 라이트되어 있는 데이타를 상기 발생된 리드클럭과 리드어드레스에 따라 출력하는 (데이타처리수단)으로 구성함을 특징으로 하는 스캔변환회로.In the MPEG decoder scan conversion circuit, if the input data is valid data, the predetermined bit value is counted and the counted value is generated as the ride address (write address generating means), and the input data is written by the predetermined bit. Counts a predetermined bit value, converts the counted value into a read address corresponding to the scan mode (with the lead address generating means), and counts the value counted by the read address generating means by a predetermined time delay. The input data is written to the storage means according to the read clock generation means, the storage means, and the generated write address, and the data written to the storage means is read. Outputs data according to the generated lead clock and lead address Scanning conversion circuit, characterized by name. 제1항에 있어서, 상기 라이트어드레스 발생수단은, 입력데이타가 유효한 데이타인 경우 시스템클럭에 따라 소정 비트값을 카운트하여 카운트되는 값을 라이트어드레스로서 발생하는 제1카운터임을 특징으로 하는 스캔변환회로.The scan conversion circuit according to claim 1, wherein the write address generating means is a first counter that generates a count value by writing a predetermined bit value according to a system clock when the input data is valid data. 제2항에 있어서, 상기 제1카운트에 의해 카운팅되는 값을 디코딩하여 미리 설정된 비트값이 디코딩될 시 이를 상기 카운터의 동작을 인에이블시키기 위한 신호로서 출력하는 디코더와, 상기 디코더의 출력을 소정 시간 지연하여 입력데이타가 미리 설정된 비트만큼 라이트되었음을 나타내는 신호로서 출력하는 지연수단을 더 포함함을 특징으로 하는 스캔변환회로.The decoder of claim 2, further comprising: a decoder for decoding a value counted by the first count and outputting a predetermined bit value as a signal for enabling the operation of the counter when a predetermined bit value is decoded, and outputting the decoder for a predetermined time. And delay means for delaying and outputting a signal indicating that input data has been written by a predetermined bit. 제3항에 있어서, 상기 리드어드레스 발생수단은, 상기 지연수단의 출력에 따라 클리어되며 시스템클럭에 따라 소정 비트값을 카운트하는 제2카운터와, 상기 제2카운터의 출력을 스캔모드에 따라 변환하여 리드어드레스로서 출력하는 리드어드레스 변환수단으로 구성함을 특징으로 하는 스캔변환회로.The method of claim 3, wherein the read address generating means comprises: a second counter that is cleared according to the output of the delay means and counts a predetermined bit value according to a system clock, and converts the output of the second counter according to a scan mode. A scan conversion circuit comprising a read address converting means for outputting as a read address. 제4항에 있어서, 상기 리드어드레스 변환수단이, 롬, 피엘에이 또는 로직 게이트임을 특징으로 하는 스캔변환회로.The scan conversion circuit according to claim 4, wherein the read address converting means is a ROM, a PLA or a logic gate. 제4항에 있어서, 상기 리드클럭 발생수단이, 상기 제2카운터에서 카운트되는 값을 소정 시간 지연시켜 리드클럭으로 발생하는 일련의 지연소자로 구성함을 특징으로 하는 스캔변환회로.5. The scan conversion circuit according to claim 4, wherein the lead clock generating means comprises a series of delay elements which are generated as lead clocks by delaying a value counted by the second counter by a predetermined time. 압축되어 입력되는 데이타를 스캔변환하는 방법에 있어서, 입력데이타가 유효한 데이타인 경우 소정 비트값을 카운트하고 이 카운트되는 값을 라이트어드레스로서 발생하는 라이트어드레스 발생과정과, 미리 설정된 비트만큼 입력데이타가 라이트됨에 응답하여 소정 비트값을 카운트하고 이 카운트되는 값을 스캔모드에 대응하는 리드어드레스로서 변환하여 발생하는 리드어드레스 발생과정과, 상기 리드어드레스 발생과정에서 카운트되는 값을 소정 시간 지연시켜 카운트하고, 이 카운트되는 값을 리드클럭으로 발생하는 리드클럭 발생과정과, 상기 발생된 라이트어드레스에 따라 입력데이타를 소정 저장수단에 라이트하는 데이타라인트과정과, 저장수단에 라이트되어 있는 데이타를 상기 발생된 리드클럭과 리드어드레스에 따라 리드하여 출력하는 데이타리드과정으로 구성함을 특징으로 하는 스캔변환 방법.In the method of scan-converting the compressed and input data, when the input data is valid data, a write address generation process of counting a predetermined bit value and generating the counted value as a write address, and writing the input data by a predetermined bit In response to this, a predetermined bit value is counted and the count value is converted into a read address corresponding to the scan mode, and the read address generation process and the value counted in the read address generation process are delayed and counted. A lead clock generation process of generating a counted value as a read clock, a data line process of writing input data to a predetermined storage means according to the generated write address, and data written to the storage means from the generated read clock; Output according to lead address A scan conversion method characterized in that it consists of a data read process. 압축되어 있는 데이타를 스캔변환하는 방법에 있어서, 입력데이타가 유효한 데이타인 경우 상기 입력데이타를 "로우"레벨 및 "하이"레벨을 가지는 시스템클럭의 어느 한 레벨에서 라이트하는 데이타라이트과정과, 상기 입력데이타가 소정 비트만큼 라이트된 이후에 상기 시스템클럭의 다른 한 레벨에서 상기 라이트된 데이타를 리드하는 데이타리드과정과, 상기 입력데이타가 유효한 데이타가 아닌 경우 이전에 라이트되어 있는 데이타를 유지시키고 유효하지 않은 데이타는 라이트시키지 않는 과정으로 구성함을 특징으로 하는 스캔변환방법.A method of scanning and converting compressed data, comprising: a data writing process of writing the input data at one level of a system clock having a "low" level and a "high" level when the input data is valid data; A data read process of reading the written data at another level of the system clock after the data has been written by a predetermined bit, and maintaining the previously written data if the input data is not valid data Scan conversion method, characterized in that the data is composed of a process that does not write.
KR1019950033234A 1995-09-30 1995-09-30 Circuit and method for transforming scanning having data packing function of mpeg decoder KR100238733B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950033234A KR100238733B1 (en) 1995-09-30 1995-09-30 Circuit and method for transforming scanning having data packing function of mpeg decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950033234A KR100238733B1 (en) 1995-09-30 1995-09-30 Circuit and method for transforming scanning having data packing function of mpeg decoder

Publications (2)

Publication Number Publication Date
KR970019568A KR970019568A (en) 1997-04-30
KR100238733B1 true KR100238733B1 (en) 2000-01-15

Family

ID=19428757

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950033234A KR100238733B1 (en) 1995-09-30 1995-09-30 Circuit and method for transforming scanning having data packing function of mpeg decoder

Country Status (1)

Country Link
KR (1) KR100238733B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960024868A (en) * 1994-12-23 1996-07-20 구자홍 Scan inverter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960024868A (en) * 1994-12-23 1996-07-20 구자홍 Scan inverter

Also Published As

Publication number Publication date
KR970019568A (en) 1997-04-30

Similar Documents

Publication Publication Date Title
US6799246B1 (en) Memory interface for reading/writing data from/to a memory
US5581310A (en) Architecture for a high definition video frame memory and an accompanying data organization for use therewith and efficient access therefrom
US6668019B1 (en) Reducing the memory required for decompression by storing compressed information using DCT based techniques
US20010007576A1 (en) Device and method for decoding video signal
CN103634598B (en) The transposition buffering of Video processing
US6119213A (en) Method for addressing data having variable data width using a fixed number of bits for address and width defining fields
US5706001A (en) Run-length decoding apparatus for use in a video signal decoding system
US20060165299A1 (en) Semiconductor memory apparatus
US6940909B2 (en) Video decoding during I-frame decode at resolution change
US6928115B2 (en) Compression-encoded data decoding apparatus cross-reference to related applications
JPS62230164A (en) Degital signal coding/decoding circuit
US6233280B1 (en) Video decoder for high picture quality
JP3238571B2 (en) Variable length decoding device
KR100238733B1 (en) Circuit and method for transforming scanning having data packing function of mpeg decoder
US6091768A (en) Device for decoding signals of the MPEG2 type
US5555511A (en) Data processing system for picture coding processing
US5978508A (en) Two-dimensional inverse discrete cosine transformation circuit for MPEG2 video decoder
KR0176537B1 (en) Memory interface method and circuit for variable length decoder
US7702021B2 (en) Decoding of digital video standard material during variable length decoding
US5736945A (en) Circuit for zero-run developing RUN/LEVEL sets and method for zero-run developing the same
KR100195098B1 (en) Reordering method and circuit of variable length decoded data in image compressing and restoring apparatus
KR0180163B1 (en) An inverse scanner in an image decoder
US20050219082A1 (en) Variable length decoder and variable length decoding method
KR100209357B1 (en) Video idct circuit for mpeg-1 and mpeg-2
KR100247977B1 (en) Video decoder having an extensible memory

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070928

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee