KR100413981B1 - Apparatus and method for prediction and release DC coefficient in image system - Google Patents

Apparatus and method for prediction and release DC coefficient in image system Download PDF

Info

Publication number
KR100413981B1
KR100413981B1 KR10-1999-0057307A KR19990057307A KR100413981B1 KR 100413981 B1 KR100413981 B1 KR 100413981B1 KR 19990057307 A KR19990057307 A KR 19990057307A KR 100413981 B1 KR100413981 B1 KR 100413981B1
Authority
KR
South Korea
Prior art keywords
memory
coefficient
input macroblock
storing
macroblock
Prior art date
Application number
KR10-1999-0057307A
Other languages
Korean (ko)
Other versions
KR20010055963A (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 KR10-1999-0057307A priority Critical patent/KR100413981B1/en
Publication of KR20010055963A publication Critical patent/KR20010055963A/en
Application granted granted Critical
Publication of KR100413981B1 publication Critical patent/KR100413981B1/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
    • H04N19/426Methods 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 using memory downsizing methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

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

본 발명은 영상 시스템에서 직류 계수 예측/복원 장치 및 그 방법에 관한 것임.The present invention relates to a DC coefficient predictor / restoration apparatus and method thereof in an imaging system.

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

본 발명은, 영상 시스템(영상 부호화기 및 영상 복호화기)에서 직류(DC) 계수 예측에 필요한 메모리를 한 개의 라인 메모리와 두 개의 점 메모리로 최소화하기 위한 직류 계수 예측/복원장치 및 그 방법을 제공하고자 함.An object of the present invention is to provide a DC coefficient predictor / restoration apparatus and method for minimizing a memory required for DC coefficient estimation in a video system (image encoder and image decoder) to one line memory and two point memories. box.

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

본 발명은, 영상 시스템의 직류 계수 예측 장치에 있어서, 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하기 위한 메모리 갱신수단; 상기 메모리 갱신수단으로부터 전달되는 입력 매크로블록의 직류 계수값을 저장하고, 출력 어드레스에 따라 저장된 직류 계수값을 출력하기 위한 상기 메모리; 및 입력 매크로블록의 직류계수값과 상기 메모리에서 출력되는 매크로블록과 인접한 블록의 직류 계수값을 차분하여, 그 차분 결과치를 직류 계수값으로 출력하며, 메모리 갱신이 이루어지도록 상기 메모리 갱신수단으로 상기 인에이블 신호를 전달하기 위한 직류 계수 예측수단을 포함하되, 상기 메모리는, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하기 위한 점 메모리; 및 입력 매크로블록의 상단에 인접하는 블록의 직류 계수값을 저장하기 위한 라인 메모리를 포함하여 이루어진 것을 특징으로 함.According to the present invention, a DC coefficient predicting apparatus of an image system includes: after receiving horizontal position information of an input macroblock and DC coefficient value of an input macroblock, horizontal position information received according to an enable signal for controlling memory update; Memory updating means for storing a DC coefficient value of the input macroblock in a memory; The memory for storing a direct current coefficient value of an input macroblock transmitted from the memory updating means and outputting a stored direct current coefficient value according to an output address; And a DC coefficient value of an input macroblock and a DC coefficient value of a block adjacent to the macroblock outputted from the memory, and outputs the difference result value as a DC coefficient value to the memory update means for updating the memory. And a direct current coefficient predicting means for transmitting an enable signal, wherein the memory comprises: a point memory for storing a direct current coefficient value of a block adjacent to a left end of an input macroblock; And a line memory for storing a DC coefficient value of a block adjacent to an upper end of the input macroblock.

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

본 발명은 부호화 및 복호화 장치 등에 이용됨.The present invention is used in an encoding and decoding apparatus.

Description

영상 시스템에서 직류 계수 예측/복원 장치 및 그 방법{Apparatus and method for prediction and release DC coefficient in image system}Apparatus and method for prediction and release DC coefficient in image system

본 발명은 영상 시스템(영상 부호화기 및 영상 복호화기)에서 직류(DC : Direct Current) 계수 예측/복원 기술 분야에 관한 것으로, 특히 직류(DC) 계수 예측/복원에 필요한 메모리를 한 개의 라인 메모리와 두 개의 점 메모리로 최소화할 수 있는 영상 시스템에서 직류 계수 예측/복원 장치 및 그 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to the field of direct current (DC) coefficient prediction / restoration in video systems (image encoders and video decoders). The present invention relates to a DC coefficient predictor / restoration apparatus and a method thereof in an imaging system which can be minimized to two point memories.

일반적으로, 디지털 영상을 압축 부호화하는 방법들 중 입력 영상 신호를 일정한 정방형 크기의 블록으로 나누고 이를 직교 변환(orthogonal transform)하여 변환 계수(transform coefficient)로 바꾸어 준 후 변환 계수를 부호화하고 부호화된 부호화 열을 복호화하는 방식은, 현재 가장 많이 쓰이는 부호화와 복호화 방식으로서, 정지영상 압축 부호화 국제 표준화 방식인 ISO/IEC JPEG, 동영상 압축 부호화 국제 표준화 방식인 ISO/IEC MPEG, ITU-T의 H.261, H.263 등의 모든 디지털 신호 압축 부호화에 대한 국제 표준에서도 널리 사용되어지고 있다.In general, among the methods of compression encoding a digital image, the input image signal is divided into blocks having a constant square size, orthogonal transform, and transformed into transform coefficients, and then the transform coefficients are encoded. The most commonly used encoding and decoding method is ISO / IEC JPEG, which is the international standard for still image compression coding, and ISO / IEC MPEG, which is the international standard for moving picture compression coding, and H.261, H of ITU-T. It is also widely used in international standards for all digital signal compression coding such as .263.

각 블록에 대한 변환 계수들 중 직류(DC) 성분에 해당하는 계수는 인접 블록들의 직류 계수와 높은 상관관계를 갖는 것이 일반적이므로, 압축 부호화 성능을 향상시키기 위해서 인접 블록들의 직류 계수값을 사용하여 예측 부호화하는 방법이 사용될 수 있다. 이때, 예측에 사용되는 인접블록들은 부호화기와 복호화기에 의해 복원되는 계수값이 동일하도록 보장하기 위하여 부호화 과정을 거친 인접 블록들을 사용한다.Since the coefficients corresponding to the direct current (DC) component among the transform coefficients for each block generally have a high correlation with the direct current coefficients of neighboring blocks, prediction is performed using the direct current coefficient values of neighboring blocks to improve compression coding performance. The encoding method can be used. In this case, neighboring blocks used for prediction use neighboring blocks that have undergone encoding to ensure that coefficient values restored by the encoder and the decoder are the same.

도 1 은 인접블록의 직류 계수값을 사용하여 현재 블록의 직류 계수값을 예측한 후, 현재 블록의 직류 계수값과 차분된 값을 출력하는 종래의 직류 계수 예측장치를 나타낸다. 여기서, 디지털 영상은 일반적으로 4개의 색상(Luminance) 신호 블록과 2개의 색차(Chrominance) 신호 블록으로 구성되는 매크로블록(macro-block)을 기본 단위로 부호화되므로, 도 1에서도 입력 데이터는 매크로블록 단위로 입력되는 것으로 가정한다. 이때, 색상신호 블록들의 집합은 정방형의 형태를 갖는 것이 일반적이며, 이후의 설명은 매크로블록을 구성하는 요소들 중 색상신호 블록을 기준으로 설명한다.FIG. 1 illustrates a conventional DC coefficient predicting apparatus for predicting a DC coefficient value of a current block by using a DC coefficient value of an adjacent block and then outputting a difference value from the DC coefficient value of the current block. In this case, since a digital image is generally encoded by a macro-block composed of four color signal blocks and two chroma signal blocks, the input data is a macroblock unit. Assume that is input to. In this case, the set of color signal blocks generally has a square shape, and the following description will be made based on the color signal block among the elements constituting the macroblock.

도 1에 도시된 종래의 직류 계수 예측 장치는, 부호화 과정을 거친 블록들의 직류 계수값을 저장하기 위한 프레임 메모리(frame memory)(10)와, 인접 블록들의 직류 계수값을 사용하여 현재 블록의 직류 계수값을 예측하여 차분된 직류 계수값을 출력하는 직류 계수 예측기(20)와, 입력 블록의 직류 계수값을 상기 프레임 메모리(10)에 저장하는 메모리 갱신기(30)로 구성된다.The conventional DC coefficient prediction apparatus illustrated in FIG. 1 includes a frame memory 10 for storing DC coefficient values of blocks that have undergone encoding, and a DC of a current block using DC coefficient values of adjacent blocks. A DC coefficient predictor 20 for predicting the coefficient value and outputting the differential DC coefficient value, and a memory updater 30 for storing the DC coefficient value of the input block in the frame memory 10.

매크로블록에 대한 양자화된 직류 계수값들은 매크로블록의 위치정보(x,y)와 함께 직류 계수 예측기(20)와 메모리 갱신기(30)에 입력된다. 메모리 갱신기(30)는 매크로블록의 위치정보로부터 갱신될 메모리의 위치를 계산하여 양자화된 직류 계수들을 해당 위치에 저장한다. 또한, 직류 계수 예측기(20)는 매크로블록의 위치로부터 예측에 사용될 인접 블록들의 직류 계수값을 프레임 메모리(10)로부터 읽어온다. 그리고, 인접 블록들의 직류 계수값을 사용하여 입력 매크로블록의 직류 계수값을 예측하며, 예측값과 입력 직류 계수 사이의 오차신호를 출력한다.The quantized DC coefficient values for the macroblock are input to the DC coefficient predictor 20 and the memory updater 30 together with the position information (x, y) of the macroblock. The memory updater 30 calculates the location of the memory to be updated from the location information of the macroblock and stores the quantized DC coefficients in the corresponding location. In addition, the DC coefficient predictor 20 reads DC coefficient values of adjacent blocks to be used for prediction from the position of the macroblock from the frame memory 10. The DC coefficients of the input macroblocks are predicted using the DC coefficients of adjacent blocks, and an error signal between the predicted value and the input DC coefficients is output.

도 2 는 상기 도 1의 메모리 갱신기(30)를 상세히 설명한 것이다.도 2에서, "x,y"는 예측되어질 매크로블록의 위치정보이고, "QDC"는 예측되어질 매크로블록의 직류 계수값이다. 또한, "Addr."은 갱신될 프레임 메모리(10)의 위치를 저장하는 값이며, "QDCU"는 프레임 메모리(10)에 저장되는 값이다.메모리 갱신기(30)는 예측되어질 매크로블록이 위치 정보와 직류 계수값들을 입력받아, 해당 위치의 2차원 메모리에 저장된 값을 갱신한다. 도 2에서 빗금친 부분은 갱신될 메모리의 위치를 나타낸다.2 illustrates the memory updater 30 of FIG. 1 in detail. In FIG. 2, "x, y" is position information of a macroblock to be predicted, and "QDC" is a DC coefficient value of the macroblock to be predicted. . In addition, "Addr." Is a value for storing the position of the frame memory 10 to be updated, "QDC U " is a value stored in the frame memory 10. The memory updater 30 is a macroblock to be predicted Receives the position information and the DC coefficient values, and updates the value stored in the two-dimensional memory of the corresponding position. In Fig. 2, the hatched parts indicate the locations of the memory to be updated.

도 3a 및 3b 는 상기 도 1의 직류 계수 예측기(10)를 상세히 설명한 것으로, 도 3a 는 직류 계수 예측기와 프레임 메모리간의 관계를 설명한 것이고, 도 3b 는 직류 계수 예측 방법을 설명한 것이다.직류 계수 예측기(20)는 예측되어질 매크로블록의 위치정보를 입력받아, 프레임 메모리(10)에 저장되어 있는 인접블록들의 직류 계수값을 입력받는다. 여기서, 도 3a에 빗금친 부분은 예측되어질 매크로블록의 직류 계수값이 저장될 위치를 나타내며, 검게 표시된 부분은 프레임 메모리(10)로부터 입력받을 인접블록의 직류 계수값이 저장된 위치를 나타낸다.3A and 3B illustrate the DC coefficient predictor 10 of FIG. 1 in detail, FIG. 3A illustrates the relationship between the DC coefficient predictor and the frame memory, and FIG. 3B illustrates the DC coefficient predictive method. 20) receives position information of a macroblock to be predicted, and receives DC coefficient values of adjacent blocks stored in the frame memory 10. 3A shows a position where the DC coefficient value of the macroblock to be predicted is stored, and a black portion shows the position where the DC coefficient value of the adjacent block to be input from the frame memory 10 is stored.

그리고, 도 3b에서는 입력받은 인접블록들의 직류 계수값과 예측되어질 매크로블록의 직류 계수값들을 사용한 예측방법을 보여 준다.In addition, FIG. 3B shows a prediction method using DC coefficient values of input neighboring blocks and DC coefficient values of a macroblock to be predicted.

X1을 예측하기 위해서 X1의 인접블록의 직류 계수값들인 M00, M01, M10을 이용한다. 에측값 PX1은 다음의 [수학식1]과 같이 인접블록의 직류 계수값 사이의 변환율을 사용하여 결정한다.To predict X1, DC coefficients M 00 , M 01 , and M 10 of adjacent blocks of X1 are used. The predicted value P X1 is determined using the conversion rate between DC coefficient values of adjacent blocks as shown in Equation 1 below.

매크로블록내의 나머지 직류 계수값, 즉 X2, X3, X4 또한 이와 비슷한 방법으로 예측을 수행한다. 즉, X2의 예측값 PX2를 위해서는 M01, M02, X1을, X3의 예측값 PX3를 위해서는 M10, M20, X1을, X4의 예측값 PX4를 위해서는 X1, X2, X3을 각각 M00, M01,M10을 대신하여 사용한다.The remaining DC coefficients in the macroblock, i.e., X2, X3, X4, also perform prediction in a similar manner. That is, the order of the predicted value P X2 of X2 M 01, M 02, X 1, to the prediction value P X3 of X3 M 10, M 20, the X 1, to the prediction value P X4 of X4 to X1, X2, X3 respectively It is used in place of M 00 , M 01 , M 10 .

상기 직류 계수값 PX1, PX2, PX3, PX4는 매크로블록내의 직류 계수값 X1, X2, X3, X4와 각각 차분되어 QDCP로 출력된다.The DC coefficient values P X1 , P X2 , P X3 and P X4 are respectively different from the DC coefficient values X1, X2, X3 and X4 in the macroblock and outputted to QDC P.

그러나, 상기와 같은 종래의 직류 계수 예측 방법은, 부호화 효율을 높일 수 있는 장점이 있는 반면, 모든 매크로블록의 직류 계수값을 저장해야 하므로 많은 메모리가 사용되는 문제점이 있었다.However, the conventional DC coefficient prediction method as described above has the advantage of improving the coding efficiency, but has a problem in that a large amount of memory is used because DC coefficient values of all macroblocks must be stored.

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 영상 시스템(영상 부호화기 및 영상 복호화기)에서 직류(DC) 계수 예측에 필요한 메모리를 한 개의 라인 메모리와 두 개의 점 메모리로 최소화하기 위한 직류 계수 예측/복원장치 및 그 방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and to minimize the memory required for DC coefficient prediction in an image system (image encoder and image decoder) to one line memory and two point memories. It is an object of the present invention to provide a DC coefficient predictor / restoration apparatus and a method thereof.

도 1 은 종래의 영상 시스템에서 직류 계수 예측 장치의 구성도.1 is a block diagram of a DC coefficient prediction device in a conventional imaging system.

도 2 는 상기 도 1의 메모리 갱신기에 대한 설명도.2 is an explanatory diagram of the memory updater of FIG.

도 3a 및 3b 는 상기 도 1의 직류 계수 예측기에 대한 설명도.3A and 3B are explanatory diagrams of the DC coefficient predictor of FIG. 1.

도 4 는 본 발명에 따른 영상 시스템에서 직류 계수 예측 장치의 일실시예 구성도.4 is a configuration diagram of an embodiment of a DC coefficient predicting apparatus in an image system according to the present invention;

도 5 는 본 발명에 따른 상기 도 4의 메모리 갱신기에 대한 일실시예 상세 설명도.FIG. 5 is a detailed diagram of one embodiment of the memory updater of FIG. 4 according to the present invention; FIG.

도 6 은 본 발명에 따른 상기 도 4의 직류 계수 예측기에 대한 일실시예 상세 설명도.6 is a detailed diagram illustrating an embodiment of the DC coefficient predictor of FIG. 4 according to the present invention;

도 7 은 본 발명에 따른 직류 계수를 복원하는 직류 계수 복원 장치의 일실시예 구성도.7 is a configuration diagram of an embodiment of a DC coefficient restoration device for restoring a DC coefficient according to the present invention.

도 8 은 본 발명에 따른 메모리 갱신기의 다른 실시예 구성도.8 is a block diagram of another embodiment of a memory updater according to the present invention;

도 9 는 본 발명에 따른 직류 계수 예측기의 다른 실시예 구성도.9 is a block diagram of another embodiment of a DC coefficient predictor according to the present invention;

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

100, 500 : 메모리 갱신기 200, 400, 700 : 메모리100, 500: memory updater 200, 400, 700: memory

210, 220, 420, 430, 720 : 점 메모리210, 220, 420, 430, 720: Point Memory

230, 410, 710 : 라인 메모리230, 410, 710: line memory

300 : 직류 계수 예측기 600 : 직류 계수 복원기300: DC coefficient predictor 600: DC coefficient restorer

상기 목적을 달성하기 위한 본 발명은, 영상 시스템의 직류 계수 예측 장치에 있어서, 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하기 위한 메모리 갱신수단; 상기 메모리 갱신수단으로부터 전달되는 입력 매크로블록의 직류 계수값을 저장하고, 출력 어드레스에 따라 저장된 직류 계수값을 출력하기 위한 상기 메모리; 및 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 매크로블록과 인접한 블록의 직류 계수값을 차분하여, 그 차분 결과치를 직류 계수값으로 출력하며, 메모리 갱신이 이루어지도록 상기 메모리 갱신수단으로 상기 인에이블 신호를 전달하기 위한 직류 계수 예측수단을 포함하되, 상기 메모리는, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하기 위한 점 메모리; 및 입력 매크로블록의 상단에 인접하는 블록의 직류 계수값을 저장하기 위한 라인 메모리를 포함하여 이루어진 것을 특징으로 한다.그리고, 본 발명은 영상 시스템의 직류 계수 예측 방법에 있어서, 메모리 갱신기가 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하는 제 1 단계; 상기 제 1 단계에서 상기 메모리에 직류 계수값을 저장할 때, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 점 메모리에 저장하고, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 라인 메모리에 저장하는 제 2 단계; 및 직류 계수 예측기가 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 매크로블록과 인접한 블록의 직류 계수값을 차분하고, 그 차분 결과치를 직류 계수값으로 출력하는 제 3 단계를 포함하여 이루어진 것을 특징으로 한다.한편, 본 발명은 영상 시스템의 직류 계수 복원 장치에 있어서, 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하기 위한 메모리 갱신수단; 상기 메모리 갱신수단으로부터 전달되는 입력 매크로블록의 직류 계수값을 저장하고, 출력 어드레스에 따라 저장된 직류 계수값을 출력하기 위한 상기 메모리; 및 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 상기 매크로블록과 인접한 블록의 직류 계수값을 가산하고, 그 가산 결과치를 복원된 직류 계수값으로 출력하며, 메모리 갱신이 이루어지도록 상기 메모리 갱신수단에 상기 인에이블 신호를 전달하는 직류 계수 복원수단을 포함하되, 상기 메모리는, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하기 위한 점 메모리; 및 입력 매크로블록의 상단에 인접하는 블록의 직류 계수값을 저장하기 위한 라인 메모리를 포함하여 이루어진 것을 특징으로 한다.그리고, 본 발명은 영상 시스템의 직류 계수 복원 방법에 있어서, 메모리 갱신기가 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하는 제 1 단계; 상기 제 1 단계에서 상기 메모리에 직류 계수값을 저장할 때, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 점 메모리에 저장하고, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 라인 메모리에 저장하는 제 2 단계; 및 직류 계수 복원기가 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 매크로블록과 인접한 블록의 직류 계수값을 가산하고, 그 가산 결과치를 복원된 직류 계수값으로 출력하는 제 3 단계를 포함하여 이루어진 것을 특징으로 한다.본 발명은 상기 종래 방법이 많은 양의 메모리를 사용하는 문제점을 해결하기 위해, 종래 방법이 하나의 프레임(frame) 메모리를 사용하는데 반해, 한 개의 라인(line) 메모리와 두 개의 점(dot) 메모리를 사용함으로써 DC 계수 예측을 위한 메모리의 사용을 최소화하도록 한다.즉, 본 발명은 직류(DC) 계수 예측에 필요한 메모리를 한 개의 라인 메모리와 두 개의 점 메모리로 최소화할 수 있는 영상 시스템에서 직류 계수 예측/복원 장치 및 그 방법에 관한 것으로서, 직류 계수 예측시 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리내 두 개의 점 메모리와 라인 메모리에 저장하고, 상기 입력되는 매크로블록의 직류 값과 상기 메모리에서 출력되는 직류 계수값을 차분하고, 그 차분 결과치를 예측된 직류 계수값으로 출력하는 과정으로 직류 계수를 예측한다.따라서, 본 발명은 영상 압축 기법을 이용하는 통신장치와 멀티미디어 장치 등에 사용되는 모든 부호화와 복호화 장치에 이용될 수 있다.상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.According to the present invention for achieving the above object, in the DC coefficient predicting apparatus of the imaging system, after receiving the horizontal position information of the input macroblock and the DC coefficient value of the input macroblock, according to the enable signal for controlling the memory update Memory updating means for storing the received horizontal position information and the DC coefficient of the input macroblock in a memory; The memory for storing a direct current coefficient value of an input macroblock transmitted from the memory updating means and outputting a stored direct current coefficient value according to an output address; And a DC coefficient value of an input macro block and a DC coefficient value of a block adjacent to the macro block output from the memory, and outputs the difference result value as a DC coefficient value to the memory updating means to perform a memory update. And a direct current coefficient predicting means for transmitting an enable signal, wherein the memory comprises: a point memory for storing a direct current coefficient value of a block adjacent to a left end of an input macroblock; And a line memory for storing a DC coefficient value of a block adjacent to an upper end of the input macroblock. The present invention provides a method of predicting a DC coefficient of a video system, wherein the memory updater includes: an input macroblock; A first step of storing the horizontal position information and the DC coefficient value of the input macroblock according to the enable signal for controlling the memory update after receiving the horizontal position information and the DC coefficient value of the input macroblock; When the DC coefficient value is stored in the memory in the first step, the DC coefficient values of two adjacent blocks at the left end of the input macroblock are stored in the point memory, and the DC coefficient values of the blocks adjacent to the upper end of the input macroblock are lined. Storing in memory; And a third step of the DC coefficient predictor differentiating the DC coefficient value of the input macroblock and the DC coefficient value of the block adjacent to the macroblock output from the memory, and outputting the difference result value as the DC coefficient value. According to an embodiment of the present invention, in a DC coefficient restoring apparatus of an imaging system, after receiving horizontal position information of an input macroblock and DC coefficient value of an input macroblock, the horizontal coefficient received according to an enable signal for controlling memory update is input. Memory updating means for storing the position information and the DC coefficient of the input macroblock in a memory; The memory for storing a direct current coefficient value of an input macroblock transmitted from the memory updating means and outputting a stored direct current coefficient value according to an output address; And adding a DC coefficient value of an input macroblock and a DC coefficient value of a block adjacent to the macroblock output from the memory, outputting the addition result as a restored DC coefficient value, and updating the memory to perform a memory update. And a DC coefficient restoring means for transmitting the enable signal to the memory, wherein the memory comprises: a point memory for storing a DC coefficient value of a block adjacent to a left end of an input macroblock; And a line memory for storing a DC coefficient value of a block adjacent to an upper end of the input macroblock. The present invention provides a method for restoring a DC coefficient of an image system. A first step of storing the horizontal position information and the DC coefficient value of the input macroblock according to the enable signal for controlling the memory update after receiving the horizontal position information and the DC coefficient value of the input macroblock; When the DC coefficient value is stored in the memory in the first step, the DC coefficient values of two adjacent blocks at the left end of the input macroblock are stored in the point memory, and the DC coefficient values of the blocks adjacent to the upper end of the input macroblock are lined. Storing in memory; And a third step of the DC coefficient recoverer adding a DC coefficient value of an input macro block and a DC coefficient value of a block adjacent to the macro block output from the memory and outputting the addition result as a restored DC coefficient value. In order to solve the problem of the conventional method using a large amount of memory, the present invention uses one frame memory, whereas the conventional method uses one frame memory. The use of dot memory minimizes the use of memory for DC coefficient prediction. That is, the present invention can minimize the memory required for DC coefficient prediction to one line memory and two point memories. The present invention relates to a DC coefficient predictor / restoration apparatus and a method thereof in an imaging system. After receiving the DC coefficients of the beam and input macroblocks, the horizontal position information and DC coefficients of the input macroblocks are stored in two point memory and line memory in the memory according to the enable signal controlling memory update. The DC coefficient is predicted by dividing the DC value of the input macroblock and the DC coefficient output from the memory, and outputting the difference result value as a predicted DC coefficient value. The present invention can be used in all encoding and decoding apparatuses used in communication apparatuses and multimedia apparatuses. The above objects, features, and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4 는 본 발명에 따른 영상 시스템에서 직류 계수 예측 장치의 일실시예 구성도로서, "100"은 메모리 갱신기, "200"은 메모리, 그리고 "300"은 직류 계수 예측기를 각각 나타낸다.도 4에 도시된 바와 같이, 본 발명에 따른 직류 계수 예측 장치는, 하나의 라인 메모리(230)와 점 메모리(210,220)로 구성된 메모리(200)와, 인접 블록들의 직류 계수값을 사용하여 현재 블록의 직류값을 예측하고 차분된 직류 계수값을 출력하는 직류 계수 예측기(300)와, 입력 블록의 직류값을 메모리 회로에 저장하는 메모리 갱신기(100)를 포함한다.메모리 갱신기(100)는 입력 매크로블록의 가로 위치 정보(X)와 입력 매크로블록의 직류 계수값(QDC)을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리(200)에 저장한다.메모리(200)는 메모리 갱신기(100)에서 전달되는 입력 매크로블록의 직류 계수값을 저장하고, 출력 어드레스에 따라 저장한 직류 계수값을 출력한다.직류 계수 예측기(300)는 입력되는 매크로블록의 직류값과 메모리(200)에서 출력되는 매크로블록과 인접한 블록의 직류값을 차분하고, 그 차분 결과치를 직류 계수값(QDCP)으로 출력하고, 메모리 갱신이 이루어지도록 메모리 갱신기(200)에 인에이블 신호(Enable)를 전달해 준다.4 is a diagram illustrating an embodiment of a DC coefficient predicting apparatus in an image system according to the present invention, in which “100” represents a memory updater, “200” represents a memory, and “300” represents a DC coefficient predictor, respectively. As shown in FIG. 2, the DC coefficient predicting apparatus according to the present invention uses a memory 200 including one line memory 230 and point memories 210 and 220 and a DC coefficient of a current block using DC coefficient values of adjacent blocks. A DC coefficient predictor 300 for predicting the value and outputting the differential DC coefficient value, and a memory updater 100 for storing the DC value of the input block in the memory circuit. The memory updater 100 includes an input macro. After receiving the horizontal position information (X) of the block and the DC coefficient value (QDC) of the input macroblock, the received horizontal position information and the DC coefficient value of the input macroblock are stored according to the enable signal controlling memory update. On 200) The memory 200 stores the DC coefficient value of the input macroblock transmitted from the memory updater 100 and outputs the DC coefficient value stored according to the output address. The DC coefficient predictor 300 is inputted. The DC value of the macroblock and the DC value of the block adjacent to the macroblock output from the memory 200 are differentiated, the difference result is output as the DC coefficient value QDC P , and the memory updater 200 is configured to update the memory. Deliver enable signal (Enable).

여기서, 메모리(200)는 좌단에 위치하는 두 개의 인접 블록의 직류 계수값을 저장하기 위한 두 개의 점 메모리(210,220)와, 입력되는 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 저장하기 위한 라인 메모리(230)로 구성된다.Here, the memory 200 includes two point memories 210 and 220 for storing DC coefficient values of two adjacent blocks located at the left end, and DC coefficient values for blocks adjacent to the upper end of the input macroblock. Line memory 230.

본 발명에 의한 직류 계수 예측 장치는, 예측되는 매크로블록의 위치를 나타내기 위해 매크로블록의 가로 위치 정보(X)만이 입력되며, 직류 계수 예측기(300)의 예측 동작이 종료된 후 메모리(200)가 갱신되도록 직류 계수 예측기(300)에서 출력되는 인에이블 신호가 메모리 갱신기(100)에 전달된다.DC 계수 예측시에, 예측되어질 매크로블록의 상단과 좌단에 인접한 블록의 DC 계수값만이 추가로 사용된다. 그러므로, 좌단에 위치하는 두 개의 인접 블록의 DC 계수값을 저장하기 위한 점 메모리(210,220)와 상단에 인접하는 블록들을 위한 하나의 라인 메모리(230)만을 사용하여 DC 계수 예측을 구현할 수 있다.In the DC coefficient predicting apparatus according to the present invention, only the horizontal position information X of the macro block is input to indicate the predicted position of the macro block, and the memory 200 after the prediction operation of the DC coefficient predictor 300 is finished. The enable signal output from the DC coefficient predictor 300 is transmitted to the memory updater 100 so that is updated. In DC coefficient prediction, only DC coefficient values of blocks adjacent to the upper and left ends of the macroblock to be predicted are added. Used as Therefore, DC coefficient prediction may be implemented using only point memories 210 and 220 for storing DC coefficient values of two adjacent blocks located at the left end and one line memory 230 for blocks adjacent to the upper end.

이하에서는 각 블록을 좀 더 상세히 설명한다.Hereinafter, each block will be described in more detail.

도 5 는 상기 도 4의 메모리 갱신기(100)의 동작을 상세히 설명한 것이다.도 5에서, 메모리(200)내의 빗금친 부분은 입력 매크로블록의 직류 계수를 나타낸다.5 illustrates the operation of the memory updater 100 of FIG. 4 in detail. In FIG. 5, hatched portions in the memory 200 represent direct current coefficients of the input macroblock.

먼저, 두 개의 점 메모리(210,220)들 중 하단에 위치하는 점 메모리(220)에 저장되어 있는 직류 계수값을 라인 메모리(230)의 X-1 위치에 저장한다. 다음으로, 입력 매크로블록의 좌하단에 위치하는 블록의 직류 계수값을 라인 메모리(230)의 X위치에 저장하여 다음 열에 해당하는 매크로블록의 직류 계수값의 예측에 사용되도록 저장한다. 그런 후, 다음에 입력되는 매크로블록의 직류 계수값 예측을 위하여 매크로블록의 상단에 위치하는 두 개의 직류 계수값을 각각 해당하는 위치의 점 메모리(210,220)에 저장한다. 즉, 메모리 갱신을 위하여, 하나의 점 메모리(220)와 입력 매크로블록내 좌하단에 위치한 블록의 직류 계수값을 라인 메모리(230)에 저장하고, 이후 입력 매크로블록내 상단에 위치하는 두 블록의 직류 계수값을 두 개의 점 메모리(210,220)에 각각 저장한다.이때, 메모리 갱신에 의한 직류 계수 예측기(300)의 오동작을 방지하기 위해서, 직류 계수 예측기(300)로부터 인에이블 신호가 메모리 갱신기(100)에 전달되고, 메모리 갱신기(100)는 그 인에이블 신호가 입력되면 메모리 갱신 동작을 수행한다. 즉, 입력 매크로블록에 대하여 먼저 직류 계수 예측기(300)가 동작하고, 그 다음에 메모리 갱신기(100)가 동작하도록 한다. 즉, 메모리 갱신에 의한 직류 계수 예측기(300)의 오동작을 막기 위하여, 직류 계수 예측기(300)로부터의 인에이블 신호에 의해 메모리 갱신기(100)가 동작하도록 하여 입력 매크로블록에 대해 항상 직류 계수 예측기(300)가 먼저 동작하도록 보장한다.First, the DC coefficient value stored in the point memory 220 positioned at the bottom of the two point memories 210 and 220 is stored at the X-1 position of the line memory 230. Next, the DC coefficient value of the block located at the lower left end of the input macroblock is stored at the X position of the line memory 230 to be used to predict the DC coefficient value of the macroblock corresponding to the next column. Thereafter, two DC coefficient values positioned at the top of the macro block are stored in the point memories 210 and 220 of the corresponding positions, respectively, in order to predict DC coefficient values of the next macroblock. That is, in order to update the memory, the DC coefficient values of one point memory 220 and the block located at the lower left of the input macroblock are stored in the line memory 230, and then the two blocks located at the top of the input macroblock are stored. The DC coefficient values are stored in the two point memories 210 and 220, respectively. In this case, in order to prevent a malfunction of the DC coefficient predictor 300 due to the memory update, the enable signal is output from the DC coefficient predictor 300 to the memory updater ( 100, the memory updater 100 performs a memory update operation when the enable signal is input. That is, the DC coefficient predictor 300 first operates on the input macroblock, and then the memory updater 100 operates. That is, in order to prevent the DC coefficient predictor 300 from malfunctioning due to the memory update, the memory updater 100 operates by the enable signal from the DC coefficient predictor 300 so that the DC coefficient predictor is always operated on the input macroblock. Ensure that 300 operates first.

도 6 은 상기 도 4의 직류 계수 예측기(300)의 동작을 상세히 설명한 것이다.6 illustrates the operation of the DC coefficient predictor 300 of FIG. 4 in detail.

메모리(200)내 라인 메모리(230)는 입력 매크로블록의 상단에 인접하는 블록의 직류 계수값을 저장하고 있고, 두 개의 점 메모리(210,220)는 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하고 있다. 따라서, 직류 계수 예측기(300)는 입력 매크로블록의 가로 방향 위치 정보(X)를 입력받아, 직류 계수 예측에 사용할 인접 블록의 직류 계수값을 메모리(200)로부터 인출한다. 여기서, 메모리(200)내 블록중 빗금친 부분은 입력 매크로블록을 나타내는데, 실제로 메모리(200)에는 존재하지 않으며, 단지 설명의 편의를 위해 표시한 것이다. 아울러, 검은색으로 표시된 부분은 입력 매크로블록의 인접 블록을 나타낸다. 그리고, 직류 계수 예측기(300)의 예측 동작은 종래 동작과 동일하므로 생략하기로 한다.The line memory 230 in the memory 200 stores a DC coefficient value of a block adjacent to the upper end of the input macroblock, and the two point memories 210 and 220 store DC coefficient values of a block adjacent to the left end of the input macroblock. Is saving. Accordingly, the DC coefficient predictor 300 receives the horizontal positional information X of the input macroblock and extracts the DC coefficient value of the adjacent block to be used for DC coefficient prediction from the memory 200. Here, the hatched portions of the blocks in the memory 200 represent input macroblocks, which are not actually present in the memory 200 and are merely shown for convenience of description. In addition, the portions shown in black represent adjacent blocks of the input macroblock. Since the prediction operation of the DC coefficient predictor 300 is the same as the conventional operation, it will be omitted.

이상 설명한 바는 직류 계수의 예측에 대한 설명이며, 상기 방법에 의해 부호화된 데이터를 복호화하는 경우에는 예측된 직류 계수를 복원해야 한다.The above is a description of the prediction of the DC coefficient, and when decoding the data encoded by the method, the predicted DC coefficient should be restored.

도 7 은 본 발명에 따른 상기와 같이 예측된 직류 계수를 복원하는 직류 계수 복원 장치의 일실시예 구성도로서, "400"은 메모리, "500"은 메모리 갱신기, 그리고 "600"은 직류 계수 복원기를 나타낸다.7 is a configuration diagram of a DC coefficient restoring apparatus for restoring the DC coefficient predicted as described above according to the present invention, in which “400” is a memory, “500” is a memory updater, and “600” is a DC coefficient. Indicates a restorer.

여기서, 메모리(400)는 도 4와 마찬가지로 하나의 라인 메모리(410)와 두 개의 점 메모리(420)(430)로 구성된다.Here, the memory 400 includes one line memory 410 and two point memories 420 and 430 as in FIG. 4.

입력으로는 매크로블록의 가로 방향의 위치 정보(X)와 복원될 신호 QDCE이고, 복원된 매크로블록의 직류 계수 값들의 집합인 QDC를 복원된 직류 계수값으로 출력한다.The input includes the position information X in the horizontal direction of the macroblock and the signal QDC E to be restored, and outputs QDC, which is a set of DC coefficient values of the restored macroblock, as a restored DC coefficient value.

한편, 직류 계수 복원기(600)는 입력 매크로블록의 가로 방향의 위치를 입력받아, 도 6에서 설명한 것과 같이 인접 블록의 직류 계수값을 메모리(400)로부터 전달받고, 그 값과 입력되는 매크로블록의 직류 계수값을 가산하여 입력 매크로블록의 복원된 직류 계수값(QDC)으로 출력한다.Meanwhile, the DC coefficient restorer 600 receives the horizontal position of the input macro block, receives the DC coefficient value of the adjacent block from the memory 400 as described with reference to FIG. 6, and inputs the macro block with the value. The DC coefficient is added and output as a restored DC coefficient of the input macroblock (QDC).

아울러, 메모리 갱신기(500)는 도 5에서 설명한 방법과 동일한 방법으로 메모리(400)를 갱신한다.In addition, the memory updater 500 updates the memory 400 in the same manner as described with reference to FIG. 5.

도 8 및 도 9 는 본 발명에 따른 메모리 갱신기 및 직류 계수 예측기의 다른 실시예 구성도이다.8 and 9 are diagrams illustrating another embodiment of the memory updater and the DC coefficient predictor according to the present invention.

하나의 매크로블록은 주지한 바와 같이 색상 신호 정보를 포함하는 4개의 블록과 색차신호 정보를 포함하는 2개의 블록으로 구성된다. 그리고, 색상 신호정보는 영상의 밝기 값을 표현하는데 반해, 색차정보는 영상의 실제 색을 표현하는데 사용된다. 아울러, 색상신호 블록의 직류 계수 예측이 4개의 블록 단위로 수행되는데 반해, 색차신호 블록의 직류 계수 예측은 한 개의 블록단위로 수행된다. 그러므로, 색차신호 블록의 직류 계수 예측을 위해서 도 5 및 도 6에서 각각 하나의 라인 메모리와 두 개의 점 메모리는, 도 8 및 도 9와 같이 각각 하나의 라인 메모리와 하나의 점 메모리로 대치할 수 있다.As is well known, one macroblock includes four blocks including color signal information and two blocks including color difference signal information. The color signal information represents the brightness value of the image, while the color difference information is used to represent the actual color of the image. In addition, the DC coefficient prediction of the color signal block is performed in units of four blocks, whereas the DC coefficient prediction of the color difference signal block is performed in units of one block. Therefore, in order to predict the DC coefficient of the color difference signal block, one line memory and two point memories may be replaced with one line memory and one point memory, respectively, as shown in FIGS. 8 and 9. have.

도 8에 도시된 메모리 갱신기(100)는 점 메모리(720)에 저장된 직류 계수값을 라인 메모리(710)의 X-1의 위치에 저장하여, 다음 줄의 입력 블록의 예측에 사용한다.The memory updater 100 shown in FIG. 8 stores the DC coefficient value stored in the point memory 720 at the position X-1 of the line memory 710 and uses the prediction block for the next input block.

그리고, 도 9에 도시된 직류 계수 예측기(300)는 메모리(700)내의 라인 메모리(710)의 X-1, X에 위치하는 내용과 점 메모리(720)에 위치하는 내용을 사용하여 입력 블록의 직류 계수값을 예측하고, 그 예측값과 입력 블록의 직류 계수값 사이의 차신호를 복원된 직류 계수값(QDC)으로 출력한다. 여기서, 직류 계수 예측기 (300)의 자세한 예측 동작은 도 3의 직류 계수 예측 동작중 X1 블록만을 예측하는 동작을 수행한다.상기한 바와 같은 본 발명에 따르면, 입력 매크로블록의 직류 계수 예측을 위해서 사용되는 메모리를 라인 메모리와 두 개의 점 메모리로만 구성하여 입력 매크로블록의 직류 계수를 예측할 수 있으므로, 기존 프레임 메모리의 사용에 비해 메모리량을 최소화시킬 수 있는 이점이 있다.예를 들면, 가로방향으로 352, 세로 방향으로 288개의 화소로 이루어진 영상 신호의 색상정보를 부호화할 때, 종래의 기술을 사용하여 DC 계수를 예측하는 경우에는 1584개의 기억 장소가 필요하나, 본 발명에서는 46개의 기억 장소만으로 직류 계수를 예측할 수 있으므로 메모리 사용을 최소화할 수 있다. 또한, 주지한 바와 같이 메모리 사용의 최소화로 인해 예측 장치를 IC 칩으로 구현할 때 칩 사이즈를 줄일 수 있고, 전체적인 영상 부호화 및 복호화 장치의 회로 구현을 간소화시킬 수 있는 이점이 있다.상기에서, 메모리에 직류계수값을 저장할 때, 보다 바람직한 실시예로 입력 매크로블록의 좌단 두 개의 인접블록의 직류계수값을 점메모리에 저장하고, 입력 매크로블록의 상단에 인접하는 블록들의 직류계수값을 라인메모리에 저장함을 가정하였으나, 이에 한정되지 않고, 입력 매크로블록의 좌단 두 개의 인접블록의 직류 계수값을 점메모리에 저장하고, 입력 매크로블록의 우단에 인접하는 블록들의 직류 계수값을 라인메모리에 저장하도록 구성할 수도 있으며, 이러한 경우에도 본 실시예와 동일한 것으로 보아야 함은 자명하다.이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The DC coefficient predictor 300 shown in FIG. 9 uses the contents located in X-1 and X of the line memory 710 in the memory 700 and the contents located in the point memory 720 to display the input block. A DC coefficient value is predicted, and a difference signal between the predicted value and the DC coefficient value of the input block is output as a restored DC coefficient value QDC. Here, the detailed prediction operation of the DC coefficient predictor 300 performs an operation of predicting only the X1 block during the DC coefficient prediction operation of FIG. 3. According to the present invention as described above, the DC coefficient predictor 300 is used for DC coefficient prediction of an input macroblock. Since the memory can be composed only of the line memory and the two point memories, the DC coefficient of the input macroblock can be predicted, so that the amount of memory can be minimized compared to the use of the existing frame memory. When encoding the color information of an image signal consisting of 288 pixels in the vertical direction, when predicting the DC coefficient using a conventional technique, 1584 storage locations are required. Can be predicted to minimize memory usage. In addition, as noted, due to the minimization of memory use, the chip size may be reduced when the prediction apparatus is implemented as an IC chip, and the circuit implementation of the overall image encoding and decoding apparatus may be simplified. When storing the DC coefficient value, in a preferred embodiment, the DC coefficient values of two adjacent blocks at the left end of the input macroblock are stored in the point memory, and the DC coefficient values of blocks adjacent to the upper end of the input macroblock are stored in the line memory. However, the present invention is not limited thereto, and the DC coefficient values of two adjacent blocks at the left end of the input macroblock are stored in the point memory, and the DC coefficient values of blocks adjacent to the right end of the input macroblock are stored in the line memory. Obviously, in this case, it should be considered as the same as the present embodiment. The present invention is limited to the above-described embodiments and the accompanying drawings as various permutations, modifications, and changes are possible to those skilled in the art without departing from the technical spirit of the present invention. It is not.

상기한 바와 같은 본 발명은, DC 계수 예측을 위한 메모리 사용량을 최소화 할 수 있으며, 이로 인해 DC 예측 방법을 IC 칩에 구현할 경우 보다 적은 칩 사이즈에 구현할 수 있고, 회로 기판을 사용하여 구현할 때 보다 적은 메모리 칩을 사용하기 때문에 기판의 사이즈를 절약할 수 있는 효과가 있다.As described above, the present invention can minimize the memory usage for the DC coefficient prediction, and thus, the DC prediction method can be implemented in a smaller chip size when implemented in an IC chip, and less when implemented using a circuit board. Since the memory chip is used, the size of the substrate can be saved.

Claims (16)

영상 시스템의 직류 계수 예측 장치에 있어서,In the DC coefficient prediction apparatus of an imaging system, 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하기 위한 메모리 갱신수단;After receiving the horizontal position information of the input macroblock and the DC coefficient value of the input macroblock, the memory for storing the horizontal position information and the DC coefficient value of the input macroblock in memory according to the enable signal for controlling the memory update. Updating means; 상기 메모리 갱신수단으로부터 전달되는 입력 매크로블록의 직류 계수값을 저장하고, 출력 어드레스에 따라 저장한 직류 계수값을 출력하기 위한 상기 메모리; 및The memory for storing a DC coefficient value of an input macroblock transmitted from the memory updating means and outputting a DC coefficient value stored according to an output address; And 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 매크로블록과 인접한 블록의 직류 계수값을 차분하여, 그 차분 결과치를 직류 계수값으로 출력하며, 메모리 갱신이 이루어지도록 상기 메모리 갱신수단으로 상기 인에이블 신호를 전달하기 위한 직류 계수 예측수단을 포함하되,The DC coefficient value of the input macroblock and the DC coefficient value of the block adjacent to the macroblock outputted from the memory are differentiated, and the difference result value is output as the DC coefficient value, and the enable is enabled to the memory updating means to perform a memory update. DC coefficient prediction means for transmitting a signal, 상기 메모리는,The memory, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하기 위한 점 메모리; 및A point memory for storing a DC coefficient value of a block adjacent to the left end of the input macroblock; And 입력 매크로블록의 상단에 인접하는 블록의 직류 계수값을 저장하기 위한 라인 메모리를 포함하여 이루어진 것을 특징으로 하는 영상 시스템에서 직류 계수 예측 장치.And a line memory for storing a DC coefficient value of a block adjacent to an upper end of the input macroblock. 제 1 항에 있어서,The method of claim 1, 상기 메모리는,The memory, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 저장하기 위한 두 개의 상기 점 메모리; 및Two said point memories for storing direct current coefficient values of two adjacent blocks at the left end of an input macroblock; And 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 저장하기 위한 상기 라인 메모리를 포함하되,A line memory for storing direct current coefficient values of blocks adjacent to an upper end of an input macroblock; 상기 메모리 갱신수단은,The memory updating means, 하나의 상기 점 메모리와 입력 매크로블록내 좌하단에 위치한 블록의 직류 계수값을 상기 라인 메모리에 저장하고, 이후 입력 매크로블록내 상단에 위치하는 두 블록의 직류 계수값을 두 개의 상기 점 메모리에 각각 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 예측 장치.The DC coefficient values of the block located at the lower left end of the one point memory and the input macroblock are stored in the line memory, and the DC coefficient values of the two blocks located at the top of the input macroblock are respectively stored in the two point memories. DC coefficient prediction apparatus in the imaging system, characterized in that for storing. 제 1 항에 있어서,The method of claim 1, 상기 메모리는,The memory, 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하기 위한 하나의 상기 점 메모리; 및One said point memory for storing the DC coefficient value of the block adjacent to the left end of the input macroblock when predicting the DC coefficient of the color difference signal; And 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 저장하기 위한 상기 라인 메모리를 포함하며,And, in the DC coefficient prediction of the color difference signal, the line memory for storing DC coefficient values of blocks adjacent to an upper end of the input macroblock, 상기 메모리 갱신수단은,The memory updating means, 하나의 상기 점 메모리의 내용을 상기 라인 메모리에 저장하고, 이후 입력 블록의 직류 계수값을 하나의 상기 점 메모리에 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 예측 장치.And a DC coefficient value of an input block is stored in one of the dot memories, and the contents of one point memory are stored in the line memory. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 직류 계수 예측수단은,The DC coefficient prediction means, 입력 매크로블록의 직류 계수 예측이 완료된 후, 상기 메모리 갱신수단에 인에이블 신호를 발생해 주어 상기 메모리가 갱신되도록 제어하는 것을 특징으로 하는 영상 시스템에서 직류 계수 예측 장치.After the DC coefficient prediction of the input macroblock is completed, an enable signal is generated to the memory updating means to control the memory to be updated. 삭제delete 영상 시스템의 직류 계수 예측 방법에 있어서,In the DC coefficient prediction method of an imaging system, 메모리 갱신기가 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하는 제 1 단계;After the memory updater receives the horizontal position information of the input macroblock and the DC coefficient value of the input macroblock, the received horizontal position information and the DC coefficient value of the input macroblock are stored in the memory according to the enable signal controlling the memory update. A first step of making; 상기 제 1 단계에서 상기 메모리에 직류 계수값을 저장할 때, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 점 메모리에 저장하고, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 라인 메모리에 저장하는 제 2 단계; 및When the DC coefficient value is stored in the memory in the first step, the DC coefficient values of two adjacent blocks at the left end of the input macroblock are stored in the point memory, and the DC coefficient values of the blocks adjacent to the upper end of the input macroblock are lined. Storing in memory; And 직류 계수 예측기가 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 매크로블록과 인접한 블록의 직류 계수값을 차분하고, 그 차분 결과치를 직류 계수값으로 출력하는 제 3 단계A third step in which the DC coefficient predictor differentiates the DC coefficient value of the input macroblock from the DC block value adjacent to the macroblock output from the memory and outputs the difference result value as the DC coefficient value; 를 포함하는 영상 시스템에서 직류 계수 예측 방법.DC coefficient prediction method in an imaging system comprising a. 제 6 항에 있어서,The method of claim 6, 상기 제 2 단계는,The second step, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 두 개의 상기 점 메모리에 저장하는 제 4 단계; 및A fourth step of storing the DC coefficient values of two adjacent blocks at the left end of the input macroblock in the two point memories; And 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 상기 라인 메모리에 저장하는 제 5 단계를 포함하며,A fifth step of storing direct current coefficient values of blocks adjacent to an upper end of an input macroblock in the line memory, 상기 메모리 갱신기에서의 메모리 갱신 과정은,The memory update process in the memory updater, 하나의 상기 점 메모리와 입력 매크로블록내 좌하단에 위치한 블록의 직류 계수값을 상기 라인 메모리에 저장하고, 이후 입력 매크로블록내 상단에 위치하는 두 블록의 직류 계수값을 두 개의 상기 점 메모리에 각각 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 예측 방법.The DC coefficient values of the block located at the lower left end of the one point memory and the input macroblock are stored in the line memory, and the DC coefficient values of the two blocks located at the top of the input macroblock are respectively stored in the two point memories. DC coefficient prediction method in the imaging system, characterized in that for storing. 제 6 항에 있어서,The method of claim 6, 상기 제 2 단계는,The second step, 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 하나의 상기 점 메모리에 저장하는 제 4 단계; 및A fourth step of storing a DC coefficient value of a block adjacent to a left end of an input macroblock in one of said point memories when predicting a DC coefficient of a color difference signal; And 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 상기 라인 메모리에 저장하는 제 5 단계를 포함하며,A fifth step of storing, in the line memory, direct current coefficient values of blocks adjacent to an upper end of an input macroblock when the direct current coefficient of the color difference signal is predicted, 상기 메모리 갱신기에서의 메모리 갱신 과정은,The memory update process in the memory updater, 하나의 상기 점 메모리의 내용을 상기 라인 메모리에 저장하고, 이후 입력 블록의 직류 계수값을 하나의 상기 점 메모리에 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 예측 방법.And storing the contents of one point memory in the line memory and then storing the DC coefficient values of the input block in the one point memory. 영상 시스템의 직류 계수 복원 장치에 있어서,In the DC coefficient restoring apparatus of an imaging system, 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하기 위한 메모리 갱신수단;After receiving the horizontal position information of the input macroblock and the DC coefficient value of the input macroblock, the memory for storing the horizontal position information and the DC coefficient value of the input macroblock in memory according to the enable signal for controlling the memory update. Updating means; 상기 메모리 갱신수단으로부터 전달되는 입력 매크로블록의 직류 계수값을 저장하고, 출력 어드레스에 따라 저장된 직류 계수값을 출력하기 위한 상기 메모리; 및The memory for storing a direct current coefficient value of an input macroblock transmitted from the memory updating means and outputting a stored direct current coefficient value according to an output address; And 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 상기 매크로블록과 인접한 블록의 직류 계수값을 가산하고, 그 가산 결과치를 복원된 직류 계수값으로 출력하며, 메모리 갱신이 이루어지도록 상기 메모리 갱신수단에 상기 인에이블 신호를 전달하는 직류 계수 복원수단을 포함하되,A DC coefficient value of an input macroblock and a DC coefficient value of a block adjacent to the macroblock output from the memory are added, the addition result is output as a restored DC coefficient value, and the memory updating means is updated to perform a memory update. It includes a DC coefficient recovery means for transmitting the enable signal, 상기 메모리는,The memory, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하기 위한 점 메모리; 및A point memory for storing a DC coefficient value of a block adjacent to the left end of the input macroblock; And 입력 매크로블록의 상단에 인접하는 블록의 직류 계수값을 저장하기 위한 라인 메모리를 포함하여 이루어진 것을 특징으로 하는 영상 시스템에서 직류 계수 복원 장치.And a line memory for storing a DC coefficient value of a block adjacent to an upper end of the input macroblock. 제 9 항에 있어서,The method of claim 9, 상기 메모리는,The memory, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 저장하기 위한 두 개의 상기 점 메모리; 및Two said point memories for storing direct current coefficient values of two adjacent blocks at the left end of an input macroblock; And 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 저장하기 위한 상기 라인 메모리를 포함하되,A line memory for storing direct current coefficient values of blocks adjacent to an upper end of an input macroblock; 상기 메모리 갱신수단은,The memory updating means, 하나의 상기 점 메모리와 입력 매크로블록내 좌하단에 위치한 블록의 직류 계수값을 상기 라인 메모리에 저장하고, 이후 입력 매크로블록내 상단에 위치하는 두 블록의 직류 계수값을 두 개의 상기 점 메모리에 각각 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 복원 장치.The DC coefficient values of the block located at the lower left end of the one point memory and the input macroblock are stored in the line memory, and the DC coefficient values of the two blocks located at the top of the input macroblock are respectively stored in the two point memories. DC coefficient restoring apparatus for an imaging system, characterized in that for storing. 제 9 항에 있어서,The method of claim 9, 상기 메모리는,The memory, 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 저장하기 위한 하나의 상기 점 메모리; 및One said point memory for storing the DC coefficient value of the block adjacent to the left end of the input macroblock when predicting the DC coefficient of the color difference signal; And 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 저장하기 위한 상기 라인 메모리를 포함하며,And, in the DC coefficient prediction of the color difference signal, the line memory for storing DC coefficient values of blocks adjacent to an upper end of the input macroblock, 상기 메모리 갱신수단은,The memory updating means, 하나의 상기 점 메모리의 내용을 상기 라인 메모리에 저장하고, 이후 입력 블록의 직류 계수값을 하나의 상기 점 메모리에 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 복원 장치.And a DC coefficient value of an input block is stored in one of the dot memories, and the contents of one point memory are stored in the line memory. 제 9 항 내지 제 11 항 중 어느 한 항에 있어서,The method according to any one of claims 9 to 11, 상기 직류 계수 복원수단은,The DC coefficient restoring means is 입력 매크로블록의 직류 계수 예측이 완료된 후, 상기 메모리 갱신수단에 상기 인에이블 신호를 발생해 주어 상기 메모리가 갱신되도록 제어하는 것을 특징으로 하는 영상 시스템에서 직류 계수 복원 장치.And after the DC coefficient prediction of the input macroblock is completed, generating the enable signal to the memory updating means to control the memory to be updated. 삭제delete 영상 시스템의 직류 계수 복원 방법에 있어서,In the DC coefficient restoration method of the imaging system, 메모리 갱신기가 입력 매크로블록의 가로 위치 정보와 입력 매크로블록의 직류 계수값을 입력받은 후, 메모리 갱신을 제어하는 인에이블 신호에 따라 입력받은 가로 위치 정보와 입력 매크로블록의 직류 계수값을 메모리에 저장하는 제 1 단계;After the memory updater receives the horizontal position information of the input macroblock and the DC coefficient value of the input macroblock, the received horizontal position information and the DC coefficient value of the input macroblock are stored in the memory according to the enable signal controlling the memory update. A first step of making; 상기 제 1 단계에서 상기 메모리에 직류 계수값을 저장할 때, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 점 메모리에 저장하고, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 라인 메모리에 저장하는 제 2 단계; 및When the DC coefficient value is stored in the memory in the first step, the DC coefficient values of two adjacent blocks at the left end of the input macroblock are stored in the point memory, and the DC coefficient values of the blocks adjacent to the upper end of the input macroblock are lined. Storing in memory; And 직류 계수 복원기가 입력 매크로블록의 직류 계수값과 상기 메모리에서 출력되는 매크로블록과 인접한 블록의 직류 계수값을 가산하고, 그 가산 결과치를 복원된 직류 계수값으로 출력하는 제 3 단계A third step in which the DC coefficient restorer adds the DC coefficient of the input macroblock and the DC coefficient of the block adjacent to the macroblock output from the memory and outputs the addition result as the restored DC coefficient; 를 포함하는 영상 시스템에서 직류 계수 복원 방법.DC coefficient restoration method in an imaging system comprising a. 제 14 항에 있어서,The method of claim 14, 상기 제 2 단계는,The second step, 입력 매크로블록의 좌단 두 개의 인접 블록의 직류 계수값을 두 개의 상기 점 메모리에 저장하는 제 4 단계; 및A fourth step of storing the DC coefficient values of two adjacent blocks at the left end of the input macroblock in the two point memories; And 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 상기 라인 메모리에 저장하는 제 5 단계를 포함하며,A fifth step of storing direct current coefficient values of blocks adjacent to an upper end of an input macroblock in the line memory, 상기 메모리 갱신수단에서의 메모리 갱신 과정은,The memory update process in the memory update means, 하나의 상기 점 메모리와 입력 매크로블록내 좌하단에 위치한 블록의 직류 계수값을 상기 라인 메모리에 저장하고, 이후 입력 매크로블록내 상단에 위치하는 두 블록의 직류 계수값을 두 개의 상기 점 메모리에 각각 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 복원 방법.The DC coefficient values of the block located at the lower left end of the one point memory and the input macroblock are stored in the line memory, and the DC coefficient values of the two blocks located at the top of the input macroblock are respectively stored in the two point memories. DC coefficient recovery method in an imaging system, characterized in that for storing. 제 14 항에 있어서,The method of claim 14, 상기 제 2 단계는,The second step, 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 좌단에 인접하는 블록의 직류 계수값을 하나의 상기 점 메모리에 저장하는 제 4 단계; 및A fourth step of storing a DC coefficient value of a block adjacent to a left end of an input macroblock in one of said point memories when predicting a DC coefficient of a color difference signal; And 색차 신호의 직류 계수 예측시에, 입력 매크로블록의 상단에 인접하는 블록들의 직류 계수값을 상기 라인 메모리에 저장하는 제 5 단계를 포함하며,A fifth step of storing, in the line memory, direct current coefficient values of blocks adjacent to an upper end of an input macroblock when the direct current coefficient of the color difference signal is predicted, 상기 메모리 갱신기에서의 메모리 갱신 과정은,The memory update process in the memory updater, 하나의 상기 점 메모리의 내용을 상기 라인 메모리에 저장하고, 이후 입력 블록의 직류 계수값을 하나의 상기 점 메모리에 저장하는 것을 특징으로 하는 영상 시스템에서 직류 계수 복원 방법.And storing the contents of one point memory in the line memory, and then storing the DC coefficient values of the input block in the one point memory.
KR10-1999-0057307A 1999-12-13 1999-12-13 Apparatus and method for prediction and release DC coefficient in image system KR100413981B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-1999-0057307A KR100413981B1 (en) 1999-12-13 1999-12-13 Apparatus and method for prediction and release DC coefficient in image system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-1999-0057307A KR100413981B1 (en) 1999-12-13 1999-12-13 Apparatus and method for prediction and release DC coefficient in image system

Publications (2)

Publication Number Publication Date
KR20010055963A KR20010055963A (en) 2001-07-04
KR100413981B1 true KR100413981B1 (en) 2004-01-07

Family

ID=19625538

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-1999-0057307A KR100413981B1 (en) 1999-12-13 1999-12-13 Apparatus and method for prediction and release DC coefficient in image system

Country Status (1)

Country Link
KR (1) KR100413981B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100451257B1 (en) * 2001-11-06 2004-10-06 (주)씨앤에스 테크놀로지 Reconstruction Circuit and Method of DCT AC/DC Coefficient in MPEG-4
KR20030089774A (en) * 2002-05-18 2003-11-28 엘지전자 주식회사 Recording method for dc/ac coefficient of video decoder

Also Published As

Publication number Publication date
KR20010055963A (en) 2001-07-04

Similar Documents

Publication Publication Date Title
JP4440640B2 (en) Image block decoding method
EP1322122B1 (en) Image predictive decoding method
US9332270B2 (en) Apparatus capable of performing both block-matching motion compensation and global motion compensation and method thereof
US6625215B1 (en) Methods and apparatus for context-based inter/intra coding mode selection
US8204136B2 (en) Image encoding apparatus
EP0585051B1 (en) Image processing method and apparatus
EP0705038B1 (en) Method and system for bidirectional motion compensation for compressing of motion pictures
US20100020879A1 (en) Method for decoding a block of a video image
US8594192B2 (en) Image processing apparatus
US20010021303A1 (en) Video encoding and decoding
KR20060012626A (en) Video processing device with low memory bandwidth requirements
JPH10215457A (en) Moving image decoding method and device
CN114009041A (en) Method for calculating integer grid reference sample position for block-level boundary sample gradient calculation in bidirectional prediction optical flow calculation and bidirectional prediction correction
KR100413981B1 (en) Apparatus and method for prediction and release DC coefficient in image system
KR20050012706A (en) Image decoding device and image decoding method
US7068721B2 (en) Method and configuration for coding a digitized picture, and method and configuration for decoding a digitized picture
US11683497B2 (en) Moving picture encoding device and method of operating the same
KR20090065195A (en) Apparatus and method for fine motion estimation for moving picture coding
JP2776284B2 (en) Image coding device
US6205250B1 (en) System and method for minimizing clock cycles lost to overhead data in a video decoder
KR100240620B1 (en) Method and apparatus to form symmetric search windows for bidirectional half pel motion estimation
JP4154772B2 (en) Image information conversion apparatus and conversion method
US20050232350A1 (en) Inverse prediction apparatus and decoding apparatus using the same
KR100657274B1 (en) Intra prediction method and video processing apparatus thereof
KR100672376B1 (en) Motion compensation method

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E801 Decision on dismissal of amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20091126

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee