[go: up one dir, main page]

KR100352371B1 - Line buffer for enlarging an moving image in display and its method - Google Patents

Line buffer for enlarging an moving image in display and its method Download PDF

Info

Publication number
KR100352371B1
KR100352371B1 KR1019990020620A KR19990020620A KR100352371B1 KR 100352371 B1 KR100352371 B1 KR 100352371B1 KR 1019990020620 A KR1019990020620 A KR 1019990020620A KR 19990020620 A KR19990020620 A KR 19990020620A KR 100352371 B1 KR100352371 B1 KR 100352371B1
Authority
KR
South Korea
Prior art keywords
wbp
line
write
control signal
read
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
KR1019990020620A
Other languages
Korean (ko)
Other versions
KR20010001414A (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 KR1019990020620A priority Critical patent/KR100352371B1/en
Publication of KR20010001414A publication Critical patent/KR20010001414A/en
Application granted granted Critical
Publication of KR100352371B1 publication Critical patent/KR100352371B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47GHOUSEHOLD OR TABLE EQUIPMENT
    • A47G1/00Mirrors; Picture frames or the like, e.g. provided with heating, lighting or ventilating means
    • A47G1/16Devices for hanging or supporting pictures, mirrors, or the like
    • A47G1/1653Devices for hanging or supporting pictures, mirrors, or the like for connecting to a surface other than a flat wall, e.g. room corner, ceiling, window
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47GHOUSEHOLD OR TABLE EQUIPMENT
    • A47G1/00Mirrors; Picture frames or the like, e.g. provided with heating, lighting or ventilating means
    • A47G1/16Devices for hanging or supporting pictures, mirrors, or the like
    • A47G2001/1693Hand-tools for lifting picture frames onto hooks

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

본 발명은 디지털 영상 처리 장치에 관한 것으로, 특히 영상 압축/복원 코덱 프로세서의 영상을 디스플레이 할 수 있도록 하는 영상 확대 디스플레이를 위한 라인 버퍼 및 그 제어 방법을 제공하는 데 그 목적이 있다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image processing apparatus, and more particularly, to provide a line buffer for an image enlarged display and a control method thereof for displaying an image of an image compression / restore codec processor.

본 발명에 따르면, DMA 데이터 버스에 실린 데이터를 입력받아 출력하기 위한 DMA 인터페이스; 상기 DMA 인터페이스에서 입력된 데이터를 일시 저장하고 있으며, 쓰기 제어 신호에 따라 저장하고 있는 데이터를 출력하기 위한 입력 버퍼; 쓰기 제어 신호에 따라 상기 입력 버퍼에서 입력되는 데이터를 쓰기 어드레스에 쓰기 동작을 수행하고, 읽기 제어 신호에 따라 읽기 어드레스에 저장되어 있는 데이터를 읽어 출력하기 위한 라인 메모리; 제어 신호에 따라 읽기 어드레스와 쓰기 어드레스를 번갈아 상기 라인 메모리에 인가 할 수 있도록 하기 위한 멀티 플렉서; 제어 신호에 따라 읽기 어드레스를 상기 라인 메모리에 출력하기 위한 읽기 어드레스 발생기; 제어 신호에 따라 쓰기 어드레스를 상기 라인 메모리에 출력하기 위한 쓰기 어드레스 발생기; 및 상기 입력 버퍼에 쓰기 제어 신호를 발생시키고, 상기 읽기 어드레스 발생기와 상기 쓰기 어드레스 발생기에 어드레스 발생 제어 신호를 발생시키며, 상기 라인 메모리에 쓰기 읽기 제어 신호를 발생시키기 위한 라인 버퍼 제어기를 포함하여 이루어진 라인 버퍼 장치가 제공된다.According to the present invention, a DMA interface for receiving and outputting data carried on the DMA data bus; An input buffer for temporarily storing data input from the DMA interface and outputting data stored according to a write control signal; A line memory for writing data input from the input buffer to a write address according to a write control signal, and reading and outputting data stored at a read address according to a read control signal; A multiplexer for alternately applying a read address and a write address to the line memory according to a control signal; A read address generator for outputting a read address to the line memory in accordance with a control signal; A write address generator for outputting a write address to the line memory in accordance with a control signal; And a line buffer controller for generating a write control signal to the input buffer, generating an address generation control signal to the read address generator and the write address generator, and generating a write read control signal to the line memory. A buffer device is provided.

Description

영상 확대 디스플레이를 위한 라인 버퍼 및 그 제어 방법 { Line buffer for enlarging an moving image in display and its method }Line buffer for enlarging an image and controlling it {Line buffer for enlarging an moving image in display and its method}

본 발명은 디지털 영상 처리 장치 및 그 제어 방법에 관한 것으로, 특히 영상 압축/복원 코덱 프로세서의 영상을 디스플레이 할 수 있도록 하는 영상 확대 디스플레이를 위한 라인 버퍼 및 그 제어 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image processing apparatus and a control method thereof, and more particularly, to a line buffer for an image enlarged display and a control method thereof for displaying an image of an image compression / restore codec processor.

종래 기술로는 비디오의 스케일 조절을 입력 픽셀의 평균값에 대한 계수와 휘도와 색상 성분의 곱셈에 의해서 구하는 방법이 있었다.In the prior art, a method of calculating video scaling is obtained by multiplying a coefficient with respect to an average value of an input pixel by a luminance and a color component.

그리고, 상기 종래 기술에서 계수는 입력 비디오 스트림에 대하여 수직과 수평 방향에 대하여 구해지게 되었다.In the prior art, the coefficients are obtained in the vertical and horizontal directions with respect to the input video stream.

그리하여 영상의 크기가 커지거나 작아질 때 먼저, 수직 방향에 대하여 스케일 된 픽셀을 얻어내고, 다음 수평 방향에 대하여 적용한다. 또한 크기를 조절할 때 먼저 입력 픽셀에 대하여 두배로 확장한 픽셀을 만들고 다음 원하는 크기 만큼 줄이는 과정을 수행한다.Thus, when the size of the image increases or decreases, first, a pixel scaled with respect to the vertical direction is obtained, and then applied with respect to the next horizontal direction. In addition, when resizing, the first step is to create a pixel that is doubled with respect to the input pixel, and then reduce it to the desired size.

그러나, 상기 종래 기술은 한 프레임 전체를 프레임 버퍼에 저장하기 위해 외부에 메모리를 두어야 함으로 그 구성에 있어서 장치가 차지하는 크기가 크다는 문제점이 있었으며, 한 프레임에 대한 읽기 작업이 끝나면 읽기 작업이 끝난 프레임이 삭제 됨으로 인해 영상의 특성에 맞는 메모리 사용이 구현되지 않아 메모리 사용에 있어서, 비 효율적이라는 문제점이 있었다.However, the prior art has a problem that the device occupies a large size in the configuration because the external memory to store the entire frame in the frame buffer has a problem, and when the read operation is completed for one frame, the read frame is completed Due to the deletion, there is a problem that the memory usage that is not suitable for the characteristics of the image is not implemented.

본 발명은 앞서 설명한 바와 같은 종래 기술의 문제점을 해결하기 위하여 안출된 것으로서, 일반 라인 버퍼를 구성할 때 사용하는 일반 FIFO나 듀얼 포트 메모리를 사용하지 않고 단일 포트를 갖는 일반 메모리를 사용하여 라인 버퍼를 구성하도록 하여, 일단 저장된 라인 데이터를 재사용할 수 있도록 하였으며, 이 때 라인 메모리의 효율성을 높이기 위하여 순환 FIFO형태로 데이터가 저장되도록 하여, 일기 포인터를 라인의 시작점으로 필요한 만큼 되돌릴 수 있도록 하여 한번 저장된 라인 데이터를 여러번 사용할 수 있도록 하는 영상 확대 디스플레이를 위한 라인 버퍼 및 그 제어 방법을 제공하는 데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the problems of the prior art as described above, and does not use a general FIFO or dual port memory used to configure a general line buffer, and uses a general memory having a single port. Once saved, the line data can be reused, and in order to improve the efficiency of the line memory, the data is stored in the form of a circular FIFO, and the diary pointer can be returned as necessary to the starting point of the line so that the stored line can be reused. It is an object of the present invention to provide a line buffer and a method of controlling the same for an image enlarged display that enables data to be used multiple times.

도 1은 본 발명이 적용되는 동영상 압축/복원 시스템의 블록 구성도.1 is a block diagram of a video compression / restoration system to which the present invention is applied.

도 2는 도 1의 코덱 메모리의 구성과 DMA 전송 패킷의 설명도.2 is an explanatory diagram of a configuration of a codec memory of FIG. 1 and a DMA transfer packet;

도 3은 본 발명의 일실시예에 따른 영상 확대 디스플레이를 위한 라인 버퍼의 구성도.3 is a block diagram of a line buffer for an image enlarged display according to an embodiment of the present invention.

도 4는 도 3의 라인 버퍼의 메모리 내용과 어드레스 관계에 대한 설명도.FIG. 4 is an explanatory diagram of a memory content and an address relationship of the line buffer of FIG. 3; FIG.

도 5는 도 3의 쓰기 어드레스 발생기의 제어 흐름도.5 is a control flowchart of the write address generator of FIG.

도 6은 도 3의 읽기 어드레스 발생기의 제어 흐름도.6 is a control flowchart of the read address generator of FIG.

♠ 도면의 주요부분에 대한 부호의 설명 ♠♠ Explanation of symbols on the main parts of the drawing ♠

510 : DMA 인터페이스 520 : 입력 버퍼510: DMA interface 520: input buffer

530 : 라인 메모리 540 : 인터플레이션 필터530: line memory 540: inflation filter

550 : 멀티플렉스 560 : 라인버퍼 제어기550: multiplex 560: line buffer controller

570 : 타이밍 및 제어기 580 : 쓰기 어드레스 발생기570: timing and controller 580: write address generator

590 : 읽기 어드레스 발생기590 read address generator

앞서 설명한 바와 같은 목적을 달성하기 위한 본 발명에 따르면, DMA 데이터 버스에 실린 데이터를 입력받아 출력하기 위한 DMA 인터페이스; 상기 DMA 인터페이스에서 입력된 데이터를 일시 저장하고 있으며, 쓰기 제어 신호에 따라 저장하고 있는 데이터를 출력하기 위한 입력 버퍼; 쓰기 제어 신호에 따라 상기 입력 버퍼에서 입력되는 데이터를 쓰기 어드레스에 쓰기 동작을 수행하고, 읽기 제어 신호에 따라 읽기 어드레스에 저장되어 있는 데이터를 읽어 출력하기 위한 라인 메모리; 제어 신호에 따라 읽기 어드레스와 쓰기 어드레스를 번갈아 상기 라인 메모리에 인가 할 수 있도록 하기 위한 멀티 플렉서; 제어 신호에 따라 읽기 어드레스를 상기라인 메모리에 출력하기 위한 읽기 어드레스 발생기; 제어 신호에 따라 쓰기 어드레스를 상기 라인 메모리에 출력하기 위한 쓰기 어드레스 발생기; 및 상기 입력 버퍼에 쓰기 제어 신호를 발생시키고, 상기 읽기 어드레스 발생기와 상기 쓰기 어드레스 발생기에 어드레스 발생 제어 신호를 발생시키며, 상기 라인 메모리에 쓰기 읽기 제어 신호를 발생시키기 위한 라인 버퍼 제어기를 포함하여 이루어진 라인 버퍼 장치가 제공된다.According to the present invention for achieving the above object, a DMA interface for receiving and outputting data carried on the DMA data bus; An input buffer for temporarily storing data input from the DMA interface and outputting data stored according to a write control signal; A line memory for writing data input from the input buffer to a write address according to a write control signal, and reading and outputting data stored at a read address according to a read control signal; A multiplexer for alternately applying a read address and a write address to the line memory according to a control signal; A read address generator for outputting a read address to the line memory in accordance with a control signal; A write address generator for outputting a write address to the line memory in accordance with a control signal; And a line buffer controller for generating a write control signal to the input buffer, generating an address generation control signal to the read address generator and the write address generator, and generating a write read control signal to the line memory. A buffer device is provided.

또한, 본 발명에 따르면, 쓰기포인터(WP), 쓰기 베이스 포인터(WBP), 컴포넌트 모드(COMP)를 초기화 하한 후에 라인 메모리가 비어 있는지를 판단하는 제 1 단계; 상기 제 1 단계의 판단 결과, 상기 라인 메모리가 비어 있으면 DMA 전송 요구를 하는 제 2 단계; 전송된 데이터의 컴포넌트가 Cb 이면 WP = WBP; WP = WBP + 4; WP = WBP + 8; WP = WBP + 12의 순서대로 쓰기 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 3 단계; 컴포넌트가 Cr 이면 WP = WBP+2; WP = WBP + 6; WP = WBP + 10; WP = WBP + 14;의 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 4 단계; 컴포넌트가 Y0 이면 WP = WBP+1; WP = WBP + 3; WP = WBP + 5; WP = WBP + 7;의 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 5 단계; 컴포넌트가 Y1이면 WP = WBP+9; WP = WBP + 11; WP = WBP + 13; WP = WBP + 15;의 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 6 단계; 컴포넌트로 Cb를 지정한 후에 쓰기 베이스 포인트(WBP)를 16 만큼 증가 시켜서 증가된 값이 상기 라인 메모리의 최대 어드레스를 넘어서는 지를 판단하는 제 7 단계; 및 상기 제 7 단계의 판단 결과, 넘어서면 WBP=0로 하고, 그렇지 않으면 상기 제 1 단계의 상기 라인 메머리가 비어있는지를 판단하는 과정부터 반복 수행하는 제 8 단계를 포함하여 이루어진 라인 버퍼 장치의 제어 방법이 제공된다.In addition, according to the present invention, a first step of determining whether the line memory is empty after initializing the write pointer (WP), write base pointer (WBP), component mode (COMP); A second step of making a DMA transfer request if the line memory is empty as a result of the determination in the first step; If the component of the transmitted data is Cb WP = WBP; WP = WBP + 4; WP = WBP + 8; A third step of repeating the step of determining whether the line memory of the first step is empty after generating the write addresses in the order of WP = WBP + 12; If the component is Cr WP = WBP + 2; WP = WBP + 6; WP = WBP + 10; A fourth step of repeating the step of determining whether the line memory of the first step is empty after generating an address of WP = WBP + 14; If component is Y0 WP = WBP + 1; WP = WBP + 3; WP = WBP + 5; A fifth step of repeating the step of determining whether the line memory of the first step is empty after generating an address of WP = WBP + 7; If the component is Y1 WP = WBP + 9; WP = WBP + 11; WP = WBP + 13; A sixth step of repeating the step of determining whether the line memory of the first step is empty after generating an address of WP = WBP + 15; A seventh step of determining whether the increased value exceeds the maximum address of the line memory by increasing the write base point (WBP) by 16 after designating Cb as a component; And an eighth step of repeating from the step of determining whether the line head of the first step is empty if it is determined that WBP = 0 if exceeded. A control method is provided.

또한, 본 발명에 따르면, 읽기 어드레스 포인터(RF)와 읽기 베이스 포인터(RBP), 수직 라인 상태 변수(VNUM)를 초기화하는 제 1 단계; 수평 라인의 엑티브 상태를 기다리다가 엑티브 상태가 되면 인터폴레이션 필터에서 라인 데이터 읽기 요구가 있는지 검사하는 제 2 단계; 상기 제 2 단계의 검사 결과, 읽기 요구가 있으면 라인 메모리에 유효 데이터가 있을 때까지 기다리는 제 3 단계; 읽기 어드레스를 제어 신호에 동기시켜서 RP=RBP; RF=RBP + 1; RP= RBP + 2; RP=RBP + 3; 의 어드레스를 발생시킨 후에 읽기 베이스 포인터(RBP)를 '4' 증가시키고, 상기 제 2 단계의 엑티브 라인 상태를 기다리는 과정부터 반복 수행하는 제 4 단계; 엑티브 라인 상태에서 수평라인의 엑티브 상태가 해제되면, 수직 라인 상태 변수(VNUM)가 '0'인가를 검사하는 제 5 단계; 상기 제 5 단계의 검사 결과, '0' 이면 읽기 베이스 포인터를 '4' 증가하고, 다음 라인 시작 변수(LSP)에 읽기 베이스 포인터(RBP)를 인가하고 수직 라인 확대 변수(VNUM)를 초기화 시킨 후에 수평라인이 엑티브 될 때까지 기다리는 제 6 단계; 및 엑티브 라인 상태에서 수직 확대 변수가 아직 '0' 이 아니면 수직 확대 변수를 '1' 감소 시키고 읽기 베이스 포인터(RBP)를 라인 시작 포인터(LSP)로 초기화 시킨 후 수평 라인이 엑티브 될 때까지 기다리는 제 7 단계를 포함하여 이루어진 라인 버퍼의 제어 방법이 제공된다.According to the present invention, there is also provided a method comprising: a first step of initializing a read address pointer RF, a read base pointer RBP, and a vertical line state variable VNUM; Waiting for the active state of the horizontal line, and in the active state, checking the line data read request in the interpolation filter; A third step of waiting for valid data in a line memory when there is a read request as a result of the check in the second step; Synchronizes the read address with the control signal so that RP = RBP; RF = RBP + 1; RP = RBP + 2; RP = RBP + 3; A fourth step of incrementing the read base pointer RBP after generating an address of '4' and repeating the process of waiting for the active line state of the second step; A fifth step of checking whether the vertical line state variable VNUM is '0' when the active state of the horizontal line is released in the active line state; As a result of the inspection in the fifth step, if the value is '0', the read base pointer is increased by '4', the read base pointer RBP is applied to the next line start variable LSP, and the vertical line enlarged variable VNUM is initialized. A sixth step of waiting for the horizontal line to become active; If the vertical zoom variable is not '0' in the active line state, decrease the vertical zoom variable by '1', initialize the read base pointer (RBP) to the line start pointer (LSP), and wait for the horizontal line to become active. Provided is a method of controlling a line buffer comprising seven steps.

아래에서, 본 발명에 따른 영상 확대 디스플레이를 위한 라인 버퍼 및 그 제어 방법의 양호한 실시예를 첨부한 도면을 참조로 하여 상세히 설명하겠다.Hereinafter, with reference to the accompanying drawings, a preferred embodiment of a line buffer and a control method for an image enlarged display according to the present invention will be described in detail.

영상 압축/복원 코덱을 구현하기 위해서는 복원된 영상 또는 오버레이된 영상을 일반 비디오 출력 장치에 디스플레이 하는 방법이 필요하다.In order to implement an image compression / restore codec, a method of displaying a reconstructed image or an overlaid image on a general video output device is required.

H.261/H.263가 같은 영상 압축/복원 표준은 보통 디스플레이 장치에 비하여 작은 크기의 영상에 대하여 압축/복원을 행하므로 일반 NTSC 방식의 비디오 출력 장치에 직접 디스플레이하기에는 너무 크기가 작기 때문에 영상의 확대 과정을 거쳐서 디스플레이하는 것이 보통이다.Image compression / restore standards, such as H.261 / H.263, compress and restore images of a smaller size as compared to display devices, so they are too small to be displayed directly on standard NTSC video output devices. It is common to display through an enlargement process.

본 발명은 영상 압축/복원 코덱의 영상 이미지 버퍼에 저장된 QCIF(176*144)혹은 Sub QCIF(128*96)의 영상 이미지를 일반 비디오 출력 장치에 표시하기 위하여 영상 버퍼에 저장된 이미지와 같은 크기, 또는 2배, 4배로 확대된 크기로 영상을 만드는 장치에 관한 것이다.The present invention is the same size as the image stored in the image buffer in order to display the image image of the QCIF (176 * 144) or Sub QCIF (128 * 96) stored in the image image buffer of the image compression / restore codec on a general video output device, or The present invention relates to an apparatus for making an image at a magnification of 2 times and 4 times.

특히 영상 코덱에서 코덱 프레임 버퍼에서 직접 픽셀 데이터를 읽는 구조를 갖게 하여 별도의 디스플레이용 프레임 버퍼를 두지 않도록 하여 구성요소를 줄이도록 하였다.In particular, the video codec has a structure that reads pixel data directly from the codec frame buffer so that the component is reduced by not having a separate display frame buffer.

영상 코덱을 구현하는데 있어서 별도의 디스플레이용 프레임 메모리를 두지 않고 실시간 영상을 디스플레이하기 위해서는 다음과 같은 고려사항이 필요하다.In implementing the image codec, the following considerations are needed to display a real-time image without a separate display frame memory.

첫째, NTSC 비디오 출력 장치는 한 필드가 720*480의 유휴 이미지 영역을 갖고 한 프레임은 두 개의 필드로 구성되며 초당 30번의 이미지가 디스플레이 된다.First, the NTSC video output device has an idle image area of 720 * 480, one frame consists of two fields, and 30 images are displayed per second.

본 발명은 디스플레이될 프레임 전체를 저장하지 않기 때문에 디스플레이 리프레쉬 사이클에 맞추어서 코덱 메모리에서 계속적으로 데이터를 읽어와야 한다.Since the present invention does not store the entire frame to be displayed, data must be continuously read from the codec memory in accordance with the display refresh cycle.

이 때, 디스플레이할 영상의 크기를 확대하기 위하여 영상 라인을 복사할 때 코덱 메모리에서 다시 데이터를 읽으면 코덱의 DMA 성능을 크게 떨어뜨리게 되므로 한번 읽은 데이터를 다시 사용할 수 있는 방법이 필요하게 된다.At this time, if data is read again from the codec memory when the image line is copied to enlarge the size of the image to be displayed, the DMA performance of the codec is greatly degraded, so a method of reusing the read data is needed.

또한, 라인 버퍼의 효율성을 높여서 코덱 DMA에서 순차적인 서비스로 인한 지연이 있더라도 충분히 데이터를 손실하지 않는 구조가 필요하다.In addition, there is a need for a structure that does not sufficiently lose data even if there is a delay due to sequential services in the codec DMA by increasing the efficiency of the line buffer.

본 발명에서는 일반 라인 버퍼를 구성할 때 사용하는 일반 FIFO나 듀얼 포트 메모리를 사용하지 않고 단일 포트를 갖는 일반 메모리를 사용하여 라인 버퍼를 구성하도록 하였으며, 일단 저장된 라인 데이터를 재사용할 수 있도록 하였다.In the present invention, the line buffer is configured using a general memory having a single port without using a general FIFO or a dual port memory used to configure a general line buffer, and the line data stored once can be reused.

이 때 라인 메모리의 효율성을 높이기 위하여 순환 FIFO 형태로 데이터가 저장되도록 하였고, 읽기 포인터를 라인의 시작점으로 필요한 만큼 되돌릴 수 있도록 하여 한번 저장된 라인 데이터를 여러 번 사용할 수 있게 하였다.At this time, to improve the efficiency of the line memory, data is stored in the form of a circular FIFO, and the read pointer can be returned to the starting point of the line as needed so that the stored line data can be used many times.

도면에서, 도 1은 본 발명이 적용되는 동영상 압축/복원 시스템의 블록 구성도로서, 영상의 압축 과정을 살펴보면 카메라(100)에서 인가된 영상 신호는 NTSC 디코더(150)를 거쳐서 디지털 신호화 되고, 다시 CCIR 601(720x480) 크기의 영상은 비디오 입력 인터페이스를 거쳐서 QCIF(176x144) 혹은 SQCIF(128x96)의 영상으로 변환 된다.1 is a block diagram of a video compression / restoration system to which the present invention is applied. Looking at the video compression process, the video signal applied by the camera 100 is digitalized through the NTSC decoder 150. The CCIR 601 (720x480) sized image is converted into a QCIF (176x144) or SQCIF (128x96) image through a video input interface.

이렇게 축소된 영상은 DMA 제어기(300)를 통하여 코덱 메모리(400)에 저장된다.The reduced image is stored in the codec memory 400 through the DMA controller 300.

이렇게 저장된 영상 데이터는 영상 압축/복원 프로세서(700)에서 압축된 코드 형태로 변환되고, 호스트 버스를 통하여 호스트 프로세서(800)의 제어하에 통신 수단을 통하여 전송되든지, 시스템의 메모리(810)에 저장될 수 있다.The image data thus stored may be converted into a code form compressed by the image compression / restore processor 700 and transmitted through communication means under the control of the host processor 800 through the host bus, or may be stored in the memory 810 of the system. Can be.

반대로 영상의 복원 과정을 살펴 보면 통신 수단 또는 메모리(810)에서 복원될 압축코드를 호스트 프로세서(800)에서 호스트버스를 통하여 영상 압축 복원 프로세서(700)로 보내면, 영상 압축 프로세서(700)에서는 압축된 코드를 해석하여 복원 시킨 영상 데이터를 DMA 제어기(300)를 통하여 코덱 메모리(400)에 저장한다.On the contrary, in the process of restoring the image, when the compression code to be restored in the communication means or the memory 810 is sent from the host processor 800 to the image decompression processor 700 through the host bus, the image compression processor 700 may compress the compressed code. The coded data is stored in the codec memory 400 through the DMA controller 300 through interpretation of the code.

코덱 메모리(400)에 저장된 영상 데이터는 다시 DMA 제어기(300)를 통하여 비디오 출력 인터페이스(500)에 인가된다.Image data stored in the codec memory 400 is again applied to the video output interface 500 through the DMA controller 300.

이때 비디오 출력 인터페이스(500)는 QCIF나 SQCIF 크기의 영상을 2배 또는 4 배 확대하고 이 확대된 영상 데이터를 NTSC 인코더(600)에 인가하여 디스플레이(650) 수단을 통하여 복원된 영상을 볼 수 있게 된다.At this time, the video output interface 500 enlarges the image of the QCIF or SQCIF size 2 times or 4 times and applies the enlarged image data to the NTSC encoder 600 so that the restored image can be viewed through the display 650 means. do.

코덱 메모리(400)에 저장된 영상 데이터는 밝기 성분(Y)과 색상 성분(Cb, Cr)으로 구분되어 저장된다.Image data stored in the codec memory 400 is divided into brightness components (Y) and color components (Cb, Cr) and stored.

도면에서, 도 2는 도 1의 코덱 메모리의 구성과 DMA 전송 패킷의 설명도이다.2 is a diagram illustrating the configuration of the codec memory of FIG. 1 and the DMA transfer packets.

도 2는 분리되어 저장된 밝기 성분(410)과 색상 성분(420, 430)을 나타내고 있으며 DMA 제어기(300)를 통하여 비디오 출력 인터페이스(500)로 전달될 때의 데이터 형태는 데이터 패킷의 형태(310, 320, 330, 340)이다.FIG. 2 shows separately stored brightness components 410 and color components 420 and 430. The data format when transmitted to the video output interface 500 through the DMA controller 300 is in the form of a data packet 310. 320, 330, 340).

한번 DMA 전송이 이루어 지면 같은 성분에 대하여 4 클럭 단위로 버스트 전송이 이루어 진다.Once a DMA transfer is made, a burst transfer is made in units of four clocks for the same component.

즉, Cb 색상 성분에 대하여 4개의 픽셀 데이터(310)로 구성된 한 패킷은 한번의 DMA 전송으로 비디오 출력 인터페이스(500)로 전송되고, 같은 방법으로 Cr, Y 성분에 대해서도 같은 과정을 거친다.That is, one packet composed of four pixel data 310 for the Cb color component is transmitted to the video output interface 500 in one DMA transmission, and the same process is performed for the Cr and Y components in the same manner.

이렇게 전송된 픽셀 데이터에 대하여 수평, 수직 방향으로 확대하고 NTSC 인코더(600)에 맞는 데이터 형식 및 타이밍을 제공하는 장치가 비디오 출력 인터페이스(500)이다.The video output interface 500 is an apparatus that enlarges horizontally and vertically the pixel data thus transmitted and provides a data format and timing suitable for the NTSC encoder 600.

도면에서, 도 3은 본 발명의 일실시예에 따른 영상 확대 디스플레이를 위한 라인 버퍼의 구성도이다.3 is a block diagram of a line buffer for displaying an enlarged image according to an embodiment of the present invention.

도면에 도시된 바와 같이, 본 발명의 일실시예에 따른 영상 확대 디스플레이를 위한 라인 버퍼는, DMA 인터페이스(510), 입력 버퍼(520), 라인 메모리(530), 인터플레이션 필터(540), 멀티 플렉서(550), 라인 버퍼 제어기(560), 타이밍 및 제어기(570), 쓰기 어드레스 발생기(580), 읽기 어드레스 발생기(590)을 구비하고 있다.As shown in the figure, a line buffer for displaying an enlarged image according to an embodiment of the present invention may include a DMA interface 510, an input buffer 520, a line memory 530, an inflation filter 540, and a multiplier. A flexure 550, a line buffer controller 560, a timing and controller 570, a write address generator 580, and a read address generator 590 are provided.

이제, 본 발명의 일실시예에 따른 영상 확대 디스플레이를 위한 라인 버퍼의 동작을 살펴보면 다음과 같다.Now, the operation of the line buffer for the enlarged image display according to an embodiment of the present invention will be described.

DMA 인터페이스(510)는 DMA 제어기에 데이터 전송을 요구(DRQ)하고 이에 응답한 신호(DACK, MWRB)에 따라 DMA 데이터 버스(MBUS)에 실린 데이터를 입력 버퍼(520)에 인가한다.The DMA interface 510 requests the data transfer (DRQ) to the DMA controller and applies the data carried on the DMA data bus (MBUS) to the input buffer 520 according to the signals DACK and MWRB in response thereto.

입력 버퍼(520)는 인가된 데이터를 쓰기 제어 신호에 따라 라인 메모리(530)에 출력한다.The input buffer 520 outputs the applied data to the line memory 530 according to the write control signal.

라인 메모리(530)는 쓰기 제어 신호에 따라 입력 버퍼(520)에서 입력되는 데이터를 쓰기 어드레스 발생기(580)에서 만든 어드레스 위치에 쓰기 동작을 수행하고, 읽기 제어 신호에 따라 읽기 어드레스에 저장되어 있는 데이터를 읽어 출력한다.The line memory 530 performs a write operation on the data input from the input buffer 520 at the address created by the write address generator 580 according to the write control signal, and stores the data stored at the read address according to the read control signal. Read and print

여기서 라인 메모리(530)는 단 방향 포트의 일반 메모리로 구성되며 쓰기 구간과 읽기 구간을 한 사이클씩 시간적으로 교차시켜서 가상적인 듀얼 포드의 기능을 수행할 수 있도록 한다.Here, the line memory 530 is configured as a general memory of a unidirectional port, and crosses the write section and the read section one cycle at a time to perform a virtual dual pod function.

즉, 멀티플렉서(590)를 통하여 읽기 어드레스와 쓰기 어드레스를 번갈아 인가 할 수 있도록 라인 버퍼 제어기(560)에서 멀티플렉서(580)와 라인 메모리(530)에 상응하는 제어신호를 인가 한다.That is, the line buffer controller 560 applies a control signal corresponding to the multiplexer 580 and the line memory 530 so that the read address and the write address can be alternately applied through the multiplexer 590.

라인 메모리(530)에 저장된 데이터는 도 4에 나타낸 것처럼 Cb Y Cr Y의 형태의 반복되는 단위로 저장된다. 이러한 반복된 단위는 CCIR 656 포멧의 데이터를 출력할 때 쉽게 배열 될 수 있는 구조이다.Data stored in the line memory 530 is stored in a repeating unit in the form of Cb Y Cr Y as shown in FIG. 4. These repeated units are structures that can be easily arranged when outputting data in CCIR 656 format.

도 4의 라인 메모리는 일종의 FIFO처럼 동작하지만 일반 FIFO와 같이 한 셀(어드레스) 단위로 저장되고 읽혀지는 구조가 아니라 쓰기 데이터 패킷는 16개의 셀(어드레스)로 구성되고 읽기 데이터 패킷은 4개의 셀(어드레스)로 구성되어 쓰여지거나 읽혀 진다.Although the line memory of FIG. 4 operates like a kind of FIFO, the write data packet is composed of 16 cells (addresses) and the read data packet is 4 cells (addresses), not a structure that is stored and read in one cell (address) unit like a general FIFO. Can be written or read.

또한 수직 확대를 위하여 같은 라인의 데이터를 다시 읽을 필요가 있을 때,코덱 프레임에서 라인 데이터를 읽어 오지 않고, 이전에 저장된 라인 데이터를 라인 메모리에서 다시 읽을 수 있도록 하였다.In addition, when it is necessary to read the data of the same line again for vertical enlargement, the line data can be read back from the line memory without reading the line data from the codec frame.

먼저 쓰기 동작을 살펴보면 다음과 같다. 도 5의 쓰기 어드레스 발생기의 제어 순서 중에서 쓰기 어드레스(WP)를 중심으로 살펴보면 다음과 같다.First, the write operation is as follows. The write address WP in the control order of the write address generator of FIG. 5 will be described below.

먼저, 쓰기포인터(WP), 쓰기 베이스 포인터(WBP), 컴포넌트 모드(COMP)를 초기화 하고(501) 라인 메모리가 비어 있으면(502) DMA 전송 요구를 한다(503).First, the write pointer WP, the write base pointer WBP, and the component mode COMP are initialized (501), and if the line memory is empty (502), a DMA transfer request is made (503).

전송된 데이터의 컴포넌트가 Cb 이면(504) WP = WBP; WP = WBP + 4; WP = WBP + 8; WP = WBP + 12의 순서대로 제어 회로의 제어 신호에 동기되어 쓰기 어드레스를 발생하고(513) 라인 메모리가 비어 있는가를 판단하는 과정(502)으로 복귀한다.If the component of the transmitted data is Cb (504) WP = WBP; WP = WBP + 4; WP = WBP + 8; The write address is generated in synchronization with the control signal of the control circuit in the order of WP = WBP + 12 (513), and the process returns to step 502 to determine whether the line memory is empty.

같은 방법으로 컴포넌트가 Cr 이면(506) WP = WBP+2; WP = WBP + 6; WP = WBP + 10; WP = WBP + 14;의 어드레스를 발생하고(514), Y0 이면(507) WP = WBP+1; WP = WBP + 3; WP = WBP + 5; WP = WBP + 7;의 어드레스를 발생한다(515).In the same way, if the component is Cr (506) WP = WBP + 2; WP = WBP + 6; WP = WBP + 10; Generates an address of WP = WBP + 14 (514), and if Y0 (507), WP = WBP + 1; WP = WBP + 3; WP = WBP + 5; Generate an address of WP = WBP + 7;

컴포넌트가 Y1이면(507) WP = WBP+9; WP = WBP + 11; WP = WBP + 13; WP = WBP + 15;의 어드레스를 발생하고(508) 다음 컴포넌트로 Cb를 지정한 다음 쓰기 베이스 포인트(WBP)를 16 만큼 증가 시켜서(510) 이 값이 메모리의 최대 어드레스를 넘어서면(511) WBP=0로 하고(512), 그렇지 않으면 다시 라인 메모리가 비어있는지를 판단하는 과정(502)으로 복귀한다.If the component is Y1 (507) WP = WBP + 9; WP = WBP + 11; WP = WBP + 13; Generates an address of WP = WBP + 15; (508) assigns Cb to the next component, and then increases the write base point (WBP) by 16 (510), if this value exceeds the maximum address in memory (511). 0 (512), otherwise, return to step 502 to determine if the line memory is empty.

이러한 과정은 도 2의 DMA 패킷을 도 4의 라인 메모리 형식으로 바꾸기 위한 어드레스를 발생 시킨다.This process generates an address for converting the DMA packet of FIG. 2 into the line memory format of FIG. 4.

또한 쓰기 동작은 라인 버퍼의 비어있는 공간을 최대한 이용하기 위해 비동기 FIFO 순서로 데이터를 채우므로 DMA 전송 시 여유를 갖을 수 있다.In addition, the write operation fills data in asynchronous FIFO order in order to make full use of the free space in the line buffer.

다음으로 읽기 동작을 살펴 보기 위하여 읽기 어드레스 발생기에서 읽기 어드레스 포인터(RP)를 중심으로 설명하면 다음과 같다.Next, the read address generator will be described with reference to the read address pointer RP.

도면에서, 도 6은 도 3의 쓰기 어드레스 발생기의 제어 흐름도이다.6 is a control flowchart of the write address generator of FIG. 3.

도면에 도시된 바와 같이, 도 3의 쓰기 어드레스 발생기의 제어는, 먼저, 읽기 어드레스 포인터(RF)와 읽기 베이스 포인터(RBP), 수직 라인 상태 변수(VNUM)를 초기화 하고(601) 수평 라인의 엑티브 상태를 기다리다가(602) 엑티브 상태가 되면 인터폴레이션 필터에서 라인 데이터 읽기 요구가 있는지 검사하여(606) 읽기 요구가 있으면 라인 메모리에 유효 데이터가 있을 때까지 기다렸다가(607) 읽기 어드레스를 제어부의 제어 신호에 동기시켜서 RP=RBP; RF=RBP + 1; RP= RBP + 2; RP=RBP + 3; 의 어드레스를 발생시킨 후에(608) 읽기 베이스포인터(RBP)를 '4' 증가하고(610) 엑티브 라인 상태를 기다리는 과정(602)으로 복귀한다.As shown in the figure, the control of the write address generator of FIG. 3 firstly initializes the read address pointer RF, the read base pointer RBP, the vertical line state variable VNUM (601), and the active of the horizontal line. After waiting for the state (602), the interpolation filter checks whether there is a line data read request (606). If there is a read request, waits until there is valid data in the line memory (607). RP = RBP in synchronization; RF = RBP + 1; RP = RBP + 2; RP = RBP + 3; After generating the address (608), the read base pointer (RBP) is increased by '4' (610) and returns to the process waiting for the active line state (602).

엑티브 라인 상태를 검사하여 수평라인의 엑티브 상태가 해제되면, 수직 라인 상태 변수(VNUM)가 '0'인가를 검사하여(603) '0' 이면 읽기 베이스 포인터를 '4' 증가하고, 다음 라인 시작 변수(LSP)에 읽기 베이스 포인터(RBP)를 인가하고 수직 라인 확대 변수(VNUM)를 초기화 시킨 후에(609) 수평라인이 엑티브 될 때까지 기다린 후(611) 엑티브 라인 상태를 검사하는 과정(602)으로 복귀한다.When the active state of the horizontal line is released by checking the active line state, it is checked whether the vertical line state variable (VNUM) is '0' (603). If it is '0', the read base pointer is increased by '4', and the next line starts. After applying the read base pointer RBP to the variable LSP and initializing the vertical line expansion variable VNUM (609), waiting for the horizontal line to become active (611), and then checking the active line state (602). Return to.

수평라인의 엑티브 상태가 해제되고 수직라인상태 변수(VNUM)를 '1' 감소 시키고(604) 읽기 베이스 포인터(RBP)를 라인 시작 포인터(LSP)로 초기화 시킨후에(605), 수평라인이 엑티브 될 때까지 기다린다(611).After the active state of the horizontal line is released and the vertical line state variable (VNUM) is decremented (604) and the read base pointer (RBP) is initialized to the line start pointer (LSP) (605), the horizontal line becomes active. Wait until 611.

즉, 다음 픽셀 라인을 이전 픽셀 라인 값으로 다시 읽어서 채우는 과정을 반복하게 되며, VNUM이 '0'이 될 때 까지 이전 픽셀 라인을 복사하여 수직 라인을 확대하는 결과를 얻는다.That is, the process of repeating the filling of the next pixel line with the previous pixel line value is repeated, and the result is that the vertical line is enlarged by copying the previous pixel line until VNUM becomes '0'.

앞서 상세히 설명한 바와 같이 본 발명의 영상 확대 디스플레이를 위한 라인 버퍼 및 그 제어 방법은 영상 압축/복원 코덱의 영상 이미지 버퍼에 저장된 QCIF(176x144) 혹은 Sub-QCIF(128x96)의 영상 이미지를 일반 비디오 출력 장치에 표시하기 위하여 영상 버퍼에 저장된 이미지와 같은 크기, 또는 2 배, 4배로 확대된 크기로 영상을 만드는 장치에 사용되며, 특히 영상 코덱에서 코덱 프레임 버퍼에서 직접 픽셀 데이터를 읽는 구조를 갖게 하여 별도의 디스플레이용 프레임 버퍼를 두지 않도록 하여 구성요소를 줄이도록 하는 효과가 있다.As described in detail above, the line buffer and the control method for the image enlargement display according to the present invention can display a video image of QCIF (176x144) or Sub-QCIF (128x96) stored in the image image buffer of the image compression / restore codec. It is used in a device that creates an image with the same size as the image stored in the image buffer or enlarged twice or four times for display on the image. Especially, the image codec has a structure that reads pixel data directly from the codec frame buffer. The effect is to reduce the components by avoiding the display frame buffer.

이상에서 본 발명의 영상 확대 디스플레이를 위한 라인 버퍼 및 그 제어 방법에 대한 기술사상을 첨부도면과 함께 서술하였지만 이는 본 발명의 가장 양호한 실시예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한, 이 기술분야의 통상의 지식을 가진 자이면 누구나 본 발명의 기술사상의 범주를 이탈하지 않는 범위내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.In the above description, the technical idea of the line buffer and the control method for the image enlarged display according to the present invention has been described with the accompanying drawings, but the exemplary embodiments of the present invention have been described by way of example and are not intended to limit the present invention. In addition, it is obvious that any person skilled in the art can make various modifications and imitations without departing from the scope of the technical idea of the present invention.

Claims (7)

DMA 데이터 버스에 실린 데이터를 입력받아 출력하기 위한 DMA 인터페이스;A DMA interface for receiving and outputting data carried on a DMA data bus; 상기 DMA 인터페이스에서 입력된 데이터를 일시 저장하고 있으며, 쓰기 제어 신호에 따라 저장하고 있는 데이터를 출력하기 위한 입력 버퍼;An input buffer for temporarily storing data input from the DMA interface and outputting data stored according to a write control signal; 쓰기 제어 신호에 따라 상기 입력 버퍼에서 입력되는 데이터를 쓰기 어드레스에 쓰기 동작을 수행하고, 읽기 제어 신호에 따라 읽기 어드레스에 저장되어 있는 데이터를 읽어 출력하기 위한 라인 메모리;A line memory for writing data input from the input buffer to a write address according to a write control signal, and reading and outputting data stored at a read address according to a read control signal; 제어 신호에 따라 읽기 어드레스와 쓰기 어드레스를 번갈아 상기 라인 메모리에 인가 할 수 있도록 하기 위한 멀티 플렉서;A multiplexer for alternately applying a read address and a write address to the line memory according to a control signal; 제어 신호에 따라 읽기 어드레스를 상기 라인 메모리에 출력하기 위한 읽기 어드레스 발생기;A read address generator for outputting a read address to the line memory in accordance with a control signal; 제어 신호에 따라 쓰기 어드레스를 상기 라인 메모리에 출력하기 위한 쓰기 어드레스 발생기; 및A write address generator for outputting a write address to the line memory in accordance with a control signal; And 상기 입력 버퍼에 쓰기 제어 신호를 발생시키고, 상기 읽기 어드레스 발생기와 상기 쓰기 어드레스 발생기에 어드레스 발생 제어 신호를 발생시키며, 상기 라인 메모리에 쓰기 읽기 제어 신호를 발생시키기 위한 라인 버퍼 제어기를 포함하여 이루어진 라인 버퍼 장치.A line buffer configured to generate a write control signal to the input buffer, to generate an address generation control signal to the read address generator and the write address generator, and to generate a write read control signal to the line memory. Device. 제 1 항에 있어서,The method of claim 1, 상기 라인 메모리로부터 입력되는 데이터중 인접하는 데이터를 이용하여 수평 라인상에 수평 확대를 위한 픽셀을 형성시키기 위한 인터플레이션 필터를 더 포함하여 이루어진 라인 버퍼 장치.And an interflation filter for forming a pixel for horizontal enlargement on a horizontal line by using adjacent data among data input from the line memory. 제 2 항에 있어서,The method of claim 2, 상기 라인 버퍼 제어기는,The line buffer controller, DMA 패킷을 상기 라인 메모리 형식으로 바꾸기 위한 쓰기 어드레스를 발생하도록 하기 위한 제어 신호를 생성하여 상기 쓰기 어드레스 발생기로 출력하고, 수직 라인 상태 변수에 따른 각 라인의 반복적인 읽기 동작이 수행되도록 하는 읽기 어드레스를 발생하도록 하는 제어 신호를 생성하여 상기 읽기 어드레스 발생기로 출력하는 것을 특징으로 하는 라인 버퍼 장치.Generates a control signal for generating a write address for converting a DMA packet into the line memory format, outputs the control signal to the write address generator, and reads a read address for performing a repetitive read operation of each line according to a vertical line state variable. And generating and outputting a control signal to the read address generator. 제 2 항에 있어서,The method of claim 2, 상기 라인 버퍼 제어기는,The line buffer controller, 쓰기포인터(WP), 쓰기 베이스 포인터(WBP), 컴포넌트 모드(COMP)를 초기화 하고, 상기 라인 메모리가 비어 있으면 DMA 전송 요구 제어 신호를 상기 입력 버퍼로 출력하며, 전송된 데이터의 컴포넌트가 Cb 이면 WP = WBP; WP = WBP + 4; WP =WBP + 8; WP = WBP + 12의 순서대로 쓰기 어드레스를 발생할 수 있도록 상기 쓰기 어드레스 발생기에 제어 신호를 출력하고, 컴포넌트가 Cr 이면 WP = WBP+2; WP = WBP + 6; WP = WBP + 10; WP = WBP + 14;의 순서대로 어드레스를 발생할 수 있도록 상기 쓰기 어드레스 발생기로 제어 신호를 출력하고, Y0 이면 WP = WBP+1; WP = WBP + 3; WP = WBP + 5; WP = WBP + 7;의 어드레스를 발생시킬 수 있도록 쓰기 어드레스를 발생할 수 있도록 제어 신호를 상기 쓰기 어드레스 발생기로 출력하며, 컴포넌트가 Y1이면 WP = WBP+9; WP = WBP + 11; WP = WBP + 13; WP = WBP + 15;의 어드레스가 발생하도록 상기 쓰기 어드레스 발생기로 제어 신호를 출력하고, 컴포넌트로 Cb를 지정한 다음 쓰기 베이스 포인트(WBP)를 16 만큼 증가 시킨 후에, 쓰기 베이스 포인터가 상기 라이 메모리의 끝 어드레스보다 크면 초기화시키는 것을 특징으로 하는 라인 버퍼 장치.Initializes the write pointer (WP), the write base pointer (WBP), and the component mode (COMP), and outputs a DMA transfer request control signal to the input buffer if the line memory is empty, and if the component of the transmitted data is Cb, WP. = WBP; WP = WBP + 4; WP = WBP + 8; Outputting a control signal to the write address generator to generate write addresses in the order of WP = WBP + 12, and if the component is Cr, WP = WBP + 2; WP = WBP + 6; WP = WBP + 10; Outputs a control signal to the write address generator to generate addresses in the order of WP = WBP + 14; and if Y0, WP = WBP + 1; WP = WBP + 3; WP = WBP + 5; Outputs a control signal to the write address generator to generate a write address to generate an address of WP = WBP + 7; if the component is Y1, WP = WBP + 9; WP = WBP + 11; WP = WBP + 13; After outputting a control signal to the write address generator to generate an address of WP = WBP + 15; assigning Cb to a component and increasing the write base point WBP by 16, a write base pointer ends the write memory. And a line buffer device for initializing when larger than the address. 제 2 항 또는 제 4 항에 있어서,The method according to claim 2 or 4, 상기 라인 버퍼 제어기는,The line buffer controller, 읽기 어드레스 포인터(RF)와 읽기 베이스 포인터(RBP), 수직 라인 상태 변수(VNUM)를 초기화 하고, 수평라인의 엑티브 상태를 기다리다가 엑티브 상태가 되면 상기 인터폴레이션 필터에서 라인 데이터 읽기 요구가 있는지 검사하여 읽기 요구가 있으면 상기 라인 메모리에 유효 데이터가 있을 때까지 기다렸다가 RP=RBP; RF=RBP + 1; RP= RBP + 2; RP=RBP + 3; 의 어드레스를 발생시킬 수 있도록 하기위한 제어 신호를 상기 읽기 어드레스 발생부로 출력하고, 엑티브 라인 상태에서 수평라인의 엑티브 상태가 해제되면, 수직 라인 상태 변수(VNUM)에 따라 읽기 베이스 포인터(RBP)를 라인 시작 포인터(LSP)로 초기화 시키는 것을 특징으로 하는 라인 버퍼 장치.Initializes the read address pointer (RF), the read base pointer (RBP), and the vertical line state variable (VNUM), waits for the active state of the horizontal line, and when the active state becomes active, checks if there is a line data read request by the interpolation filter. Waits until there is valid data in the line memory when requested; RP = RBP; RF = RBP + 1; RP = RBP + 2; RP = RBP + 3; Outputs a control signal for generating an address to the read address generator, and when the active state of the horizontal line is released from the active line state, the read base pointer RBP is lined according to the vertical line state variable VNUM. Line buffer device, characterized in that initialized by the start pointer (LSP). 쓰기포인터(WP), 쓰기 베이스 포인터(WBP), 컴포넌트 모드(COMP)를 초기화 하한 후에 라인 메모리가 비어 있는지를 판단하는 제 1 단계;A first step of determining whether the line memory is empty after initializing the write pointer (WP), the write base pointer (WBP), and the component mode (COMP); 상기 제 1 단계의 판단 결과, 상기 라인 메모리가 비어 있으면 DMA 전송 요구를 하는 제 2 단계;A second step of making a DMA transfer request if the line memory is empty as a result of the determination in the first step; 전송된 데이터의 컴포넌트가 Cb 이면 WP = WBP; WP = WBP + 4; WP = WBP + 8; WP = WBP + 12의 순서대로 쓰기 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 3 단계;If the component of the transmitted data is Cb WP = WBP; WP = WBP + 4; WP = WBP + 8; A third step of repeating the step of determining whether the line memory of the first step is empty after generating the write addresses in the order of WP = WBP + 12; 컴포넌트가 Cr 이면 WP = WBP+2; WP = WBP + 6; WP = WBP + 10; WP = WBP + 14;의 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 4 단계;If the component is Cr WP = WBP + 2; WP = WBP + 6; WP = WBP + 10; A fourth step of repeating the step of determining whether the line memory of the first step is empty after generating an address of WP = WBP + 14; 컴포넌트가 Y0 이면 WP = WBP+1; WP = WBP + 3; WP = WBP + 5; WP = WBP + 7;의 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 5 단계;If component is Y0 WP = WBP + 1; WP = WBP + 3; WP = WBP + 5; A fifth step of repeating the step of determining whether the line memory of the first step is empty after generating an address of WP = WBP + 7; 컴포넌트가 Y1이면 WP = WBP+9; WP = WBP + 11; WP = WBP + 13; WP = WBP +15;의 어드레스를 발생한 후에, 상기 제 1 단계의 상기 라인 메모리가 비어 있는가를 판단하는 과정부터 반복 수행하는 제 6 단계;If the component is Y1 WP = WBP + 9; WP = WBP + 11; WP = WBP + 13; A sixth step of repeating the step of determining whether the line memory of the first step is empty after generating an address of WP = WBP +15; 컴포넌트로 Cb를 지정한 후에 쓰기 베이스 포인트(WBP)를 16 만큼 증가 시켜서 증가된 값이 상기 라인 메모리의 최대 어드레스를 넘어서는 지를 판단하는 제 7 단계; 및A seventh step of determining whether the increased value exceeds the maximum address of the line memory by increasing the write base point (WBP) by 16 after designating Cb as a component; And 상기 제 7 단계의 판단 결과, 넘어서면 WBP=0로 하고, 그렇지 않으면 상기 제 1 단계의 상기 라인 메머리가 비어있는지를 판단하는 과정부터 반복 수행하는 제 8 단계를 포함하여 이루어진 라인 버퍼 장치의 제어 방법.As a result of the determination of the seventh step, if it exceeds WBP = 0, otherwise, the control of the line buffer device comprising the eighth step of performing repeatedly from the process of determining whether the line head of the first step is empty Way. 읽기 어드레스 포인터(RF)와 읽기 베이스 포인터(RBP), 수직 라인 상태 변수(VNUM)를 초기화하는 제 1 단계;A first step of initializing the read address pointer RF, the read base pointer RBP, and the vertical line state variable VNUM; 수평 라인의 엑티브 상태를 기다리다가 엑티브 상태가 되면 인터폴레이션 필터에서 라인 데이터 읽기 요구가 있는지 검사하는 제 2 단계;Waiting for the active state of the horizontal line, and in the active state, checking the line data read request in the interpolation filter; 상기 제 2 단계의 검사 결과, 읽기 요구가 있으면 라인 메모리에 유효 데이터가 있을 때까지 기다리는 제 3 단계;A third step of waiting for valid data in a line memory when there is a read request as a result of the check in the second step; 읽기 어드레스를 제어 신호에 동기시켜서 RP=RBP; RF=RBP + 1; RP= RBP + 2; RP=RBP + 3; 의 어드레스를 발생시킨 후에 상기 제 2 단계의 엑티브 라인 상태를 기다리는 과정부터 반복 수행하는 제 4 단계;Synchronizes the read address with the control signal so that RP = RBP; RF = RBP + 1; RP = RBP + 2; RP = RBP + 3; A fourth step of repeating the process of waiting for the active line state of the second step after generating an address of the second step; 엑티브 라인 상태에서 수평라인의 엑티브 상태가 해제되면, 수직 라인 상태변수(VNUM)가 '0'인가를 검사하는 제 5 단계;A fifth step of checking whether the vertical line state variable VNUM is '0' when the active state of the horizontal line is released in the active line state; 상기 제 5 단계의 검사 결과, '0' 이면 읽기 베이스 포인터를 '4' 증가하고, 다음 라인 시작 변수(LSP)에 읽기 베이스 포인터(RBP)를 인가하고 수직 라인 확대 변수(VNUM)를 초기화 시킨 후에 수평라인이 엑티브 될 때까지 기다리는 제 6 단계; 및As a result of the inspection in the fifth step, if the value is '0', the read base pointer is increased by '4', the read base pointer RBP is applied to the next line start variable LSP, and the vertical line enlarged variable VNUM is initialized. A sixth step of waiting for the horizontal line to become active; And 수평라인의 엑티브 상태가 해제되고 수직 확대 변수가 아직 '0' 이 아니면 수직 확대 변수를 '1' 감소 시키고 읽기 베이스 포인터(RBP)를 라인 시작 포인터(LSP)로 초기화 시킨 후 수평라인이 엑티브 될 때까지 기다리는 제 7 단계를 포함하여 이루어진 라인 버퍼의 제어 방법.If the active state of the horizontal line is released and the vertical zoom variable is not yet '0', decrease the vertical zoom variable by '1', initialize the read base pointer (RBP) to the line start pointer (LSP), and then activate the horizontal line. Method of controlling a line buffer comprising a seventh step of waiting until.
KR1019990020620A 1999-06-04 1999-06-04 Line buffer for enlarging an moving image in display and its method Expired - Fee Related KR100352371B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990020620A KR100352371B1 (en) 1999-06-04 1999-06-04 Line buffer for enlarging an moving image in display and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990020620A KR100352371B1 (en) 1999-06-04 1999-06-04 Line buffer for enlarging an moving image in display and its method

Publications (2)

Publication Number Publication Date
KR20010001414A KR20010001414A (en) 2001-01-05
KR100352371B1 true KR100352371B1 (en) 2002-09-11

Family

ID=19590013

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990020620A Expired - Fee Related KR100352371B1 (en) 1999-06-04 1999-06-04 Line buffer for enlarging an moving image in display and its method

Country Status (1)

Country Link
KR (1) KR100352371B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100640876B1 (en) * 2004-11-17 2006-11-02 엘지전자 주식회사 Video decoding system of mobile broadcast receiver

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750244B (en) * 2011-04-22 2015-03-11 安凯(广州)微电子技术有限公司 Transmitting device and transmitting method of graded buffer direct memory access (DMA)
KR20240000450U (en) 2022-08-31 2024-03-07 서종호 A curtain hook

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970014298A (en) * 1995-08-10 1997-03-29 김광호 Vertical extension device and method of wide television
JPH10145585A (en) * 1996-11-07 1998-05-29 Kawasaki Steel Corp Enlarged image generation device
KR19990019399A (en) * 1997-08-29 1999-03-15 윤종용 Screen vertical compression / extension method and device
KR19990051944A (en) * 1997-12-20 1999-07-05 윤종용 Image Zoom In / Out Method using Interpolation
KR20000059417A (en) * 1999-03-03 2000-10-05 구자홍 Apparatus for image zooming in digital tv

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970014298A (en) * 1995-08-10 1997-03-29 김광호 Vertical extension device and method of wide television
JPH10145585A (en) * 1996-11-07 1998-05-29 Kawasaki Steel Corp Enlarged image generation device
KR19990019399A (en) * 1997-08-29 1999-03-15 윤종용 Screen vertical compression / extension method and device
KR19990051944A (en) * 1997-12-20 1999-07-05 윤종용 Image Zoom In / Out Method using Interpolation
KR20000059417A (en) * 1999-03-03 2000-10-05 구자홍 Apparatus for image zooming in digital tv

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100640876B1 (en) * 2004-11-17 2006-11-02 엘지전자 주식회사 Video decoding system of mobile broadcast receiver

Also Published As

Publication number Publication date
KR20010001414A (en) 2001-01-05

Similar Documents

Publication Publication Date Title
JP2656737B2 (en) Data processing device for processing video information
US5629719A (en) Displaying image signals using horizontal and vertical comparisons
US6348925B1 (en) Method and apparatus for block data transfer to reduce on-chip storage for interpolative video resizing
JP4964386B2 (en) System and method for generating visual representations of graphical data and digital document processing
US6005546A (en) Hardware assist for YUV data format conversion to software MPEG decoder
US5742272A (en) Accelerated full screen video playback
KR100281499B1 (en) Method and apparatus for resizing block ordered video image frames with reduced on-chip cache
JPH05241553A (en) Method and device for displaying plural video windows
WO1993010518A2 (en) Video/graphics memory system
JP3189031B2 (en) Data rate conversion method and apparatus
US5752266A (en) Method controlling memory access operations by changing respective priorities thereof, based on a situation of the memory, and a system and an integrated circuit implementing the method
JP2006014341A (en) Method and apparatus for storing image data using an MCU buffer
US11055820B2 (en) Methods, apparatus and processor for producing a higher resolution frame
Li et al. A flexible display module for DVD and set-top box applications
KR100352371B1 (en) Line buffer for enlarging an moving image in display and its method
US5689436A (en) Apparatus for compressing and decompressing video signal
JPH11112873A (en) Image processing method and apparatus
JP2005338844A (en) Method and apparatus for transforming an image without using a line buffer
JPH0981720A (en) Image processor
JPH04235592A (en) Display control device
JP3894173B2 (en) Computer system for video data transfer
JPH11283024A (en) Compression display method and its device
JPH04186287A (en) Display data control method for data processing equipment
JP2002232837A (en) Information processor
JP2005159596A (en) Digital camera

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 19990604

A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20000828

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 19990604

Comment text: Patent Application

PG1501 Laying open of application
E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20020530

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20020829

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20020830

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20050801

Start annual number: 4

End annual number: 4

PR1001 Payment of annual fee

Payment date: 20060728

Start annual number: 5

End annual number: 5

FPAY Annual fee payment

Payment date: 20070730

Year of fee payment: 6

PR1001 Payment of annual fee

Payment date: 20070730

Start annual number: 6

End annual number: 6

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee