KR100565713B1 - Address generating Method for compensating motion of image - Google Patents

Address generating Method for compensating motion of image Download PDF

Info

Publication number
KR100565713B1
KR100565713B1 KR1019980053999A KR19980053999A KR100565713B1 KR 100565713 B1 KR100565713 B1 KR 100565713B1 KR 1019980053999 A KR1019980053999 A KR 1019980053999A KR 19980053999 A KR19980053999 A KR 19980053999A KR 100565713 B1 KR100565713 B1 KR 100565713B1
Authority
KR
South Korea
Prior art keywords
buffer
read
address
data
image
Prior art date
Application number
KR1019980053999A
Other languages
Korean (ko)
Other versions
KR20000038868A (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 KR1019980053999A priority Critical patent/KR100565713B1/en
Publication of KR20000038868A publication Critical patent/KR20000038868A/en
Application granted granted Critical
Publication of KR100565713B1 publication Critical patent/KR100565713B1/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/43Hardware specially adapted for motion estimation or compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • 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
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • 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
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]

Landscapes

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

Abstract

본 발명은 동영상 데이터의 처리에서의 움직임 보상 동작에서 메모리 액세스 어드레스를 적은수의 게이트로 발생시킬 수 있도록한 영상 움직임 보상용 어드레스 발생 방법에 관한 것으로,MPEG 2에 따른 영상 압축 신호의 복원시에 IDCT 변환된 데이터를 저장하는 IDCT 버퍼와 움직임 보상된 데이터를 저장하는 MC 버퍼의 데이터를 리드하여 최종 합산하여 저장하는데 필요한 어드레스를 휘도/색차 신호의 영상 종류에 따라 나누고, 압축/디스플레이 모드에 따라 프레임 타입(fr)과 필드 타입(fd)으로 분류하여 리드 또는 라이트 카운트 신호의 비트 순서를 바꾸어 사용하는 것이다.The present invention relates to a method for generating an image motion compensation address capable of generating a memory access address with a small number of gates in a motion compensation operation in processing video data. Addresses required for reading and finally summing and storing the data of the IDCT buffer storing the converted data and the MC buffer storing the motion compensated data are divided according to the image type of the luminance / color difference signal, and the frame type according to the compression / display mode. It is classified into (fr) and field type (fd), and the bit order of the read or write count signal is changed and used.

Description

영상 움직임 보상용 어드레스 발생 방법{Address generating Method for compensating motion of image}Address generating method for compensating motion of image

본 발명은 동영상 데이터의 처리에 관한 것으로, 특히 움직임 보상 동작에서 메모리 액세스 어드레스를 적은수의 게이트로 발생시킬 수 있도록한 영상 움직임 보상용 어드레스 발생 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the processing of moving image data, and more particularly, to a method for generating an address for image motion compensation in which a memory access address can be generated with a few gates in a motion compensation operation.

일반적으로 고품위 TV,CATV,영상회의,영상전화등에서 방대한 영상정보를 압축 복원하는 복호화 장치에서 방대한 영상정보의 효율적인 압축을 위해서 움직임 보상부가 필수적이며 움직임 보상부는 영상움직임을 보상하기 위하여 사용하는 프레임 메모리로부터 영상정보를 읽거나 쓰는 동작을 수시로 행하게 된다.In general, a motion compensation unit is essential for efficient compression of massive video information in a decoding apparatus that compresses and restores a large amount of video information in high-definition TV, CATV, video conferencing, video telephony, and the like. The operation of reading or writing image information is often performed.

이하, 첨부된 도면을 참고하여 일반적인 MPEG-2(Moving Picture Expert Group 2)에 따른 디코더에서 움직임 보상을 위한 픽셀 데이터 최종 합산 블록에 관하여 설명하면 다음과 같다.Hereinafter, a final sum block of pixel data for motion compensation in a decoder according to a typical moving picture expert group 2 (MPEG-2) will be described with reference to the accompanying drawings.

도 1은 MPEG-2에 따른 디코더에서 움직임 보상을 위한 픽셀 데이터 최종 합산 블록의 구성도이다.1 is a block diagram of a pixel data final summation block for motion compensation in a decoder according to MPEG-2.

디코더에서는 압축 전송된 영상 데이터를 복원하기 위하여 움직임 보상 동작을 수행하는데, 역DCT 변화된 픽셀 데이터를 저장하는 IDCT 버퍼(11)와, 움직임 보상된 픽셀 데이터를 저장하는 MC(Motion Compensation) 버퍼부(12)와, IDCT 버퍼부(11)의 역DCT 변환된 데이터 즉, 9비트 크기의 픽셀 데이터를 매크로 블록 단위로 36 비트를 읽어내고, MC 버퍼부(11)의 움직임 보상된 픽셀 데이터 즉, 8비트 크기의 픽셀 데이터를 매크로 블록 단위로 32비트를 읽어내어 최종 합산하는 복수개의 누산 블록(14)들과, 누산 블록들에서 출력되는 최종 합산된 픽셀 데이터를 저장하는 FADD(Final ADDer) 버퍼(13)와, 이들 블록간의 데이터를 전송하는데 사용되는 버스 라인들을 포함하여 구성되는 최종 합산 블록을 포함하여 구성된다.The decoder performs a motion compensation operation to restore the compressed and transmitted image data. An IDCT buffer 11 for storing inverse DCT changed pixel data and a motion compensation buffer unit 12 for storing motion compensated pixel data. ) And 36 bits of inverse DCT transformed data of the IDCT buffer unit 11, that is, 9-bit pixel data, are read in macroblock units, and 8 bits of motion compensated pixel data of the MC buffer unit 11, that is, 8 bits. Final accumulator buffer 13 storing a plurality of accumulating blocks 14 for reading and finally adding 32-bit pixel data of a size in macroblock units and a final summed pixel data output from the accumulating blocks. And a final summing block comprising bus lines used to transfer data between these blocks.

이와 같이 구성된 디코더의 최종 합산 동작의 개념은 다음과 같다.The concept of the final summing operation of the decoder configured as described above is as follows.

도 2는 최종 합산 블록의 동작 개념을 나타낸 구성도이고,도 3은 매크로 블록 단위의 데이터가 실제 메모리에 맵핑되는 구조를 나타낸 구성도이다.FIG. 2 is a diagram illustrating an operation concept of a final summing block, and FIG. 3 is a diagram illustrating a structure in which data in macroblock units is mapped to an actual memory.

디코더의 최종 합산 블록은 도 2에서와 같이 IDCT(Inverse Discrete Cosine Transform)버퍼에서 역DCT 변환된 데이터를 매크로 블록 단위로 읽어내고 MC 버퍼에서 움직임 보상된 데이터를 매크로 블록 단위로 읽어내어 합산하여 FADD 버퍼에 저장하는 동작을 수행한다.As shown in FIG. 2, the final summation block of the decoder reads the inverse DCT transformed data from the inverse discrete cosine transform (IDCT) buffer in macroblock units and reads and adds motion compensated data in macroblock units in the MC buffer to add the FADD buffer. Perform the operation of saving to.

이와 같은 매크로 블록 단위의 픽셀 데이터 합산 동작에서 픽셀 데이터가 실제 메모리에 맵핑되는 것은 도 3에서와 같이 이루어진다.In the pixel data summing operation in units of macro blocks, pixel data is mapped to an actual memory as shown in FIG. 3.

매크로 블록 단위로 데이터가 처리 된다는 것은 어드레스 하나에 4개의 픽셀 데이터가 저장되는 것을 뜻한다.Processing data in units of macro blocks means that four pixel data are stored in one address.

디코더의 최종 합산 블록에서는 IDCT 버퍼와 MC 버퍼에서 4개의 픽셀값을 읽는 어드레스와 FADD 버퍼에서 4개의 픽셀 데이터를 쓰는 어드레스를 영상(Picture)의 종류에 따라 다르게 해야한다.In the final summation block of the decoder, an address for reading four pixel values in the IDCT buffer and an MC buffer and an address for writing four pixel data in the FADD buffer must be different according to the type of picture.

이와 같은 최종 합산의 동작 타밍은 다음과 같다.The operation timing of the final summation is as follows.

도 4a는 최종 합산 블록에서의 휘도신호에 관한 합산 동작 타이밍도이고, 도 4b는 최종 합산 블록에서의 색신호에 관한 합산 동작 타이밍도이다.4A is a summation operation timing diagram for the luminance signal in the final summation block, and FIG. 4B is a summation operation timing diagram for the color signals in the final summation block.

도 4a는 노말 모드에서 반화소(Half MB) 단위의 휘도(Luminance)신호의 경우의 최종 합산(Final Addition) 동작 타이밍을 나타낸 것이고, 도 4b는 노말 모드에서 인터리빙된 16*8 Cb,Cr 블록의 색차(Chrominance)신호의 최종 합산 동작 타이밍을 나타낸 것이다.FIG. 4A illustrates the final addition operation timing in the case of a luminance signal in units of half MB in the normal mode, and FIG. 4B illustrates an interleaved 16 * 8 Cb and Cr block in the normal mode. The final summing operation timing of the chrominance signal is shown.

이와 같은 MPEG-2에 따른 디코더에서는 통상적인 움직임 보상의 기본단위는 메크로블록으로 16(수평)×16(수직) 화소가 가장 많이 사용되는데, 1화소의 영상정보는 휘도신호의 경우 1바이트의 메모리 용량에 해당된다.In the MPEG-2 decoder, 16 (horizontal) x 16 (vertical) pixels are most commonly used as macroblocks, and one pixel of image information is one byte of memory for luminance signals. Corresponds to the capacity.

만약, 프레임 메모리의 메모리 세그먼트 단위가 8바이트 단위라고 가정한다면, 한 세그먼트인 8바이트 단위로 하나의 어드레스가 할당되고, 한 세그먼트당 8화소의 영상정보가 저장될 수 있으므로 한 번에 8화소의 영상정보를 액세스하여 읽거나 쓰게 된다.If it is assumed that the memory segment unit of the frame memory is 8 byte unit, one address is allocated in 8 byte unit which is one segment, and 8 pixel image information can be stored per segment, so that 8 pixels of image can be stored at a time. The information is accessed and read or written.

이처럼 움직임 보상을 위해서는 프레임 메모리에 저장된 메모리 입력데이터를 읽어와 영상 디코더에서 역변환 처리된 움직임 보상할 예측 데이터와 가산하는데, 걸리는 시간 및 가산결과를 다시 메모리에 기록하는 시간 등 소요되는 시간이 많다. As such, in order to compensate for the motion, the memory input data stored in the frame memory is read and added to the predictive data to be compensated for inversely transformed by the image decoder.

또한, 메모리로부터 영상정보를 읽거나 쓰게되는 단위가 8화소이므로 한 화면을 구성하는 화소수가 많은 경우의 움직임 보상을 수행할 경우, 디코더와 메모리간에 매우 빠른 속도로 데이터를 주고 받아야 하므로 고속의 메모리가 필요하며, 디코더에서 메모리 인터페이스를 위해 많은 전력소모가 필요하게 된다.In addition, since the unit of reading or writing image information from the memory is 8 pixels, when performing motion compensation when the number of pixels constituting a single screen is large, data must be exchanged at a very high speed between the decoder and the memory. And a lot of power consumption for the memory interface at the decoder.

이와 같은 종래 기술의 MPEG-2에 따른 움직임 보상 동작에 있어서는 IDCT한 픽셀값과 움직임 보상이 이루어진 픽셀값을 매크로 블록 단위로 더할 때 다음과 같은 문제가 있다.In the conventional motion compensation operation according to the MPEG-2, the following problem occurs when the IDCT pixel value and the pixel value for which motion compensation is performed are added in macroblock units.

매크로 블록 단위로 픽셀값을 더할 때 버퍼 메모리를 액세스 하기 위한 어드레스를 발생하기 위한 게이트의 구성이 복잡하여 전체 칩면적이 증가하는 문제가 있었다.When the pixel value is added in units of macroblocks, the gate structure for generating an address for accessing the buffer memory is complicated, and thus there is a problem in that the total chip area is increased.

본 발명은 이와같은 종래 기술의 디코더의 메모리 어드레스 발생 블록의 구성을 단순화할수 있도록한 영상 움직임 보상용 어드레스 발생 방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a method for generating an address for image motion compensation, which can simplify the configuration of a memory address generation block of a conventional decoder.

메모리 어드레스 발생 블록을 단순화한 본 발명에 따른 영상 움직임 보상용 어드레스 발생 방법은 MPEG 2에 따른 영상 압축 신호의 복원에 있어서,IDCT 변환된 데이터를 저장하는 IDCT 버퍼와 움직임 보상된 데이터를 저장하는 MC 버퍼의 데이터를 리드하여 최종 합산하여 저장하는데 필요한 어드레스를 휘도/색차 신호의 영상 종류에 따라 나누고, 압축/디스플레이 모드에 따라 프레임 타입(fr)과 필드 타입(fd)으로 분류하여 리드 또는 라이트 카운트 신호의 비트 순서를 바꾸어 사용하는 것을 특징으로 한다.In the method of generating an image motion compensation address according to the present invention which simplifies a memory address generation block, an IDCT buffer for storing IDCT-converted data and an MC buffer for storing motion-compensated data in reconstruction of an image compressed signal according to MPEG 2 The data required to read and finally add and store data is divided according to the image type of the luminance / color difference signal, and classified into the frame type (fr) and the field type (fd) according to the compression / display mode. It is characterized by changing the order of bits.

이하, 첨부된 도면을 참고하여 본 발명에 따른 영상 움직임 보상용 어드레스 발생 방법에 관하여 상세히 설명하면 다음과 같다.Hereinafter, an address generation method for image motion compensation according to the present invention will be described in detail with reference to the accompanying drawings.

도 5a 내지 도 5c는 본 발명에 따른 IDCT 데이터와 MC 데이터가 모두 있는 경우의 색차 신호 합산 과정을 나타낸 상태도이다.5A through 5C are state diagrams illustrating a chrominance signal summing process when both IDCT data and MC data are present according to the present invention.

본 발명에 따른 어드레스 발생 방법은 리드 카운터 신호(read_cnt)와 라이트 카운터 신호(write_cnt)의 비트 순서를 바꿈으로써 각 버퍼의 리드 액세스 어드레스와 라이트 액세스 어드레스를 발생할 수 있도록한 것이다.The address generation method according to the present invention is to change the bit order of the read counter signal read_cnt and the write counter signal write_cnt to generate the read access address and the write access address of each buffer.

즉, MPEG-2에 따른 새로운 어드레스 발생 규격을 제공하기 위한 것이다. That is, to provide a new address generation standard according to MPEG-2.

이와 같은 액세스 어드레스 발생은 영상(Picture)의 종류에 따라 그 발생 방법을 달리한다.The generation of such an access address varies depending on the type of picture.

첫째, 영상의 종류에 따라 휘도 영상의 경우와 색차 신호의 경우로 나눈다.First, the image is divided into a luminance image and a chrominance signal according to the type of image.

둘째, 압축/디스플레이 모드에 따라 프레임 타입(fr)과 필드 타입(fd)으로 분류한다.Second, it is classified into a frame type (fr) and a field type (fd) according to the compression / display mode.

이와 같이 분류하여 IDCT + MC = FADD의 합산시의 어드레스 발생 방법을 설명하면 다음과 같다.The method of generating an address at the time of summing IDCT + MC = FADD is classified as follows.

먼저, 휘도 영상의 경우에는, First, in the case of a luminance image,

첫째, 필드 단위의 영상으로 IDCT와 MC 버퍼에 픽셀 데이터가 저장되어 있는 경우에는 각각의 I,P,B 영상을 fd + fd = fd로 하여 필드 단위로만 합산 데이터를 FADD 버퍼에 저장한다.First, when pixel data is stored in IDCT and MC buffers as field-based images, summed data is stored in the FADD buffer only in field units with each I, P, and B image as fd + fd = fd.

이때, IDCT 버퍼 및 MC 버퍼의 리드 어드레스 타입은 LRAT 1(Luminance Read Address Type 1)이다.At this time, the read address types of the IDCT buffer and the MC buffer are LRAT 1 (Luminance Read Address Type 1).

둘째, 프레임 단위의 영상으로 IDCT와 MC 버퍼에 픽셀 데이터가 저장되어 있는 경우에는 I,P 영상을 fr + fd = fr로 하여 프레임 단위로만 합산 데이터를 FADD 버퍼에 저장한다.Second, when pixel data is stored in the IDCT and MC buffers as frame-by-frame images, the sum data is stored in the FADD buffer only in units of frames with I and P images as fr + fd = fr.

이때, IDCT 버퍼의 리드 어드레스 타입은 LRAT 1이고, MC 버퍼의 리드 어드레스 타입은 LRAT 2이다.At this time, the read address type of the IDCT buffer is LRAT 1 and the read address type of the MC buffer is LRAT 2.

그리고 B 영상을 fd + fr = fd로 하여 필드 단위로 합산 데이터를 FADD 버퍼에 저장한다.In addition, the summed data is stored in the FADD buffer in units of fields with the B image as fd + fr = fd.

이때, IDCT 버퍼의 리드 어드레스 타입은 LRAT 1이고, MC 버퍼의 리드 어드레스 타입은 LRAT 3이다.At this time, the read address type of the IDCT buffer is LRAT 1 and the read address type of the MC buffer is LRAT 3.

이와 같은 휘도 영상의 경우에는 리드 어드레스 타입을 LRAT 1,2,3의 세가지로 나눌 수 있는데, LRAT 1은 발생되는 리드 카운트(read_cnt)의 비트 순서를 그대로 이용하여 어드레스를 발생하는 것을 말하고, LRAT 2는 리드 카운트 비트 순서를 1,4,5,3,2,0으로 바꾸어 사용하는 것이다.In the case of such a luminance image, the read address types may be divided into three types, LRAT 1,2 and 3, and LRAT 1 refers to generating an address using the bit order of the read count (read_cnt) generated as it is. Is used by changing the read count bit order to 1,4,5,3,2,0.

그리고 LRAT 3는 3,4,2,1,5,0으로 리드 카운트 비트 순서를 바꾸어 사용한다.LRAT 3 uses 3, 4, 2, 1, 5, and 0 in reverse read count bit order.

그리고 라이트 어드레스 타입(LWAT)은 라이트 카운트(write_cnt)의 비트 순서를 5,3,2,1,4,0으로 바꾸어 사용한다.The write address type LWAT changes the bit order of the write count write_cnt to 5, 3, 2, 1, 4, 0.

이와 같이 카운트 비트수가 6비트인 것은 움직임 보상 동작이 매크로 블록 단위로 이루어지기 때문이다.The reason why the number of count bits is 6 bits is that the motion compensation operation is performed in units of macro blocks.

그리고 색차 신호인 경우에는, And in the case of a color difference signal,

첫째, 필드 단위의 영상으로 IDCT 버퍼와 MC 버퍼에 저장되어 있는 경우에는 각각의 I,B,P 영상을 fd + fr = fd로 하여 필드 단위로만 합산 데이터를 FADD 버퍼에 저장한다.First, when Id, B, and P images are stored in the IDCT buffer and the MC buffer as field units of the image, the sum data is stored in the FADD buffer only in field units.

이때, IDCT 버퍼 및 MC 버퍼의 리드 어드레스 타입은 CRAT 1(Chrominance Read Address Type 1)이다.At this time, the read address types of the IDCT buffer and the MC buffer are CRAT 1 (Chrominance Read Address Type 1).

둘째, 프레임 단위로 IDCT 버퍼와 MC 버퍼에 픽셀 데이터가 저장되어 있을 경우에는 I,P 영상을 fr + fd = fr로 하여 프레임 단위로만 합산 데이터를 FADD 버퍼에 저장한다.Second, when the pixel data is stored in the IDCT buffer and the MC buffer on a frame basis, the sum data is stored in the FADD buffer only on a frame basis with the I and P images as fr + fd = fr.

이 때, IDCT 버퍼의 리드 어드레스 타입은 CRAT 1이고, MC 버퍼의 리드 어드레스 타입은 CRAT 2이다.At this time, the read address type of the IDCT buffer is CRAT 1 and the read address type of the MC buffer is CRAT 2.

그리고 B 영상을 fd + fr = fd로 하여 필드 단위로 합산 데이터를 FADD 버퍼에 저장한다.In addition, the summed data is stored in the FADD buffer in units of fields with the B image as fd + fr = fd.

이때, IDCT 버퍼의 리드 어드레스 타입은 CRAT 1이고, MC 버퍼의 리드 어드레스 타입은 CRAT 3이다.At this time, the read address type of the IDCT buffer is CRAT 1 and the read address type of the MC buffer is CRAT 3.

이와 같은 색차 영상의 경우에는 리드 어드레스 타입을 CRAT1,CRAT2,CRAT3의 세가지로 나눌 수 있는데, CRAT1은 발생되는 리드 카운트(read_cnt)의 비트 순서를 바꾸어 5,0,4,2,1,3의 순서로 어드레스를 발생하는 것이고, CRAT2는 리드 카운트 비트 순서를 5,0,1,4,2,3의 순서로 바꾸어 어드레스를 발생하는 것이다.In the case of such a color difference image, the read address types can be divided into three types, CRAT1, CRAT2, and CRAT3. CRAT1 changes the bit order of the read count (read_cnt) to be generated in order of 5,0,4,2,1,3. The CRAT2 generates an address by changing the read count bit order in the order of 5,0,1,4,2,3.

그리고 CRAT3는 리드 카운트 신호의 비트 순서를 5,0,2,1,4,3의 순서로 바꾸어 어드레스를 발생하는 것이다.CRAT3 generates an address by changing the bit order of the read count signal in the order of 5,0,2,1,4,3.

그리고 라이트 어드레스 타입은 라이트 카운트(write_cnt)의 비트 순서를 4,5,2,1,3,0으로 바꾸어 사용하는 것이다.The write address type is used by changing the bit order of the write count (write_cnt) to 4, 5, 2, 1, 3, 0.

이와 같이 카운트 신호의 비트 순서를 임의의 순서로 바꾸어 그대로 어드레스로 사용하는 것 이외에 룩업 테이블을 만들어 여러 가지의 경우에 맞게 사용하는 것도 가능하다.As described above, in addition to changing the bit order of the count signal to an arbitrary order and using the address as it is, a lookup table can be created and used for various cases.

도 5는 IDCT 버퍼와 MC 버퍼에 데이터가 모두 존재하는 경우의 최종 합산 과정을 나타낸 것이다.5 illustrates a final summation process when data exists in both the IDCT buffer and the MC buffer.

cs0는 각각 IDCT 버퍼와 MC 버퍼의 cb 데이터를 레지스터에 일시 옮겨 놓는 상태를 나타낸 것으로, Icb는 IDCT 버퍼의 색차 신호 cb를 나타낸 것이고, Mcb는 MC 버퍼의 색차 신호 cb를 나타낸 것이다.cs0 represents a state in which the cb data of the IDCT buffer and the MC buffer are temporarily transferred to the register, respectively, Icb represents the color difference signal cb of the IDCT buffer, and Mcb represents the color difference signal cb of the MC buffer.

cs1은 각각 IDCT 버퍼와 MC 버퍼의 cr 데이터를 레지스터에 일시 옮겨 놓는 상태를 나타낸 것이다.cs1 shows the state of temporarily moving cr data of IDCT buffer and MC buffer to register.

cs2는 레지스터로 옮겨진 데이터를 합산하여 Wbus에 실어주는 단계를 나타낸 것이다. cs2 represents the step of adding the data transferred to the register and loading it on the Wbus.

그리고 이와 같은 동작이 cs3,cs4,...,cs33까지 반복되어 매크로 블록 단위로 움직임 보상된 데이터가 최종 합산된다.This operation is repeated until cs3, cs4, ..., cs33, and the motion-compensated data in macroblock units is finally summed.

이와 같은 본 발명에 따른 영상 움직임 보상용 어드레스 발생 방법은 다음과 같은 효과가 있다.The method of generating an address for image motion compensation according to the present invention has the following effects.

픽셀 데이터의 리드 또는 라이트 동작에서의 카운트 신호를 이용하여 어드레스를 별도로 발생시키지 않고 카운트 신호의 비트 순서를 임의로 바꾸어 이를 그대로 어드레스로 사용하여 데이터를 합산 저장하므로 최종 합산 데이터의 저장시에 액세스 어드레스의 발생에 필요한 게이트 수를 줄일 수 있다.By using the count signal in the read or write operation of the pixel data, the bit order of the count signal is randomly changed without using an address separately, and the data is summed and stored as it is, so that the access address is generated when the final sum data is stored. The number of gates required can be reduced.

도 1은 MPEG-2에 따른 디코더에서 움직임 보상을 위한 픽셀 데이터 최종 합산 블록의 구성도 1 is a block diagram of a final sum block of pixel data for motion compensation in a decoder according to MPEG-2

도 2는 최종 합산 블록의 동작 개념을 나타낸 구성도 2 is a block diagram showing an operation concept of the final summing block

도 3은 매크로 블록 단위의 데이터가 실제 메모리에 맵핑되는 구조를 나타낸 구성도 3 is a diagram illustrating a structure in which data in macroblock units is mapped to a physical memory;

도 4a는 최종 합산 블록에서의 휘도신호에 관한 합산 동작 타이밍도 4A is a summation operation timing diagram relating to a luminance signal in a final summation block;

도 4b는 최종 합산 블록에서의 색신호에 관한 합산 동작 타이밍도 4B is a summation operation timing diagram for color signals in a final summation block;

도 5a 내지 도 5c는 본 발명에 따른 IDCT 데이터와 MC 데이터가 모두 있는 경우의 색차신호 합산 과정을 나타낸 상태도5A to 5C are state diagrams illustrating a chrominance signal summing process when both IDCT data and MC data are present according to the present invention.

Claims (9)

MPEG 2에 따라 영상 압축 신호를 복원할 때 영상 움직임 보상용 어드레스 발생 방법에 있어서,In the method of generating an address for image motion compensation when restoring a video compressed signal according to MPEG 2, IDCT 변환된 데이터를 저장하는 IDCT 버퍼와 움직임 보상된 데이터를 저장하는 MC 버퍼의 데이터를 리드하여 최종 합산하여 저장하는데 필요한 어드레스를, 휘도/색차 신호의 영상 종류에 따라 나누는 단계;Dividing an address required for reading and finally summing and storing data of an IDCT buffer for storing IDCT-converted data and an MC buffer for storing motion-compensated data according to an image type of a luminance / color difference signal; 상기 어드레스를 압축/디스플레이 모드에 따라 프레임 타입(fr)과 필드 타입(fd)으로 분류하는 단계; 및Classifying the address into a frame type (fr) and a field type (fd) according to a compression / display mode; And 리드 또는 라이트 카운트 신호의 비트 순서를 바꾸어 어드레스를 발생하는 단계를 포함하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.And generating an address by changing a bit order of a read or write count signal. 제 1 항에 있어서, 휘도 영상의 경우에 필드 단위로 IDCT와 MC 버퍼에 픽셀 데이터가 저장되어 있는 경우에는 각각의 I,P,B 영상을 필드 단위로 합산하여 데이터를 FADD 버퍼에 저장하고,이때의 어드레스는 리드 카운트신호를 그대로 사용하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method of claim 1, wherein in the case of the luminance image, when pixel data is stored in IDCT and MC buffers in units of fields, the respective I, P, and B images are summed in units of fields, and the data is stored in the FADD buffer. The address generation method according to claim 1, wherein the read count signal is used as it is. 제 1 항에 있어서, 휘도 영상의 경우에 프레임 단위의 영상으로 IDCT와 MC 버퍼에 픽셀 데이터가 저장되어 있는 경우에는 I,P 영상을 프레임 단위로 합산하여 데이터를 FADD 버퍼에 저장하고, 이때의 IDCT 버퍼의 리드 어드레스 타입은 리드 카운트 비트 순서를 그대로 사용하고 MC 버퍼의 리드 어드레스 타입은 리드 카운트 비트 순서를 1,4,5,3,2,0으로 바꾸어 사용하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method of claim 1, wherein in the case of the luminance image, when pixel data is stored in the IDCT and the MC buffer as a frame unit image, the I and P images are summed in units of frames, and the data is stored in the FADD buffer. The read address type of the buffer uses the read count bit order as it is, and the read address type of the MC buffer changes the read count bit order to 1, 4, 5, 3, 2, 0. How it happens. 제 1 항에 있어서, 휘도 영상의 경우에 프레임 단위의 영상으로 IDCT와 MC 버퍼에 픽셀 데이터가 저장되어 있는 경우에는 B 영상을 필드 단위로 합산 데이터를 FADD 버퍼에 저장하고, 이때의 IDCT 버퍼의 리드 어드레스 타입은 리드 카운트 비트 순서를 그대로 사용하고 MC 버퍼의 리드 어드레스 타입은 3,4,2,1,5,0으로 리드 카운트 비트 순서를 바꾸어 사용하는 것을 특징으로 하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method according to claim 1, wherein in the case of the luminance image, when pixel data is stored in the IDCT and the MC buffer as a frame unit image, the sum data of the B image is stored in the FADD buffer in field units, and the IDCT buffer read at this time. The address type uses the read count bit order as it is, and the read address type of the MC buffer is 3, 4, 2, 1, 5, 0. The read count bit order is used to change the image motion compensation. How address is generated. 제 1 항에 있어서, 휘도 영상의 경우에 라이트 어드레스 타입은 라이트 카운트(write_cnt)의 비트 순서를 5,3,2,1,4,0으로 바꾸어 사용하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method of claim 1, wherein in the case of the luminance image, the write address type is used by changing the bit order of the write count (write_cnt) to 5, 3, 2, 1, 4, 0. . 제 1 항에 있어서, 색차 신호인 경우에 필드 단위의 영상으로 IDCT 버퍼와 MC 버퍼에 저장되어 있는 경우에는 각각의 I,B,P 영상을 필드 단위로 합산하여 데이터를 FADD 버퍼에 저장하고, 이때의 리드 어드레스 타입은 리드 카운트(read_cnt)의 비트 순서를 5,0,4,2,1,3의 순서로 바꾸어 사용하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method according to claim 1, wherein when the color difference signal is stored in the IDCT buffer and the MC buffer as a field unit image, the respective I, B, and P images are summed by field unit, and the data is stored in the FADD buffer. The read address type of the video motion compensation address generation method, characterized in that for changing the bit order of read count (read_cnt) in the order of 5,0,4,2,1,3. 제 1 항에 있어서, 색차 신호의 경우에 프레임 단위로 IDCT 버퍼와 MC 버퍼에 픽셀 데이터가 저장되어 있을 경우에는 I,P 영상을 프레임 단위로 합산하여 데이터를 FADD 버퍼에 저장하고, 이때의 IDCT 버퍼의 리드 어드레스 타입은 리드 카운트(read_cnt)의 비트 순서를 5,0,4,2,1,3로 바꾸어 사용하고 MC 버퍼의 리드 어드레스 타입은 리드 카운트 비트 순서를 5,0,1,4,2,3의 순서로 바꾸어 사용하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method of claim 1, wherein in the case of the color difference signal, when pixel data is stored in the IDCT buffer and the MC buffer in units of frames, the I and P images are summed in units of frames, and the data is stored in the FADD buffer. The read address type of is used by changing the bit order of read count (read_cnt) to 5,0,4,2,1,3. The read address type of the MC buffer uses the read count bit order of 5,0,1,4,2. And generating the image motion compensation address in the order of. 제 1 항에 있어서, 색차 신호의 경우에 프레임 단위로 IDCT 버퍼와 MC 버퍼에 픽셀 데이터가 저장되어 있을 경우에는 B 영상을 필드 단위로 합산하여 데이터를 FADD 버퍼에 저장하고, 이때의 IDCT 버퍼의 리드 어드레스 타입은 리드 카운트(read_cnt)의 비트 순서를 5,0,4,2,1,3의 순서로 바꾸어 사용하고 MC 버퍼의 리드 어드레스 타입은 리드 카운트 신호의 비트 순서를 5,0,2,1,4,3의 순서로 바꾸어 사용하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method of claim 1, wherein in the case of the color difference signal, when pixel data is stored in the IDCT buffer and the MC buffer in units of frames, the B image is added in units of fields, and the data is stored in the FADD buffer. The address type is used by changing the bit order of read count (read_cnt) in the order of 5,0,4,2,1,3. The read address type of the MC buffer uses the bit order of the read count signal as 5,0,2,1. And generating the image motion compensation address in the order of 4 and 3. 제 1 항에 있어서, 색차 신호의 경우 라이트 어드레스 타입은 라이트 카운트(write_cnt)의 비트 순서를 4,5,2,1,3,0으로 바꾸어 사용하는 것을 특징으로 하는 영상 움직임 보상용 어드레스 발생 방법.The method of claim 1, wherein the write address type is used by changing the bit order of the write count (write_cnt) to 4, 5, 2, 1, 3, 0 in the case of the color difference signal.
KR1019980053999A 1998-12-09 1998-12-09 Address generating Method for compensating motion of image KR100565713B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980053999A KR100565713B1 (en) 1998-12-09 1998-12-09 Address generating Method for compensating motion of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980053999A KR100565713B1 (en) 1998-12-09 1998-12-09 Address generating Method for compensating motion of image

Publications (2)

Publication Number Publication Date
KR20000038868A KR20000038868A (en) 2000-07-05
KR100565713B1 true KR100565713B1 (en) 2006-05-25

Family

ID=19562082

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980053999A KR100565713B1 (en) 1998-12-09 1998-12-09 Address generating Method for compensating motion of image

Country Status (1)

Country Link
KR (1) KR100565713B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960003397A (en) * 1994-06-13 1996-01-26 이헌조 Address generator for image motion compensation
JPH08163515A (en) * 1994-12-07 1996-06-21 Hitachi Ltd Video signal delay circuit
JPH0955869A (en) * 1995-08-14 1997-02-25 Sony Corp Device and method for synchronizing picture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960003397A (en) * 1994-06-13 1996-01-26 이헌조 Address generator for image motion compensation
JPH08163515A (en) * 1994-12-07 1996-06-21 Hitachi Ltd Video signal delay circuit
JPH0955869A (en) * 1995-08-14 1997-02-25 Sony Corp Device and method for synchronizing picture

Also Published As

Publication number Publication date
KR20000038868A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
JP4545250B2 (en) Method and apparatus for encoding and decoding video signals by using motion vector storage and readout
US5581310A (en) Architecture for a high definition video frame memory and an accompanying data organization for use therewith and efficient access therefrom
US8687706B2 (en) Memory word array organization and prediction combination for memory access
TW315570B (en)
US6104416A (en) Tiling in picture memory mapping to minimize memory bandwidth in compression and decompression of data sequences
US6028612A (en) Picture memory mapping to minimize memory bandwidth in compression and decompression of data sequences
US5541658A (en) Image coding-decoding apparatus with efficient memory access
JPH08123953A (en) Picture processor
EP0602642B1 (en) Moving picture decoding system
US8644380B2 (en) Integer pixel motion estimation system, motion estimation system for quarter-pixel luminance, motion estimation system for quarter-pixel chrominance, motion estimation system for combined luminance, motion estimation system for combined luminance and chrominance, and motion estimation system for quarter-pixel luminance and chrominance
US5903672A (en) Method and apparatus for conversion of access of prediction macroblock data for motion picture
KR100565713B1 (en) Address generating Method for compensating motion of image
JPH08186826A (en) Image decoding processing method and storage device used for it and image decoder
US6249617B1 (en) Video encounter having an integrated scaling mechanism
KR20030057690A (en) Apparatus for video decoding
JPH07298264A (en) Image data processing method, storage device used for the method and processing unit of image data
KR100372084B1 (en) Low Power Memory storing method for compressed MPEG Image and its frame buffer structure
US20080137745A1 (en) Method and device for processing video data
EP1014716A1 (en) Addressing process for the storage of image blocks
KR100248085B1 (en) Sdram having memory map structure
Eckart High performance software MPEG video player for PCs
Tajime et al. Memory compression method considering memory bandwidth for HDTV decoder LSIs
KR20040086399A (en) Method of storing data-elements
KR0148178B1 (en) Apparatus which employs a memory to compensate a moving image
KR970008413B1 (en) Image decoder

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee