KR100281875B1 - Data shuffling and deshuffling apparatus - Google Patents

Data shuffling and deshuffling apparatus Download PDF

Info

Publication number
KR100281875B1
KR100281875B1 KR1019970040718A KR19970040718A KR100281875B1 KR 100281875 B1 KR100281875 B1 KR 100281875B1 KR 1019970040718 A KR1019970040718 A KR 1019970040718A KR 19970040718 A KR19970040718 A KR 19970040718A KR 100281875 B1 KR100281875 B1 KR 100281875B1
Authority
KR
South Korea
Prior art keywords
data
frame memory
address
address generator
shuffling
Prior art date
Application number
KR1019970040718A
Other languages
Korean (ko)
Other versions
KR19990017709A (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 KR1019970040718A priority Critical patent/KR100281875B1/en
Publication of KR19990017709A publication Critical patent/KR19990017709A/en
Application granted granted Critical
Publication of KR100281875B1 publication Critical patent/KR100281875B1/en

Links

Images

Abstract

본 발명은 단일 메모리를 이용하여 데이터를 셔플링 및 디셔플링을 구현하기 위한 장치이며, 본 발명을 위하여 복수개의 채널로 구성된 데이터를 셔플링하는 장치에 있어서, 상기 복수개로 입력되는 데이터를 타이밍에 맞추기 위해 각각 버퍼링하는 전단FIFO부; 상기 전단FIFO부에서 출력된 데이터를 저장하는 프레임 메모리; 상기 프레임 메모리가 라이트 및 리드 상태인가에 따라서 셔플링을 위한 어드레스를 선택적으로 발생하는 어드레스발생부; 상기 프레임 메모리에서 리드된 데이터가 출력 타이밍에 맞추기 위해 버퍼링하는 후단FIFO부를 포함하며, 상기 프레임 메모리는 상기 전단FIFO부에서 입력되는 데이터 레이트와 상기 후단 FIFO부에 출력되는 데이터 레이트를 합한 데이터 레이트보다 높은 동작 주파수를 사용하여 데이터가 번갈아가며 라이트 및 리드되는 것임을 특징으로 한다. 본 발명에 의하면, 범용 메모리를 1개만 사용하여 셔플링 시스템을 구성할 수있으므로 시스템을 위한 회로 구현이 간단해지고 비용을 절감하는 이점이 있다.The present invention is an apparatus for implementing shuffling and deshuffling data using a single memory, and in the present invention is an apparatus for shuffling data composed of a plurality of channels. A front end FIFO portion each buffered to fit; A frame memory for storing data output from the front end FIFO unit; An address generator for selectively generating an address for shuffling according to whether the frame memory is in a write and read state; And a rear end FIFO section for buffering data read from the frame memory to match an output timing, wherein the frame memory has a higher data rate than the sum of the data rate input from the front end FIFO section and the data rate output from the rear FIFO section. The data is written and read alternately using the operating frequency. According to the present invention, since the shuffling system can be configured using only one general-purpose memory, the circuit implementation for the system can be simplified and the cost can be reduced.

Description

데이터 셔플링 및 디셔플링 장치{Data shuffling and deshuffling apparatus}Data shuffling and deshuffling apparatus

본 발명은 데이터 셔플링(Shuffling) 및 디셔플링(Deshuffling) 장치에 관한 것으로서, 특히 단일 메모리를 이용하여 데이터를 셔플링 및 디셔플링을 구현하기 위한 장치에 관한 것이다. 비디오 정보의 데이량은 막대하다. 그러한 비디오 정보는 종종 데이터량을 줄이는 고능률의 인코딩 후에 전송되고 기록된다. 고능률의 비디오 인코딩은 비디오 정보의 중복된 부분을 제거함으로서 데이터량을 압축한다. SD(Standard Definition) DVCR(Digital Video Cassette Recorder: 디지털 비디오 테이프 레코더)은 이러한 데이터 압축을 위하여 매크로 블록을 구성하며, 비디오 데이터가 가지는 에너지를 분산시키는 방향으로 그 매크로블록을 셔플링(Shuffling)한다.The present invention relates to data shuffling and deshuffling devices, and more particularly to an apparatus for implementing shuffling and deshuffling data using a single memory. The amount of day of video information is enormous. Such video information is often transmitted and recorded after high efficiency encoding which reduces the amount of data. Highly efficient video encoding compresses the amount of data by eliminating redundant portions of video information. Standard Definition (SD) Digital Video Cassette Recorder (DVCR) constitutes a macro block for data compression, and shuffles the macro block in a direction to disperse energy of video data.

도 1은 미국 특허 5,440,706에서 제시된 종래의 비디오 데이터 셔플링 장치를 보이는 제1실시예이다. 프레임 메모리(110)는 1프레임 비디오 데이터를 저장한다. 입력 어드레스 발생부(120) 및 출력 어드레스 발생부(130)에서 발생하는 어드레스에 의하여 프레임 메모리(110)에 비디오 데이터를 라이트하고 리드하며, 어드레스 메모리(150)와 어드레스 변환부(160)는 입력 어드레스 발생부(120) 및 출력 어드레스 발생부(130)가 어드레스를 발생시키도록 한다. 도 1의 셔플링장치는 1프레임 분량의 프레임 메모리(110)를 가지고 셔플링 작업을 수행하며 프레임 메모리(110)에서 데이터가 리드된 부분에 데이터를 라이트한다.1 is a first embodiment showing a conventional video data shuffling apparatus shown in US Patent 5,440,706. The frame memory 110 stores one frame video data. The video data is written to and read from the frame memory 110 by the addresses generated by the input address generator 120 and the output address generator 130, and the address memory 150 and the address converter 160 are input addresses. The generator 120 and the output address generator 130 generate an address. The shuffling apparatus of FIG. 1 performs a shuffling operation with one frame of frame memory 110 and writes data to a portion of the frame memory 110 to which data is read.

도 2a, 도 2b는 종래의 비디오 데이터 셔플링 장치를 보이는 제2실시예이며, 도 2a는 비디오 데이터를 처리하는 블록도이며, 도 2b는 어드레스를 발생하는 블록도이다. 도 2a에서 비디오 데이터는 필드 신호에 의해 동작되는 스위칭 제어부(230)에의해 제1프레임 메모리(210)에 라이트되고(스위치1의 접점(a)가 접점(b)에 연결), 제2프레임 메모리(220)로부터 리드된다(스위치1의 접점(a)가 접점(b)에 연결). 여기서 제1프레임 메모리(210)와 제2프레임 메모리(220)는 각각 1프레임의 데이터를 저장한다. 도 2b의 제1어드레스발생부(260)는 기록 모드에서 비디오 데이터를 제1프레임 메모리(240)에 입력하고 재생 모드에서 비디오 데이터를 출력하기 위한 어드레스를 발생하며, 제2어드레스발생부(270)는 기록 모드에서 제2프레임 메모리(250)로부터 비디오 데이터를 출력하고 재생 모드에서 비디오 데이터를 입력하기 위한 어드레스를 발생한다. 제1스위치(SW1)와 제2스위치(SW2)는 필드 신호에 의해 동작되는 스위칭 제어부(230)에의해 프레임 단위 마다 스위칭된다. 제1,제2어드레스발생부(260,270)는 같은 위치에서 같은 어드레스를 발생하는 고정 어드레스 발생부이다. 즉, 기록 모드에서 보면 제1데이터메모리(240)는 제1어드레스 발생부(260)에서 발생하는 어드레스에 의해 라이트되면, 제2데이터메모리(250)는 제2어드레스 발생부(270)에서 발생하는 어드레스에 의해 리드된다. 다음 제1데이터메모리(240)는 제2어드레스 발생부(270)에서 발생하는 어드레스에 의해 리드되고 제2데이터메모리(250)는 제1어드레스 발생부(260)에서 발생하는 어드레스에 의해 라이트된다. 반면 재생 모드에서 보면 제1데이터메모리(240)는 제2어드레스 발생부(270)에서 발생하는 어드레스에 의해 라이트되면, 제2데이터메모리(250)는 제1어드레스 발생부(260)에서 발생하는 어드레스에 의해 리드된다. 다음 제2데이터메모리(250)는 제2어드레스 발생부(270)에서 발생하는 어드레스에 의해 라이트되면 제1데이터메모리(240)는 제1어드레스 발생부(260)에서 발생하는 어드레스에 의해 리드된다.2A and 2B show a second embodiment of a conventional video data shuffling apparatus, FIG. 2A is a block diagram for processing video data, and FIG. 2B is a block diagram for generating an address. In FIG. 2A, the video data is written to the first frame memory 210 by the switching controller 230 operated by the field signal (contact point a of switch 1 is connected to contact point b), and the second frame memory. Leads from 220 (contact point a of switch 1 is connected to contact point b). The first frame memory 210 and the second frame memory 220 each store one frame of data. The first address generator 260 of FIG. 2B generates an address for inputting video data into the first frame memory 240 in the recording mode and outputting the video data in the playback mode, and the second address generator 270. Outputs video data from the second frame memory 250 in the recording mode and generates an address for inputting the video data in the reproduction mode. The first switch SW1 and the second switch SW2 are switched every frame by the switching controller 230 operated by the field signal. The first and second address generators 260 and 270 are fixed address generators that generate the same address at the same position. That is, in the write mode, when the first data memory 240 is written by the address generated by the first address generator 260, the second data memory 250 is generated by the second address generator 270. It is read by address. Next, the first data memory 240 is read by an address generated by the second address generator 270, and the second data memory 250 is written by an address generated by the first address generator 260. In contrast, in the reproduction mode, when the first data memory 240 is written by an address generated by the second address generator 270, the second data memory 250 may generate an address generated by the first address generator 260. Is lead by. Next, when the second data memory 250 is written by the address generated by the second address generator 270, the first data memory 240 is read by the address generated by the first address generator 260.

이상과 같이 종래의 도 1의 장치는 1프레임 비디오 프레임 메모리를 이용하므로 메모리량이 절약되나 셔플링 어드레스 발생을 위한 회로 구현이 어려우며, 도 2의 장치는 2개의 메모리를 사용하므로 가격이나 전력 소비량이 상승하는 단점이 있다.As described above, the conventional apparatus of FIG. 1 uses one frame video frame memory, thereby saving memory, but it is difficult to implement a circuit for generating a shuffling address, and the apparatus of FIG. There is a disadvantage.

본 발명이 이루고자하는 기술적과제는 기록시 휘도(Y) 및 색차(Cr,Cb) 신호로 분리되어 입력되는 데이터 레이트보다 높은 주파수를 사용하여 단일 프레임 메모리에 데이터를 리드 및 라이트하는 셔플링 장치를 제공하는 데 있다.The present invention provides a shuffling device that reads and writes data into a single frame memory using a frequency higher than the input data rate, separated into luminance (Y) and color difference (Cr, Cb) signals during recording. There is.

본 발명이 이루고자하는 다른 기술적과제는 재생시 입력되는 데이터를 휘도(Y) 및 색차(Cr,Cb) 신호로 분리되는 데이터 레이트보다 높은 주파수를 사용하여 단일 프레임 메모리에 데이터를 리드 및 라이트하는 디셔플링 장치를 제공하는 데 있다.Another technical problem to be achieved by the present invention is a deshuffle that reads and writes data into a single frame memory using a frequency higher than a data rate divided into luminance (Y) and color difference (Cr, Cb) signals. To provide a ring device.

도 1은 종래의 비디오 데이터 셔플링 장치를 보이는 제1실시예이다.1 is a first embodiment showing a conventional video data shuffling apparatus.

도 2a, 도 2b는 종래의 비디오 데이터 셔플링 장치를 보이는 제2실시예이다.2A and 2B are a second embodiment showing a conventional video data shuffling apparatus.

도 3은 본 발명에 따른 데이터 셔플링 및 디셔플링 장치를 보이는 블록도이다.3 is a block diagram showing a data shuffling and deshuffling apparatus according to the present invention.

도 4a는 기록 모드(셔플링 모드)에서 도 3의 프레임 메모리(360)의 어드레싱을 위한 어드레스 발생 블록도이다.4A is an address generation block diagram for addressing the frame memory 360 of FIG. 3 in a write mode (shuffling mode).

도 4b는 재생 모드(디셔플링 모드)에서 도 3의 프레임 메모리(360)의 어드레싱을 위한 어드레스 발생 블록도이다.4B is an address generation block diagram for addressing the frame memory 360 of FIG. 3 in a playback mode (deshuffling mode).

도 5a는 도 4a 및 도 4b의 제1어드레스발생부의 상세도이다.5A is a detailed view of the first address generator of FIGS. 4A and 4B.

도 5b는 도 4a 및 도 4b의 제2어드레스발생부의 상세도이다.5B is a detailed view of the second address generator of FIGS. 4A and 4B.

상기의 기술적 과제를 해결하기 위하여, 복수개의 채널로 구성된 데이터를 셔플링하는 장치에 있어서, 상기 복수개의 채널로 입력되는 데이터를 타이밍에 맞추기 위해 각각 버퍼링하는 전단FIFO부; 상기 전단FIFO부에서 출력된 데이터를 저장하는 프레임 메모리; 상기 프레임 메모리가 라이트 및 리드 상태인가에 따라서 셔플링을 위한 어드레스를 선택적으로 발생하는 어드레스발생부; 상기 프레임 메모리에서 리드된 데이터가 출력 타이밍에 맞추기 위해 버퍼링하는 후단FIFO부를 포함하며, 상기 프레임 메모리는 상기 전단FIFO부에서 입력되는 데이터 레이트와 상기 후단 FIFO부에 출력되는 데이터 레이트를 합한 데이터 레이트보다 높은 동작 주파수를 사용하여 데이터가 번갈아가며 라이트 및 리드되는 것임을 특징으로 하는 데이터 셔플링 장치이다.In order to solve the above technical problem, an apparatus for shuffling data consisting of a plurality of channels, comprising: a front end FIFO unit for buffering each of the data input to the plurality of channels in accordance with the timing; A frame memory for storing data output from the front end FIFO unit; An address generator for selectively generating an address for shuffling according to whether the frame memory is in a write and read state; And a rear end FIFO section for buffering data read from the frame memory to match an output timing, wherein the frame memory has a higher data rate than the sum of the data rate input from the front end FIFO section and the data rate output from the rear FIFO section. Data shuffling device characterized in that the data is written and read alternately using the operating frequency.

상기의 다른 기술적 과제를 해결하기 위하여, 복수개의 채널로 구성되는 데이터를 디셔플링하는 장치에 있어서, 입력되는 데이터를 타이밍에 맞추기 위해 버퍼링하는 후단FIFO부; 상기 후단 FIFO부에서 출력된 데이터를 저장하는 프레임 메모리; 상기 프레임 메모리가 라이트 및 리드 상태인가에 따라서 디셔플링을 위한 어드레스를 선택적으로 발생하는 어드레스발생부; 상기 프레임 메모리에서 리드된 데이터를 상기 타이밍에 맞추어 복수개 채널의 데이터를 각각 버퍼링하는 전단FIFO부를 포함하며, 상기 프레임 메모리는 상기 후단FIFO부에서 입력되는 데이터 레이트와 상기 전단FIFO에서 출력되는 데이터 레이트를 합한 데이터 레이트보다 높은 동작 주파수를 사용하여 데이터가 번갈아가며 라이트 및 리드되는 것임을 특징으로 하는 데이터 디셔플링 장치이다.In order to solve the above other technical problem, an apparatus for deshuffling data composed of a plurality of channels, the apparatus comprising: a rear end FIFO unit for buffering the input data to match the timing; A frame memory for storing data output from the rear FIFO unit; An address generator for selectively generating an address for deshuffling according to whether the frame memory is in a write and read state; And a front end FIFO unit configured to buffer data of a plurality of channels, respectively, according to the timing of the data read from the frame memory, wherein the frame memory includes a data rate input from the rear end FIFO unit and a data rate output from the front end FIFO. A data deshuffling device characterized in that data is alternately written and read using an operating frequency higher than the data rate.

이하 첨부된 도면을 참조로하여 본 발명의 바람직한 실시예를 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.

도 3은 본 발명에 따른 데이터 셔플링 및 디셔플링 장치를 보이는 블록도이다. 휘도(Y), 색차(Cr,Cb) 데이터를 선입 선출하는 제1,제2,제3FIFO(310,320,330), 접점(a,b,c,d)로 상기 제1,제2,제3FIFO(310,320,330)를 선택하는 제1스위치(SW1), 접점(a,b,c)로 상기 제1스위치(SW1)에서 스위칭된 데이터를 리드 및 라이트 제어하는 제2스위치(SW2), 상기 제2스위치(SW2)의 스위칭에 의해 발생하는 데이터가 저장되고 독출되는 프레임 메모리(360), 상기 제2스위치(SW2)에 의해 상기 프레임 메모리(360)에서 리드된 데이터를 선입선출하는 제4FIFO(370), 클럭 및 시작 신호에 의해 카운트하는 카운터(340), 상기 카운터(340)의 카운트값에 의해 제1스위치(SW1) 및 제2스위치(SW2)의 스위칭을 제어하는 스위칭 제어부(350)로 구성된다.3 is a block diagram showing a data shuffling and deshuffling apparatus according to the present invention. The first, second, and third FIFOs 310,320,330 by first, second, and third FIFOs 310,320,330 and first, second, and third FIFOs 310,320,330 that first-in, first select luminance, color difference (Cr, Cb) data. ), A first switch SW1 for selecting a second switch, a second switch SW2 for reading and writing data switched from the first switch SW1 with contacts a, b, and c, and the second switch SW2. Frame memory 360 in which data generated by switching of the data is stored and read, a fourth FIFO 370 that first-in first-out data read from the frame memory 360 by the second switch SW2, a clock, and The counter 340 is counted by the start signal, and the switching controller 350 controls the switching of the first switch SW1 and the second switch SW2 based on the count value of the counter 340.

도 3에 도시된 바와 같이 비디오 데이터는 복수개의 매크로 블록 단위로 구성되며, 입력 신호로서 그 데이터 성분인 휘도(Y) 데이터, 색차(Cr) 데이터, 색차(Cb) 데이터가 동시에 입력된다. 휘도(Y) 데이터, 색차(Cr) 데이터, 색차(Cb) 데이터는 제1,제2,제3FIFO(First Input First Out)(310, 320,330)에 각각 입력되는 순서로 저장된다.As shown in FIG. 3, video data is composed of a plurality of macroblock units, and as input signals, luminance (Y) data, color difference (Cr) data, and color difference (Cb) data, which are its data components, are simultaneously input. The luminance (Y) data, the color difference (Cr) data, and the color difference (Cb) data are stored in the order of input to the first, second, and third FIFOs (310, 320, 330), respectively.

휘도(Y) 데이터, 색차(Cr) 데이터, 색차(Cb) 데이터는 제1스위치(SW1)에 의하여 선택되고, 선택된 데이터는 제2스위치(SW2)의 스위칭에 의해 프레임 메모리(360)로 라이트 및 리드된다. 예를 들면 제1스위치(SW1)의 접점(b)가 접점(a)에 연결되고 제2스위치(SW2)의 접점(b)가 접점(a)에 연결되면 제1FIFO(310)에 저장된 휘도 데이터가 프레임 메모리(360)에 라이트된다. 또한 제1스위치(SW1)의 접점(c)가 접점(a)에 연결되고 제2스위치(SW2)의 접점(b)가 접점(a)에 연결되면 제2FIFO(320)에 저장된 색차(Cr) 데이터가 프레임 메모리(360)에 라이트되며, 제1스위치(SW1)의 접점(d)가 접점(a)에 연결되고 제2스위치(SW2)의 접점(b)가 접점(a)에 연결되면 제3FIFO(330)에 저장된 색차(Cb) 데이터가 프레임 메모리(360)에 라이트된다. 한편 제2스위치(SW2)의 접점(c)가 접점(a)에 연결되면 프레임 메모리(360)에 저장된 휘도 및 색차 데이터가 제4FIFO(370)로 리드된다. 제4FIFO(370)는 프레임 메모리(360)에서 리드된 데이터가 셔플링 이후의 데이터 신호 처리의 데이터 레이트 타이밍을 맞추기 위한 버퍼이다. 여기서 프레임 메모리(360)를 리드하고 라이트하기 위하여 필요한 데이터 레이트는 비디오 신호가 입력되는 제1,제2,제3FIFO(First Input First Out)(310, 320,330) 전단의 데이터 레이트나 셔플링 작업이 완료된 데이터가 제4FIFO(370)에 저장되는 데이터 레이트를 합친 주파수보다 높아야한다.The luminance (Y) data, the color difference (Cr) data, and the color difference (Cb) data are selected by the first switch SW1, and the selected data is written to the frame memory 360 by switching of the second switch SW2. Leads. For example, when the contact b of the first switch SW1 is connected to the contact a and the contact b of the second switch SW2 is connected to the contact a, the luminance data stored in the first FIFO 310 is stored. Is written to the frame memory 360. In addition, when the contact point c of the first switch SW1 is connected to the contact point a and the contact point b of the second switch SW2 is connected to the contact point a, the color difference Cr stored in the second FIFO 320 is stored. When data is written to the frame memory 360, the contact d of the first switch SW1 is connected to the contact a, and the contact b of the second switch SW2 is connected to the contact a. Color difference (Cb) data stored in the 3FIFO 330 is written to the frame memory 360. Meanwhile, when the contact c of the second switch SW2 is connected to the contact a, the luminance and color difference data stored in the frame memory 360 are read to the fourth FIFO 370. The fourth FIFO 370 is a buffer for timing data rate of data signal processing after data read from the frame memory 360 is shuffled. The data rate required to read and write the frame memory 360 may include a data rate or a shuffling operation in front of the first, second, and third FIFOs 310, 320, and 330 where the video signal is input. The data should be higher than the sum of the data rates stored in the fourth FIFO 370.

예를 들어 데이터가 8비트로 처리되고, 제1FIFO(310) 전단의 데이터 레이트가 13.5MHz이고, 제2FIFO(320) 전단의 데이터 레이트가 3.375MHz이고, 제3FIFO(330) 전단의 데이터 레이트가 3.375MHz이고, 제4FIFO(370)의 후단의 데이터 레이트가 18MHz이면 셔플링 동작을 수행하는 프레임 메모리(360)의 동작 주파수는 체배인 54MHz를 이용한다.For example, data is processed into 8 bits, the data rate of the front end of the first FIFO 310 is 13.5 MHz, the data rate of the front end of the second FIFO 320 is 3.375 MHz, and the data rate of the front end of the third FIFO 330 is 3.375 MHz. When the data rate of the fourth stage of the fourth FIFO 370 is 18 MHz, the operating frequency of the frame memory 360 performing the shuffling operation is 54 MHz, which is a multiplication.

또한 데이터가 16비트 데이터로 처리되면 제1FIFO(310) 전단의 데이터 레이트는 13.5MHz/2이고, 제2FIFO(320) 전단의 데이터 레이트가 3.375MHz/2이고, 제3FIFO(330) 전단의 데이터 레이트가 3.375MHz/2이고, 제4FIFO(370)의 후단의 데이터 레이트가 18MHz/2이다. 따라서 셔플링 동작을 수행하는 프레임 메모리(360)의 동작 주파수는 27MHz를 이용하게 된다. 본 발명의 실시예는 16비트 데이터로 동작하는 예이다.In addition, if the data is processed as 16-bit data, the data rate at the front end of the first FIFO 310 is 13.5 MHz / 2, the data rate at the front end of the second FIFO 320 is 3.375 MHz / 2, and the data rate at the front end of the third FIFO 330. Is 3.375 MHz / 2, and the data rate at the rear end of the fourth FIFO 370 is 18 MHz / 2. Therefore, the operating frequency of the frame memory 360 that performs the shuffling operation uses 27 MHz. The embodiment of the present invention is an example of operating with 16-bit data.

카운터(340)는 비디오 데이터의 프레임 시작 신호를 기준으로 스타트하여 27MHz 클럭으로 동작하고 정해진 시간에 맞게 스위칭을 제어하는 스위칭 제어부(350)에 인가한다. 스위칭 제어부(350)에서는 인가되는 카운터값에 의하여 제1스위치(SW1)과 제2스위치(SW2)를 스위칭하는 제어 신호를 발생한다. 즉, 제1스위치(SW1)는 비디오 데이터가 입력되면 비디오 데이터의 프레임 시작 시점으로부터 27MHz 클럭에서 정해진 시간에 스위칭 제어부(350)에 의하여 접점(a)가 접점(b,c,d)로 절환하게 된다. 제2스위치(SW2)는 비디오 데이터의 시작 시점에서 27MHz 클럭에 의해 정해진 일정한 시간에 스위칭 제어부(350)에 의하여 접점(a)가 접점(b,c)로 절환하게 된다.The counter 340 starts with reference to the frame start signal of the video data and operates at a 27 MHz clock and applies the switching control unit 350 to control switching according to a predetermined time. The switching controller 350 generates a control signal for switching the first switch SW1 and the second switch SW2 according to the applied counter value. That is, when the video data is input, the first switch SW1 switches the contact a to the contacts b, c, and d by the switching controller 350 at a predetermined time at the 27 MHz clock from the start point of the video data frame. do. In the second switch SW2, the contact point a switches to the contacts b and c by the switching controller 350 at a predetermined time determined by the 27 MHz clock at the start point of the video data.

다음 도 3에서 기록시 셔플링된 데이터가 재생시 디셔플링되는 과정은 셔플링의 역으로 동작된다. 즉, 제4FIFO부(370)은 입력되는 데이터를 타이밍에 맞추기 위해 버퍼링한다. 프레임 메모리(360)는 FIFO부에서 제4FIFO부(370)에서 출력된 데이터를 저장한다. 제1,제2,제3FIFO(310,320,330)은 프레임 메모리(360)에서 리드된 복수개의 데이터를 타이밍에 맞추기 위해 각각 버퍼링한다. 여기서 프레임 메모리(360)는 상기 제4FIFO부(370)에서 입력되는 데이터 레이트와 제1,제2,제3FIFO(310,320,330)에서 출력되는 데이터 레이트를 합한 레이트보다 높은 동작 주파수를 사용하여 데이터가 번갈아가며 라이트 및 리드된다.Next, the process in which the shuffled data during recording is deshuffled during reproduction is operated in reverse of shuffling. That is, the fourth FIFO unit 370 buffers the input data to match the timing. The frame memory 360 stores data output from the fourth FIFO unit 370 from the FIFO unit. The first, second, and third FIFOs 310, 320, and 330 buffer the plurality of data read from the frame memory 360 to match timing. The frame memory 360 alternates data using an operating frequency higher than the sum of the data rates input from the fourth FIFO unit 370 and the data rates output from the first, second, and third FIFOs 310, 320, and 330. Lite and lead.

도 4a는 기록 모드(셔플링 모드)에서 도 3의 프레임 메모리(360)의 어드레싱을 위한 어드레스 발생 블록도이며, 프레임 단위로 데이터가 저장되는 프레임 메모리(410), 라이트 어드레스를 발생하는 제1어드레스발생부(420), 리드 어드레스를 발생하는 제2어드레스발생부(430), 접점(a,b,c)로 제1어드레스발생부(420) 및 제2어드레스발생부(430)를 스위칭하는 제3스위치(SW3)로 구성된다.FIG. 4A is an address generation block diagram for addressing the frame memory 360 of FIG. 3 in a recording mode (shuffling mode), a frame memory 410 in which data is stored in units of frames, and a first address for generating a write address. The first switching unit 420 and the second address generating unit 430 are switched to the generator 420, the second address generator 430 for generating the read address, and the contacts a, b, and c. It consists of three switches (SW3).

도 4b는 재생 모드(디셔플링 모드)에서 도 3의 프레임 메모리(360)의 어드레싱을 위한 어드레스 발생 블록도이며, 프레임 단위로 데이터가 저장되는 프레임 메모리(440), 라이트 어드레스를 발생하는 제1어드레스발생부(450), 리드 어드레스를 발생하는 제2어드레스발생부(460), 접점(a,b,c)로 제2어드레스발생부(450) 및 제1어드레스발생부(460)를 스위칭하는 제4스위치(SW4)로 구성된다.4B is an address generation block diagram for addressing the frame memory 360 of FIG. 3 in a reproducing mode (deshuffling mode), a frame memory 440 in which data is stored in units of frames, and a first address generating a write address. Switching the second address generator 450 and the first address generator 460 through the address generator 450, the second address generator 460 for generating the read address, and the contacts a, b, and c. It consists of a 4th switch SW4.

도 4a 및 도 4b에 도시된 바와 같이 어드레스 발생부는 제1어드레스발생부(420,450)와 제2어드레스발생부(430,460)으로 이루어져 있고 프레임 메모리의 상태가 리드인가 라이트인가에 따라서 선택적으로 어드레스를 인가한다. 제1어드레스발생부(420,450)와 제2어드레스발생부(430,460)는 일정한 위치에서 항상 같은 값을 가지는 롬 테이블 형태로 구성되고, 제1어드레스발생부(420,450)에서 발생하는 어드레스 신호의 경우에는 기록 모드에서 프레임 메모리의 라이트 동작을 위한 어드레스로 사용되고, 재생 모드에서 리드 동작을 위한 어드레스로 사용된다. 제2어드레스발생부(430,460)에서 발생하는 어드레스 신호의 경우에는 기록 모드에서 프레임 메모리의 리드 동작을 위한 어드레스로 사용되고, 재생 모드에서 라이트 동작을 위한 어드레스로 사용된다.As shown in FIGS. 4A and 4B, the address generator includes a first address generator 420 and 450 and a second address generator 430 and 460 and selectively applies an address depending on whether the state of the frame memory is read or written. . The first address generator 420 and 450 and the second address generator 430 and 460 are configured in the form of a ROM table having the same value at a predetermined position at all times. In the case of an address signal generated by the first address generator 420 and 450, a write is performed. It is used as an address for the write operation of the frame memory in the mode and as an address for the read operation in the reproduction mode. The address signal generated by the second address generators 430 and 460 is used as an address for the read operation of the frame memory in the recording mode and as an address for the write operation in the reproduction mode.

도 3의 제2스위치(SW2)의 접점(a)가 접점(b)로 절환되면 동시에 제3스위치(SW3)는 제1어드레스 발생부(420)로 접속하게 되어 데이터는 프레임 메모리(410, 440)에 기록 모드인 경우 라이트, 재생 모드인 경우 리드하게 된다. 그리고 도 3의 제2스위치(SW2)의 접점(a)가 접점(c)로 절환되면 동시에 제3스위치(SW3)는 제2어드레스 발생부(460)로 접속하게 되어 데이터는 프레임 메모리(410, 440)에 기록 모드인 경우 리드, 재생 모드인 경우 라이트하게 된다. 여기서 프레임 메모리(410,440)의 동작 주파수는 27MHz이고 따라서 도 3의 제1,제2,제3FIFO(310,320,330)의 기록 모드에서의 출력과 재생 모드에서의 입력은 27MHz이고, 제4FIFO(370)의 기록 모드에서의 입력과 재생 모드에서의 출력은 27MHz이다.When the contact a of the second switch SW2 of FIG. 3 is switched to the contact b, at the same time, the third switch SW3 is connected to the first address generator 420 so that data is stored in the frame memories 410 and 440. ) In the recording mode, and in the playback mode. When the contact a of the second switch SW2 of FIG. 3 is switched to the contact c, at the same time, the third switch SW3 is connected to the second address generator 460 so that the data is stored in the frame memory 410. In the recording mode, the display device 440 reads the light. Herein, the operating frequencies of the frame memories 410 and 440 are 27 MHz, and thus the outputs of the first, second, and third FIFOs 310, 320, and 330 of FIG. Input in mode and output in regeneration mode are 27MHz.

도 5a는 도 4a 및 도 4b의 제1어드레스발생부의 상세도이며, 제1카운터(510), 제1어드레스롬테이블(520)로 이루어진다.5A is a detailed view of the first address generating unit of FIGS. 4A and 4B, and includes a first counter 510 and a first address table 520.

도 5b는 도 4a 및 도 4b의 제2어드레스발생부의 상세도이며, 제2카운터(530), 제2어드레스롬테이블(540)로 이루어진다.5B is a detailed view of the second address generating unit of FIGS. 4A and 4B, and includes a second counter 530 and a second address table 540.

도 5a, 도 5b에 도시된 바와 같이 제1카운터(510)는 입력되는 비디오 신호의 일정한 위치에서 발생되는 카운터 리셋 펄스에 의하여 카운터값이 "0"로 되고, 리셋 펄스가 논 액티브(Non-Active) 상태에서 값을 하나씩 증가시키는 카운트 동작을 수행한다. 또한 제2카운터(530)는 18MHz 시스템에서 발생하는 카운터 리셋 펄스에 의하여 일정한 위치에서 카운터값이 "0"로 되고, 그 이외의 경우에는 그 값을 하나씩 증가시키는 카운트 동작을 수행한다. 제1및제2어드레스롬테이블(520,540)에서는 제1카운터(510) 및 제2카운터(530)에서 발생하는 카운트값에 의하여 어드레스값이 입력되고 그 어드레스값 즉, 제1어드레스 및 제2어드레스에 해당하는 롬 테이블값을 출력한다. 다른실시예로서 제1 및 제2어드레스롬테이블(520,540)은 로직으로 구성할 수도 있다.As shown in FIGS. 5A and 5B, the first counter 510 has a counter value of "0" due to a counter reset pulse generated at a predetermined position of an input video signal, and the reset pulse is non-active. In the) state, the count operation is incremented by one. In addition, the second counter 530 performs a counting operation in which the counter value becomes "0" at a predetermined position by a counter reset pulse generated in an 18 MHz system. Otherwise, the second counter 530 increases the value one by one. In the first and second address tables 520 and 540, an address value is input by a count value generated by the first counter 510 and the second counter 530 and corresponds to the address value, that is, the first address and the second address. Output the ROM table value. In another embodiment, the first and second address tables 520 and 540 may be configured with logic.

여기서 제1카운터(510)는 제1어드레스롬 테이블(520)에서 데이터를 읽어오는 기준 신호로서 제1,제2,제3FIFO(310, 320,330) 전단의 동작 주파수를 기준으로 하는 13.5M 카운터값을 사용하고, 제2카운터(530)는 제2어드레스롬 테이블(540)에서 데이터를 읽어오는 기준 신호로서 제4FIFO(370) 후단의 동작 주파수를 기준으로 하는 18M 카운터값을 사용한다.Here, the first counter 510 is a reference signal for reading data from the first address table 520 and uses a 13.5M counter value based on the operating frequency of the front end of the first, second, and third FIFOs 310, 320, 330. The second counter 530 uses an 18 M counter value based on the operating frequency of the fourth FIFO 370 as a reference signal for reading data from the second address table 540.

상술한 바와 같이 본 발명에 의하면, 범용 메모리를 1개만 사용하여 셔플링 시스템을 구성할 수있으므로 시스템을 위한 회로 구현이 간단해지고 비용을 절감하는 이점이 있다.As described above, according to the present invention, since the shuffling system can be configured using only one general-purpose memory, the circuit implementation for the system can be simplified and the cost can be reduced.

Claims (10)

복수개의 블록 단위로 구성되는 데이터를 셔플링하는 장치에 있어서,In the apparatus for shuffling data composed of a plurality of block units, 복수개의 채널로 입력되는 데이터를 타이밍에 맞추기 위해 각각 버퍼링하는 전단FIFO부;A front end FIFO unit which buffers data input to a plurality of channels at timing; 상기 전단FIFO부에서 출력된 데이터를 프레임 단위로 저장하는 프레임 메모리;A frame memory for storing the data output from the front end FIFO unit in units of frames; 상기 프레임 메모리에서 리드된 데이터를 출력 타이밍에 맞추기 위해 버퍼링하는 후단FIFO부;A subsequent FIFO section buffering the data read from the frame memory to match an output timing; 상기 데이터의 프레임 시작 시점부터 상기 전단FIFO부에서 입력되는 데이터 레이트와 상기 후단 FIFO부에 출력되는 데이터 레이트를 합한 데이터 레이트보다 높은 체배 주파수로 상기 프레임 메모리에 상기 데이터를 번갈아가며 라이트 및 리드하는 스위칭제어부를 포함하는 데이터 셔플링 장치.A switching control unit which alternately writes and reads the data to the frame memory at a multiplication frequency higher than a data rate obtained by adding the data rate input from the front end FIFO unit and the data rate output from the rear end FIFO unit from the start of the frame of the data; Data shuffling apparatus comprising a. 제1항에 있어서, 상기 전단FIFO부는 비디오 데이터의 휘도(Y) 및 색차(Cr,Cb) 데이터를 각각 저장하는 제1,제2,제3FIFO를 포함하는 것을 특징으로 하는 데이터 셔플링 장치.The data shuffling apparatus of claim 1, wherein the front end FIFO unit comprises first, second, and third FIFOs respectively storing luminance (Y) and color difference (Cr, Cb) data of the video data. 제1항에 있어서, 상기 프레임 메모리는 2프레임의 비디오 데이터를 저장하는 단일 메모리인 것을 특징으로 하는 데이터 셔플링 장치.The data shuffling apparatus of claim 1, wherein the frame memory is a single memory that stores two frames of video data. 제1항에 있어서, 상기 프레임 메모리의 동작 주파수는 상기 휘도 및 색차 데이터와 상기 후단 FIFO부에서 출력하는 데이터 레이트를 합한 데이터 레이트보다 보다 높은 주파수임을 특징으로 하는 데이터 셔플링 장치.The data shuffling apparatus of claim 1, wherein an operating frequency of the frame memory is higher than a data rate obtained by adding up the luminance and color difference data and a data rate output from the rear FIFO unit. 제1항에 있어서, 상기 스위칭제어부는 상기 프레임 메모리에 라이트 어드레스를 발생하는 제1어드레스 발생부;The display apparatus of claim 1, wherein the switching controller comprises: a first address generator configured to generate a write address in the frame memory; 상기 프레임 메모리에 리드 어드레스를 발생하는 제2어드레스 발생부를 포함하는 것을 특징으로 하는 데이터 셔플링 장치.And a second address generator which generates a read address in the frame memory. 제5항에 있어서, 상기 제1어드레스발생부는 시작 신호에 의해 상기 전단FIFO부의 동작 주파수로 동작하여, 그 값을 카운트하는 카운터;6. The apparatus of claim 5, wherein the first address generator comprises: a counter for operating at an operating frequency of the front end FIFO unit by a start signal and counting a value thereof; 상기 카운터에서 발생하는 카운트값에 대응하는 고정된 어드레스를 발생하는 제1어드레스 저장부를 포함하는 것을 특징으로 하는 데이터 셔플링 장치.And a first address storage unit generating a fixed address corresponding to a count value generated by the counter. 제6항에 있어서, 상기 카운터의 동작 주파수는 입력 비디오 데이터 레이트의 체배 주파수임을 특징으로 하는 데이터 셔플링 장치.7. The data shuffling apparatus of claim 6, wherein an operating frequency of the counter is a multiplication frequency of an input video data rate. 제5항에 있어서, 상기 제2어드레스발생부는 시작 신호에 의해 상기 후단FIFO부의 동작 주파수를 카운트하는 카운터;6. The apparatus of claim 5, wherein the second address generator comprises: a counter for counting an operating frequency of the rear end FIFO unit according to a start signal; 상기 카운터에서 발생하는 카운트값에 대응하는 고정된 어드레스를 발생하는 어드레스 발생부를 포함하는 것을 특징으로 하는 데이터 셔플링 장치.And an address generator for generating a fixed address corresponding to the count value generated by the counter. 복수개의 채널로 구성된 데이터를 디셔플링하는 장치에 있어서,In the apparatus for deshuffling data consisting of a plurality of channels, 상기 복수개 챈널 데이터를 타이밍에 맞추기 위해 버퍼링하는 후단FIFO부;A rear-end FIFO unit for buffering the plurality of channel data in time; 상기 후단 FIFO부에서 출력된 데이터를 저장하는 프레임 메모리;A frame memory for storing data output from the rear FIFO unit; 상기 프레임 메모리가 라이트 및 리드 상태인가에 따라서 디셔플링을 위한 어드레스를 선택적으로 발생하는 어드레스발생부;An address generator for selectively generating an address for deshuffling according to whether the frame memory is in a write and read state; 상기 프레임 메모리에서 리드된 데이터를 상기 타이밍에 맞추어 복수개의 채널 데이터를 각각 버퍼링하는 전단FIFO부를 포함하며, 상기 프레임 메모리는 상기 후단FIFO부에서 입력되는 데이터 레이트와 상기 전단FIFO에서 출력되는 데이터 레이트를 합한 데이터 레이트보다 높은 동작 주파수를 사용하여 데이터가 번갈아가며 라이트 및 리드되는 것임을 특징으로 하는 데이터 디셔플링 장치.And a front end FIFO unit configured to buffer the plurality of channel data, respectively, in accordance with the timing of the data read from the frame memory, wherein the frame memory includes a data rate input from the rear end FIFO unit and a data rate output from the front end FIFO. A data deshuffling device, characterized in that data is alternately written and read using an operating frequency higher than the data rate. 제9항에 있어서, 상기 어드레스 발생부는 상기 프레임 메모리에 리드 어드레스를 발생하는 제1어드레스 발생부;The memory device of claim 9, wherein the address generator comprises: a first address generator configured to generate a read address in the frame memory; 상기 프레임 메모리에 라이트 어드레스를 발생하는 제2어드레스 발생부를 포함하는 것을 특징으로 하는 데이터 디셔플링 장치.And a second address generator for generating a write address in the frame memory.
KR1019970040718A 1997-08-25 1997-08-25 Data shuffling and deshuffling apparatus KR100281875B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970040718A KR100281875B1 (en) 1997-08-25 1997-08-25 Data shuffling and deshuffling apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970040718A KR100281875B1 (en) 1997-08-25 1997-08-25 Data shuffling and deshuffling apparatus

Publications (2)

Publication Number Publication Date
KR19990017709A KR19990017709A (en) 1999-03-15
KR100281875B1 true KR100281875B1 (en) 2001-02-15

Family

ID=66046968

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970040718A KR100281875B1 (en) 1997-08-25 1997-08-25 Data shuffling and deshuffling apparatus

Country Status (1)

Country Link
KR (1) KR100281875B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100447190B1 (en) * 2002-04-04 2004-09-04 엘지전자 주식회사 Apparatus for processing audio in DVC system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06303572A (en) * 1993-04-16 1994-10-28 Sony Corp Image data recorder
JPH08191425A (en) * 1995-01-09 1996-07-23 Mitsubishi Electric Corp Memory controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06303572A (en) * 1993-04-16 1994-10-28 Sony Corp Image data recorder
JPH08191425A (en) * 1995-01-09 1996-07-23 Mitsubishi Electric Corp Memory controller

Also Published As

Publication number Publication date
KR19990017709A (en) 1999-03-15

Similar Documents

Publication Publication Date Title
KR100436312B1 (en) Data reproducing apparatus and method
JP5528144B2 (en) Method for processing a received video signal representing a video program
EP0467717B1 (en) Data shuffling apparatus
KR100255096B1 (en) Digital signal recording and reproducing method and recording medium
KR100281875B1 (en) Data shuffling and deshuffling apparatus
US6647201B2 (en) Video and audio signal recording and reproducing device and method
US7076157B1 (en) Magnetic recording and reproducing apparatus
US4907072A (en) Mosaic picture generation circuit
KR970076723A (en) Recorder
KR100224090B1 (en) Optical disk player for combined ntsc/pal mode
KR970005657B1 (en) Bit stream transmission apparatus using multi-harddisk
JP3158561B2 (en) Data processing device
US20010046367A1 (en) Image processing apparatus and image processing method
JP3318771B2 (en) Digital signal processor
JPH0969261A (en) Digital magnetic recording/reproducing apparatus
KR100279682B1 (en) High-speed data bus and interface circuit for uncompressed high definition video disc recorders
KR0115141Y1 (en) Recording/reproducing apparatus for audio signal
KR0161920B1 (en) Video data recording and reproducing method for dvcr
KR0185936B1 (en) Data input control circuit in a/v decoder
KR100281874B1 (en) Video signal processor eliminating the line delay of luminance signal
KR100224822B1 (en) Variable bit rate data format device and format structure of a sector thereby
KR970004689B1 (en) Recording apparatus of captioned video cassette recorder
JPH11146345A (en) Video signal processing unit
JP3079615B2 (en) Multimedia data playback device
KR920001159B1 (en) Digital picture processing circuit

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 20091029

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee