KR100209875B1 - Memory control apparatus and method for reordering image data - Google Patents

Memory control apparatus and method for reordering image data Download PDF

Info

Publication number
KR100209875B1
KR100209875B1 KR1019940002413A KR19940002413A KR100209875B1 KR 100209875 B1 KR100209875 B1 KR 100209875B1 KR 1019940002413 A KR1019940002413 A KR 1019940002413A KR 19940002413 A KR19940002413 A KR 19940002413A KR 100209875 B1 KR100209875 B1 KR 100209875B1
Authority
KR
South Korea
Prior art keywords
image data
unit
data
memory
input
Prior art date
Application number
KR1019940002413A
Other languages
Korean (ko)
Other versions
KR950026265A (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 KR1019940002413A priority Critical patent/KR100209875B1/en
Publication of KR950026265A publication Critical patent/KR950026265A/en
Application granted granted Critical
Publication of KR100209875B1 publication Critical patent/KR100209875B1/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/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/88Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving rearrangement of data among different coding units, e.g. shuffling, interleaving, scrambling or permutation of pixel data or permutation of transform coefficient data among different blocks
    • 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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/184Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
    • 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)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 영상데이타를 압축 및 부호화하여 기록하는 시스템에서 압축시 변형된 영상데이타의 배열을 간단한 구성에 의해 다시 재배열하도록 한 영상데이타의 재배치를 위한 메모리 제어장치 및 그 방법에 관한 것이다. 이러한 본 발명은 데이타 압축부와 에러정정 외부호화부 사이에 데이타 재배열부를 구비한다. 상기 데이타 재배열부는 압축된 영상데이타를 교대로 기록/판독하는 메모리부와, 메모리부의 입출력단에서 전송된 영상데이타를 래치하는 입력래치부 및 출력래치부를 구비한다. 아울러 현재 입력되는 영상데이타에 관한 정보를 메모리제어부에 알려주는 타미밍발생부와, 메모리부의 기록/판독동작을 제어하는데 필요한 각종 신호를 만들어 출력하는 메모리제어부를 구비한다. 상기 메모리제어부는 영상데이타를 외부호길이만큼 어드레스의 간격을 두고 메모리에 기록하고, 설정된 개수의 매크로 블록이 입력될때마다 상기 어드레스에 각각 1씩 오프셋이 가해진 상태로 메모리에 기록한다. 그러나 판독시에는 어드레스를 순차적으로 1씩 증가시키면서 메모리에 있는 데이타를 직렬로 독출하게 된다.The present invention relates to a memory control apparatus and method for rearranging image data in which a system for compressing, encoding, and recording image data is rearranged again by a simple configuration. The present invention includes a data rearrangement unit between the data compression unit and the error correction outer coder. The data rearrangement unit includes a memory unit for alternately writing / reading compressed image data, an input latch unit and an output latch unit for latching image data transmitted from an input / output terminal of the memory unit. In addition, a timing generation unit for notifying the memory controller of information about the currently input image data, and a memory control unit for generating and outputting various signals necessary for controlling the write / read operation of the memory unit. The memory controller writes the image data into the memory at intervals of an address by the length of an external code, and writes the data into the memory with an offset of one address each time the set number of macroblocks is input. When reading, however, the data in the memory is read in serial while the address is sequentially increased by one.

Description

영상데이타의 재배치를 위한 메모리 제어장치 및 그 방법Memory controller and method for relocating image data

제1도는 종래의 디지털 VCR시스템의 개략구성을 나타낸 블록도.1 is a block diagram showing a schematic configuration of a conventional digital VCR system.

제2도의 (a)(b)는 부호화전후의 영상데이타 배열상태와 부호화를 위한 데이타의 기록 및 판독흐름도.(A) and (b) of FIG. 2 are diagrams of arrangement of image data before and after encoding, and a flow of recording and reading of data for encoding.

제3도는 본 발명의 디지털 VCR시스템의 개략구성을 나타낸 블록도.3 is a block diagram showing a schematic configuration of a digital VCR system of the present invention.

제4도는 영상데이타의 압축단위를 나타낸 화면상태도.4 is a screen state diagram showing a compression unit of image data.

제5도는 영상데이타 압축후의 데이타포맷 상태도.5 is a data format state after image data compression.

제6도는 부호화를 위한 데이타의 기록 및 판독순서도.6 is a flowchart for recording and reading data for encoding.

제7도는 제3도에서 데이타 재배열부의 상세구성을 보인 블록도.7 is a block diagram showing the detailed configuration of the data rearrangement in FIG.

제8도는 재배치를 위해 기록 및 판독되는 데이타의 배치상태를 나타낸 메모리맵.8 is a memory map showing the arrangement of data written and read for relocation.

제9도는 메모리의 기록/판독에 의해 데이타가 배치되는 과정을 설명하기 위한 상태도.9 is a state diagram for explaining a process in which data is arranged by writing / reading of a memory.

제10도의 (a)~⒧는 제7도의 각부 입출력 파형도.(A)-(b) of FIG. 10 are the input / output waveforms of each part of FIG.

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

40 : 에러정정 외부호화부 50 : 인터리버40: error correction external encoder 50: interleaver

60 : 에러정정 내부호화부 110 : 데이타입축부60: error correction internal encoding unit 110: data storage unit

120 : 데이타 재배열부 121 : 메모리부120: data rearrangement unit 121: memory unit

122 : 입력래치부 123 : 출력래치부122: input latch part 123: output latch part

124 : 타이밍발생부 125 : 메모리제어부124: timing generator 125: memory controller

MEM1,MEM2 : 메모리 LAT1-LAT4 : 래치MEM1, MEM2: Memory LAT1-LAT4: Latch

본 발명은 영상신호를 부호화하여 기록하거나 전송하는 시스템에서 영상데이타를 재배치하기 위한 메모리장치에 관한 것으로, 특히 영상데이타를 압축할 경우 그 뒷단에서 에러정정 부호화하기 전에 압축시 변형된 영상데이타의 배열을 간단한 구성에 의해 다시 변형시켜주도록 한 영상데이타의 재배치를 위한 메모리 제어장치 및 그 방법에 관한 것이다.The present invention relates to a memory device for rearranging image data in a system for encoding and recording or transmitting a video signal. In particular, when the image data is compressed, an arrangement of the deformed image data during compression before the error correction encoding is performed at a later stage thereof. The present invention relates to a memory control apparatus for rearranging image data and to a method for transforming the image data by a simple configuration.

현재 방송용 디지털 VCR의 개발과 아울러 민생용 디지털 VCR의 개발이 한창 진행중에 있다. D-2와 D-3등의 방송용 디지털 VCR은 반복더빙 및 트릭재생(Trick PLAY)시의 화질열화를 방지하기 위하여 영상데이타를 압축하지 않고 처리한다. 그러나 민생용 디지털 VCR에서는 테이프의 기록밀도를 높이기 위하여 소스(Source)데이타에 대해 데이타압축을 행한다. 영상데이타의 압축방법으로 여러개의 라인에 걸쳐있는 데이타를 모아서 하나의 압축블록, 즉 매크로블록을 형성하고, 여러개의 매크로블록을 모아서 또 하나의 단위인 클러스터(Cluster)단위로 고정길이(Fixed Length)가 되게 하는 방법이 있다. 영상신호 처리시 이러한 데이타압축을 하게 되면 영상데이타의 배열상 변형이 일어나 이를 데이타압축부의 뒷단에서 처리하기 위해서는 영상데이타의 배열을 다시 변형시켜 주어야만 한다.In addition to the development of broadcast digital VCRs, the development of consumer digital VCRs is in full swing. Digital VCRs such as D-2 and D-3 process video data without compression in order to prevent image deterioration during repeated dubbing and trick play. However, in the consumer digital VCR, data compression is performed on source data in order to increase the recording density of the tape. Compression method of image data collects data that spans multiple lines to form one compression block, that is, macroblock, and then collects several macroblocks and fixes fixed length in cluster unit. There is a way to make it. When such data compression is performed during image signal processing, the arrangement of the image data is deformed. In order to process the data at the rear end of the data compression unit, the arrangement of the image data must be modified again.

제1도는 영상데이타를 압축하지 않는 종래의 디지털 VCR시스템의 개략적인 구성을 나타낸 블록도이다. 도시된 바와 같이, 아날로그 영상신호를 샘플링하여 디지털신호로 변환하는 아날로그/디지털 변환부(10)는 채널분리부(20)에 연결되고, 이 채널분리부(20)는 입력된 프레임이나 필드단위의 영상데이타를 몇 개의 시간대역으로 분리하여 병렬로 처리할 수 있도록 한다. 상기 채널분리부(20)의 출력단에는 셔플링부(Shuffling;30)가 연결되어 에러가 집중되지 않도록 영상데이타를 일정한 규칙에 의해 서로 뒤섞게 되고, 셔플링부(30)에서 출력된 영상데이타는 에러정정 외부호화부(Error Correction Outer Coding;40)로 인가된다.1 is a block diagram showing a schematic configuration of a conventional digital VCR system that does not compress video data. As shown, an analog / digital converter 10 for sampling and converting an analog video signal into a digital signal is connected to the channel separator 20, and the channel separator 20 is configured in units of input frames or fields. Image data can be divided into several time bands and processed in parallel. The shuffling unit 30 is connected to an output terminal of the channel separator 20 so that the image data is mixed with each other by a predetermined rule so that the error is not concentrated, and the image data output from the shuffling unit 30 is error corrected. It is applied to an Error Correction Outer Coding (40).

에러정정 외부호화부(40)는 입력된 영상데이타에 군집에러를 정정하기 위한 외부호비트를 추가하여 부호화하고, 에러정정 외부호화부(40)의 출력단에는 인터리버(50)가 연결되어 부호화된 영상데이타를 랜덤하게 뒤섞어 출력한다. 인터리버(50)의 출력단에는 에러정정 내부호화부(Error Correction Inner Coding;60)가 연결되어 영상데이타에 불규칙에러를 정정하기 위한 내부호비트를 덧붙여 부호화한다. 상기 에러정정 내부호화부(60)의 출력단에 연결된 동기부가부(70)는 부호화된 영상데이타에 동기신호를 추가하여 출력하고, 출력된 데이타는 변조부(80)로 인가하여 반송파를 변조시킨다. 변조부(80)의 출력단에 연결된 병렬-직렬 변환부(90)는 병렬데이타형태로 입력되는 영상데이타를 직렬데이타형태로 변환하여 기록등하기(100)로 출력하고, 기록등화기(100)는 전술된 신호처리과정에서 변경된 영상데이타의 주파수특성을 보상하여 기록헤드로 출력한다.The error correction external encoder 40 adds and encodes an external code bit for correcting a cluster error to the input image data, and the image data encoded by the interleaver 50 connected to the output terminal of the error correction external encoder 40. Randomly shuffle and print An error correction inner coding unit 60 is connected to an output terminal of the interleaver 50 so as to encode an internal code bit for correcting an irregular error in image data. The synchronization unit 70 connected to the output terminal of the error correction internal encoder 60 adds and outputs a synchronization signal to the encoded image data, and applies the output data to the modulation unit 80 to modulate the carrier wave. The parallel-to-serial converter 90 connected to the output terminal of the modulator 80 converts the image data inputted in the parallel data form into the serial data form and outputs it to the write lamp 100, and the record equalizer 100 The frequency characteristics of the image data changed in the above-described signal processing are compensated for and output to the recording head.

이와 같이 구성된 종래의 디지털 VCR시스템에 아날로그 영상신호가 입력되면, 아날로그/디지털 변환부(10)는 이 신호를 샘플링하여 디지털 영상데이타를 출력하고, 채널분리부(20)는 데이타율이 높지 않도록 프레임이나 필드단위로 입력되는 영상데이타를 몇 개의 대역으로 분리하여 셔플링부(30)로 출력한다. 여기서, 셔플링이란 영상데이타를 일정한 범위(예;필드)안에서 어떤 규칙에 의해 서로 뒤섞는 것을 의미하며, 셔플링을 하는 목적은 뒷단의 에러정전 부호화에 의해 에러정정이 성공하지 않더라도 디스플레이되는 화면내에서 에러가 일어난 화소가 집중적으로 나타나지 않도록 에러를 분산시키기 위한 것이다. 셔플링부(30)에서 출력된 영상데이타는 에러정정 외부호화부(40)로 인가되어 외부호비트가 추가된다.When the analog video signal is input to the conventional digital VCR system configured as described above, the analog / digital converter 10 samples the signal and outputs the digital video data, and the channel separator 20 controls the frame so that the data rate is not high. In addition, the image data input in field units is separated into several bands and output to the shuffling unit 30. Here, shuffling means mixing the image data with a certain rule within a certain range (eg, a field), and the purpose of shuffling is to be displayed in the displayed screen even if error correction is not successful due to error truncation coding at a later stage. This is to distribute the error so that the pixel in which the error occurs is not concentrated. The image data output from the shuffling unit 30 is applied to the error correction external encoder 40 to add an external code bit.

제2도는 에러정정 외부호화를 하기 전과 후의 영상데이타 배열 상태와 부호화를 위한 데이타의 기록 및 판독흐름을 나타낸 상태도이다. 제2도의 (a)는 셔플링된 후의 영상데이타의 배열상태를 나타낸 것으로, 세로축의 번호는 라인번호를 나타내고, 가로축의 번호는 1개의 주사선내에서의 화소번호를 의미한다. 이것은 1프레임 분량이 될수도 있고 1필드가 될 수도 있다. 제2도의 (a)와 같이 셔플링된 후 에러정정 외부호화부(40)내의 메모리로 들어가는 영상데이타의 형태는 제2도의 (b)에서와 같이 라인내에서 서로 뒤섞인 형태가 되고, 이때 화살표로 표시된 것과 같이 각 라인별로 직렬로 들어가 기록된다. 셔플링된 영상데이타가 메모리에 모두 들어가면 순서대로 외부호 패리티비트가 붙게 되고, 기록시와 마찬가지로 화살표방향으로 읽혀지게 된다. 그러므로 에러정정 외부호화를 하기 위한 어떠한 데이타의 재배열도 필요가 없게 된다.2 is a state diagram showing the state of image data arrangement before and after error correction external encoding and the recording and reading flow of data for encoding. (A) of FIG. 2 shows the arrangement state of the image data after being shuffled. The number on the vertical axis indicates the line number, and the number on the horizontal axis indicates the pixel number in one scanning line. This can be one frame or one field. As shown in (a) of FIG. 2, the image data that is shuffled into the memory of the error correction external encoder 40 is mixed with each other in the line as shown in (b) of FIG. As shown, each line is written in series. When all the shuffled video data enters the memory, the external code parity bits are sequentially added and read in the direction of the arrow as in recording. Therefore, there is no need to rearrange any data for error correction external encoding.

에러정정 외부호화부(40)에서 1차로 부호화된 영상데이타는 인터리버(50)로 인가되어 랜덤하게 뒤섞여 출력된다. 인터리버(50)에서 출력된 데이타는 에러정정 내부호화부(60)로 인가되어 내부호 패리티비트가 추가됨으로써 2차로 부호화되고, 부호화된 영상데이타는 동기부가부(70)로 인가되어 기존의 영상신호에 포함된 동기신호와는 다른 동기신호가 추가된다. 동기부가부(70)에서 출력된 데이타는 변조부(80)로 인가되어 반송파를 변조시키고, 변조된 영상신호는 병렬-직렬 변환부(90)에 의해 직렬데이타형태로 변환된 후, 기록등화기(100)에 의해 주파수특성이 보상되어 헤드를 통해 테이프에 기록된다.The video data primarily encoded by the error correction external encoder 40 is applied to the interleaver 50 and randomly mixed and output. The data output from the interleaver 50 is applied to the error correction internal coder 60 and encoded second by adding an internal code parity bit, and the encoded image data is applied to the synchronization adder 70 to provide an existing video signal. A synchronization signal different from the synchronization signal included in is added. Data output from the synchronization unit 70 is applied to the modulation unit 80 to modulate a carrier wave, and the modulated video signal is converted into serial data by the parallel-to-serial conversion unit 90, and then the record equalizer. The frequency characteristic is compensated for by 100 and recorded on the tape through the head.

그러나 이러한 종래의 방식은 영상데이타를 압축하지 않았을 경우에 적용되는 것으로, 영상데이타를 압축할 경우에는 데이타가 매크로블록단위로 전송되므로 영상데이타의 배열이 변형되어 뒷단에서 에러정정 부호화 및 다른 신호처리를 하기 위해서는 압축된 영상데이타를 다시 재배열해 주어야 하는 문제점이 있었다.However, this conventional method is applied when the image data is not compressed. When the image data is compressed, the data is transmitted in units of macroblocks, so that the arrangement of the image data is modified so that error correction coding and other signal processing are performed at the back stage. In order to do this, there is a problem of re-arranged the compressed image data.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위한 것으로, 본 발명의 목적은 영상데이타를 압축하여 기록하는 시스템에서 압축시 변형된 영상데이타의 배열을 간단한 구성에 의해 다시 재배열해주어 뒷단에서 에러정정 부호와 및 다른 신호처리를 용이하게 할 수 있도록 한 영상데이타의 재배치를 위한 메모리 제어장치 및 그 방법을 제공하는데 있다.The present invention is to solve the above-mentioned problems, the object of the present invention is to rearrange the arrangement of the modified image data during compression in a system for compressing and recording the image data by a simple configuration to correct the error at the rear end The present invention provides a memory control apparatus and method for relocating image data to facilitate code and other signal processing.

상기와 같은 목적을 달성하기 위한 본 발명의 영상데이타의 재배치를 위한 메모리 제어장치는 입력되는 영상데이타를 압축하여 출력하는 데이타압축부; 데이타압축부로부터 입력되는 영상데이타를 래치하여 출력하는 입력래치부와, 입력래치부로부터 입력되는 영상데이타를 기록시와 판독시의 어드레스를 다르게 하여 저장 및 출력하는 메모리부와, 메모리부로부터의 영상데이타를 입력받아 출력하는 출력래치부와, 현재 메모리부로 입력되는 영상데이타에 관련한 글로벌타이밍신호를 만들어 출력하는 타이밍발생부, 및 글로벌타이밍신호를 입력받아 메모리부의 기록/판독동작을 제어하기 위해 각 블록을 제어하는 메모리제어부로 구성된 데이타재배열부; 및 출력래치부로부터 입력되는 영상데이타에 군집에러를 정정하기 위한 외부호화비트를 추가하여 부호화하는 에러정정회부호화부를 포함한다.Memory control apparatus for rearranging the image data of the present invention for achieving the above object is a data compression unit for compressing and outputting the input image data; An input latch unit for latching and outputting image data inputted from the data compression unit, a memory unit for storing and outputting the image data inputted from the input latch unit at a different address during writing and reading, and an image from the memory unit. An output latch unit for receiving and outputting data, a timing generator for generating and outputting a global timing signal related to image data currently input to the memory unit, and a block for controlling the write / read operation of the memory unit for receiving the global timing signal. A data rearrangement unit configured of a memory control unit for controlling the control unit; And an error correction encoding unit for encoding by adding an external encoding bit for correcting the cluster error to the image data input from the output latch unit.

또한, 상기와 같은 목적을 달성하기 위한 본 발명의 영상데이타의 재배치를 위한 메모리 제어방법은 샘플링된 영상데이타를 정해진 비율에 따라 매크로블록단위로 압축하는 데이타압축단계; 기록시와 판독시의 어드레스를 서로 다르게 지정하여 압축할 때 변형된 영상데이타의 배열을 다시 재배열하는 데이타재배열단계: 및 재배열된 영상데이타에 군집에러를 정정하기 위한 외부호비트를 추가하여 부호화하는 에러정정외부호화단계를 포함한다.In addition, the memory control method for relocating the image data of the present invention for achieving the above object comprises a data compression step of compressing the sampled image data in macroblock units according to a predetermined ratio; Data reordering step of rearranging the arrangement of the deformed image data when compressing by designating different addresses at the time of recording and reading: and encoding by adding external code bits to correct the cluster error in the rearranged image data An error correction outer coding step.

이하, 첨부된 제3도 내지 제10도를 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to FIGS. 3 to 10.

제3도는 영상데이타 압축방식을 채용하는 본 발명의 디지털 VCR시스템의 개략적인 구성을 나타낸 블록도이다. 도시된 바와 같이, 아날로그 영상신호를 샘플링하여 디지털신호로 변환하는 아날로그/디지털 변환부(10)는 채널분리부(20)에 연결되고, 이 채널분리부(20)는 입력된 프레임이나 필드단위의 영상데이타를 몇 개의 시간대역으로 분리하여 병렬로 처리할 수 있도록 한다. 상기 채널분리부(20)의 출력단에는 데이타압축부(110)가 연결되어 영상데이타를 정해진 비율에 따라 매크로블록단위로 압축하고, 데이타압축부(110)에서 출력된 영상데이타는 데이타 재배열부(120)로 인가된다.3 is a block diagram showing a schematic configuration of a digital VCR system of the present invention employing a video data compression method. As shown, an analog / digital converter 10 for sampling and converting an analog video signal into a digital signal is connected to the channel separator 20, and the channel separator 20 is configured in units of input frames or fields. Image data can be divided into several time bands and processed in parallel. The data compression unit 110 is connected to an output terminal of the channel separator 20 to compress the image data in macroblock units according to a predetermined ratio, and the image data output from the data compression unit 110 is the data rearrangement unit 120. Is applied.

본 발명의 특징부인 데이타 재배열부(120)는 기록시와 판독시의 어드레스를 서로 다르게 지정하여 상기 데이타압축부(110)에서 압축할때 변형된 영상데이타의 배열을 재배열하게 되고, 상기 데이타 재배열부(120)에서 출력된 영상데이타는 에러정정 외부호화부(40)로 인가된다. 에러정정 외부호화부(40)는 입력된 영상데이타에 군집에러를 정정하기 위한 외부호비트를 추가하여 부호화하고, 에러정정 외부호화부(40)의 출력단에는 인터리버(50)가 연결되어 부호화된 영상데이타를 랜덤하게 뒤석어 출력한다. 인터리버(50)의 출력단에는 에러정정 내부호화부(60)가 연결되어 영상데이타에 불규칙에러를 정정하기 위한 내부호비트를 덧붙여 부호화한다. 상기 에러정정 내부호화부(60)의 출력단에 연결된 동기부가부(70)는 부호화된 영상데이타에 동기신호를 추가하여 출력하고, 출력된 데이타는 변조부(80)로 인가되어 반송파를 변조시킨다. 변조부(80)의 출력단에 연결된 병렬-직렬 변환부(90)는 병렬데이타형태로 입력되는 영상데이타를 직렬데이타형태로 변환하여 기록등화기(100)로 출력하고, 기록등화기(100)는 전술된 신호처리과정에서 변경된 영상데이타의 주파수특성을 보상하여 기록헤드로 출력한다.The data rearranging unit 120, which is a feature of the present invention, rearranges the modified image data when compressed by the data compression unit 110 by designating different addresses at the time of recording and reading. The image data output from the column unit 120 is applied to the error correction external encoder 40. The error correction external encoder 40 adds and encodes an external code bit for correcting a cluster error to the input image data, and the image data encoded by the interleaver 50 connected to the output terminal of the error correction external encoder 40. Prints randomly. An error correction internal coder 60 is connected to an output terminal of the interleaver 50 to add and encode an internal code bit for correcting an irregular error in the image data. The synchronization unit 70 connected to the output terminal of the error correction internal encoder 60 adds and outputs a synchronization signal to the encoded image data, and the output data is applied to the modulation unit 80 to modulate the carrier wave. The parallel-serial converter 90 connected to the output terminal of the modulator 80 converts the image data input in the parallel data form into the serial data form and outputs the serial data to the record equalizer 100. The record equalizer 100 The frequency characteristics of the image data changed in the above-described signal processing are compensated for and output to the recording head.

상기와 같이 구성된 본 발명의 시스템에 아날로그 영상신호가 입력되면, 아날로그/디지털 변환부(10)는 이 신호를 샘플링하여 디지털 영상데이타를 출력하고, 채널분리부(20)는 데이타율이 높지 않도록 프레임이나 필드단위로 입력되는 영상데이타를 몇 개의 대역으로 분리하여 데이타압축부(110)로 출력한다. 여기서, 데이타 압축을 적용하는 시스템은 통상 셔플링을 하지 않는다. 그 이유는 셔플링을 한다는 것은 영상데이타를 임의로 섞는 것을 의미하는데, 이렇게 데이타를 섞으면 영상데이타 상호간의 상관성이 낮아지고, 상관성이 없다는 것은 그만큼 압축하기가 어렵다는 것을 의미하기 때문이다.When the analog video signal is input to the system of the present invention configured as described above, the analog-digital converter 10 samples the signal and outputs the digital video data, and the channel separator 20 does not frame the data rate so that the data rate is not high. In addition, the image data input in field units is divided into several bands and outputted to the data compression unit 110. Here, systems that apply data compression typically do not shuffle. The reason for this is that shuffling means random mixing of the image data. When the data is mixed like this, the correlation between the image data is lowered, and the lack of correlation means that the compression is difficult.

제4도는 영상데이타를 압축하는 단위를 나타내기 위한 화면상태도로서, 데이타압축율이 4:2:2인 경유 휘도신호와 색차신호의 압축단위를 나타낸 것이다. 영상데이타를 부호화하기 위해서는 화면을 소정크기의 블록들로 구분하는데, 제4도에서 빗금으로 표시된 블록은 영상데이타를 압축하는 최소한의 단위를 나타내는 1매크로블록(Macro Block; MB)이다. 데이타압축률이 4:2:2인 경우 제4도의 (a)와 같이 휘도신호(Y)는 16×16=256화소, 제4도의 (a)(c)와 같이 색차신호(R-Y)(B-Y)는 각각 8×16=128화소를 가지고 1매크로블록을 형성한다. 데이타압축률은 시스템의 스펙(SPEC)에 따라 결정한다. 만약, 4:1로 압축을 한다면 압축을 하기전 1매크로블록의 총 데이타량은 256+128+128=512바이트가 되고, 이를 압축하면 512/4=128바이트가 된다. 이와 같이 영상데이타를 압축하게 되면 이전의 라인 및 화소개념이 없어지므로 모든 데이타는 매크로블록단위로 처리되고, 이후의 처리는 이러한 매크로블록단위의 데이타를 유지해야만 한다.4 is a screen state diagram showing a unit of compressing image data, and shows a unit of compression of a luminance signal and a color difference signal having a data compression ratio of 4: 2: 2. In order to encode the image data, the screen is divided into blocks having a predetermined size. In FIG. 4, a block indicated by hatching is a macro block (MB) indicating a minimum unit for compressing the image data. When the data compression ratio is 4: 2: 2, the luminance signal Y is 16x16 = 256 pixels as shown in (a) of FIG. 4, and the chrominance signal RY (BY) as shown in (a) (c) of FIG. Each has 8 x 16 = 128 pixels to form one macroblock. The data compression rate is determined according to the system specification (SPEC). If compression is 4: 1, the total data amount of one macroblock before compression is 256 + 128 + 128 = 512 bytes, which is 512/4 = 128 bytes. When the image data is compressed in this manner, the previous line and pixel concepts are lost, so all data are processed in macroblock units, and subsequent processing must maintain the data in macroblock units.

제5도는 영상데이타를 압축한 후의 데이타포맷상태를 나타낸 것이다. 도시된 바와 같이, 영상데이타는 매크로블록단위로 이루어져 있으며, 매크로블록의 개수는 시스템의 스펙에 따라 각기 다르고, m,n은 정수이므로 매크로블록의 수는 1필드 및 1프레임내에서 정수단위로 존재한다. 여기서, 영상데이타의 압축단위인 매크로블록은 에러정정 부호화에 사용되는 내부호와 관련이 많은데, 이것은 트릭재생(trick play)시에 에러정정 내부호화를 하여 데이타재생의 최소단위인 매크로블록단위로 영상데이타를 재생하기 위한 것이다.5 shows a data format state after compressing image data. As shown, the image data is composed of macroblock units, and the number of macroblocks varies according to the specification of the system. Since m and n are integers, the number of macroblocks is present in integer units within 1 field and 1 frame. do. Here, the macroblock, which is the compression unit of the image data, is related to the internal code used for error correction encoding. It is for playing data.

제6도는 상기와 같이 압축된 영상데이타를 에러정정 외부호화를 하기 위해 메모리에 기록 및 판독하는 순서를 나타낸 상태도이다. 전술된 바와 같이 매크로블록은 에러정정 내부호화의 단위가 되므로 이를 고려하여 메모리에 기록해야 한다. 가로방향의 화살표(A)는 데이타압축부(110)로부터 들어오는 영상데이타의 기록방향으로서 이후 에러정정 내부호화의 방향이 되고, 세로방향의 화살표(B)는 에러정정 외부호화를 위해 메모리에서 영상데이타를 판독하는 방향이다. 이와 같이 압축된 영상데이타는 매크로블록단위로 에러정정 내부호화가 되어야 한다는 조건 때문에 데이타압축부(110)에서 들어오는 영상데이타의 기록방향과 에러정정 외부호화를 위해 메모리에서 읽어내는 판독방향이 서로 다르다. 세로축의 길이는 외부호의 길이(Outer Code Length)와 같고, 가로방향으로 들어갈 수 있는 매크로블록의 개수는 이에 따라 결정된다. 매크로블록의 크기는 압축률의 정도에 따라 다른데, 만일 매크로블록의 크기를│c│라 하고 들어갈 수 있는 전체 매크로블록의 개수를 n이라 하면, 제6도의 메모리맵상의 배열을 다시 에러정정 외부호화를 행하기 위한 배열상태로 변형하기 위한 판독/기록용 메모리와 이를 제어하기 위한 콘트롤러가 필요하게 된다.FIG. 6 is a state diagram showing a procedure of writing and reading the compressed image data as described above into a memory for error correction external encoding. As described above, the macroblock is a unit of error correction internal encoding, and therefore, the macroblock should be written in the memory in consideration of this. The arrow A in the horizontal direction is the recording direction of the image data coming from the data compression unit 110, and becomes the direction of error correction internal encoding, and the arrow B in the vertical direction is the image data in the memory for error correction external encoding. Is the direction to read. As described above, the compressed image data has different error correction internal encoding in units of macroblocks, and thus the recording direction of the image data coming from the data compression unit 110 is different from the reading direction read from the memory for error correction external encoding. The length of the vertical axis is equal to the length of the outer code (Outer Code Length), and the number of macroblocks that can enter the horizontal direction is determined accordingly. The size of the macroblock depends on the degree of compression. If the size of the macroblock is | c│ and the total number of macroblocks that can fit into n is n, the error correction outer coding is performed again. There is a need for a read / write memory for transforming into an arrangement for performing and a controller for controlling the same.

제7도는 상기 제3도에서 데이타 재배열부(120)의 상세구성을 보인 블록도로서, 본 발명의 데이타 재배열부는 메모리제어부(125)로부터 인가된 제어신호 및 어드레스신호에 따라 압축된 영상데이타를 저장하고 저장된 데이타를 출력하는 메모리부(121)를 구비하고, 이 메모리부(121)는 교대로 기록/판독동작을 행하는 2개의 메모리(MEM)(MEM)로 이루어진다. 상기 메모리부(121)의 입력단에는 2개의 래치(LAT1)(LAT2)로 구성된 입력래치부(122)가 연결되고, 이 입력래치부(122)는 메모리제어부(125)로부터 인가된 출력인에이블신호(OE)에 따라 데이타압축부(110)로부터 전송되는 영상데이타를 래치하여 메모리부(121)로 출력하게 된다. 상기 메모리부(121)의 출력단에는 2개의 래치(LAT3)(LAT4)로 구성된 출력래치부(123)가 연결되고, 이 출력래치부(123)는 메모리제어부(125)로부터 인가된 출력인에이블 신호(OE)에 따라 메모리부(121)에서 독출된 영상데이타를 에러정정 외부호화부(40)로 출력하게 된다.FIG. 7 is a block diagram showing a detailed configuration of the data rearrangement unit 120 in FIG. 3. The data rearrangement unit of the present invention compresses image data compressed according to a control signal and an address signal applied from the memory controller 125. And a memory section 121 for storing and outputting the stored data. The memory section 121 is composed of two memories MEM MEM which alternately perform writing / reading operations. An input latch unit 122 including two latches LAT1 and LAT2 is connected to an input terminal of the memory unit 121, and the input latch unit 122 is an output enable signal applied from the memory controller 125. According to (OE), the image data transmitted from the data compression unit 110 is latched and output to the memory unit 121. An output latch 123 composed of two latches LAT3 and LAT4 is connected to an output terminal of the memory unit 121, and the output latch unit 123 is an output enable signal applied from the memory controller 125. According to (OE), the image data read out from the memory unit 121 is output to the error correction external encoder 40.

또한 본 발명의 데이타 재배열부는 현재 입력되는 영상데이타에 관한 정보를 알려주는 글로벌타이밍신호를 만들어 출력하는 타이밍발생부(124)를 구비한다. 상기 타이밍발생부(124)의 출력단에는 메모리제어부(125)가 연결되고, 상기 메모리제어부(125)는 상기 글로벌타이밍신호를 입력받아 메모리부(121)의 기록/판독동작을 제어하는데 필요한 각종 신호를 만들어 상기 메모리부(121)와 입력래치부(122)와 출력래치부(123)로 출력하게 된다.In addition, the data rearrangement unit of the present invention includes a timing generation unit 124 for generating and outputting a global timing signal informing the information on the image data currently input. A memory controller 125 is connected to an output terminal of the timing generator 124, and the memory controller 125 receives the global timing signal and receives various signals necessary to control the write / read operation of the memory 121. It is made to output to the memory unit 121, the input latch unit 122 and the output latch unit 123.

상기와 같이 구성된 데이타 재배열부의 동작을 제10도의 파형도에 의거하여 설명하면 다음과 같다.The operation of the data rearrangement unit configured as described above will be described based on the waveform diagram of FIG.

먼저, 타이밍발생부(124)는 현재 데이타압축부(110)로부터 입력되는 영상데이타에 관한 정보를 메모리제어부(125)에 알려주기 위해 제10도의 (a)와 같은 클럭신호(clk)에 동기한 글로벌타이밍신호(macro_n, f_rst, oe_frame)를 만들어 출력한다. 제10도의 ⒟에 도시된 바와 같이 macro_n은 매크로블록 n개단위로 입력되어 들어오는 신호이고, 제10도의 (b)에서와 같이 f_rst는 프레임이 바뀔대마다 이를 알려주는 신호이다. oe_frame은 제10도의 ⒞에 도시된 바와 같이 프레임이 기수프레임인지 우수프레임인지를 알려주는 신호로서, 프레임마다 두 메모리(MEM1)(MEM2)를 판독 및 기록용으로 서로 번갈아가며 사용하는데 필요한 신호이며, 이 신호가 저전위인 경우는 기수프레임이고 고전위인 경우는 우수프레임이다.First, the timing generator 124 synchronizes with the clock signal clk as shown in (a) of FIG. 10 in order to inform the memory controller 125 of information about the image data currently input from the data compressor 110. Create and output global timing signals (macro_n, f_rst, oe_frame). As shown in FIG. 10, macro_n is a signal inputted in units of n macroblocks, and as shown in (b) of FIG. 10, f_rst is a signal for notifying each time a frame is changed. oe_frame is a signal indicating whether a frame is an odd frame or an even frame, as shown in ⒞ of FIG. 10. The oe_frame is a signal required to alternately use two memories MEM1 and MEM2 for reading and writing for each frame. If this signal is low potential, it is an odd frame, and if it is high potential, it is an even frame.

타이밍발생부(1240에서 출력된 글로벌타이밍신호는 메모리제어부(125)로 인가되고, 메모리제어부(125)는 이 신호를 이용하여 메모리부(121)의 기록/판독동작을 제어하는데 필요한 신호들을 만들어낸다. 상기 메모리제어부(125)의 신호에 대해 설명하면, M0_OE, M1_OE, M0_WE, M1_WE(제10도의 ⒤⒥참조)는 메모리부(121)의 두 메모리(MEM1)(MEM2)의 모드(판독/기록)를 결정해 주기 위한 신호이고, M0_CS,M1_CS는 두 메ㅁ리(MEM)(MEM)의 칩선택(Chip Select)신호로서, 이 신호들에 의해 하나의 메모리가 기록동작을 행하면 동시에 다른 메모리는 판독동작을 행하게 된다. M0_ADDR, M1_ADDR은 각각 두 메모리(MEM1)(MEM2)의 어드레스를 나타내고, M0_WRITE, M1_WRITE(제10도의⒢⒣참조)는 입력래치부(122)를 제어해 주며, M0_READ, M1_READ(제10도의 ⒦⒧참조)는 출력래치부(123)를 제어해 준다.The global timing signal output from the timing generator 1240 is applied to the memory controller 125, and the memory controller 125 generates signals necessary for controlling the write / read operation of the memory 121 using this signal. When the signals of the memory controller 125 are described, M0_OE, M1_OE, M0_WE, and M1_WE (see FIG. 10) refer to the modes (read / write) of the two memories MEM1 and MEM2 of the memory unit 121. M0_CS and M1_CS are chip select signals of two memories (MEM). When one memory performs a write operation by these signals, the other memory simultaneously M0_ADDR and M1_ADDR represent the addresses of two memories MEM1 and MEM2, respectively, and M0_WRITE and M1_WRITE (see FIG. 10) control the input latch 122, and M0_READ and M1_READ. (See FIG. 10) controls the output latch unit 123.

제8도는 영상데이타를 재배치하기 위해 본 발명의 메모리부에 기록 및 판독되는 1채널, 1프레임분의 데이타배치상태를 나타낸 메모리맵이다. 가로방향의 화살표(A)는 메모리에 영상데이타를 기록하는 방향이고, 세로방향의 화살표(B)는 메모리에서 영상데이타를 판독하는 방향이다. 세로축의 길이는 외부호의 길이(ocl)와 같고, 매크로블록의 크기는 │c│바이트로서, 가로방향으로 들어가는 매크로블록의 개수는 n개이다.8 is a memory map showing a data arrangement state for one channel and one frame that is recorded and read out in the memory unit of the present invention to rearrange video data. The arrow A in the horizontal direction is a direction for writing image data in the memory, and the arrow B in the vertical direction is a direction for reading image data in the memory. The length of the vertical axis is equal to the length of the outer arc (ocl), the size of the macroblock is | c | bytes, and the number of macroblocks entering the horizontal direction is n.

제9도는 메모리의 기록/판독동작에 의하여 실제로 메모리에 대이타가 배치되는 과정을 설명하기 위한 상태도이다. 필요한 외부호블럭(OCB)을 메모리로부터 직렬로 읽어내기 위하여 데이타압축부(110)로부터 입력되어 들어오는 매크로블록단위의 내부호블록의 데이타들을 메모리에 기록할 때 제9도에서와 같이 행한다. 도시된 바와 같이, │c│바이트로 구성된 1매크로블록(MB1)의 데이타가 들어오면, 그 각각의 데이타는 외부호길이(ocl)만큼 어드레스의 간격을 두고 메모리에 기록된다. 즉, 제10도의 ⒠에 도시된 바와 같이 MB1의 영상데이타는 차례로 0,ocl, 2*ocl, 3*ocl등의 어드레스에 기록이 된다. 이러한 순서로 기록되다가 타이밍발생부(1240로부터 macro_n신호가 입력되면, 그 이후의 MBn+1에서부터 MB2n까지의 │c│*n바이트의 데이타는 각각 1씩 오프셋이 가해진 상태로 메모리에 기록된다. 즉, 1, ocl+1, 2*ocl+1, 3*ocl+1등의 어드레스에 기록이 되는 것이다. 이후 다시 macro_n신호가 입력되면 2,ocl+2, 2*ocl+2, 3*ocl+3등의 어드레스에 기록이 되고, 이와 같이 계속적으로 기록되다가 타이밍발생부(124)로부터 oe_frame신호 및 f_rst신호가 입력되면, 두 메모리(MEM1)(MEM2)는 판독 및 기록의 역할을 서로 바꾸게 되고, 이때 기록 및 판독어드레스는 초기치인 0으로 세트된다.FIG. 9 is a state diagram for explaining the process of actually arranging the data in the memory by the write / read operation of the memory. As shown in FIG. 9, when the data of the internal code block in macroblock units inputted from the data compression unit 110 are read into the memory in order to read out the necessary external code block OBC from the memory in series. As shown, when data of one macroblock MB1 composed of | c | bytes comes in, each of the data is written to the memory at an address interval by the outer code length (ocl). That is, as shown in FIG. 10, the video data of MB1 is recorded at addresses of 0, ocl, 2 * ocl, 3 * ocl, and so on. When the macro_n signal is inputted from the timing generator 1240 in this order, subsequent data of " c | * n bytes from MBn + 1 to MB2n are written to the memory with an offset of 1 each. , 1, ocl + 1, 2 * ocl + 1, 3 * ocl + 1, etc. When macro_n signal is input again, 2, ocl + 2, 2 * ocl + 2, 3 * ocl + When recording is performed at an address such as 3, and the like is continuously recorded in this manner, and the oe_frame signal and the f_rst signal are input from the timing generator 124, the two memories MEM1 and MEM2 switch roles of reading and writing. At this time, the write and read addresses are set to zero, which is an initial value.

실제로 제8도와 같은 메모리 매핑상태를 구현하기 위해서는 두가지 방법이 있다. 그 하나는 상기와 같이 기록할때 데이타를 배열해서 기록하고 판독할때는 그냥 직렬로 읽어내는 방법이고, 다른 하나는 기록할때는 그냥 직렬로 데이타를 기록하고 판독할 때 상기와 같이 에드레스를 조작하여 읽어내는 방법으로, 메모리를 제어하는 방법은 상기 두가지 방법이 서로 같다. 상기 첫 번재 방법에서 데이타를 그냥 직렬로 읽어내기 위한 판독어드레스는 제10도의 ⒡에 도시된 바와 같이 순차적으로 1씩 증가시키면서 메모리에 있는 데이타를 읽어들이면 된다.In fact, there are two ways to implement the memory mapping state as shown in FIG. One is to read and write data serially when writing and reading as above. The other is to read and write data as above when writing and reading data serially when writing. As a method, the two methods are the same for controlling the memory. In the first method, a read address for simply reading data serially may read the data in the memory while sequentially increasing by 1, as shown in FIG.

상기와 같이 데이타 재배열부(120)에서 기록시와 판독시의 어드레스를 서로 다르게 지정하여 압축시 변형된 영상데이타를 재배열한 후, 상기 데이타 재배열부(120)에서 출력된 영상데이타는 에러정정 외부호화부(40)로 인가되어 외부호비트가 추가된다. 제3도의 에러정정 외부호화부(40)에서 1차로 부호화된 영상데이타는 인터리버(50)로 인가되어 랜덤하게 뒤섞여 출력된다. 인터리버(50)에서 출력된 데이타는 에러정정 내부호화부(60)로 인가되어 내부호 패리티비트가 추가됨으로써 2차로 부호화되고, 부호화된 영상데이타는 동기부가부(70)로 인가되어 기존의 영상신호에 포함된 동기신호와는 다른 동기신호가 추가된다. 동기부가부(70)에서 출력된 데이타는 변조부(80)로 인가되어 반송파를 변조시키고, 변조된 영상신호는 병렬-직렬 변환부(90)에 의해 직렬데이타형태로 변환된 후, 기록등화기(100)에 의해 주파수특성이 보상되어 헤드를 통해 테이프에 기록된다.As described above, the data rearrangement unit 120 rearranges the deformed image data during compression by designating different addresses at the time of recording and reading, and then outputs the image data output from the data rearrangement unit 120 to correct the error. Applied to the unit 40, an external code bit is added. The video data encoded by the error correction external encoder 40 of FIG. 3 is applied to the interleaver 50 and randomly shuffled. The data output from the interleaver 50 is applied to the error correction internal coder 60 and encoded second by adding an internal code parity bit, and the encoded image data is applied to the synchronization adder 70 to provide an existing video signal. A synchronization signal different from the synchronization signal included in is added. Data output from the synchronization unit 70 is applied to the modulation unit 80 to modulate a carrier wave, and the modulated video signal is converted into serial data by the parallel-to-serial conversion unit 90, and then the record equalizer. The frequency characteristic is compensated for by 100 and recorded on the tape through the head.

이상에서와 같이 본 발명은 영상데이타를 압축하여 기록하는 시스템에서 메모리장치를 이용하여 기록시와 판독시의 어드레스를 서로 다르게 지정함으로써 압축시 변형된 영상데이타의 배열을 간단한 구성에 의해 다시 재배열해 주어 뒷단에서 에러정정 부호화 및 다른 신호처리를 용이하게 할 수 있도록 하는 효과가 있다.As described above, the present invention reorders the modified image data upon compression by a simple configuration by designating different addresses at the time of recording and reading using a memory device in a system for compressing and recording the image data. It is effective to facilitate error correction coding and other signal processing at the end of the subject.

Claims (4)

샘플링된 영상데이타를 압축 및 부호화하여 매체에 기록하기 위한 장치에 있어서, 입력되는 영상데이타를 압축하여 출력하는 데이터압축부; 상기 데이터압축부로부터 입력되는 영상데이타를 래치하여 출력하는 입력래치부와, 상기 입력래치부로부터 입력되는 영상데이타를 기록시와 판독시의 어드레스를 다르게 하여 저장 및 출력하는 메모리부와, 상기 메모리부로부터의 영상데이타를 입력받아 출력하는 출력래치부와, 현재 메모리부로 입력되는 영상데이타에 관련한 글로벌타이밍신호를 만들어 출력하는 타이밍발생부, 및 상기 글로벌타이밍신호를 입력받아 상기 메모리부의 기록/판독동작을 제어하기 위해 각 블록을 제어하는 메모리제어부로 구성된 데이타재배열부; 및 상기 출력래치부로부터 입력되는 영상데이타에 군집에러를 정정 하기 위한 외부호화비트를 추가하여 부호화하는 에러정정외부호화부를 포함하는 영상데이타의 재배치를 위한 메모리 제어장치.An apparatus for compressing and encoding sampled image data and recording the same on a medium, the apparatus comprising: a data compression unit configured to compress and output input image data; An input latch unit for latching and outputting image data input from the data compression unit, a memory unit for storing and outputting the image data input from the input latch unit at different writing and reading times, and the memory unit An output latch unit for receiving and outputting image data from the image output unit, a timing generator for generating and outputting a global timing signal related to the image data currently input to the memory unit, and receiving the global timing signal for recording / reading operation of the memory unit. A data rearrangement unit configured of a memory control unit controlling each block to control the block; And an error correction external encoding unit configured to add and encode an external encoding bit for correcting a cluster error to the image data inputted from the output latch unit. 제1항에 있어서, 상기 메모리부는 하나의 메모리가 기록동작을 행하면 동시에 다른 메모리는 판독동작을 행하고 프레임단위로 기록/판독동작을 번갈아 행하는 2개의 메모리로 구성하는 것을 특징으로 하는 영상데이타의 재배치를 위한 메모리 제어장치.2. The relocation of video data according to claim 1, wherein the memory unit comprises two memories which perform a read operation when one memory performs a write operation and alternately perform a read operation and perform a write / read operation in units of frames. Memory controller for 제1항에 있어서, 상기 타이밍발생부에서 출력되는 글로벌타이밍신호는 소정갯수단위의 매크로블록이 입력되는 것을 알려주는 신호와, 프레임이 바뀌는 것을 알려주는 신호와, 프레임이 기수프레임인지 우수프레임인지를 알려주는 신호를 포함하는 것을 특징으로 하는 영상데이타의 재배치를 위한 메모리 제어장치.The method of claim 1, wherein the global timing signal output from the timing generator is a signal indicating that a predetermined number of macroblocks are input, a signal indicating that a frame is changed, and whether the frame is an odd frame or an even frame. Memory control device for repositioning the image data, characterized in that it comprises a signal to tell. 샘플링된 영상데이타를 압축 및 부호화하여 매체에 기록하기 위한 방법에 있어서, 샘플링된 영상데이타를 정해진 비율에 따라 매크로블록단위로 압축하는 데이타압축단계; 기록시와 판독시의 어드레스를 서로 다르게 지정하여 압축할 때 변형된 영상데이타의 배열을 다시 재배열하는 데이타재배열단계; 및 재배열된 영상데이타에 군집에러를 정정하기 위한 외부호비트를 추가하여 부호화하는 에러정정외부호화단계를 포함하는 영상데이타의 재배치를 위한 메모리 제어방법.A method for compressing and encoding sampled image data and recording the same on a medium, the method comprising: compressing sampled image data in macroblock units according to a predetermined ratio; A data rearrangement step of rearranging the arrangement of the deformed image data upon compression by designating different addresses at the time of recording and reading; And an error correction outer encoding step of encoding and adding an outer code bit for correcting a cluster error to the rearranged image data.
KR1019940002413A 1994-02-08 1994-02-08 Memory control apparatus and method for reordering image data KR100209875B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940002413A KR100209875B1 (en) 1994-02-08 1994-02-08 Memory control apparatus and method for reordering image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940002413A KR100209875B1 (en) 1994-02-08 1994-02-08 Memory control apparatus and method for reordering image data

Publications (2)

Publication Number Publication Date
KR950026265A KR950026265A (en) 1995-09-18
KR100209875B1 true KR100209875B1 (en) 1999-07-15

Family

ID=19377044

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940002413A KR100209875B1 (en) 1994-02-08 1994-02-08 Memory control apparatus and method for reordering image data

Country Status (1)

Country Link
KR (1) KR100209875B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816037A (en) * 2019-01-31 2019-05-28 北京字节跳动网络技术有限公司 The method and apparatus for extracting the characteristic pattern of image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816037A (en) * 2019-01-31 2019-05-28 北京字节跳动网络技术有限公司 The method and apparatus for extracting the characteristic pattern of image

Also Published As

Publication number Publication date
KR950026265A (en) 1995-09-18

Similar Documents

Publication Publication Date Title
KR100298559B1 (en) Transmission apparatus and frame method of digital image signal
US5550640A (en) Digital video signal recording and reproducing apparatus and method for setting a number of compression blocks according to different operational modes
JP3204543B2 (en) Digital magnetic recording / reproducing method and apparatus
EP0533947B1 (en) Encoder and decoder
JP3134424B2 (en) Variable length encoding method and apparatus
JP2630085B2 (en) Recording and playback devices
JPH0583674A (en) Method and apparatus for shuffling and deshuffling data
KR100200801B1 (en) Error correction device
US4215335A (en) Digital signal transmission method
US5392129A (en) Digital VCR signal processing apparatus for concealing uncorrectable errors
US5845041A (en) Video signal recording and reproducing apparatus with high efficiency encoding
US4675750A (en) Video compression system
KR0137736B1 (en) Digital video signal processing apparatus
JPH07105638A (en) Picture data recording and reproducing device
US5995171A (en) Coding and/or decoding apparatus for decoding variable-length coded image information
KR100209875B1 (en) Memory control apparatus and method for reordering image data
KR100329091B1 (en) Image Compressor, Image Reproducing Device and Drawing Device
KR0138000B1 (en) Processing system for digital video signal
US6009227A (en) HDTV digital recorder with compressed image data inserted in a video signal that corresponds to a video interface standard
JPH04143904A (en) Digital picture recording device
US6526224B1 (en) Digital video signal processing apparatus and method thereof, and digital video signal reproducing apparatus
JP3207739B2 (en) Image playback device
KR950008684B1 (en) Method of and apparatus for converting and processing television signals
US6839385B1 (en) Signal processing apparatus
KR0162307B1 (en) High density recording method of high quality vcr

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: 20080328

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee