KR100757464B1 - Graphic processing apparatus and method thereof - Google Patents

Graphic processing apparatus and method thereof Download PDF

Info

Publication number
KR100757464B1
KR100757464B1 KR1020060044609A KR20060044609A KR100757464B1 KR 100757464 B1 KR100757464 B1 KR 100757464B1 KR 1020060044609 A KR1020060044609 A KR 1020060044609A KR 20060044609 A KR20060044609 A KR 20060044609A KR 100757464 B1 KR100757464 B1 KR 100757464B1
Authority
KR
South Korea
Prior art keywords
data
color
clut
graphic
clut data
Prior art date
Application number
KR1020060044609A
Other languages
Korean (ko)
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 KR1020060044609A priority Critical patent/KR100757464B1/en
Application granted granted Critical
Publication of KR100757464B1 publication Critical patent/KR100757464B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/06Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using colour palettes, e.g. look-up tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/54Conversion of colour picture signals to a plurality of signals some of which represent particular mixed colours, e.g. for textile printing

Abstract

A graphic processing apparatus and a graphic processing method therefor are provided to combine 240 colors and embody a part corresponding to a core image such as 256 colors on a basic background graphic embodied by 16 colors to reduce the storing capacity of a memory and enhance the quality of a displayed graphic. A graphic resource memory unit(110) divides and stores the first color graphic resource and the second graphic resource. A CLUT(Color LookUp Table) data memory unit(120) divides and stores the first CLUT data and a plurality of the second CLUT data. A graphic processing unit(130) combines the second CLUT data corresponding to a corresponding image among a plurality of the second CLUT data with the first CLUT data, and generates the combined CLUT data. The graphic processing unit(130) shifts index data of the second color graphic resource by a designated offset, and generates index data corresponding to the combined CLUT data. The graphic processing unit(130) maps color values of the generated index data and the combined CLUT data, and embodies a part corresponding to the corresponding image as the second color on a basic background graphic embodied as the first color.

Description

그래픽 처리장치 및 그의 그래픽 처리방법{Graphic processing apparatus and method thereof}Graphic processing apparatus and method thereof

도 1은 본 발명의 일 실시예에 따른 그래픽 처리장치의 설명에 제공되는 블럭도, 그리고,1 is a block diagram provided to explain a graphics processing apparatus according to an embodiment of the present invention, and

도 2는 본 발명의 일 실시예에 따른 그래픽 처리방법의 설명에 제공되는 흐름도이다.2 is a flowchart provided to explain a graphic processing method according to an embodiment of the present invention.

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

110: 그래픽 리소스 메모리부 111: 16컬러 그래픽 리소스110: graphics resource memory section 111: 16 color graphics resources

112: 240컬러 그래픽 리소스 120: CLUT 데이터 메모리부112: 240 color graphic resource 120: CLUT data memory

121: 16 CLUT 데이터 122: 240 CLUT 데이터 집합부121: 16 CLUT data 122: 240 CLUT data set

122-1: 240 CLUT 데이터1 122-2: 240 CLUT 데이터2122-1: 240 CLUT Data 1 122-2: 240 CLUT Data 2

122-n: 240 CLUT 데이터n 130: 그래픽 처리부122-n: 240 CLUT data n 130: graphics processing unit

140: 그래픽 버퍼 메모리부140: graphics buffer memory

본 발명은 그래픽 처리장치 및 그의 그래픽 처리방법에 관한 것으로, 더욱 상세하게는 메모리의 저장 용량을 줄일 수 있는 그래픽 처리장치 및 그의 그래픽 처리방법에 관한 것이다.The present invention relates to a graphic processing apparatus and a graphic processing method thereof, and more particularly, to a graphic processing apparatus and a graphic processing method thereof that can reduce the storage capacity of the memory.

그래픽은 시각적인 효과를 사용하여 정보를 표현하는 방법이다. 그래픽을 이용하는 대표적인 예로 GUI(Graphical User Interface) 기능을 들 수 있다. GUI 기능은 그래픽 화면을 디스플레이 장치에 표시함으로써 사용자와 해당기기와의 정보교환이 가능하게 한다.Graphics are a way of representing information using visual effects. A representative example of using graphics is a Graphical User Interface (GUI) function. The GUI function allows a user to exchange information with the corresponding device by displaying a graphic screen on the display device.

GUI 기능을 구현하기 위한 그래픽은 보통 A(Alpha), R(Red), G(Green) 및 B(Blue) 색상이 소정 비율로 혼합되어 표현된 256컬러의 BMP(Bit MaP) 타입을 사용한다. Graphics for implementing GUI functions usually use 256-color BMP (Bit MaP) type, in which A (Alpha), R (Red), G (Green), and B (Blue) colors are mixed in a predetermined ratio.

또한, 대부분의 그래픽 처리장치는 256컬러 별로 서로 다른 인덱스(index)를 부여한 팔레트를 이용하여 그래픽 화면을 구현하고, 256컬러 및 각각의 컬러에 부여된 인덱스는 컬러 룩업 테이블(Color Look-Up Table) 형태로 메모리에 구성되어 있다.In addition, most graphic processing apparatuses implement graphic screens using palettes assigned different indices for 256 colors, and the indexes assigned to 256 colors and respective colors are a color look-up table. In the form of memory.

이와 같이, 일반적인 256컬러의 BMP타입을 사용하는 그래픽 처리장치의 메모리에 있어, 순수 256컬러 720*480 사이즈 그래픽을 30장 사용할 경우 대략 9.9 MByte의 메모리가 필요하다.As described above, in the memory of a graphics processing apparatus using a general 256-color BMP type, when using 30 pure 256-color 720 * 480 size graphics, approximately 9.9 MByte of memory is required.

메모리의 용량은 그래픽처리장치에 있어 제작 비용과 직결이 되기 때문에, 위와 같이 순수 256컬러를 사용하게 될 경우에는 제품의 가격이 상승하게 되는 문제점이 있다.Since the capacity of the memory is directly related to the production cost in the graphics processing apparatus, when the pure 256 colors are used as described above, the price of the product increases.

그러나, 순수 16컬러의 같은 사이즈 그래픽을 같은 수만큼 사용할 경우, 1Byte로 2픽셀을 나타낼 수 있으므로, 순수 256컬러의 경우에 비하여 절반인 대략 4.5MByte의 메모리만 있으면 된다.However, when the same number of pure 16-color graphics are used in the same number, 2 pixels can be represented by 1 byte, so that only about 4.5 MByte of memory is required, which is half that of pure 256 colors.

하지만, 이와 같이 순수 16컬러를 사용할 경우에는 화면에 디스플레이되는 그래픽의 품질이 저급화되는 문제점이 있다.However, when 16 colors are used in this way, there is a problem in that the quality of graphics displayed on the screen is lowered.

이에, 메모리의 저장용량은 줄이고 디스플레이되는 그래픽의 품질은 고급화할 수 있는 기술이 요청된다.Accordingly, there is a demand for a technology capable of reducing the storage capacity of the memory and improving the quality of the displayed graphic.

따라서, 본 발명의 목적은, 그래픽 처리장치의 메모리 저장용량은 줄이고, 디스플레이되는 그래픽의 품질은 높이기 위해, 16컬러로 구현된 기본 배경 그래픽 상에, 핵심 이미지에 해당하는 부분은 240컬러를 조합하여 256컬러처럼 구현하는데 목적이 있다.Accordingly, an object of the present invention is to reduce the memory storage capacity of the graphics processing unit, and to increase the quality of the displayed graphic, by combining the color corresponding to the core image with 240 colors on the basic background graphic implemented in 16 colors. Its purpose is to implement like 256 colors.

상기 목적을 달성하기 위한 본 발명에 따른 그래픽 처리장치 및 그의 그래픽 처리방법은 제1 컬러 그래픽 리소스(Graphic Resource)와 제2 컬러 그래픽 리소스가 분할되어 저장되는 단계, 제1 CLUT(Color Look Up Table) 데이터와 복수 개의 제2 CLUT 데이터가 분할되어 저장되는 단계, 상기 복수 개의 제2 CLUT 데이터 중 해당 이미지에 대응하는 제2 CLUT 데이터를 연결하고, 상기 연결된 제2 CLUT 데이터와 상기 제1 CLUT 데이터를 조합하여, 조합된 CLUT 데이터를 생성하는 단계, 및 상기 제2 컬러 그래픽 리소스의 인덱스(Index) 데이터를 정해진 오프셋(Offset)만큼 시프트(Shift)하여 상기 조합된 CLUT 데이터에 대응하는 인덱스 데이터를 생성 하는 단계를 포함한다.According to an aspect of the present invention, there is provided a graphic processing apparatus and a graphic processing method thereof, wherein a first color graphic resource and a second color graphic resource are divided and stored, and a first color look up table (CLUT). Data and a plurality of second CLUT data are divided and stored; connecting second CLUT data corresponding to a corresponding image among the plurality of second CLUT data, and combining the connected second CLUT data and the first CLUT data. Generating combined CLUT data, and shifting index data of the second color graphic resource by a predetermined offset to generate index data corresponding to the combined CLUT data. It includes.

바람직하게는, 상기 생성된 인덱스 데이터와 상기 조합된 CLUT 데이터의 컬러 값을 맵핑(mapping)하여, 제1 컬러로 구현된 기본 배경 그래픽 위에 핵심 이미지에 해당하는 부분은 제2 컬러를 조합하여 구현하는 단계를 더 포함한다.Preferably, the color values of the generated index data and the combined CLUT data are mapped, and a portion corresponding to the core image on the basic background graphic implemented as the first color is implemented by combining the second color. It further comprises a step.

더 바람직하게는, 상기 해당 이미지에 대응하는 제2 CLUT 데이터를 연결의 연결은, 상기 해당 이미지가 상기 복수 개의 제2 CLUT 데이터 중 어느 것을 사용하는 지를 나타내는 파라미터(Parameter)를 전달받아, 상기 전달받은 파라미터에 따라 포인터(Pointer)를 사용하여 연결하는 것을 포함한다.More preferably, the connection of connecting the second CLUT data corresponding to the corresponding image, receives a parameter indicating which of the plurality of second CLUT data the image is used, the received This involves connecting using a pointer depending on the parameter.

그리고, 상기 제1 컬러 및 제2 컬러는 각각 16컬러와 확장용 240컬러이고, 상기 제1 CLUT 데이터와 제2 CLUT 데이터는 각각 16 CLUT 데이터와 확장용 240 CLUT 데이터이며, 상기 정해진 오프셋은, 상기 제1 컬러와 상기 제2 컬러의 경계 값인 16인 것을 포함하는 것이 바람직하다.The first color and the second color are 16 colors and 240 colors for expansion, respectively, and the first and second CLUT data are 16 CLUT data and 240 CLUT data for expansion, respectively, and the predetermined offset is: It is preferable that it includes the 16 which is the boundary value of the first color and the second color.

여기서, 제1 컬러 그래픽 리소스(Graphic Resource)와 제2 컬러 그래픽 리소스가 분할되어 저장된 그래픽 리소스 메모리부, 제1 CLUT(Color Look Up Table)데이터와 복수 개의 제2 CLUT데이터가 분할되어 저장된 CLUT 데이터 메모리부, 및 상기 복수 개의 제2 CLUT데이터 중 해당 이미지에 대응하는 제2 CLUT데이터와 상기 제1 CLUT데이터를 조합하여, 조합된 CLUT 데이터를 생성하고, 상기 제2 컬러 그래픽 리소스의 인덱스(Index) 데이터를 정해진 오프셋(Offset)만큼 시프트(Shift)하여 상기 조합된 CLUT 데이터에 대응하는 인덱스 데이터를 생성한 후, 상기 생성된 인덱스 데이터와 상기 조합된 CLUT 데이터의 컬러 값을 맵핑(mapping)하여, 제1 컬 러로 구현된 기본 배경 그래픽 위에 핵심 이미지에 해당하는 부분은 제2 컬러를 조합하여 구현하는 그래픽처리부를 포함하는 것이 바람직하다.Here, a graphic resource memory unit in which a first color graphic resource and a second color graphic resource are divided and stored, a CLUT data memory in which first color look up table (CLUT) data and a plurality of second CLUT data are divided and stored. And second and second CLUT data corresponding to the corresponding image among the plurality of second CLUT data and the first CLUT data to generate combined CLUT data, and index data of the second color graphic resource. After generating the index data corresponding to the combined CLUT data by shifting by a predetermined offset, and mapping the color values of the generated index data and the combined CLUT data, the first The portion corresponding to the core image on the basic background graphic implemented in color preferably includes a graphic processing unit for combining the second color. .

이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, with reference to the drawings will be described the present invention in more detail.

도 1은 본 발명의 일 실시예에 따른 그래픽 처리장치의 설명에 제공되는 블럭도이다.1 is a block diagram provided to explain a graphic processing apparatus according to an embodiment of the present invention.

도 1을 참조하면, 그래픽처리장치는 그래픽 리소스 메모리부(110), CLUT 데이터 메모리부(120), 그래픽 처리부(130), 및 그래픽 버퍼 메모리부(140)를 구비한다. 그래픽 리소스 메모리부(110)는 16컬러 그래픽 리소스(111)와 240컬러 그래픽 리소스(112)를 구비하고, CLUT 데이터 메모리부(120)는 16 CLUT 데이터(121), 240 CLUT 데이터 집합부(122)를 구비한다. 그리고, 240 CLUT 데이터 집합부(122)는 240 CLUT 데이터1(122-1), 240 CLUT 데이터2(122-2), 및 240 CLUT 데이터n(122-n)를 구비한다.Referring to FIG. 1, the graphic processing apparatus includes a graphic resource memory unit 110, a CLUT data memory unit 120, a graphic processing unit 130, and a graphic buffer memory unit 140. The graphic resource memory unit 110 includes 16 color graphic resources 111 and 240 color graphic resources 112, and the CLUT data memory unit 120 includes 16 CLUT data 121 and 240 CLUT data collection unit 122. It is provided. The 240 CLUT data collection unit 122 includes 240 CLUT data 1 122-1, 240 CLUT data 2 122-2, and 240 CLUT data n 122-n.

다만, 그래픽처리장치 내에 포함될 수 있는 기타의 구성요소는 도면에서 배제하고 본 발명을 설명함에 있어 필요한 구성요소만을 도시하는 것으로 한다.However, other components that may be included in the graphics processing apparatus are excluded from the drawings and only those components necessary for describing the present invention are shown.

그래픽 리소스 메모리부(Graphic Resource)(110)에는 16컬러로 디자인된 그래픽 리소스(111)와 240컬러로 디자인된 그래픽 리소스(112)가 각각 분할 저장되어 있다. 이와 같이, 16컬러 그래픽 리소스(111)와 240컬러 그래픽 리소스(112)가 분할되어 있는 이유는, 16컬러 그래픽만을 사용하여 디스플레이를 할 것인지, 아니면 16컬러 그래픽을 기본 배경으로 하되 아이콘과 같은 특정 이미지는 240컬러를 조합하여 구현할 것인지에 따라, 상호 호환이 가능하게 하기 위함이다. 이에 대한 상세 한 설명은 후술하기로 한다.In the graphic resource memory unit 110, the graphic resource 111 designed in 16 colors and the graphic resource 112 designed in 240 colors are divided and stored. As such, the reason why the 16-color graphic resource 111 and the 240-color graphic resource 112 are divided is to display the display using only 16 color graphics, or to use the 16 color graphics as the default background, but use a specific image such as an icon. Is intended to be compatible with each other according to whether to implement a combination of 240 colors. Detailed description thereof will be described later.

여기서, 16컬러 그래픽 리소스(111)와 240컬러 그래픽 리소스(112)는 BMP(BitMaP) 이미지의 인덱스(Index) 데이터를 나타낸다. 일반적인 BMP 이미지는 컬러 값 자체로 구성되는 CLUT(Color Look Up Table)데이터와 CLUT데이터의 컬러 값 중 어느 것을 선택하여 해당 픽셀의 컬러 값으로 사용할 것인지를 나타내는 인덱스 데이터로 구성되어 있다. 그리고, 16 컬러 BMP이미지는 CLUT에 16개의 컬러가 존재하고, 240 컬러 BMP이미지는 CLUT에 240개의 컬러가 존재한다.Here, the 16 color graphic resource 111 and the 240 color graphic resource 112 represent index data of a BMP (BitMaP) image. A general BMP image is composed of CLUT (Color Look Up Table) data composed of the color values themselves and index data indicating which of the color values of the CLUT data is selected and used as the color value of the corresponding pixel. The 16-color BMP image has 16 colors in the CLUT, and the 240-color BMP image has 240 colors in the CLUT.

CLUT 데이터 메모리부(120)에는 16 CLUT 데이터(121)와 240 CLUT 데이터 집합부(122)가 각각 분할되어 저장되어 있고, 240 CLUT 데이터 집합부(122)에는 240 CLUT 데이터1(122-1), 240 CLUT 데이터2(122-2), 및 240 CLUT 데이터n(122-n)가 저장되어 있다. 여기서, 16 CLUT 데이터(121)와 복수 개의 240 CLUT 데이터(122-1 ~ 122-n)는 각각 어레이 형태로 저장되어 있다. In the CLUT data memory unit 120, 16 CLUT data 121 and 240 CLUT data set unit 122 are divided and stored, respectively, and in the 240 CLUT data set unit 122, 240 CLUT data 1 122-1, 240 CLUT data 2 122-2 and 240 CLUT data n 122-n are stored. Here, the 16 CLUT data 121 and the plurality of 240 CLUT data 122-1 to 122-n are stored in an array form, respectively.

그래픽 처리부(130)는 복수 개의 240 CLUT데이터(122-1 ~ 122-n) 중 해당 이미지에 맞는 240 CLUT데이터와 16 CLUT데이터(121)가 조합된 CLUT데이터를 생성하고, 240 컬러 그래픽 리소스(112)의 인덱스 데이터를 정해진 오프셋(Offset)만큼 시프트(Shift)하여 조합된 CLUT 데이터에 대응하는 인덱스 데이터를 생성한다. 그리고, 생성된 인덱스 데이터와 조합된 CLUT 데이터의 컬러 값을 맵핑(mapping)하여, 16 컬러로 구현된 기본 배경 그래픽 위에 핵심 이미지에 해당하는 부분은 240 컬러를 조합하여 256컬러처럼 구현한다.The graphic processor 130 generates the CLUT data in which the 240 CLUT data and the 16 CLUT data 121 of the 240 CLUT data 122-1 to 122-n are combined for the corresponding image, and generates 240 color graphic resources 112. The index data corresponding to the combined CLUT data is generated by shifting the index data of the i) by a predetermined offset. Then, the color values of the CLUT data combined with the generated index data are mapped, and a part corresponding to the core image on the basic background graphic implemented with 16 colors is implemented as 256 colors by combining 240 colors.

다시 말하면, 16컬러 그래픽을 기본 배경으로 하되 아이콘과 같은 특정 이미 지는 240컬러를 조합하여 256컬러처럼 구현하고자 할 경우, 그래픽 처리부(130)는 CLUT 데이터 메모리부(120)에 저장되어 있는 복수 개의 240 CLUT데이터(122-1 ~ 122-n) 중 해당 아이콘이 사용할 240 CLUT데이터를 나타내는 파라미터(Parameter)를 전달받는다. 그리고 전달받은 파라미터에 따라, 포인터(Pointer)를 사용하여 추가될 240 CLUT데이터를 연결한다. 그리고, 연결된 추가 확장용 240 CLUT데이터와 기본 16 CLUT데이터(121)를 조합하여, 256컬러에 근접한 아이콘 데이터를 생성한다.In other words, when a 16-color graphic is used as a basic background, but a specific image such as an icon is to be implemented as 256 colors by combining 240 colors, the graphic processing unit 130 stores a plurality of 240 stored in the CLUT data memory unit 120. Receives a parameter indicating 240 CLUT data to be used by the corresponding icon among the CLUT data 122-1 to 122-n. Then, according to the received parameter, a pointer is used to connect 240 CLUT data to be added. Then, the combined additional extension 240 CLUT data and basic 16 CLUT data 121 are combined to generate icon data close to 256 colors.

여기서, 전술한 바 있듯이, 그래픽 리소스 메모리부(110)에는 16컬러 그래픽만을 사용하여 디스플레이를 할 것인지, 16컬러 그래픽을 기본 배경으로 하되 아이콘과 같은 특정 이미지는 240컬러를 조합하여 구현할 것인지에 따라 호환이 가능하도록 하기 위해, 16컬러 그래픽 리소스(111)와 240컬러 그래픽 리소스(112)가 각각 분할되어 저장이 되어 있다. Here, as described above, the graphic resource memory unit 110 is compatible depending on whether to display using only 16 colors graphics, 16 colors graphics as the default background, but specific images such as icons to implement a combination of 240 colors In order to make it possible, 16 color graphic resources 111 and 240 color graphic resources 112 are divided and stored, respectively.

그러나, 이와 같이 분할되어 저장이 된 경우에는 240 CLUT 데이터가 0부터 239까지 정렬하게 되고, 이에 따라 각 픽셀을 나타내는 인덱스 데이터도 0부터 239까지의 값을 갖게 된다.However, when divided and stored in this manner, 240 CLUT data are arranged from 0 to 239, and thus index data representing each pixel also has a value from 0 to 239.

그리하여, 16 CLUT 데이터(121)와 복수 개의 240 CLUT데이터(122-1 ~ 122-n) 중 어느 하나를 조합하여 256 컬러 그래픽처럼 사용하고자 할 경우에는, 240 컬러 그래픽 리소스(112)의 인덱스 데이터를 정해진 오프셋(Offset)만큼 시프트(Shift)하여 사용하여야 한다. 여기서, 정해진 오프셋은, 16 CLUT 데이터(121)와 240 CLUT 데이터의 경계 값인 16이 된다. 예를 들면, 240 CLUT 데이터의 0번은 16번으 로, 239번은 256번으로 시프트하여야 한다.Thus, when one of the 16 CLUT data 121 and the plurality of 240 CLUT data 122-1 to 122-n is to be used in combination as 256 color graphics, the index data of the 240 color graphic resource 112 is used. It should be used by shifting by a predetermined offset. In this case, the predetermined offset is 16, which is a boundary value between the 16 CLUT data 121 and the 240 CLUT data. For example, 0 of the 240 CLUT data should be shifted to 16 and 239 to 256.

그리고, 그래픽 처리부(130)는 이상에서 설명한 바에 따라 생성된 인덱스 데이터와 조합된 CLUT 데이터의 컬러 값을 맵핑(mapping)하여, 16 컬러로 구현된 기본 배경 그래픽 위에, 핵심 이미지에 해당하는 부분이 240 컬러로 확장되어 256컬러에 가깝게 구현된 그래픽 데이터를 그래픽 버퍼 메모리부(140)로 전달한다.The graphic processor 130 maps the color values of the CLUT data combined with the generated index data as described above, so that the portion corresponding to the core image is 240 on the basic background graphic implemented in 16 colors. The graphic data, which is extended to a color and implemented close to 256 colors, is transferred to the graphic buffer memory unit 140.

그래픽 버퍼 메모리부(140)에는 그래픽 처리부(130)로부터 전달받은 그래픽 데이터가 저장된다. 즉, 16 컬러로 구현된 기본 배경 그래픽 위에, 핵심 이미지에 해당하는 부분이 240 컬러로 확장되어 256컬러에 가깝게 구현된 그래픽 데이터 또는 순수 16컬러로 구현된 그래픽 데이터가 저장되고, 이 그래픽 데이터들이 실제 디스플레이에 표시될 그래픽으로 사용된다.The graphic buffer memory unit 140 stores the graphic data transferred from the graphic processor 130. That is, on the basic background graphic implemented in 16 colors, graphic data embodied close to 256 colors by expanding the color corresponding to the core image to 240 colors or graphic data implemented in pure 16 colors are stored. Used as a graphic to be shown on the display.

도 2는 본 발명의 일 실시예에 따른 그래픽 처리방법의 설명에 제공되는 흐름도이다.2 is a flowchart provided to explain a graphic processing method according to an embodiment of the present invention.

도 1 및 도 2를 참조하면, 16 컬러 그래픽 리소스(Graphic Resource)(111)와 240 컬러 그래픽 리소스(112)가 분할되어 저장된다(S210).1 and 2, the 16 color graphic resource 111 and the 240 color graphic resource 112 are divided and stored (S210).

다시 말하면, 해당 그래픽을 16컬러 그래픽만을 사용하여 디스플레이를 할 것인지, 16컬러 그래픽을 기본 배경으로 하되 아이콘과 같은 특정 이미지는 240컬러를 조합하여 구현할 것인지에 따라 호환이 가능하도록 하기 위해, 그래픽 리소스 메모리부(110)에는 16컬러 그래픽 리소스(111)와 240컬러 그래픽 리소스(112)가 각각 분할되어 저장된다.In other words, in order to make the graphic display compatible using only 16-color graphics or 16-color graphics as the default background, but specific images such as icons can be implemented by combining 240 colors. In the 110, 16 color graphic resources 111 and 240 color graphic resources 112 are divided and stored, respectively.

CLUT 데이터 메모리부(120)에는 16 CLUT(Color Look Up Table) 데이터(121) 와 복수 개의 240 CLUT 데이터(122-1 ~ 122-n)가 분할되어 저장된다(S220).16 CLUT (Color Look Up Table) data 121 and a plurality of 240 CLUT data 122-1 to 122-n are divided and stored in the CLUT data memory unit 120 (S220).

여기서, 이와 같이 16 CLUT 데이터와 240 CLUT 데이터가 분할되어 저장이 될 경우, 16 CLUT 데이터는 순차적으로 0부터 15까지의 값으로 정렬하게 되어, 각 픽셀을 나타내는 인덱스 데이터도 0부터 15까지의 값을 갖게 된다. 그리고, 240 CLUT 데이터 역시 순차적으로 0부터 239까지 정렬하게 되어, 이에 따라 각 픽셀을 나타내는 인덱스 데이터도 0부터 239까지의 값을 갖게 된다.In this case, when 16 CLUT data and 240 CLUT data are divided and stored in this manner, the 16 CLUT data are sequentially aligned with values from 0 to 15, and index data representing each pixel also has a value from 0 to 15. Will have The 240 CLUT data is also sequentially arranged from 0 to 239, so that index data representing each pixel also has a value from 0 to 239.

16컬러 그래픽을 기본 배경으로 하되 아이콘과 같은 특정 이미지는 240컬러를 조합하여 256컬러처럼 구현하고자 할 경우(S230), 그래픽 처리부(130)가 복수 개의 240 CLUT 데이터(122-1 ~ 122-n) 중 해당 아이콘에 맞는 240 CLUT 데이터를 연결한다(S240).If a 16-color graphic is used as a basic background, but a specific image such as an icon is to be implemented as 256 colors by combining 240 colors (S230), the graphic processor 130 may include a plurality of 240 CLUT data (122-1 to 122-n). Connect the 240 CLUT data corresponding to the corresponding icon (S240).

그리고, 그래픽 처리부(130)가 연결된 240 CLUT 데이터와 16 CLUT 데이터(121)를 조합하여, 조합된 CLUT 데이터를 생성한다(S250).Then, the graphic processor 130 combines the 240 CLUT data and the 16 CLUT data 121 connected to each other to generate the combined CLUT data (S250).

다시 말하면, 그래픽 처리부(130)는 CLUT 데이터 메모리부(120)에 저장되어 있는 복수 개의 240 CLUT데이터(122-1 ~ 122-n) 중 해당 아이콘이 사용할 240 CLUT데이터를 나타내는 파라미터(Parameter)를 전달받는다. 그리고 전달받은 파라미터에 따라, 포인터(Pointer)를 사용하여 추가될 240 CLUT데이터를 연결한다. 그리고, 연결된 추가 확장용 240 CLUT데이터와 기본 16 CLUT데이터(121)를 조합하여, 256컬러에 근접한 아이콘 데이터를 생성한다.In other words, the graphic processor 130 transmits a parameter representing 240 CLUT data to be used by the corresponding icon among the plurality of 240 CLUT data 122-1 to 122-n stored in the CLUT data memory unit 120. Receive. Then, according to the received parameter, a pointer is used to connect 240 CLUT data to be added. Then, the combined additional extension 240 CLUT data and basic 16 CLUT data 121 are combined to generate icon data close to 256 colors.

그래픽 처리부(130)가 240 컬러 그래픽 리소스(112)의 인덱스(Index) 데이터를 정해진 오프셋(Offset)만큼 시프트(Shift)한다(S260).The graphic processor 130 shifts the index data of the 240 color graphic resource 112 by a predetermined offset (S260).

정해진 오프셋만큼 시프트하는 이유는 다음과 같다.The reason for shifting by a predetermined offset is as follows.

16 CLUT 데이터와 240 CLUT 데이터가 분할되어 저장이 되므로 인해, 16 CLUT 데이터와 240 CLUT 데이터 각각에 해당하는 인덱스 데이터가, 각각 0부터 15까지의 값과 0부터 239까지의 값을 가지게 된다. Since the 16 CLUT data and the 240 CLUT data are divided and stored, the index data corresponding to each of the 16 CLUT data and the 240 CLUT data has a value from 0 to 15 and a value from 0 to 239, respectively.

그러므로, 16 CLUT 데이터(121)와 복수 개의 240 CLUT데이터(122-1 ~ 122-n) 중 어느 하나를 조합하여 256 컬러 그래픽처럼 사용하고자 할 경우에는, 240 컬러 그래픽 리소스(112)의 인덱스 데이터를 각각 16 CLUT 데이터(121)와 240 CLUT 데이터의 경계 값인 16만큼 시프트하여 사용하여야 한다. 즉, 240 컬러 그래픽 리소스(112)의 인덱스 데이터 중 0번은 16번으로, 239번은 256번으로 시프트하여 사용하여야 한다.Therefore, when one of the 16 CLUT data 121 and the plurality of 240 CLUT data 122-1 to 122-n is to be used in combination as 256 color graphics, the index data of the 240 color graphic resource 112 is used. Each of the 16 CLUT data 121 and the 240 CLUT data should be shifted by 16, which is a boundary value. That is, 0 of the index data of the 240 color graphic resource 112 should be shifted to 16 and 239 to 256.

그래픽 처리부(130)가 생성된 새로운 인덱스 데이터와 조합된 CLUT 데이터의 컬러 값을 맵핑(mapping)하여, 16컬러 그래픽을 기본 배경으로 하되 아이콘과 같은 특정 이미지는 240컬러를 조합하여 256컬러처럼 구현한다(S270).The graphic processor 130 maps the color values of the CLUT data combined with the generated new index data, and sets 16 colors as a basic background, but implements a specific image such as an icon as 256 colors by combining 240 colors. (S270).

여기서, S230단계에서, 순수 16컬러 그래픽 리소스(111)만을 사용하고자 할경우에는, 그래픽 처리부(130)가 16 CLUT 데이터(121)를 참조하여, 16컬러의 그래픽을 구현한다.Here, in step S230, when only the pure 16 color graphic resource 111 is to be used, the graphic processor 130 may refer to the 16 CLUT data 121 to implement 16 colors of graphics.

이상에서 설명한 바와 같이, 본 발명에 따르면, 16컬러로 구현된 기본 배경 그래픽 상에, 핵심 이미지에 해당하는 부분은 240컬러를 조합하여 256컬러처럼 구현함으로써, 그래픽 처리장치의 메모리 저장용량은 줄이고, 디스플레이되는 그래픽 의 품질은 높이는 효과가 있다.As described above, according to the present invention, on the basic background graphics implemented in 16 colors, the portion corresponding to the core image is implemented as 256 colors by combining 240 colors, thereby reducing the memory storage capacity of the graphics processing apparatus, The quality of the displayed graphic has the effect of increasing.

또한, 이상에서는 본 발명의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어 져서는 안 될 것이다.In addition, although the preferred embodiment of the present invention has been shown and described above, the present invention is not limited to the above-described specific embodiment, the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims Of course, various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.

Claims (5)

제1 컬러 그래픽 리소스(Graphic Resource)와 제2 컬러 그래픽 리소스가 분할되어 저장되는 단계;Dividing and storing the first color graphic resource and the second color graphic resource; 제1 CLUT(Color Look Up Table) 데이터와 복수 개의 제2 CLUT 데이터가 분할되어 저장되는 단계;Dividing first color look up table (CLUT) data and a plurality of second CLUT data; 상기 복수 개의 제2 CLUT 데이터 중 해당 이미지에 대응하는 제2 CLUT 데이터를 연결하고, 상기 연결된 제2 CLUT 데이터와 상기 제1 CLUT 데이터를 조합하여, 조합된 CLUT 데이터를 생성하는 단계; 및Connecting second CLUT data corresponding to a corresponding image among the plurality of second CLUT data, and combining the connected second CLUT data and the first CLUT data to generate combined CLUT data; And 상기 제2 컬러 그래픽 리소스의 인덱스(Index) 데이터를 정해진 오프셋(Offset)만큼 시프트(Shift)하여 상기 조합된 CLUT 데이터에 대응하는 인덱스 데이터를 생성하는 단계;를 포함하는 것을 특징으로 하는 그래픽처리방법.And shifting the index data of the second color graphic resource by a predetermined offset to generate index data corresponding to the combined CLUT data. 제 1항에 있어서,The method of claim 1, 상기 생성된 인덱스 데이터와 상기 조합된 CLUT 데이터의 컬러 값을 맵핑(mapping)하여, 제1 컬러로 구현된 기본 배경 그래픽 위에 핵심 이미지에 해당하는 부분은 제2 컬러를 조합하여 구현하는 단계;를 더 포함하는 것을 특징으로 하는 그래픽처리방법.Mapping a color value of the generated index data and the combined CLUT data to implement a portion corresponding to a core image on a basic background graphic implemented as a first color by combining a second color; Graphic processing method comprising a. 제 1항에 있어서,The method of claim 1, 상기 해당 이미지에 대응하는 제2 CLUT 데이터의 연결은,Connection of the second CLUT data corresponding to the corresponding image, 상기 해당 이미지가 상기 복수 개의 제2 CLUT 데이터 중 어느 것을 사용하는 지를 나타내는 파라미터(Parameter)를 전달받아, 상기 전달받은 파라미터에 따라 포인터(Pointer)를 사용하여 연결하는 것을 특징으로 하는 그래픽처리방법.And a parameter indicating whether the corresponding image uses one of the plurality of second CLUT data, and connecting using a pointer according to the received parameter. 제 1항에 있어서,The method of claim 1, 상기 제1 컬러 및 제2 컬러는 각각 16컬러와 확장용 240컬러이고, 상기 제1 CLUT 데이터와 제2 CLUT 데이터는 각각 16 CLUT 데이터와 확장용 240 CLUT 데이터이며, 상기 정해진 오프셋은, 상기 제1 컬러와 상기 제2 컬러의 경계 값인 16인 것을 특징으로 하는 그래픽처리방법.The first color and the second color are 16 colors and the 240 color for expansion, respectively, and the first CLUT data and the second CLUT data are 16 CLUT data and the 240 CLUT data for expansion, respectively, and the predetermined offset is the first color. And 16, the boundary value between the color and the second color. 제1 컬러 그래픽 리소스(Graphic Resource)와 제2 컬러 그래픽 리소스가 분할되어 저장된 그래픽 리소스 메모리부;A graphic resource memory unit in which a first color graphic resource and a second color graphic resource are divided and stored; 제1 CLUT(Color Look Up Table)데이터와 복수 개의 제2 CLUT데이터가 분할되어 저장된 CLUT 데이터 메모리부; 및A CLUT data memory unit in which first CLUT (Color Look Up Table) data and a plurality of second CLUT data are divided and stored; And 상기 복수 개의 제2 CLUT데이터 중 해당 이미지에 대응하는 제2 CLUT데이터와 상기 제1 CLUT데이터를 조합하여, 조합된 CLUT 데이터를 생성하고,Combining the second CLUT data corresponding to the corresponding image among the plurality of second CLUT data and the first CLUT data to generate combined CLUT data, 상기 제2 컬러 그래픽 리소스의 인덱스(Index) 데이터를 정해진 오프셋(Offset)만큼 시프트(Shift)하여 상기 조합된 CLUT 데이터에 대응하는 인덱스 데이터를 생성한 후,After generating the index data corresponding to the combined CLUT data by shifting the index data of the second color graphic resource by a predetermined offset, 상기 생성된 인덱스 데이터와 상기 조합된 CLUT 데이터의 컬러 값을 맵핑(mapping)하여, 제1 컬러로 구현된 기본 배경 그래픽 위에 핵심 이미지에 해당하는 부분은 제2 컬러를 조합하여 구현하는 그래픽처리부;를 포함하는 것을 특징으로 하는 그래픽처리장치.A graphic processor configured to map a color value of the generated index data and the combined CLUT data so that a part corresponding to the core image on the basic background graphic implemented as the first color is combined with a second color; Graphic processing apparatus comprising a.
KR1020060044609A 2006-05-18 2006-05-18 Graphic processing apparatus and method thereof KR100757464B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060044609A KR100757464B1 (en) 2006-05-18 2006-05-18 Graphic processing apparatus and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060044609A KR100757464B1 (en) 2006-05-18 2006-05-18 Graphic processing apparatus and method thereof

Publications (1)

Publication Number Publication Date
KR100757464B1 true KR100757464B1 (en) 2007-09-11

Family

ID=38737312

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060044609A KR100757464B1 (en) 2006-05-18 2006-05-18 Graphic processing apparatus and method thereof

Country Status (1)

Country Link
KR (1) KR100757464B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000052501A (en) * 1998-12-18 2000-08-25 이데이 노부유끼 Image processing apparatus and image processing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000052501A (en) * 1998-12-18 2000-08-25 이데이 노부유끼 Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
JP4845825B2 (en) Multicolor display device
CN111429827B (en) Display screen color calibration method and device, electronic equipment and readable storage medium
CN106816143B (en) Display panel gamut conversion method, device, system, display panel and display device
KR20130052659A (en) Pre-subpixel rendered image processing in display systems
CN101388950B (en) Content-adaptive contrast improving method and apparatus for digital image
US8629884B2 (en) Wide color gamut display system
US20200286445A1 (en) Display method, display device, electronic device and computer readable storage medium
CN107315275B (en) Display method and device and computer equipment
TW201401254A (en) Electronic display
CN105227873A (en) A kind of method of testing of on-chip study data and device
CN110913262A (en) Image superposition method and device
CN113495709A (en) Color correction method, AP chip, terminal and storage medium
CN110277076B (en) Color mapping method and device, display equipment and medium
US9406276B2 (en) Systems and methods for combining images into a file using multiple color palettes
JP4672821B2 (en) Method and apparatus using line buffer for interpolation as pixel lookup table
JP2004271593A (en) Font memory for display
KR100757464B1 (en) Graphic processing apparatus and method thereof
CN107534763B (en) Adaptive color levels interpolation method and equipment
JP2002247405A (en) System and method for gamut mapping using composite color space
CN113923296B (en) Interface display method, device and computer readable storage medium
KR100545855B1 (en) Driving circuit for data display and driving method for data display using same
CN105472106A (en) Background display method and device
KR20210105236A (en) Display apparatus and control method thereof
JP2015222401A (en) Display device and image processor
CN115831042B (en) Image display method and system, display driving device, and storage medium

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: 20120830

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20130829

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140828

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150828

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160830

Year of fee payment: 10