KR0130437B1 - Method of data storage into a memory in a 6-divided decoder for mpeg2 - Google Patents

Method of data storage into a memory in a 6-divided decoder for mpeg2

Info

Publication number
KR0130437B1
KR0130437B1 KR1019940009490A KR19940009490A KR0130437B1 KR 0130437 B1 KR0130437 B1 KR 0130437B1 KR 1019940009490 A KR1019940009490 A KR 1019940009490A KR 19940009490 A KR19940009490 A KR 19940009490A KR 0130437 B1 KR0130437 B1 KR 0130437B1
Authority
KR
South Korea
Prior art keywords
frame image
memory
frame
row
bits
Prior art date
Application number
KR1019940009490A
Other languages
Korean (ko)
Other versions
KR950030153A (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 KR1019940009490A priority Critical patent/KR0130437B1/en
Publication of KR950030153A publication Critical patent/KR950030153A/en
Application granted granted Critical
Publication of KR0130437B1 publication Critical patent/KR0130437B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/174Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Abstract

A method for improving memory structure of an MPEG 26 divided decoder is disclosed. The method consists of a step of arranging three rows to the left side of a frame image map in case of even slices and arranging three rows to the right side of the frame image map in case of odd slices; and a step of converting the position on the frame image to a frame memory address. Thereby, the converting can be easily performed and the access time can be reduced.

Description

엠피이지 2 6분할 디코더에서의 메모리구조 개선방법Memory structure improvement method in MP2 6 split decoder

제1도는 순차적 저장방법을 나타낸 개략도.1 is a schematic diagram showing a sequential storage method.

제2도는 규칙적배열과 디코딩을 합한 저장방법의 개략도.2 is a schematic diagram of a storage method combining regular array and decoding.

제3도는 규칙적배열과 디코딩을 합한 저장방법의 문제점을 도시한 도면.3 is a diagram illustrating a problem of a storage method in which regular arrays and decoding are combined.

제4도는 본 발명에 따른 프레임이미지 저장구조를 나타낸 개략도.4 is a schematic diagram showing a frame image storage structure according to the present invention.

제5a 및 제5b도는 제4도에 도시된 구조를 형성하기 위한 메모리 어드레스벡터의 형태를 나타낸 도면.5A and 5B show the shape of a memory address vector for forming the structure shown in FIG.

본 발명은, MPEG2 6분할 디코더에서의 메모리구조에 관한 것으로서, 특히, 프레임 이미지(FRAME IMAGE)저장구조를 가진 MPEG2 6분할 디코더에서의 메모리구조 개선방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory structure in an MPEG2 6 split decoder, and more particularly, to a method of improving a memory structure in an MPEG2 6 split decoder having a frame image storage structure.

통상적인 6분할 디코더에서는 각모듈에서 6블럭, 즉, Y1, Y2, Y3, Y4, U, V, 블럭을 동시에 처리하게 된다.In a typical six split decoder, six blocks, i.e., Y1, Y2, Y3, Y4, U, V, and blocks, are processed simultaneously in each module.

따라서 각모듈은 동일하게 8X8블럭을 메크로블럭으로 하는 어드레스구조를 갖는다.Therefore, each module has the same address structure with 8x8 blocks as macroblocks.

일반적으로 1920X1080 픽셀의 해상도를 갖는 HDTV 한화면 프레임의 경우 각모듈별로 120X68 메크로불럭을 메모리에 저장해야 한다. 이때, 한 픽셀은 8비트이고, 한 메크로블럭은 64바이트의 크기를 가지므로 32비트크기의 512X512 DRAM에서는 한 행(ROW)에 총 32개의 메크로블럭이 들어서게 된다.In general, for HDTV single-screen frames with a resolution of 1920X1080 pixels, 120X68 macroblocks must be stored in memory for each module. At this time, one pixel is 8 bits, and one macroblock has a size of 64 bytes, so a total of 32 macroblocks are included in a row in a 512 × 512 DRAM having a size of 32 bits.

DHTV 화면의 프레임의 한 슬라이스(SLICE)는 120개의 메크로블럭으로 이루어져 있으므로 한 개의 슬라이스를 메모리에 저장하기 위해서는 3.75행이 소요된다. 즉, 완전한 3개의행 메모리와 4번째 행중 24개의메크로블록 만큼을 차지한다.Since one slice (SLICE) of the frame of the DHTV screen is composed of 120 macroblocks, it takes 3.75 rows to store one slice in memory. That is, it occupies as many as 24 macroblocks in the third row memory and the fourth row.

이와 같은 상태에서 프레임 영상 데이터를 메모리에 저장하는데, 종래에는 순차적 저장방법과 규칙적배열과 디코딩을 합한방법이 있었다.In such a state, the frame image data is stored in the memory. In the related art, there is a method of combining the sequential storage method, the regular arrangement, and the decoding.

먼저, 제1도에 도시된 순차적 저장방법에 대해 살펴보면 다음과 같다.First, the sequential storage method illustrated in FIG. 1 will be described.

순차적 저장방법은 MPEG2 비디오 비트스트림(BITSTREAM)상에 나타나는 메크로블럭의 순서대로 픽셀데이타를 메모리에 저장한다. 제1도는 이것을 프레임이미지맵(FRAME IMAGE MAP)상에서 나타낸 것이다.The sequential storage method stores the pixel data in the memory in the order of the macroblocks appearing on the MPEG2 video bitstream. 1 shows this on a frame image map.

이 방법의 문제점은, MPEG2 디코딩에서 움직임 보상시에 베이스어드레스(BACE ADDRESS)에 움직임벡터를 더해 기준(REFERENCE) 프레임메모리상의 한 메크로블럭을 읽어올 때 프레임 이미지상의 계산결과로부터 실제 메모리어드레스를 구하는 과정에서 나눗셈등의 복잡한 과정이 들어가게 되고 따라서 시간이 오래 걸리게 된다.The problem with this method is the process of obtaining the actual memory address from the calculation result on the frame image when reading a macroblock on the reference frame memory by adding the motion vector to the base address during motion compensation in MPEG2 decoding. The complex process of dividing in and so on takes a long time.

또한, 규칙적배열과 디코딩을 합한 방법에 대해서 살펴보면 다음과 같다.In addition, the method of combining regular array and decoding is as follows.

실제로 규칙적 배열을 구현하는 방법은 다양할 수 있으나 기본적인 방법은, 어드레싱 단위를 2의 배수로 해줌으로써 프레임이미지의 위치로부터 메모리상의 위치조의 변환을 간단히 하는 것 이다.In practice, there are a variety of ways to implement regular arrays, but the basic method is to simplify the conversion of the position in memory from the position of the frame image by making the addressing unit a multiple of 2.

그러나, 프레임이미지데이타의 구조가 1920X1080 픽셀 또는 120X68 메크로블럭이므로 그자체가 2의 배수가 되지 못한다.However, since the structure of the frame image data is 1920 × 1080 pixels or 120 × 68 macroblocks, it cannot itself be a multiple of two.

따라서, 메모리를 효율적으로 사용하기 위해서는 규칙적인 배열을 갖는 부분과 나머지 부분으로의 어드레스매핑을 해주는 디코딩 로직(LOGIC)이 필요하다.Therefore, in order to use the memory efficiently, decoding logic (LOGIC) which performs address mapping to the part having a regular arrangement and the remaining part is required.

제2도에 도시된 바와 같이, 하나의 행을 4개의 8메크로블럭 섹션(SECTION)으로 나누면 8X15로써 한 슬라이스를 저장할 수 있다.As shown in FIG. 2, dividing a row into four 8 microblock sections SECTION can store one slice as 8 × 15.

나머지 하나의 섹션은 나중에 모자라는 어드레스 부분을 디코딩하여 매핑시킨다.The other section decodes and maps the later missing address portion.

제3도에 도시된 바와 같이 이 방법의 문제점은, 기준이미지(REFERENCE IMAGE)상의 임의의 장소에 메크로블럭을 위치시켰을대 이것이 메모리상에서 십자형태의 행변화(ROW CHANGE)를 자겨올 수 있다는 것이다.The problem with this method, as shown in FIG. 3, is that when a macroblock is placed anywhere on the reference image, it can pick up a cross-shaped row change in memory.

십자형의 행변화는 가장 나쁜 경우 인데 이 경우 총 네 번의 행변화가 생기고 이는 DRAM의 구조상 억세스타임(ACCESS TIME)의 지연을 가져오게 된다.The cross-shaped row change is the worst case, in which case a total of four row changes occur, which causes a delay in the access time (ACCESS TIME) of the DRAM structure.

본 발명은 상기한 문제점들을 해결하기 위해 고안된 것으로, 본 발명의 목적은 DRAM을 사용하는 프레임메모리(FRAME MAMORY)에서 새로운 프레임이미지(FRAME IMAGE)저장구조를 통해억세스타임을 줄일 수 있는 MPEG26분할 디코더에서의 메모리구조 개선방법을 제공하는데 있다.The present invention has been devised to solve the above problems, and an object of the present invention is to provide an MPEG26 split decoder capable of reducing access time through a new frame image storage structure in a frame memory using DRAM. To improve the memory structure of the present invention.

상기한 바와 같은 목적을 달성하기 위해 본 발명은, 3개의 행을 짝수 슬라이스에서는 프레임이미지맵의 좌측에 정렬시키고 홀수 슬라이스에서는 프레임이미지맵의 우측에 정렬시키고홀수 슬라이스에서는 프레임이미지맵의 우측에 정렬시키는 단계와, 상기 단계의 프레임이미지상의 위치로부터 프레임메모리 어드레스로 변환하는 단계를 포함한다.In order to achieve the object as described above, the present invention is to align three rows to the left of the frame image map in the even slice, to the right of the frame image map in the odd slice and to the right of the frame image map in the odd slice And converting from a position on the frame image of the step to a frame memory address.

이하. 첨부한 도면을 참조로 하여 본 발명에 대해 상세히 설명하면 다음과 같다.Below. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제4도는 본 발명에 따른 프레임이미지 저장구조를 나타낸 개략도이다.4 is a schematic diagram showing a frame image storage structure according to the present invention.

제4도에 도시된 바와 같이 본 발명은, 종래의 규칙적 배열에서 가져올 수 있는 4번의 행변화를 줄이고 순차적저장에서와 같은 복잡한 어드레스 생성을 필요로 하지 않게 고안 되었다.As shown in FIG. 4, the present invention is designed to reduce the number of four row changes that can be obtained in the conventional regular arrangement and not to require complicated address generation as in sequential storage.

일반적으로, DRAM형태의 프레임메모리에서는 어떠한 구조를 택하더라도 최악의 경우 3번까지의 행변화가 생길 수밖에 없다.In general, in the DRAM frame memory, no matter what structure is selected, in the worst case, up to three row changes may occur.

3번의 행변화가 발생하는 경우는 행의 경계가 'ㅜ'자 형태로 만날때이다. 또한, HDTV에서는 하나의 슬라이스가 3.75개의 행을 차지한다.The third row change occurs when the row boundary meets the form of 'TT'. Also, in HDTV, one slice occupies 3.75 rows.

따라서 제4도에 도시된 바와 같이, 3개의 행을 짝수 슬라이스에서는 프레임이미지의 좌측에 정렬시키고 홀수 슬라이스 에서는 프레임이미지의 우측에 정렬시키게 되면항상 'ㅜ'또는 'ㅗ'모양의 행의 경계를 얻을 수 있다.Therefore, as shown in FIG. 4, if three rows are aligned to the left of the frame image in the even slices and to the right of the frame image in the odd slices, a boundary of a row of 'TT' or 'ㅗ' shape is always obtained. Can be.

이때, 짝수 슬라이스에서 우측 24메크로블럭과 홀수 슬라이스에서 좌측 24메크로블럭은 메로리 가장 뒷부분에 저장하고 이 부분을 어드레싱하게 되는 경우에는 종래의 규칙적배열 및 디코딩에서와같이 디코딩로직을 통해 어드레스를 매핑시킨다.At this time, the right 24 microblocks in the even slices and the left 24 microblocks in the odd slices are stored at the back of the memory, and when addressing the parts, the addresses are mapped through decoding logic as in the conventional regular array and decoding.

제5a 도 및 제5b도는 제4도에 도시된 구조를 형성하기 위한 메모리어드레스벡터의 형태를 나타낸다.5A and 5B show the form of a memory address vector for forming the structure shown in FIG.

제5a도는 메모리어드레스벡터의 열(COLUMN)부분을 나타낸다.5A shows a column COLUMN portion of the memory address vector.

제5a도에서, 첫 번째 1비트는 엑세스패리티(ACCESS PARITY)를 나타내고, 그 다음 3비트는 메크로블럭에서의 라인번호를 나타낸다. 또한, 나머지 5비트는 행에서의 메크로블럭의 번호를 나타낸다.In FIG. 5A, the first one bit represents ACCESS PARITY, and the next three bits represent a line number in the macroblock. In addition, the remaining 5 bits indicate the number of macroblocks in the row.

상기에서, 엑세스패리티는 메모리가 32비트, 즉, 4픽셀 대역폭을 갖기 때문에 하난의 메크로블럭에서 8픽셀의 한라인이 좌우로 나뉘어 판독되는데 이때 좌측을 판독할 것인지 우측을 판독한 것인지를 나타낸다.In the above, the access parity is a 32-bit, i.e., 4 pixels bandwidth, so that one line of 8 pixels is divided into left and right in a macroblock of Hanan, and indicates whether the left side is read or the right side is read.

제5b도는 메모리어드레스벡터의 행부분을 나타낸다.5B shows the row portion of the memory address vector.

제5b도에서, 첫 번째 2비트는 슬라이스에서의 행의 번호를 나타내고, 그 다음 6비트는 프레임에서의 슬라이스번호를 나타낸다.그리고, 나먼지 1비트는 프레임번호를 나타낸다.In FIG. 5B, the first 2 bits represent the row number in the slice, the next 6 bits represent the slice number in the frame, and the remaining 1 bit represents the frame number.

상기한 바와 같이 본 발명은, 프레임 이미지상의 위치로부터 프레임 메모리 어드레스로의 변환이간단하고, 행의 경계를 'ㅜ'또는 'ㅗ'자 형태로 만들어 주기 때문에 엑세스타임을 줄일수 있는 효과가 있다.As described above, the present invention has an effect of reducing access time since the conversion from the position on the frame image to the frame memory address is simple and the line boundary is formed in the form of 'TT' or 'ㅗ'.

Claims (2)

3개의 행을 짝수 슬라이스에서는 프레임이미지맴의 좌측에 정렬시키고홀수 슬라이스에서는 프레임이미지맵의 우측에 정렬시키는 단계와; 상기 단계의 프레임이미지상의 위치로부터 프레임메모리 어드레스 변환하는 단계를 포함하는 MPEG2 6분할 디코더에서의 메모리구조 개선방법.Aligning three rows to the left of the frame image member in the even slices and to the right of the frame image map in the odd slices; And converting the frame memory address from the position on the frame image of the step. 제1항에 있어서, 상기 프레임메모리 어드레스벡터의 형태는, 첫 번째 1비트는 엑세스패리티이고 그다음 3비트는 메크로블럭에서의 라인번호이며 나머지 5비트는 행에서의 메크로블럭의 번호인 열벡터와, 처음 2비트는 슬라이스에서의 행의 번호이고 그 다음 6비트는 프레임에서의 슬라이스번호이며 마지막 1비트는 프레임번호인 행벡터롤2. The method of claim 1, wherein the frame memory address vector has a column vector in which the first 1 bit is access parity, the next 3 bits are line numbers in the macroblock, and the remaining 5 bits are numbers of the macroblocks in the row. The first 2 bits are the row number in the slice, the next 6 bits are the slice number in the frame, and the last 1 bits are the row vector roll. 이루어진 것을 특징으로 하는 MPEG2 6분할 디코더에서의 메모리구조 개선방법.A method for improving the memory structure in an MPEG2 six-segment decoder characterized by the above-mentioned.
KR1019940009490A 1994-04-30 1994-04-30 Method of data storage into a memory in a 6-divided decoder for mpeg2 KR0130437B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940009490A KR0130437B1 (en) 1994-04-30 1994-04-30 Method of data storage into a memory in a 6-divided decoder for mpeg2

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940009490A KR0130437B1 (en) 1994-04-30 1994-04-30 Method of data storage into a memory in a 6-divided decoder for mpeg2

Publications (2)

Publication Number Publication Date
KR950030153A KR950030153A (en) 1995-11-24
KR0130437B1 true KR0130437B1 (en) 1998-04-09

Family

ID=19382245

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940009490A KR0130437B1 (en) 1994-04-30 1994-04-30 Method of data storage into a memory in a 6-divided decoder for mpeg2

Country Status (1)

Country Link
KR (1) KR0130437B1 (en)

Also Published As

Publication number Publication date
KR950030153A (en) 1995-11-24

Similar Documents

Publication Publication Date Title
US5920352A (en) Image memory storage system and method for a block oriented image processing system
US8687706B2 (en) Memory word array organization and prediction combination for memory access
CN101212674B (en) Image address mapping method in memory
US20090058866A1 (en) Method for mapping picture addresses in memory
KR100201981B1 (en) The memory control apparatus and image decoder using that
US7190368B2 (en) Method and/or apparatus for video data storage
EP1689195A2 (en) Picture memory mapping to minimize memory bandwidth in compression and decompression of image sequences
JP3141772B2 (en) MPEG decoder and decoding method thereof
US20080158601A1 (en) Image memory tiling
US7336302B2 (en) Frame memory device and method with subsampling and read-out of stored signals at lower resolution than that of received image signals
US20080044107A1 (en) Storage device for storing image data and method of storing image data
EP0825781B1 (en) Image processor
KR0130437B1 (en) Method of data storage into a memory in a 6-divided decoder for mpeg2
JP2965530B2 (en) Video data shuffling method and apparatus
JPH08186826A (en) Image decoding processing method and storage device used for it and image decoder
JPH0865686A (en) Image decoding device
US7190413B2 (en) Memory video data storage structure optimized for small 2-D data transfer
US7848432B2 (en) System and method for efficiently storing macroblocks in SD-RAM
US7526024B2 (en) Storing macroblocks for concatenated frames
JP3405079B2 (en) Memory allocation method
EP1331604A1 (en) Method and device for memory access of block encoders/decoders
KR100237486B1 (en) Apparatus for rearranging data output from a frame memory
KR100565713B1 (en) Address generating Method for compensating motion of image
KR100243472B1 (en) Method for reading a field-pictured macroblock in a frame memory
KR100243866B1 (en) Memory parallel processing method and apparatus for moving compensating of hdtv

Legal Events

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

Payment date: 20111101

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20121101

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee