KR100242640B1 - Method and apparatus for converting chromaticity - Google Patents
Method and apparatus for converting chromaticity Download PDFInfo
- Publication number
- KR100242640B1 KR100242640B1 KR1019970002936A KR19970002936A KR100242640B1 KR 100242640 B1 KR100242640 B1 KR 100242640B1 KR 1019970002936 A KR1019970002936 A KR 1019970002936A KR 19970002936 A KR19970002936 A KR 19970002936A KR 100242640 B1 KR100242640 B1 KR 100242640B1
- Authority
- KR
- South Korea
- Prior art keywords
- color
- data
- address
- memory
- color data
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
Abstract
개시된 내용은 H.261 또는 MPEG에서의 Y, U, V 색좌표를 기본으로 하는 비디오데이타를 R, G, B 색좌표를 기본으로 하는 그래픽카드를 통해 모니터에 디스플레이하기 위한 색좌표 변환방법 및 그 장치에 관한 것이다. 본 발명은 Y, U, V를 매개변수로 하는 R, G, B 함수식에 따라 색데이타를 미리 메모리에 다운로드시켜 저장하고, 입력되는 Y, U, V의 디지탈데이타를 메모리의 어드레스로 입력받아 그 어드레스에 해당하는 위치에 저장된 R, G, B의 색데이타를 그래픽카드에 제공하도록 구성되며, 색데이타의 수정이 필요한 경우에는 그에 맞는 함수식을 통해 다시 메모리에 다운로드한다. 따라서, 본 발명은 보다 저렴한 비용으로 색좌표 변환을 수행할 수 있는 효과를 제공한다.The present disclosure relates to a color coordinate conversion method and apparatus for displaying video data based on Y, U, and V color coordinates in H.261 or MPEG on a monitor through a graphics card based on R, G, and B color coordinates. will be. The present invention downloads and stores color data in memory according to R, G, and B function formulas using Y, U, and V as parameters, and receives the input digital data of Y, U, and V as memory addresses. It is configured to provide the graphic card with color data of R, G, and B stored at the address corresponding to the address, and when the color data needs to be corrected, it is downloaded back to the memory through a function formula corresponding thereto. Therefore, the present invention provides the effect that color coordinate conversion can be performed at a lower cost.
Description
본 발명은 H.261 또는 MPEG규격의 비디오데이타를 그래픽카드를 통해 모니터에 디스플레이하는 시스템에 관한 것으로, 보다 상세하게는, Y, U, V 좌표의 비디오데이타를 실시간적으로 R, G, B 좌표의 비디오데이타로 변환하여 그래픽카드로 입력할 수 있도록 한 색좌표(color space) 변환방법 및 그 장치에 관한 것이다.The present invention relates to a system for displaying H.261 or MPEG standard video data on a monitor through a graphics card. More particularly, the present invention relates to R, G, and B coordinates in real time. The present invention relates to a color space conversion method and apparatus for converting video data into a graphic card so as to be input into a graphics card.
그래픽카드(graphic card)는 화면에 표시될 내용을 모니터가 인식할 수 있는 신호로 변환하는 데, 통상 적(R), 녹(G), 청(B)형태로 입력받는다. 그런데, H.261 또는 MPEG 규격의 비디오코덱에서는 휘도(Y)와 색차(U,V)형태의 신호를 출력하므로 Y, U, V좌표를 R, G, B좌표로 변환이 요구되어졌다. 이를 위하여 종래에는 소프트웨어(S/W)적으로 처리하거나 전용칩을 사용하였다.A graphic card converts the content to be displayed on the screen into a signal that can be recognized by the monitor. The graphic card is generally input in the form of red (R), green (G), and blue (B). However, the H.261 or MPEG standard video codec outputs signals in the form of luminance (Y) and color difference (U, V). Therefore, conversion of Y, U, and V coordinates to R, G, and B coordinates is required. To this end, conventionally, a software (S / W) process or a dedicated chip is used.
하지만, 소프트웨어적인 처리는 비트율이 낮은 경우에만 가능하고, 전용칩 사용은 가격이 비싸고 일반적이지 못하다.However, software processing is only possible at low bit rates, and the use of dedicated chips is expensive and uncommon.
따라서, 본 발명의 목적은 색좌표 변환함수(function)를 통해 Y, U, V에 매핑되는 R, G, B의 색데이타를 미리 다운로드받아 저장하고, Y, U, V의 디지탈데이타를 어드레스로 입력받아 그 어드레스가 지정하는 위치에 저장된 R, G, B의 색데이타를 실시간적으로 읽어내어 그래픽카드에 제공할 수 있도록 한 색좌표 변환방법을 제공함에 있다.Accordingly, an object of the present invention is to download and store the color data of R, G, B mapped to Y, U, V in advance through color coordinate conversion function, and input the digital data of Y, U, V as an address. The present invention provides a method of converting color coordinates so that color data of R, G, and B stored at a location designated by the address can be read in real time and provided to a graphic card.
본 발명의 다른 목적은 전술한 색좌표 변환방법을 하드웨어적으로 구현하기 위한 장치를 제공함에 있다.Another object of the present invention is to provide an apparatus for hardware implementation of the above-described color coordinate conversion method.
도 1은 본 발명의 바람직한 실시예에 따른 색좌표 변환장치를 나타내는 구성도.1 is a block diagram showing a color coordinate conversion apparatus according to a preferred embodiment of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
11 : 비디오코덱 12,14,21,22 : 버퍼부11:
13 : 메모리 15 : 그래픽카드13: memory 15: graphics card
16 : 모니터 17 : 호스트프로세서16
18 : 제어로직부 19 : 어드레스부18: control logic section 19: address section
20 : 데이타부20: data part
이와 같은 목적들을 달성하기 위한 본 발명의 색좌표 변환방법은, Y, U, V 색좌표를 기본으로 하는 비디오데이타를 R, G, B 색좌표를 기본으로 하는 그래픽카드를 통해 모니터에 디스플레이하기 위하여 색좌표를 변환하는 방법에 있어서, (1) 지정된 색좌표 변환함수에 따라 Y, U, V에 매핑되는 R, G, B의 색데이타를 다운로드받아 저장하는 단계, 및 (2) Y, U, V의 디지탈데이타를 어드레스로 입력받아 그 어드레스가 지정하는 위치에 저장한 R, G, B 색데이타를 읽어내어 색좌표 변환 데이타로 출력하는 단계를 포함한다.The color coordinate conversion method of the present invention for achieving the above object, converts the color coordinates to display the video data based on the Y, U, V color coordinates on the monitor through the graphics card based on the R, G, B color coordinates In the method, (1) downloading and storing the color data of R, G, B mapped to Y, U, V according to the designated color coordinate conversion function, and (2) storing the digital data of Y, U, V And reading out R, G, and B color data received as an address and stored in a location designated by the address, and outputting the color data as color coordinate conversion data.
본 발명의 다른 목적을 달성하기 위한 본 발명의 색좌표 변환장치는, Y, U, V 색좌표를 기본으로 하는 비디오데이타를 R, G, B 색좌표를 기본으로 하는 그래픽카드를 통해 모니터에 디스플레이하기 위한 장치에 있어서, 색좌표 변환을 위하여 각 구성을 전반적으로 제어하는 호스트프로세서와, 상기 호스트프로세서의 제어하에 다운로드상태 및 색좌표변환상태에 따라 버퍼부들을 선택적으로 인에이블 및 디스에이블시키는 제어로직부와, 상기 호스트프로세서의 제어하에 R, G, B의 색데이타를 메모리에 다운로드시키는 다운로드수단과, 인에이블상태에서 Y, U, V의 디지탈데이타를 입력받아 메모리의 어드레스로 출력하는 제 1버퍼부와, 상기 다운로드수단으로부터 색데이타를 다운로드받아 저장하고, 상기 제 1버퍼부로부터 어드레스를 입력받아 그 어드레스에 매핑되는 위치에 저장된 색데이타를 읽어내어 색좌표 변환된 데이타로 출력하는 메모리와, 인에이블상태에서 상기 메모리로부터 R, G, B 색데이타를 입력받아 그래픽카드로 출력하는 제 2버퍼부와, 상기 제 2버퍼부로부터 R, G, B 색데이타를 입력받아 모니터가 인식할 수 있는 신호로 변환하는 그래픽카드, 및 상기 그래픽카드에서 출력되는 신호에 따라 디스플레이하는 모니터를 포함한다.Color coordinate conversion apparatus of the present invention for achieving another object of the present invention, the device for displaying on the monitor via the graphics card based on the R, G, B color coordinates video data based on the Y, U, V color coordinates A host processor comprising: a host processor controlling overall configuration for color coordinate conversion; a control logic unit for selectively enabling and disabling buffer units according to a download state and a color coordinate conversion state under the control of the host processor; Download means for downloading color data of R, G, and B into a memory under the control of a processor, a first buffer unit for receiving Y, U, and V digital data in an enabled state and outputting the data to an address of the memory; The color data is downloaded and stored from the means, and the address is inputted from the first buffer unit. A memory for reading color data stored at a location mapped to the memory and outputting the data as color coordinate converted data, a second buffer part for receiving R, G, and B color data from the memory in an enabled state and outputting the color data to the graphics card; It includes a graphics card that receives the R, G, B color data from the second buffer unit and converts it into a signal that can be recognized by the monitor, and displays according to the signal output from the graphics card.
이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 기술하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 따른 색좌표 변환장치를 나타내는 구성도이다. 도시된 바와 같이, 본 발명의 장치는 H.261 또는 MPEG규격의 비디오코덱(11)으로부터 Y, U, V 각각의 디지탈데이타를 입력받아 출력하는 다수의 버퍼로 된 제 1버퍼부(12)를 구비한다. 제 1버퍼부(12)의 출력을 어드레스(add)로 입력받는 메모리(13)는 미리 R, G, B의 색데이타를 다운로드(download)받아 저장하므로써 입력된 어드레스에 매핑(mapping)되는 R, G, B의 색데이타를 읽어내어 색좌표 변환된 데이타로 출력한다. 여기서, 메모리(13)는 속도가 빠른 SRAM(static random access memory)을 사용하며, ROM(read only memory)로 사용가능하다. 본 발명의 장치는 또한, 메모리(13)에서 출력되는 R, G, B 각각의 데이타를 입력받아 출력하는 다수의 버퍼로 된 제 2버퍼부(14)를 구비한다. 제 2버퍼부(14)의 출력을 입력받는 그래픽카드(15)는 R, G, B의 데이타를 모니터(16)가 인식할 수 있는 신호로 변환하여 모니터(16)로 출력한다. 한편, 색좌표 변환을 위한 전반적인 처리를 수행하는 호스트프로세서(17)와, 호스트프로세서(17)에 연결되어 메모리(13)의 다운로드 위치를 지정하기 위한 어드레스를 출력하는 어드레스부(19), 및 메모리(13)의 지정된 다운로드 위치에 색데이타를 다운로드하는 데이타부(20)를 구비한다. 어드레스부(19)의 출력을 입력받는 다수의 버퍼로 된 제 3버퍼부(21)는 메모리(13)의 어드레스단자(add)에 연결되며, 데이타부(20)의 출력을 입력받는 다수의 버퍼로 된 제 4버퍼부(22)는 메모리(13)의 데이타단자(data)에 연결된다. 호스트프로세서(17)에는 또한, 다운로드상태와 색좌표변환상태에 따라 버퍼부들(12,14,21,22)을 선택적으로 인에이블 내지 디스에이블시키기 위한 제어로직부(18)가 연결되도록 구성된다.1 is a block diagram showing a color coordinate conversion apparatus according to the present invention. As shown, the apparatus of the present invention comprises a
이와 같이 구성된 본 발명의 색좌표 변환장치에 대한 동작을 좀더 구체적으로 설명한다.The operation of the apparatus for converting color coordinates of the present invention configured as described above will be described in more detail.
호스트프로세서(17)는 먼저, 메모리(13)에 색데이타(color data)를 다운로드하기 위하여 제어로직부(18)를 통해 제 1버퍼부(12)와 제 2버퍼부(14)에 구비된 버퍼들을 디스에이블(disable)시키고, 제 3버퍼부(21)와 제 4버퍼부(22)에 구비된 버퍼들을 인에이블(enable)시킨다. 또한, 제어로직부(18)는 데이타부(20)와 어드레스부(19)의 클럭단자에 유효한 클럭신호를 제공한다. 호스트프로세서(17)는 데이타부(20)와 어드레스부(19)를 통해 다음 일예와 같은 함수식에 근거한 색데이타를 다운로드한다.The
R = f(Y, U, V) = Y + 1.375(U-128)R = f (Y, U, V) = Y + 1.375 (U-128)
G = f(Y, U, V) = Y - 0.6875(U-128) - 0.34375(V-128)G = f (Y, U, V) = Y-0.6875 (U-128)-0.34375 (V-128)
B = f(Y, U, V) = Y + 1.75(V-128)B = f (Y, U, V) = Y + 1.75 (V-128)
인에이블상태의 제 3버퍼부(21)는 어드레스부(19)를 통해 입력되는 신호를 메모리(13)의 어드레스로 인가하고, 인에이블상태의 제 4버퍼부(22)는 데이타부(20)를 통해 입력되는 신호를 메모리(13)의 색데이타로 인가한다. 메모리(13)는 인가된 어드레스에 해당하는 위치에 인가된 색데이타를 다운로드받아 저장한다. 이처럼, 색데이타의 다운로드가 완료되면 제어로직부(18)는 제 1버퍼부(12)와 제 2버퍼부(14)를 인에이블시키고 제 3버퍼부(21)와 제 4버퍼부(22)를 디스에이블시킨다.The third buffer unit 21 in the enabled state applies a signal input through the
한편, H.261 또는 MPEG규격의 비디오코덱(11)에서 Y, U, V의 디지탈데이타가 출력되면, 인에이블상태의 제 1버퍼부(12)를 구성하는 세개의 버퍼는 Y, U, V 각각의 디지탈데이타를 입력받아 메모리(13)의 어드레스로 인가한다. 메모리(13)는 인가된 어드레스에 해당하는 위치에 저장된 R, G, B의 색데이타를 읽어내어 인에이블상태의 제 2버퍼부(14)로 출력한다. 제 2버퍼부(14)를 구성하는 세개의 버퍼는 메모리(13)로부터 R, G, B 각각의 색데이타를 입력받아 그래픽카드(15)로 출력한다. 그래픽카드(15)는 입력된 R, G, B의 색데이타를 모니터(16)가 인식할 수 있는 신호로 변환하여 모니터(16)로 출력한다. 모니터(16)는 그래픽카드(15)에 의해 변환된 신호에 따라 디스플레이한다.On the other hand, if digital data of Y, U, and V is output from the H.261 or MPEG
만약, 사용자의 요구에 따라 색데이타의 수정이 필요한 경우 즉, 콘트라스트(contrast) 내지 밝기(brightness)조정이 필요한 경우 호스트프로세서(17)는 다운로드의 함수식을 달리하여 다시 메모리(13)에 그 변경된 함수식에 따른 색데이타를 다운로드시켜 저장한다.When the color data needs to be corrected according to the user's request, that is, when contrast or brightness is needed, the
상술한 바와 같이, 본 발명은 색좌표 변환방법 및 그 장치에 관한 것으로 H.261 또는 MPEG규격의 비디오코덱에서 출력되는 신호의 형태와 모니터의 디스플레이를 위한 그래픽카드의 신호형태가 달라 색좌표 변환시 함수식을 통해 메모리에 미리 색데이타를 다운로드시켜 사용하므로 비용을 절감하여 색좌표 변환할 수 있는 효과를 갖는다.As described above, the present invention relates to a method for converting color coordinates and a device thereof, and a signal form of a graphics card for display of a monitor differs from a signal output from a video codec of H.261 or MPEG standard through a functional formula during color coordinate conversion. Since color data is downloaded and used in advance in memory, it is possible to reduce cost and convert color coordinates.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970002936A KR100242640B1 (en) | 1997-01-31 | 1997-01-31 | Method and apparatus for converting chromaticity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970002936A KR100242640B1 (en) | 1997-01-31 | 1997-01-31 | Method and apparatus for converting chromaticity |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19980067069A KR19980067069A (en) | 1998-10-15 |
KR100242640B1 true KR100242640B1 (en) | 2000-02-01 |
Family
ID=19496067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970002936A KR100242640B1 (en) | 1997-01-31 | 1997-01-31 | Method and apparatus for converting chromaticity |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100242640B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR950035456A (en) * | 1994-05-27 | 1995-12-30 | 아더 와이. 씨. 치아오 | Color space conversion method and apparatus |
-
1997
- 1997-01-31 KR KR1019970002936A patent/KR100242640B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR950035456A (en) * | 1994-05-27 | 1995-12-30 | 아더 와이. 씨. 치아오 | Color space conversion method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
KR19980067069A (en) | 1998-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5400057A (en) | Internal test circuits for color palette device | |
US5808630A (en) | Split video architecture for personal computers | |
KR910005367B1 (en) | Display controller for crt/plasma display apparatus | |
JP3384571B2 (en) | Multi-mode home terminal system and method for processing video / graphics information | |
US5270687A (en) | Palette devices, computer graphics systems and method with parallel lookup and input signal splitting | |
US5293468A (en) | Controlled delay devices, systems and methods | |
JPH0651752A (en) | Visual data processor | |
US5309551A (en) | Devices, systems and methods for palette pass-through mode | |
US5293485A (en) | Display control apparatus for converting color/monochromatic CRT gradation into flat panel display gradation | |
US5341470A (en) | Computer graphics systems, palette devices and methods for shift clock pulse insertion during blanking | |
US5327159A (en) | Packed bus selection of multiple pixel depths in palette devices, systems and methods | |
US5287100A (en) | Graphics systems, palettes and methods with combined video and shift clock control | |
KR940007819B1 (en) | Video converter | |
US5940067A (en) | Reduced memory indexed color graphics system for rendered images with shading and fog effects | |
JP2002185978A (en) | Color display drive for portable mobile telephone set | |
KR100242640B1 (en) | Method and apparatus for converting chromaticity | |
EP0465102B1 (en) | Palette devices selection of multiple pixel depths packing the entire width of the bus | |
KR930000410B1 (en) | Display control apparatus replacing color/mono crt into pdp | |
US5825371A (en) | Graphics controller including a sub-memory | |
EP0463867B1 (en) | Graphics systems, palettes and methods with combined video and shift clock control | |
US6744439B1 (en) | Reconfigurable color converter | |
JP2576029B2 (en) | Display control device | |
JP2582743B2 (en) | Image processing device | |
KR100382956B1 (en) | Image Processor and Image Display | |
JP2774715B2 (en) | Dot matrix display device and method of writing to multiplex display RAM in the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20071030 Year of fee payment: 9 |
|
LAPS | Lapse due to unpaid annual fee |