KR970003791B1 - Memory device for signal process or in moving imagery - Google Patents

Memory device for signal process or in moving imagery Download PDF

Info

Publication number
KR970003791B1
KR970003791B1 KR1019930028003A KR930028003A KR970003791B1 KR 970003791 B1 KR970003791 B1 KR 970003791B1 KR 1019930028003 A KR1019930028003 A KR 1019930028003A KR 930028003 A KR930028003 A KR 930028003A KR 970003791 B1 KR970003791 B1 KR 970003791B1
Authority
KR
South Korea
Prior art keywords
address
memory
data
signal
read
Prior art date
Application number
KR1019930028003A
Other languages
Korean (ko)
Other versions
KR950022975A (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 KR1019930028003A priority Critical patent/KR970003791B1/en
Publication of KR950022975A publication Critical patent/KR950022975A/en
Application granted granted Critical
Publication of KR970003791B1 publication Critical patent/KR970003791B1/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/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)
  • Image Input (AREA)

Abstract

A memory device of motion picture signal processor which reads data recorded in a memory to record the data in the memory, display or differential-pulse-code-demodulate it on the basis of an address signal from an address generator for generating data reading address, record address and display address, includes the memory having the capacity to enable recording of n+2 slice data when the frame consits of n slices, a read address generator for generating a read address in order to read data, required for display and differential pulse code modulation, from the memory, a record address generator for changing the recording location of the differential-pulse-code-modulated data according to a motion vector and for generating a record address having the difference by a predetermined offset from the read address, a means for allowing the record address and read address to be supplied to the memory alternately, and a controller for controlling addressing of the address generator and supplying a control signal to the memory.

Description

동영상 신호처리기의 메모리장치Memory device of video signal processor

제1도는 본 발명에 따른 동영상 신호처리기의 메모리 장치의 블럭구성도.1 is a block diagram of a memory device of a video signal processor according to the present invention.

제2도는 제1도에 도시된 어드레스 생성부의 세부 블럭구성도.FIG. 2 is a detailed block diagram of the address generator shown in FIG.

제3도는 제1도에 도시된 오프셋 생성부의 세부 블럭구성도.FIG. 3 is a detailed block diagram of an offset generator shown in FIG.

제4도는 본 발명에 따라 메모리에 데이타를 기록하는 과정을 설명하기 위한 도면.4 is a diagram for explaining a process of writing data into a memory according to the present invention;

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

10 : 메모리11,14 : 오프셋 생성부10: memory 11, 14: offset generator

12,15 : 가산기13 : 멀티 플렉서12,15: adder 13: multiplexer

20 : 에드레스 생성부22 : 디스플레이 어드레스 생성부20: address generation unit 22: display address generation unit

24 : 기록 어드레스 생성부26 : 판독 어드레스 생성부24: write address generator 26: read address generator

30 : 3상 버퍼40 : 제어수단30: three-phase buffer 40: control means

42 : 시스템 클럭부44 : 카운터부42: system clock section 44: counter section

46 : 변화부48 : 분주부46: change unit 48: dispensing unit

241 : 거대구획 카운터242 : h-종료비교부241: large compartment counter 242: h-end comparison

243 : 라인카운터244,264 : 슬라이스 카운터243: line counter 244,264: slice counter

244,265 : v-종료 비교부250 : 화소카운터244,265: v-termination comparison unit 250: pixel counter

261 : MVP카운터262 : MB 종료 비교부261: MVP counter 262: MB termination comparison unit

263 : MHP카운터267,268,269 : 가산기263: MHP counter 267,268,269: adder

본 발명은 영상신호를 압축하여 송수신하는 영상처리 장치에 관한 것으로서, 특히 움직임 보상 예측부호화를 행하는 경우에 필요한 이전 프레임 저장용 메모리와 현재 프레임 메로리를 공유하여 메모리의 크기를 줄일 수 있는 동영상 신호처리기의 메모리장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for compressing and transmitting an image signal. In particular, the present invention relates to an image signal processor capable of reducing the size of a memory by sharing a current frame memory with a memory for storing a previous frame required for motion compensation prediction encoding. It relates to a memory device.

HDTV, 영상전화기 등과 같은 영상을 디지틀로 처리하는 장치에서 영상신호는 음성신호에 비해 대역폭이 넓기 때문에 디지틀 방식으로 이를 처리하려고 할 때 상당히 많은 데이타가 발생하게 된다. 하지만 이를 전송하는 데 적합한 사용가능한 대역폭은 한정되어 있으므로 이를 전송하기 위해서는 데이타를 압축시켜야 한다.In a device that processes video such as HDTV, videophone, etc., the video signal has a wider bandwidth than the audio signal. Therefore, a large amount of data is generated when trying to process it digitally. However, the available bandwidth for transmitting it is limited, so data must be compressed to transmit it.

종래에는 일련의 영상신호를 전송할 때, 1장의 화면과 그 다음 화면의 대응하는 화소마다 비교하여 차분을 추출, 전송 하는 프레임간 차분 부호화방식을 사용하였다. 이 경우 수신기에서는 수신된 차분신호를 이전 프레임의 신호에 더하여 현재 프레임을 만들게 된다. 따라서 현재 프레임을 처리할 때, 참고할 이전 프레임의 데이타를 메모리에 가지고 있어야 한다. 이 경우에 있어서는, 현재 프레임의 데이타를 처리해 가면서 이전 프레임의 동일한 메모리 위치에 현재 프레임의 데이타를 기록하는 방식이기 때문에 하나의 프레임 메모리를 사용하여도 데이타를 충분히 처리할 수 있었다.In the related art, when a series of video signals are transmitted, an interframe difference encoding method is used, which extracts and transmits a difference by comparing each pixel corresponding to one screen and the next screen. In this case, the receiver makes the current frame by adding the received difference signal to the signal of the previous frame. Therefore, when processing the current frame, it is necessary to have the data of the previous frame to be referred to in memory. In this case, since the data of the current frame is recorded in the same memory location of the previous frame while the data of the current frame is processed, even one frame memory can be used to sufficiently process the data.

현재, 디지틀 영상신호를 효과적으로 전송하기 위하여 데이타를 효과적으로 압축하는 다양한 기법이 제시되고 있다. 그 중에서 일반적으로 사용되고 있는 압축 기법으로서 이산 코사인 변화과 같은 프레임내 상관성을 줄이는 변환 부호화 방식과, 움직임 보상을 이용하여 프레임간의 시간적 상관성을 줄이는 프레임간의 시간적 상관성을 줄이는 프레임간 움직임 보상 예측보호화 방식이 있다.Currently, various techniques for effectively compressing data for transmitting digital video signals have been proposed. Compression techniques commonly used include transform coding schemes that reduce intraframe correlation such as discrete cosine changes, and interframe motion compensation predictive protection scheme that reduces temporal correlation between frames by using motion compensation to reduce temporal correlation between frames. .

여기에서, 움직임 보상이란 영상신호 처리에서 물체의 움직임 정도를 소정의 알고리즘으로 추정하여 이전 프레임(또는 필드)의 신호를 움직임 벡터(즉, 움직임 영상신호에서 현재 프레임의 화소(또는 화소들의 블록)들이 이전 프레임에 비해 어느 방향으로 얼마나 움직였는지를 나타내는 화소단위의 벡터량)만큼 이동시켜 주는 것이다.Here, motion compensation means that the degree of motion of an object is estimated by a predetermined algorithm in the image signal processing, so that the signal of the previous frame (or field) is obtained from the motion vector (that is, the pixels (or blocks of pixels) of the current frame in the motion image signal. Relative to the previous frame in the direction of how much the vector amount of pixels indicating the movement).

프레임간 움직임 보상 예측부호화 방식은 전술한 움직임 보상을 이용하여 부호화하는 영상 압축방법으로서, 이전 프레임과 현재 프레임을 비교하여 현재 프레임의 영상이 이전 프레임의 영상에 비해 어느 방향으로 얼마나 움직였는지를 추정한 움직임 벡터와 이전 프레임으로써 움직임 보상을 실시하고, 현재 프레임의 신호에서 움직임 보상된 신호를 감산한 차분신호를 압축 부호화하는 것이다. 수신기에서는 이전 프레임 신호와 움직임이 벡터로 움직임 보상을 하고 이것을 차분신호에 더하여 현재 프레임 신호를 복호화 하게 된다.The inter-frame motion compensation predictive encoding method is an image compression method that encodes using the above-described motion compensation, and compares a previous frame and a current frame to estimate how far the image of the current frame has moved compared to the image of the previous frame. Motion compensation is performed using the motion vector and the previous frame, and compression encoding is performed on the difference signal obtained by subtracting the motion compensated signal from the signal of the current frame. In the receiver, the previous frame signal and the motion are compensated for by the motion vector, and this is added to the differential signal to decode the current frame signal.

즉, 이 방식은 현재 프레임의 값을 이전 프레임의 똑같은 위치의 값에서 단순히 빼는 차분부호화 방식과는 달리 이전 프레임과 현재 프레임간의 움직임 정보를 검출하여 움직임 탐색 영역내에서 가장 작은 차분을 내는 위치에 있는 부분과의 차분을 구하는 것이다.In other words, unlike the differential coding method, which simply subtracts the value of the current frame from the same position of the previous frame, the method detects motion information between the previous frame and the current frame and places the smallest difference in the motion search region. Find the difference with the part.

이 경우 상기한 차분부호화 방식과 마찬가지로 송신기와 수신기에서는 각각 이전 프레임이 기록되는 메모리가 필요하다. 하지만 이 경우에는 복호화될 위치의 이전 프레임 데이타가 인접한 부분의 움직임 보상에 사용되므로 즉, 움직임 탐색영역에 속하게 되므로, 복호화된 데이타를 이전 프레임의 똑같은 위치에 기록하게 된다면, 이로 인하여 인접한 부분의 움직임 보상을 할 수 없게 된다.In this case, as in the differential coding scheme, the transmitter and the receiver each need a memory in which the previous frame is recorded. However, in this case, since the previous frame data of the position to be decoded is used for the motion compensation of the adjacent part, that is, it belongs to the motion search area, and if the decoded data is recorded at the same position of the previous frame, this causes the motion compensation of the adjacent part. You won't be able to.

따라서 종래에는 현재와 이전 프레임 메모리 두 프레임분 메모리로 이를 처리하였다. 이와 같이 프레임 메모리를 별도로 두개 사용하는 것은 송·수신기의 가격을 상승시키고 또한 송·수신기에서 상당한 부피를 차지하는 문제점이 있었다.Therefore, in the related art, this is handled by two frames of memory, the current frame and the previous frame. Thus, using two separate frame memories has a problem of increasing the price of the transmitter and the receiver and occupying a considerable volume in the transmitter and the receiver.

따라서, 본 발명은 상기한 종래기술의 문제점에 착안하여 안출한 것으로, 프레임간 움직임 보상 예측부호화 방식에서 송신측 및 수신측에서 필요로 하는 프레임 메모리의 양을 줄일 수 있는 동영상 신호처리기의 메모리장치를 제공하는데 그 목적이 있다.Accordingly, the present invention has been made in view of the above-described problems of the prior art, and a memory device of a video signal processor capable of reducing the amount of frame memory required by a transmitting side and a receiving side in an inter-frame motion compensation predictive encoding scheme. The purpose is to provide.

상기 목적을 달성하기 위하여 본 발명은, 데이타의 판독, 기록 및 디스플레이 어드레스를 발생하는 어드레스 발생부로 부터의 어드레스 신호에 의거하여 메모리에 데이타를 기록하거나 디스플레이 및 차분 펄스부호 변조를 위해 메모리에 기록된 데이타를 판독하는 동영상 신호처리기의 메모리 장치에 있어서, 프레임이 n개의 슬라이스로 구성될 경우, n+2개의 슬라이스 데이타를 기록할 수 있는 용량을 가진 상기 메모리와, 이 메모리로부터 디스플레이 및 차분 펄스부호 변조에 필요한 데이타를 판독하기 위하여 판독 어드레스를 발생시키는 판독 어드레스 발생수단과, 차분 펄스 부호 변조된 데이타의 기록 위치를 움직임 벡터에 따라 변경시키고 판독 어드레스 보다 소정 오프셋 만큼 차이를 가진 기록 어드레스를 발생시키는 기록 어드레스 발생수단과, 기록 어드레스와 판독 어드레스가 교번적으로 상기 메모리에 제어 신호를 제공하는 제어수단으로 이루어진 동영상 신호처리기의 메모리장치를 제공한다.In order to achieve the above object, the present invention provides a method of writing data into a memory based on an address signal from an address generator which generates a read, write and display address of data or writes data into a memory for display and differential pulse code modulation. A memory device of a moving picture signal processor for reading a memory, comprising: the memory having a capacity to record n + 2 slice data when a frame is composed of n slices, and from this memory to display and differential pulse code modulation; Read address generating means for generating a read address for reading the necessary data, and write address generation for changing a write position of the differential pulse code modulated data according to a motion vector and generating a write address having a predetermined offset difference from the read address. Way And a control means for alternately providing a control signal to the memory in which a write address and a read address are alternately provided.

또한, 상기한 바와 같은 구성을 갖는 본 발명의 메모리 장치에 있어서, 메모리에 어드레스를 교번적으로 제공하는 수단은 기록작용에 의하여 프레임을 단위로 그 프레임 데이타가 메모리에 기록되는 위치가 수직순환적으로 되도록 어드레스에 소정의 오프셋을 더해주도록 기능한다.Further, in the memory device of the present invention having the configuration as described above, the means for alternately providing an address to the memory includes a vertical rotation of the position at which the frame data is written to the memory in units of frames by a write operation. It functions to add a predetermined offset to the address as much as possible.

더욱이, 본 발명의 메모리장치내에 포함되는 제어수단은 시스템 클럭을 입력으로 하여 어드레스 생성부로 부터의 어드레스 신호를 메모리에 제공하기 위한 선택신호를 멀티플렉서에 제공하고 메모리에 기록/판독 제어신호를 제공하는 카운터부와, 이 카운터부로 부터의 출력신호를 비트 변환시켜 버퍼에 인에이블 신호로서 제공 하는 변환부와, 시스템 클럭을 4분주하여 어드레스 생성부에 제공하는 분주부로 구성된다.Further, the control means included in the memory device of the present invention is a counter for providing a multiplexer with a selection signal for providing an address signal from the address generator to the multiplexer and inputting a system clock to the memory and providing a write / read control signal to the memory. And a divider for bit-converting the output signal from the counter and providing the buffer as an enable signal, and a divider for dividing the system clock into four and providing the address generator.

본 발명의 가타 목적과 여러가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로 부터 더욱 명확하게 될 것이다. 이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명의 바람직한 실시예에 따른 동영상 신호처리기의 메로리장치에 대한 블럭구성도를 나타낸다. 동도면에 도시된 바와 같이, 본 발명의 메로리 장치는 이전 프레임의 데이타와 DPCM회로 출력으로 부터의 현재 프레임의 데이타를 기록하기 위한 메모리(10)와, 디스플레이 어드레스 생성부(22), 판독어드레스 생성부(24)및 기록 어드레스 생성부(26)로 구성되어 메모리(10)로의 데이타의 기록 어드레서와 판독 및 디스플레이 어드레스를 발생하는 어드레스 생성부(20)와, 동도면에서 도시생략된 차분 펄스부호 변조회로와 디스플레이부와의 데이타 전달을 위한 3상 버퍼(30)와 어드레스 발생부(20)의 어드레싱을 조절하고 메모리(10)와 3상 버퍼(30)에 제어신호를 제공하는 제어수단(40)을 포함한다.1 is a block diagram of a memory device of a video signal processor according to an exemplary embodiment of the present invention. As shown in the figure, the memory device of the present invention comprises a memory 10 for recording data of a previous frame and data of a current frame from a DPCM circuit output, a display address generator 22, and a read address generation. And an address generator 20 for generating a write address and a read and display address of data to the memory 10, and a differential pulse code not shown in the drawing. Control means 40 for adjusting the addressing of the three-phase buffer 30 and the address generator 20 for data transfer between the modulation circuit and the display unit and providing control signals to the memory 10 and the three-phase buffer 30. ).

또한 상술한 제어수단(40)은 시스템 클럭부(42)로 부터의 시스템 클럭을 입력으로 하여 어드레스 발생부(20)로 부터의 어드레스 신호를 메모리에 제공하기 위한 선택신호를 멀티플렉서(13)에 제공하고 메모리(10)에 기록/판독 제어신호를 제공하는 카운터부(44)와, 이 카운터부(44)로 부터의 2비트 출력신호를 4비트로 변환시켜 버퍼(30)에 인에이블 신호로서 제공하는 변화부(46)와, 시스템 클럭을 4분주하여 어드레스 생성부(20)에 제공하는 분주부(48)로 구성된다. 동도면에 있어서, 참조번호 11과 14는 오프셋 생성부를, 12와 15는 가산기를 각각 나타낸다.In addition, the above-described control means 40 inputs the system clock from the system clock section 42 to provide the multiplexer 13 with a selection signal for providing an address signal from the address generator 20 to the memory. And a counter unit 44 which provides a write / read control signal to the memory 10, and converts a 2-bit output signal from the counter unit 44 into 4 bits to provide the buffer 30 as an enable signal. The changer 46 and the divider 48 divide the system clock into four and provide the address generator 20 to the address generator 20. In the figure, reference numerals 11 and 14 denote offset generators, and 12 and 15 denote adders, respectively.

제2도는 제1도에 도시된 본 발명의 메모리장치에 포함되는 어드레스 생성부내의 디스플레이, 판독 및 기록 어드레스 생성부의 세부적인 블럭구성도를 나타낸다. 본 발명에 있어서의 디스플레이 어드레스 발생부(22)는 디스플레이에 필요한 데이타를 읽기 위하여 디스플레이 어드레스(RA0-18)를 발생시키며, 메모리에 기록된 데이타는 하나의 라인씩 판독된다. 동도면에 있어서, 화소카운터(250)는 4분주된 시스템 클럭으로써 거대구획의 16개의 수평 화소를 카운팅하면서 거대구획내의 수평화소 위치를 어드레스(R0-3)로 나타낸다. 거대구획 카운터(241)는 화소카운터(250)의 캐리로 하나의 라인상의 44개의 거대구획을 카운팅하면서 거대구획의 위치를 어드레스(R4-9)로 나타낸다. h-종료 비교부(242)는 하나의 라인이 종료되었는 지를 판단하여 거대구획 카운터를 리세트 한다. 라인 카운터(243)는 h-종료 비교부(242)로 부터의 라인 종료신호를 카운팅하여 하나의 슬라이스를 구성하는 16라인의 위치를 어드레스(R10-13)로 나타낸다. 슬라이스 카운터(244)는 라인 카운터(243)에서 캐리되는 신호를 카운팅하여 하나의 프레임을 구성하는 60개의 슬라이스를 어드레스(R14-18)로 나타낸다. V-종료 비교부(245)는 60개의 슬라이스가 모두 카운팅되었는 지의 여부를 판단하여 슬라이스 카운터(244)를 리세트 한다.FIG. 2 shows a detailed block diagram of a display, read and write address generator in the address generator included in the memory device of the present invention shown in FIG. The display address generator 22 in the present invention generates the display address RA0-18 to read the data necessary for display, and the data recorded in the memory is read out one line. In the figure, the pixel counter 250 indicates the horizontal pixel position in the macro compartment as the address R0-3 while counting 16 horizontal pixels in the macro compartment as a system clock divided into four. The giant compartment counter 241 counts 44 giant compartments on one line with a carry of the pixel counter 250 and indicates the positions of the giant compartments as addresses R4-9. The h-end comparison unit 242 determines whether one line is terminated and resets the large compartment counter. The line counter 243 counts the line termination signal from the h-end comparison unit 242 to indicate the positions of 16 lines constituting one slice as addresses R10-13. The slice counter 244 counts the signal carried by the line counter 243 to represent 60 slices constituting one frame by the address R14-18. The V-ending comparison unit 245 determines whether all 60 slices have been counted, and resets the slice counter 244.

다음에, 기록 어드레스 발생부(24)는 DPCM 출력된 데이타를 메모리(10)에 기록하는데 필요한 어드레스를 발생시킨다. 따라 DPCM으로 부터 출력된 데이타는 하나의 거대구획씩 제1도에 도시된 메모리(10)에 기록된다. 제2도에 도시된 바와 같이, 화소카운터(250)는 디스플레이 어드레스 발생부(22)와 공통으로 사용된다. 거대구획 수직화소(MVP) 카운터(261)는 화소 카운터(250)의 캐리로써 거대구획에서 수직으로서 16개의 화소를 카운팅하면서 어드레스(W10-13)를 나타낸다. MB 종료 비교부(262)는 MVP 카운터(261)의 출력이 거대구획의 종료인지를 나타낸다. 거대구획 수평화소(MHP) 카운터(263)는 한 거대구획의 종료를 카운팅하여 거대구획의 수평화소 위치를 어드레스(W4-9)로 나타낸다. 슬라이스 카우터(264)는 MHP 카운터(263)로 부터의 캐리를 카운팅하여 하나의 프레임을 구성하는 60개의 슬라이스를 어드레스(W14-18)로 나타낸다. V-종료 비교부(265)는 60개의 슬라이스가 모두 카운팅 되었는지를 판단하여 슬라이드 카운터(264)를 리세트한다.Next, the write address generator 24 generates an address necessary for writing the DPCM output data to the memory 10. Accordingly, the data output from the DPCM is recorded in the memory 10 shown in FIG. As shown in FIG. 2, the pixel counter 250 is commonly used with the display address generator 22. The macroblock vertical pixel (MVP) counter 261 represents the address W10-13 while counting 16 pixels vertically in the macroblock as a carry of the pixel counter 250. The MB end comparison unit 262 indicates whether the output of the MVP counter 261 is the end of the large block. A mega block horizontal pixel (MHP) counter 263 counts the end of one macro block to indicate the horizontal pixel position of the macro block by the address W4-9. The slice counter 264 counts carry from the MHP counter 263 to represent 60 slices constituting one frame by the address W14-18. The V-ending comparison unit 265 determines whether all 60 slices have been counted, and resets the slide counter 264.

이상과 같이 기록 어드레스가 생성되며, 판독 어드레스는 기록 어드레스에 움직임 벡터를 가산하고 또 소정의 오프셋을 가산하여 구한다.The write address is generated as described above, and the read address is obtained by adding a motion vector to the write address and adding a predetermined offset.

동도면에 있어서, 가산기(267)는 어드레스(W10-13)에 수직 움직임 벡터(MVV)를 가산하며, 가산기(268)는 어드레스(W0-9)에 수평 움직임 벡터(MVH)를 가산한다. 또한 가산기(269)는 가산기(267)의 출력에 오프셋 어드레스를 가산한다. 오프셋은 한 프레임이 n개의 슬라이스로 구성될 때 바로 n이다. 본 실시예에서는 n=60 이므로 60이 오프셋 값이다.In the same figure, the adder 267 adds the vertical motion vector MVV to the address W10-13, and the adder 268 adds the horizontal motion vector MVH to the address W0-9. The adder 269 adds an offset address to the output of the adder 267. The offset is just n when a frame consists of n slices. In this embodiment, since n = 60, 60 is an offset value.

다음에 상술한 바와 같은 구성을 갖는 본 발명에 따른 동영상 신호처리기의 메모리장치의 동작과정을 설명한다.Next, an operation process of the memory device of the video signal processor according to the present invention having the configuration as described above will be described.

제1도에 도시된 바와 같이 제어수단(40)내의 카운터부(44)는 시스템 클럭을 입력으로 하여 멀티플렉서(13)에 선택신호(S0,S1)를 제공하게 되며, 선택신호의 일예는 아래의 표1에 도시된 바와 같다.As shown in FIG. 1, the counter unit 44 in the control means 40 provides the system clock as an input and provides the selection signals S0 and S1 to the multiplexer 13. An example of the selection signal is as follows. As shown in Table 1.

[표 1]TABLE 1

또한 상기와 같은 선택 신호중 S1은 메모리(10)의 R/W 단자에도 입력된다.In addition, S1 of the above-described selection signals is also input to the R / W terminal of the memory 10.

버퍼(30)는 메모리(10)로 부터 또는 메모리(10)로의 데이타 입출력을 버퍼링하며, 각 버퍼의 제어신호는 카운터부(44)에서 발생된 선택신호(S0,S1)가 변환부(46)를 통해 변환된 신호이다.The buffer 30 buffers data input / output to or from the memory 10, and the control signals of the respective buffers are selected from the counter unit 44 by the selection signals S0 and S1. The signal is converted through.

제2도에 도시된 바와 같이, 시스템 클럭부(42)에서 발생된 시스템 클럭신호는 분주부(48)를 통해 4분주되며, 이 신호는 어드레스 발생부(20)로 입력된다. 4분주된 신호는 디스플레이 어드레스 발생부(22)를 통해 어드레스(RA0-18)를 발생시킨다. 이 어드레스는 하나의 라인씩 메모리의 데이타를 읽도록 구성된다. 한편 시스템 클럭에 의한 2비트의 선택신호가 00가 되면, 멀티플렉서(13)는 메모리로 디스플레이 어드레스를 제공하고, 이때 메모리(10)의 R/W 단자에도 입력되는 카운터부(44)의 출력(S1)이 0이므로 데이타의 디스플레이, 읽기 동작이 수행된다. 읽은 데이타는 버퍼(30)를 통해 동도면에서 도시생략된 디스플레이 회로 및 DPCM입력부로 출력된다.As shown in FIG. 2, the system clock signal generated by the system clock section 42 is divided into four through the divider 48, and this signal is input to the address generator 20. FIG. The four-divided signal generates the address RA0-18 through the display address generator 22. This address is configured to read data in memory one line at a time. On the other hand, when the 2-bit selection signal of the system clock reaches 00, the multiplexer 13 provides a display address to the memory, and at this time, the output of the counter unit 44 which is also input to the R / W terminal of the memory 10 (S1). ) Is 0 so data display and read operations are performed. The read data is output through the buffer 30 to the display circuit and the DPCM input unit not shown in the same drawing.

다음에, DPCM회로로 부터 입력되는 데이타를 메모리(10)에 기록하기 위한 기록 어드레스(WA0-18)는 기록 어드레스 발생부(26)에서 발생된다. 이때 기록 어드레스는 거대구획 단위로 기록하도록 구성된다. DPCM으로 부터 입력되는 신호는 카운터부(44)로부터 멀티플레서(13)로 입력되는 선택신호가 01일때 버퍼(30)를 통해 메모리(10)에 기록된다. 그리고 DPCM 입력부로 출력 하기 위한 데이타를 읽는 판독 어드레스는 판독 어드레스 발생부(26)에서 생성되며, 다른 경로로 입력되는 움직임 벡터와 가산되어 기록 위치가 변경되며, 판독 어드레스와의 오프셋 만큼의 차이를 가진다.Next, a write address WA0-18 for writing data input from the DPCM circuit into the memory 10 is generated in the write address generator 26. FIG. At this time, the write address is configured to record in a large block unit. The signal input from the DPCM is written to the memory 10 through the buffer 30 when the selection signal input from the counter 44 to the multiplexer 13 is 01. The read address for reading data to be output to the DPCM input unit is generated by the read address generator 26, is added to a motion vector input to another path, and the write position is changed, and has a difference by an offset from the read address. .

상술한 바와 같은 본 발명의 메모리장치의 동작에 있어서 이전 프레임의 데이타를 읽고 현재 프레임의 데이타를 메모리에 기록하는 과정에 대하여 제3도와 제4도를 주로 참조하여 더욱 상세하게 설명한다.In the operation of the memory device of the present invention as described above, a process of reading the data of the previous frame and writing the data of the current frame to the memory will be described in more detail with reference to FIGS. 3 and 4.

제1도에 있어서, 오프셋 1은 판독 어드레스와 기록 어드레스의 오프셋을 나타내고 그 값은 N이며, 가산기(12)는 모듈로 N+2 가산기(통상적인 가산기의 출력값을 N+2로 나누었을 때의 나머지를 출력값으로 하는 것)이다. 오프셋 2는 판독 슬라이스 어드레스가 이전 프레임의 판독 스라이스 값보다 순환적으로 N만큼씩 증가하므로 이를 구현하기 위한 것으로서 그 상세는 제3도에 도시된 바와 같다. 동도면으로 부터 알수 있는 바와 같이, 래치(301)의 입력데이타는 이전 클럭에 출력 데이타가 되고, 클럭은 프레임 동기로 하였으며, 가산기(302)는 마찬가지로 모듈로서 N가산기 이므로 출력되는 값은 다음과 같다.In Fig. 1, offset 1 represents an offset between a read address and a write address, and its value is N. The adder 12 is a modulo N + 2 adder (when the output value of a normal adder is divided by N + 2). The rest as output). Offset 2 is for realizing this since the read slice address is cyclically increased by N than the read slice value of the previous frame, the details of which are as shown in FIG. As can be seen from the figure, the input data of the latch 301 becomes output data to the previous clock, the clock is frame synchronized, and the adder 302 is an N adder as a module as well. .

O, N, N-2(=N+N mod N+2), N-4(=N-2+N mod N+2), ……O, N, N-2 (= N + N mod N + 2), N-4 (= N-2 + N mod N + 2),... …

따라서 프레임의 움직임 보상에서 필요한 탐색영역이 수직으로 이웃한 슬라이스에 걸쳐 있는 경우라 가정하면, 현재 움직임 처리된 슬라이스의 데이타는 이전 프레임의 그 위치에 해당하는 데이타가 기록되어 있는 영역에 덮어 기록할 수가 없다. 이것은 프레임의 그 위치의 데이타가 다음 슬라이스의 움직임 보상에 사용되기 때문이다. 따라서 메모리(10)의 용량을 1프레임 +2슬라이스 데이타를 기록할 수 있는 용량으로 하고, 제4도에 도시된 바와 같이, 처음 처리된 슬라이스는 여분의 슬라이스 영역을 이용하여 슬라이스 어드레스가 N인 영역에 기록하고, 두번째 슬라이스는 슬라이스 어드레스 N+1인 영역에 기록하여, 세번째 슬라이스는 다시 슬라이스 어드레스가 0인 영역에 기록하는 방식으로 함으로서, 새로 기록하게 되는 데이타를 이전 프레임이 기록된 영역과 순환적으로 슬라이스 어드레스는 N만큼 오프셋을 주어 기록하게 하면 덮어서 기록을 하더라도 덮어 기록할 위치에 해당하는 데이타가 다음의 움직임 보상에 사용되지 않게 되므로 상술한 바와 같은 문제가 야기되지 않게 된다.Therefore, assuming that the search area required for motion compensation of a frame spans vertically neighboring slices, the data of the slice currently processed may be overwritten in the area where data corresponding to the position of the previous frame is recorded. none. This is because data at that position of the frame is used for motion compensation of the next slice. Therefore, the capacity of the memory 10 is a capacity capable of recording 1 frame + 2 slice data, and as shown in FIG. 4, the first processed slice is an area where the slice address is N by using an extra slice area. The second slice is recorded in the region having the slice address N + 1, and the third slice is recorded in the region having the slice address 0 again, thereby recreating the newly recorded data with the region in which the previous frame was recorded. Therefore, if the slice address is offset by N to be recorded, even if the overwrite is performed, the data corresponding to the overwrite position is not used for the next motion compensation, so that the problem as described above is not caused.

이와 같이, 프레임에 대한 판독, 기록 슬라이스 어드레스의 관계가 제4도에 도시되어 있으며, 이를 다시 살펴보면 다음의 표2와 같다.As such, the relationship between the read and write slice addresses for the frame is shown in FIG. 4, which is again shown in Table 2 below.

[표 2]TABLE 2

상기와 같이, 본 발명에 따르면, 판독 어드레스와 기록 어드레스가 슬라이스 어드레스에 있어서 순환적으로 N만큼 오프셋이 되게 시스템이 구성된다.As described above, according to the present invention, the system is configured such that the read address and the write address are cyclically offset by N in the slice address.

이상과 같이, 본 발명의 메모리 장치는 하나의 프레임 메모리에 이전 프레임과 현재 프레임의 움직임 보상된 데이타를 동시에 공유하게 할 수가 있다. 따라서 이와 같은 구조로 인하여 앞으로의 움직임 보상의 기준으로 사용될 이전 프레임의 데이타가 손상되지 않고 메모리에 남아 있게 되며, 현재 프레임에서 움직임 보상이 끝나고 또한 다른 부분의 움직임 보상에 사용되지 않을 단계가 된 위치의 이전 프레임의 부분들은 움직임 보상된 현재의 프레임 데이타로 갱신되게 된다.As described above, the memory device of the present invention can simultaneously share the motion compensated data of the previous frame and the current frame in one frame memory. Therefore, due to such a structure, the data of the previous frame to be used as a reference for future motion compensation remains intact in memory, and the position where the motion compensation ends in the current frame and is not used for motion compensation of other parts. Portions of the previous frame are updated with the current frame data that is motion compensated.

따라서 본 발명에 따른 메모리장치에 의하면, 동일 기능을 수행하면서도 동영상 신호처리기의 메모리의 양을 줄일 수 있을 뿐만 아니라 그로 인해 전체 시스템의 제조비용을 절감할 수 있는 효과가 있다.Therefore, according to the memory device according to the present invention, it is possible to reduce the amount of memory of the video signal processor while performing the same function, thereby reducing the manufacturing cost of the entire system.

Claims (6)

데이타의 판독, 기록 및 디스플레이 어드레스를 발생하는 어드레스 발생부로 부터의 어드레스 신호에 의거하여 메모리에 데이타를 기록하거나 디스플레이 및 차분 펄스부호 변조를 위해 상기 메모리에 기록된 데이타를 판독하는 동영상 신호처리기의 메모리 장치에 있어서, 프레임이 n개의 슬라이스로 구성될 경우, n+2개의 슬라이스 데이타를 기록할 수 있는 용략을 가진 상기 메모리와; 상기 메모리로 부터 디스플레이 및 차분 펄스부호 변조에 필요한 데이타를 판독하기 위하여 판독 에드레스를 발생시키는 판독 어드레스 발생수단과; 상기 차분 펄스부호 변조된 데이타의 기록 위치를 움직임 벡터에 따라 변경시키고 상기 판독 어드레스 보다 소정 오프셋 만큼 차이를 가진 기록 어드레스를 발생시키는 기록 어드레스 발생수단과; 상기 기록 어드레스와 판독 어드레스가 교번적으로 상기 메모리에 제공되도록 하는 수단과; 상기 어드레스 발생부의 어드레싱을 조절하고, 상기 메모리에 제어신호를 제공하는 제어수단으로 이루어진 동영상 신호처리기의 메모리장치.Memory device of a moving picture signal processor that writes data to a memory based on an address signal from an address generator that reads, writes and displays data and reads the data recorded in the memory for display and differential pulse code modulation. A memory comprising: a memory capable of writing n + 2 slice data when the frame consists of n slices; Read address generating means for generating a read address to read data necessary for display and differential pulse code modulation from the memory; Recording address generating means for changing the recording position of the differential pulse code modulated data according to a motion vector and generating a recording address having a difference by a predetermined offset from the read address; Means for causing the write address and read address to be alternately provided to the memory; And a control means for adjusting addressing of the address generator and providing a control signal to the memory. 제1항에 있어서, 상기 오프셋은 n/2+2개의 슬라이스인 것을 특징으로 하는 동영상 신호처리기의 메모리장치.The memory device of claim 1, wherein the offset is n / 2 + 2 slices. 제1항에 있어서, 상기 메모리에 어드레스를 교번적으로 제공하는 수단은 기록작용에 의하여 프레임을 단위로 그 프레임 데이타가 상기 메모리에 기록되는 위치가 수직순환적으로 되도록 상기 어드레스에 소정의 오프셋을 더하는 장치인 것을 특징으로 하는 동영상 신호처리기의 메모리장치.2. The apparatus of claim 1, wherein the means for alternately providing an address to the memory adds a predetermined offset to the address such that the position at which the frame data is written to the memory in a unit of frame by a write operation is vertically circulated. Memory device of a video signal processor, characterized in that the device. 제1항에 있어서, 상기 제어수단은 시스템 클럭을 입력으로 하며 상기 어드레스 생성부로 부터의 어드레스 신호를 상기 메모리에 제공하기 위한 선택신호를 멀티플렉서에 제공하고 상기 메모리에 기록/판독 제어신호를 제공하는 카운터부와, 상기 카운터부로 부터의 출력신호를 비트 변환시켜 상기 버퍼에 인에이블 신호로서 제공하는 변환부와, 상기 시스템 클럭을 4분주하여 상기 어드레스 생성부에 제공하는 분주부로 더욱 이루어진 것을 특징으로 하는 동영상 신호처리기의 메모리장치.2. The counter of claim 1, wherein the control means inputs a system clock and provides a multiplexer with a selection signal for providing an address signal from the address generator to the memory and a write / read control signal to the memory. And a divider for bit-converting the output signal from the counter and providing the buffer as an enable signal, and a divider for dividing the system clock into four and providing the address generator. Memory device for video signal processor. 제4항에 있어서, 상기 카운터부는 2비트 카운터인 것을 특징으로 하는 동영상 신호처리기의 메모리장치.5. The memory device of claim 4, wherein the counter unit is a 2-bit counter. 제4항에 있어서,상기 변환부는 상기 카운터부로 부터의 2비트 신호를 4비트 신호로 변환하는 것을 특징으로 하는 동영상 신호처리기의 메모리장치.The memory device of claim 4, wherein the converter converts a 2-bit signal from the counter into a 4-bit signal.
KR1019930028003A 1993-12-16 1993-12-16 Memory device for signal process or in moving imagery KR970003791B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930028003A KR970003791B1 (en) 1993-12-16 1993-12-16 Memory device for signal process or in moving imagery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930028003A KR970003791B1 (en) 1993-12-16 1993-12-16 Memory device for signal process or in moving imagery

Publications (2)

Publication Number Publication Date
KR950022975A KR950022975A (en) 1995-07-28
KR970003791B1 true KR970003791B1 (en) 1997-03-21

Family

ID=19371232

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930028003A KR970003791B1 (en) 1993-12-16 1993-12-16 Memory device for signal process or in moving imagery

Country Status (1)

Country Link
KR (1) KR970003791B1 (en)

Also Published As

Publication number Publication date
KR950022975A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
JP2570384B2 (en) Video signal encoding / decoding method
KR100265192B1 (en) Moving picture decoding appratus
ES2438184T3 (en) Motion vector encoding and decoding method and associated device and image signal coding and decoding method and associated device
US7346111B2 (en) Co-located motion vector storage
EP1096800A2 (en) Image coding apparatus and image decoding apparatus
US5646690A (en) Apparatus for parallel decoding of digital video signals
JPH06197273A (en) Video signal coding method and device, video signal decoding method and device, or video signal recording medium
US5442402A (en) Modular memory for an image decoding system
US5936670A (en) Method and device for decoding coded digital video signals
KR0129557B1 (en) Memory apparatus in a motion picture data processor using a motion compensation
JPH03276988A (en) Inter-field anticipated coding device and decoding device
JPH0458756B2 (en)
US7499493B2 (en) Dual block motion vector storage in compressed form
US6353683B1 (en) Method and apparatus of image processing, and data storage media
JP3676525B2 (en) Moving picture coding / decoding apparatus and method
KR970003791B1 (en) Memory device for signal process or in moving imagery
JPH0730903A (en) Integrated memory circuit for picture processing
KR970009665B1 (en) Memory apparatus for motion compensation
US6668087B1 (en) Filter arithmetic device
US5946036A (en) Image decoding using read/write memory control based on display region setting
KR100232490B1 (en) Apparatus for generating read address for zig-zag scanning
KR970008413B1 (en) Image decoder
JP2624718B2 (en) Image coding device
JP2000115777A (en) Image processing method and image processing unit
KR100269426B1 (en) Motion compensator having an improved frame memory

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120702

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee