KR20050073326A - Apparatus and method to implement the background of osd using switching plane - Google Patents

Apparatus and method to implement the background of osd using switching plane Download PDF

Info

Publication number
KR20050073326A
KR20050073326A KR1020040001684A KR20040001684A KR20050073326A KR 20050073326 A KR20050073326 A KR 20050073326A KR 1020040001684 A KR1020040001684 A KR 1020040001684A KR 20040001684 A KR20040001684 A KR 20040001684A KR 20050073326 A KR20050073326 A KR 20050073326A
Authority
KR
South Korea
Prior art keywords
osd
pixel
background
output
control signal
Prior art date
Application number
KR1020040001684A
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 KR1020040001684A priority Critical patent/KR20050073326A/en
Publication of KR20050073326A publication Critical patent/KR20050073326A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Studio Circuits (AREA)

Abstract

본 발명은 OSD의 백그라운드 컬러를 선택할 수 있는 구조를 구현함으로써, 유연한 OSD 디스플레이와 함께 데이터 방송과 같은 그래픽 유저 인터페이스를 효과적으로 구현하기 위한 것으로서, OSD 레이어간의 스위칭 장치의 특징은 수신부를 통해 다수의 자막신호 또는/및 영상신호를 입력받아 스케일러를 수행하는 OSD부와, 상기 디스플레이되는 화면의 백그라운드를 소정 컬러로 설정하는 백그라운드부와, 상기 OSD부를 통해 입력되는 신호 중 동시에 동일한 영역에 표시될 픽셀별로 상위 레이어 및 하위 레이어를 설정하는 제어신호(SP1) 및 상기 백그라운드의 삽입위치를 설정하는 제어신호(SP2)를 출력하는 스위칭 플레인(switching plane)과, 상기 스위칭 플레인에서 출력되는 제어신호(SP1)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하여 알파 블렌딩을 수행하고, 제어신호(SP2)를 통해 상기 백그라운드 삽입을 수행하는 알파 블렌딩 처리부와, 상기 알파 블렌딩 처리부에서 처리된 영상을 디스플레이하는 표시부를 포함하여 구성되는데 있다.The present invention is to implement a structure that can select the background color of the OSD, to effectively implement a graphical user interface such as data broadcasting with a flexible OSD display, the feature of the switching device between OSD layers is a plurality of subtitle signals through the receiver Or / and an OSD layer for receiving a video signal and performing a scaler, a background part for setting a background of the displayed screen to a predetermined color, and an upper layer for each pixel to be displayed at the same time among signals input through the OSD part And a switching plane outputting a control signal SP1 for setting a lower layer, a control signal SP2 for setting an insertion position of the background, and a control signal SP1 output from the switching plane. Determine upper layer and lower layer by pixel of OSD1 and OSD2 And an alpha blending processor for performing alpha blending and inserting the background through a control signal SP2, and a display unit for displaying an image processed by the alpha blending processor.

Description

스위칭 플레인을 이용한 OSD 백그라운드 구현 장치 및 방법{apparatus and method to implement the background of OSD using switching plane}OSD background implementation apparatus and method using switching plane {apparatus and method to implement the background of OSD using switching plane}

본 발명은 디스플레이 장치에 관한 것으로, 특히 스위칭 플레인을 이용한 OSD 백그라운드 구현 장치 및 방법에 관한 것이다.The present invention relates to a display device, and more particularly, to an apparatus and method for implementing an OSD background using a switching plane.

근래 디지털 텔레비전, 디지털 카메라, PDA 등 디바이스의 기술이 아날로그방식에서 디지털방식으로 변모함에 따라 티브이 관련기술이 양적/질적으로 급속히 발전해가고 있다. 특히, 양적인 면에서 아날로그에 비해 훨씬 많은 채널의 운용이 가능한 디지털 방식에 의해 티브이에서 방송되는 채널의 수도 기하급수적으로 증가하게 될 것이다.Recently, TV-related technologies are rapidly developing quantitatively and qualitatively as the technology of devices such as digital television, digital camera, PDA, etc. is changed from analog method to digital method. In particular, the number of channels broadcast on TV will increase exponentially by digital method that can operate much more channels than analog in terms of quantity.

따라서, 사용자는 단순히 몇몇 채널 또는 방송국명을 인지하는 것만으로는 다양한 채널을 활용할 수 없을뿐더러, 자신이 원하는 방송 프로그램의 시청도 어렵게 될 것이다. 그래서 최근의 디지털 방송 기술은 시청자가 손쉽게 각 방송 프로그램을 파악하고 선택할 수 있도록 방송국으로부터 제공되는 각 채널의 방송 프로그램 정보를 사용자가 원할 때 화면상에 디스플레이 하는 방송정보 안내기능을 구비하고 방송관련 기술의 발전에 대응할 수 있도록 방송정보 안내기능의 기술개발이 절실히 요구되고 있는 실정이다.Therefore, the user may not only utilize various channels by simply recognizing the names of some channels or broadcasting stations, but also may be difficult to watch the broadcasting programs he / she wants. Therefore, the recent digital broadcasting technology has a broadcasting information guide function for displaying the broadcasting program information of each channel provided from the broadcasting station on the screen so that the viewer can easily identify and select each broadcasting program. In order to cope with the development, the technical development of the broadcasting information guidance function is urgently required.

이와 같은 요구를 해결하기 위한 방법 중 현재 사용되고 있는 하나는 영상신호와 함께 전송되는 EPG(Electronic Program Guide)등의 부가정보(자막신호 및 또 다른 영상신호)를 수신장치에서 분리한 후 하나의 영상신호 위에 겹쳐서 디스플레이 하는 방법인 OSD(On Screen Display)를 사용하고 있다.One of the methods currently used to solve such a demand is to separate additional information (subtitle signal and another video signal) such as EPG (Electronic Program Guide) transmitted along with the video signal from the receiver and then to one video signal. I am using On Screen Display (OSD), which is a superimposed display method.

상기 OSD(On Screen Display)는 보통 비디오 영상의 상위에 그래픽 레이어를 두어 메뉴를 조정하는 화면으로 많이 활용되고 있다. 또한, OSD 레이어에 투명도를 나타내는 값을 두고, 이를 이용하여 겹쳐지는 다수 영상의 투명도를 조정함으로써, 한 화면에 다수의 영상이 동시에 디스플레이될 수 있도록 하고 있다. 이와 같은 방법을 알파 블렌딩(alpha blending)이라고 한다.The OSD (On Screen Display) is commonly used as a screen for adjusting a menu by placing a graphic layer on top of a video image. It also indicates transparency in the OSD layer. By setting a value and adjusting the transparency of a plurality of overlapping images, a plurality of images can be simultaneously displayed on one screen. This method is called alpha blending.

도 1, 2 는 종래 기술에 따른 알파 블렌딩을 구현하는 방법을 하드웨어적으로 나타낸 도면으로, 상위의 OSD 레이어를 OSD1, 하위의 OSD 레이어를 OSD2라고 가정할 때, 도 1 은 OSD1이 상위 레이어인 경우의 알파 블렌딩을 나타낸 도면이고, 도 2 는 OSD2가 상위 레이어인 경우의 알파 블렌딩을 나타낸 도면이다.1 and 2 are hardware diagrams illustrating a method of implementing alpha blending according to the prior art. Assuming that an upper OSD layer is OSD1 and a lower OSD layer is OSD2, FIG. 1 is an upper layer. Is a diagram illustrating alpha blending, and FIG. 2 is a diagram illustrating alpha blending when OSD2 is a higher layer.

먼저, 도 1을 참조하여 설명하면, 제 1 OSD부(10)로 입력되는 OSD1과, 제 2 OSD부(20)로 입력되는 OSD2가 겹쳐지는 부분을 표시부(60)에 디스플레이할 때에는 상위의 레이어인 OSD1의 알파값 을 이용하여 처리된다.First, referring to FIG. 1, when the display unit 60 displays a portion where the OSD1 input to the first OSD unit 10 and the OSD2 input to the second OSD unit 20 overlap, the upper layer is displayed. Value of OSD1 Is processed using.

이때, 상기 은 디스플레이될 색의 강도를 1이라고 했을 때 0과 1사이의 값을 가진다. 즉, OSD 레이어의 알파값은 색이 가질 수 있는 최소값과 최대값 사이이다.At this time, the Has a value between 0 and 1 when the intensity of the color to be displayed is 1. In other words, the alpha value of the OSD layer is between the minimum and maximum values that a color can have.

따라서, 알파 블렌딩을 위해서 먼저 상위 레이어인 OSD1의 컬러값( )을 OSD1의 알파값( )(30)과 곱한다. 이어 하위 레이어인 OSD2의 컬러값을 1에서 알파값을 뺀 값( )(40)과 곱한다.Therefore, for alpha blending, the color value of the upper layer OSD1 ( ) Is the alpha value of OSD1 ( Multiply by (30). Subsequently, the color value of the lower layer OSD2 is subtracted from the alpha value of 1 ( Multiply by 40.

그리고 상기 곱해서 나온 두 결과값을 가산하여 최종 디스플레이될 컬러값을 표시부(60)에 출력한다.The multiplied two result values are added to output the color value to be finally displayed on the display unit 60.

이와 같은 두 레이어 사이의 알파 블렌딩 방식을 수식으로 표현하면 다음 수학식 1과 같다.The alpha blending method between the two layers is expressed by the following equation.

이때, : OSD1의 컬러값, : OSD1의 알파값At this time, : Color value of OSD1, : Alpha value of OSD1

: OSD2의 컬러값, : 디스플레이될 컬러값이다. : Color value of OSD2, : Color value to be displayed.

다음으로, 도 2를 참조하여 설명하면, 제 1 OSD부(10)로 입력되는 OSD1과, 제 2 OSD부(20)로 입력되는 OSD2가 겹쳐지는 부분을 표시부(60)에 디스플레이할 때에는 상위의 레이어인 OSD2의 알파값 을 이용하여 처리된다.Next, referring to FIG. 2, when the OSD 1 input to the first OSD unit 10 and the OSD 2 input to the second OSD unit 20 overlap each other, the upper portion of the display unit 60 displays an upper portion. Alpha value of the OSD2 layer Is processed using.

이때, 상기 은 디스플레이될 색의 강도를 1이라고 했을 때 0과 1사이의 값을 가진다. 즉, OSD 레이어의 알파값은 색이 가질 수 있는 최소값과 최대값 사이이다.At this time, the Has a value between 0 and 1 when the intensity of the color to be displayed is 1. In other words, the alpha value of the OSD layer is between the minimum and maximum values that a color can have.

알파 블렌딩을 위해서 먼저 상위 레이어인 OSD2의 컬러값( )을 OSD2의 알파값( )(42)와 곱한다. 이어 하위 레이어인 OSD1의 컬러값을 1에서 알파값을 뺀 값( )(32)와 곱한다.For alpha blending, we first set the color value of the upper layer OSD2 ( ) Is the alpha value of OSD2 ( Multiply by 42. Subsequently, the color value of the lower layer OSD1 is subtracted from the alpha value of 1 ( Multiply by (32).

그리고 상기 곱해서 나온 두 결과값을 가산하여 최종 디스플레이될 컬러값을 표시부(60)에 출력한다.The multiplied two result values are added to output the color value to be finally displayed on the display unit 60.

이와 같은 두 레이어 사이의 알파 블렌딩 방식을 수식으로 표현하면 다음 수학식 2와 같다.The alpha blending method between the two layers is expressed by the following equation.

그러나, 이와 같은 알파 블렌딩은 알파 블렌딩 처리시에 상위 레이어와 하위 레이어간의 유연한 상하 이동이 어렵다. However, such alpha blending is difficult to move up and down smoothly between the upper layer and the lower layer during the alpha blending process.

즉, 상기 알파 블렌딩은 각 레이어에 알파값을 곱셈할 때, 알파 블렌딩 처리부 앞단에서 영상단위로 동일한 알파값으로 설정되어 계산되어 지므로, 하나의 영상에 따른 픽셀들은 다른 알파값을 통한 알파 블렌딩이 불가능해지게 된다. 따라서, 상위 레이어인 OSD1과 하위 레이어인 OSD2 간에 부분적 상하 이동이 불가능해지게 된다. That is, the alpha blending is calculated by setting the same alpha value in image units at the front of the alpha blending processor when multiplying the alpha value in each layer, so that pixels according to one image cannot be alpha blended through other alpha values. Will be lost. Therefore, partial vertical movement between the upper layer OSD1 and the lower layer OSD2 becomes impossible.

예로 도 3과 같이, OSD1을 상위 레이어로 OSD2를 하위 레이어라고 가정했을 때, 표시부에는 상위 레이어인 OSD1이 표시되는 영역(a)과, 하위 레이어인 OSD2가 표시되는 영역(b)이 디스플레이된다. 이때, 상기 상위 레이어인 OSD1을 포함하는 소정 영역(c)에만 상기 하위 레이어인 OSD2를 선택적으로 시청하고자 할 경우에, 상기 OSD1의 알파값( )이 '1'이 되어 100% 불투명도를 가질 경우에는 상하위 레이어의 순서를 바꾸어 디스플레이할 수는 있어도 겹쳐지는 소정 영역(c)에서만 하위 레이어인 OSD2를 선택적으로 디스플레이 할 수는 없다.For example, assuming that OSD1 is the upper layer and OSD2 is the lower layer, as shown in FIG. 3, an area (a) in which OSD1 as an upper layer is displayed and an area (b) in which OSD2 as a lower layer are displayed are displayed on the display. At this time, in the case where the lower layer OSD2 is selectively viewed only in a predetermined area c including the upper layer OSD1, the alpha value of the OSD1 ( If 1) becomes '1' and has 100% opacity, the upper and lower layers may be displayed in reverse order, but OSD2, which is a lower layer, may not be selectively displayed only in the overlapping predetermined region c.

따라서 본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 두 레이어 사이의 상하를 결정하는 레이어(스위칭 플레인(switching plane))를 구비하여 픽셀별로 상위에 놓이게 될 레이어를 선택적으로 결정할 수 있는 장치 및 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention has been made to solve the above problems, the device having a layer (switching plane) to determine the top and bottom between the two layers to selectively determine the layer to be placed on the pixel by pixel And to provide a method.

본 발명에 따른 다른 목적은 레이어간의 상하를 자유롭게 조정 가능하도록 하여 다양한 디스플레이 효과를 제공하는데 있다.Another object of the present invention is to provide various display effects by allowing the upper and lower layers to be freely adjusted.

본 발명에 따른 또 다른 목적은 OSD의 백그라운드 컬러를 선택할 수 있는 구조를 구현함으로써, 유연한 OSD 디스플레이와 함께 데이터 방송과 같은 그래픽 유저 인터페이스를 효과적으로 구현하는데 있다. Still another object of the present invention is to implement a structure capable of selecting a background color of the OSD, thereby effectively implementing a graphical user interface such as data broadcasting with a flexible OSD display.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 스위칭 플레인을 이용한 OSD 백그라운드 구현 장치의 특징은 OSD 레이어간의 스위칭 장치의 특징은 수신부를 통해 다수의 자막신호 또는/및 영상신호를 입력받아 스케일러를 수행하는 OSD부와, 상기 디스플레이되는 화면의 백그라운드를 소정 컬러로 설정하는 백그라운드부와, 상기 OSD부를 통해 입력되는 신호 중 동시에 동일한 영역에 표시될 픽셀별로 상위 레이어 및 하위 레이어를 설정하는 제어신호(SP1) 및 상기 백그라운드의 삽입위치를 설정하는 제어신호(SP2)를 출력하는 스위칭 플레인(switching plane)과, 상기 스위칭 플레인에서 출력되는 제어신호(SP1)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하여 알파 블렌딩을 수행하고, 제어신호(SP2)를 통해 상기 백그라운드 삽입을 수행하는 알파 블렌딩 처리부와, 상기 알파 블렌딩 처리부에서 처리된 영상을 디스플레이하는 표시부를 포함하여 구성되는데 있다.Features of the OSD background implementation apparatus using a switching plane according to the present invention for achieving the above object is a feature of the switching device between the OSD layer is to perform a scaler by receiving a plurality of subtitle signals or / and video signals through the receiver An OSD unit, a background unit for setting a background of the displayed screen to a predetermined color, a control signal SP1 for setting an upper layer and a lower layer for each pixel to be displayed at the same time among signals input through the OSD unit; An upper layer and a lower layer for each pixel of the OSD1 and OSD2 are switched through a switching plane for outputting a control signal SP2 for setting the insertion position of the background and a control signal SP1 output from the switching plane. Determine and perform alpha blending, and perform background insertion through control signal SP2. Performing it consists of including alpha blending processing unit and a display unit for displaying the image processed by the alpha blending processing.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 스위칭 플레인을 이용한 OSD 백그라운드 구현 장치의 다른 특징은 외부에서 수신부를 통해 자막신호 또는/및 영상신호인 OSD1을 입력받아 스케일러를 수행하는 제 1 OSD부와, 수신부를 통해 상기 OSD1과 동일한 화면상에 동시에 디스플레이되는 자막신호 또는/및 영상신호인 OSD2를 입력받아 스케일러를 수행하는 제 2 OSD부와, 상기 OSD1 및 OSD2가 디스플레이되는 화면의 백그라운드를 소정 컬러로 설정하는 백그라운드부와, 상기 제 1, 2 OSD부를 통해 각각 입력되는 신호 중 픽셀별로 상위 레이어 및 하위 레이어를 설정하는 제어신호(SP1) 및 상기 백그라운드의 삽입을 설정하는 제어신호(SP2)를 출력하는 스위칭 플레인(switching plane)과, 상기 스위칭 플레인에서 출력되는 제어신호(SP1)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하여 알파 블렌딩을 수행하고, 제어신호(SP2)를 통해 상기 백그라운드 삽입을 수행하는 알파 블렌딩 처리부와, 상기 알파 블렌딩 처리부에서 처리된 영상을 디스플레이하는 표시부를 포함하여 구성되는데 있다.Another aspect of the OSD background realization apparatus using a switching plane according to the present invention for achieving the above object is a first OSD unit for performing a scaler by receiving a subtitle signal and / or video signal OSD1 from the outside through a receiver; And a second OSD unit which performs a scaler by receiving OSD2, which is a caption signal and / or an image signal simultaneously displayed on the same screen as the OSD1, and a background of the screen on which the OSD1 and OSD2 are displayed in a predetermined color. Outputs a background signal to be set, a control signal SP1 for setting an upper layer and a lower layer for each pixel among signals input through the first and second OSD units, and a control signal SP2 for inserting the background. Pickings of the OSD1 and OSD2 through a switching plane and a control signal SP1 output from the switching plane It is configured to include an alpha blending processing unit for performing alpha blending by determining the upper layer and the lower layer for each, and the background insertion through a control signal (SP2), and a display unit for displaying an image processed by the alpha blending processing unit. have.

이때, 상기 알파 블렌딩 처리부는 상기 스위칭 플레인에서 출력되는 제어신호를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하고 상위 레이어의 알파값을 이용하여 하위 레이어간의 투명도를 계산하는 OSD 알파 블렌딩부와, 외부에서 OSD의 백그라운드 사용여부를 나타내는 입력신호에 따라 백그라운드 및 하위 레이어의 픽셀 컬러값 중 어느 하나를 선택적으로 출력하는 BG 선택부와, 외부에서 해당 픽셀이 OSD 영역에 속해있는지 여부를 나타내는 입력신호에 따라 상기 OSD 알파 블렌딩부의 출력값(C(A))과 상기 BG 선택부의 출력값(C(B)) 중 어느 하나를 선택적으로 출력하는 OSD-BG 선택부와, 상기 스위칭 플레인의 제어신호를 통해 상기 OSD-BG 선택부의 출력값(C(C))과 하위 레이어(CV) 중 어느 하나를 선택적으로 출력하는 OSD/BG-비디오 선택부를 포함하여 구성되는 것이 바람직하다.In this case, the alpha blending processor determines an upper layer and a lower layer for each pixel of the OSD1 and OSD2 through a control signal output from the switching plane, and uses an alpha value of the upper layer to calculate transparency between lower layers. And a BG selector for selectively outputting one of the pixel color values of the background and the lower layer according to an input signal indicating whether the OSD is used in the background externally, and whether or not the corresponding pixel is in the OSD area from the outside. An OSD-BG selector for selectively outputting one of an output value C (A) of the OSD alpha blending unit and an output value C (B) of the BG selector according to an input signal, and a control signal of the switching plane OSD / BG-Video to selectively output any one of the output value (C (C) ) and the lower layer (C V ) of the OSD-BG selector through It is preferable to include the o selection part.

그리고 상기 스위칭 플레인에서 출력되는 제어신호는 1비트의 크기를 갖는 '0' 또는 '1'의 값을 갖으며, 서로 동일한 값을 갖고 상기 OSD 알파 블렌딩부 및 OSD/BG-비디오 선택부를 제어하는 것이 바람직하다. The control signal output from the switching plane has a value of '0' or '1' having a size of 1 bit and has the same value to control the OSD alpha blending unit and the OSD / BG-video selection unit. desirable.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 스위칭 플레인을 이용한 OSD 백그라운드 구현 방법의 특징은 외부에서 수신부를 통해 다수의 자막신호 또는/및 영상신호가 수신되면, 이중 동시에 한 화면에 입력되는 다수의 자막신호 또는/및 영상신호를 다수의 OSD부를 이용하여 스케일러를 수행하여 각 픽셀별로 출력하는 단계와, 상기 수신부를 통해 수신된 다수의 자막신호 또는/및 영상신호와 함께 입력되는 신호의 특성정보를 이용하여 각 자막신호 또는/및 영상신호에 따른 픽셀별 레이어의 상하위의 순서를 설정하고 백그라운드의 영역을 판단하기 위한 제어신호를 생성하는 단계와, 상기 생성된 제어신호를 통해 상기 다수의 OSD부를 통해 입력되는 다수 자막신호 또는/및 영상신호의 각 픽셀 또는 백그라운드 신호의 각 픽셀의 컬러값을 설정하는 알파 블렌딩을 수행하는 단계와, 상기 알파 블렌딩 처리된 최종 컬러값을 디스플레이부에 표시하는 단계를 포함하여 이루어지는데 있다.A feature of the OSD background implementation method using a switching plane according to the present invention for achieving the above object is that when a plurality of caption signals and / or video signals are received from the outside, a plurality of simultaneous input to a screen Outputting the subtitle signal and / or the video signal for each pixel by using a plurality of OSD units, and outputting characteristic information of the signal input together with the plurality of subtitle signals and / or video signals received through the receiver; Setting a top and bottom order of the layer for each pixel according to each subtitle signal and / or an image signal, and generating a control signal for determining an area of a background, and through the plurality of OSD units through the generated control signal. Set the color value of each pixel of input multiple subtitle signal and / or video signal or each pixel of background signal Is makin comprises the steps of displaying the final color value of the alpha blending process on the display unit to perform alpha blending.

이때, 상기 알파 블렌딩 처리 단계는 상기 생성된 제어신호를 통해 상기 다수의 OSD부를 통해 입력되는 다수 신호의 각 픽셀별 상위 및 하위 레이어를 판단하여 알파 블렌딩을 처리하여 해당 픽셀의 최종 컬러값(C(A))을 출력하는 제 1 출력단계와, 외부에서 OSD의 백그라운드 사용여부를 나타내는 입력신호를 통해 입력되는 백그라운드 픽셀의 컬러값과 하위 레이어의 픽셀 컬러값 중 어느 하나의 값을 선택적으로 출력하는 제 2 출력단계와, 외부에서 해당 픽셀이 OSD 영역에 속해있는지 여부를 나타내는 입력신호를 통해 상기 제 1 출력단계를 통해 출력되는 해당 픽셀의 최종 컬러값(C(A))과 상기 제 2 출력단계를 통해 출력되는 백그라운드 픽셀의 컬러값 또는 하위 레이어(OSD2)의 픽셀 컬러값을 입력받아 이중 어느 하나를 선택적으로 출력하는 제 3 출력단계와, 상기 백그라운드의 영역을 판단하기 위한 제어신호를 통해 상기 제 3 출력단계에서 출력되는 픽셀의 컬러값과 하위 레이어의 픽셀 컬러값을 입력받아 이중 어느 하나를 선택적으로 출력하여 최종 컬러값을 표시부에 출력하는 제 4 출력단계를 포함하여 이루어지는 것이 바람직하다.In this case, the alpha blending process may determine the upper and lower layers for each pixel of the plurality of signals input through the plurality of OSD units through the generated control signal, and process alpha blending to process the final color value (C ( A) A first output step of outputting a ) ) and selectively outputs any one of the color value of the background pixel and the pixel color value of the lower layer input through the input signal indicating whether the OSD is used in the background from the outside Outputting the final color value C (A ) and the second outputting step of the corresponding pixel outputted through the first outputting step through an input signal indicating whether or not the corresponding pixel belongs to the OSD region from the outside. A third output for receiving a color value of the background pixel or a pixel color value of the lower layer OSD2 outputted through A display unit which receives a color value of a pixel output in the third output step and a pixel color value of a lower layer through a control signal for determining a region of the background and selectively outputs any one of the final color values It is preferable to include a fourth output step for outputting to.

그리고 상기 신호의 특성정보는 각 픽셀의 투명도, 컬러값, 높낮이, 크기 중 적어도 하나 이상인 것이 바람직하다.The characteristic information of the signal is preferably at least one of transparency, color value, height, and size of each pixel.

본 발명의 다른 목적, 특성 및 이점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments with reference to the accompanying drawings.

본 발명에 따른 OSD 레이어간의 스위칭 방법의 바람직한 실시예에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.A preferred embodiment of the switching method between OSD layers according to the present invention will be described with reference to the accompanying drawings.

도 4 는 본 발명에 따른 스위칭 플레인을 이용하여 알파 블렌딩을 구현한 구조를 나타낸 도면이다.4 is a diagram illustrating a structure of implementing alpha blending using a switching plane according to the present invention.

도 4를 참조하여 설명하면, 먼저, 외부에서 수신부를 통해 자막신호 또는/및 영상신호인 OSD1을 입력받아 스케일러를 수행하는 제 1 OSD부(100)와, 수신부를 통해 상기 OSD1과 동일한 화면상에 동시에 디스플레이되는 자막신호 또는/및 영상신호인 OSD2를 입력받아 스케일러를 수행하는 제 2 OSD부(200)로 구성된다. 그리고, 상기 제 1, 2 OSD부(100)(200)를 통해 각각 입력되는 신호 중 픽셀별로 상위 레이어 및 하위 레이어를 설정하는 제어신호를 출력하는 스위칭 플레인(switching plane)(400)과, 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하여 알파 블렌딩을 수행하는 OSD 알파 블렌딩부(300)와, 상기 OSD 알파 블렌딩부(300)에서 처리된 영상을 디스플레이하는 표시부(500)로 구성된다.Referring to FIG. 4, first, the first OSD unit 100, which performs a scaler by receiving OSD1, which is a caption signal and / or an image signal, from the outside, is performed on the same screen as the OSD1 through the receiving unit. The second OSD unit 200 receives a subtitle signal and / or an image signal OSD2 displayed at the same time and performs a scaler. A switching plane 400 for outputting a control signal for setting an upper layer and a lower layer for each pixel among the signals input through the first and second OSD units 100 and 200, and the switching. OSD alpha blending unit 300 for performing alpha blending by determining the upper layer and the lower layer for each pixel of the OSD1 and OSD2 through the control signal SP output from the plane 400, and the OSD alpha blending unit 300 The display unit 500 for displaying the image processed in step (b).

이때, 상기 OSD 알파 블렌딩부(300)는 제 1 OSD부(100)에서 출력되는 OSD1 신호의 각 픽셀에 OSD1의 알파값 을 곱셈하는 곱셈부(310)와, 제 2 OSD부(200)에서 출력되는 OSD2 신호의 각 픽셀에 OSD2의 알파값 을 곱셈하는 곱셈부(320)와, 제 1 OSD부(100)에서 출력되는 OSD1 신호의 각 픽셀에 OSD1의 알파값 을 곱셈하는 곱셈부(330)와, 제 2 OSD부(200)에서 출력되는 OSD2 신호의 각 픽셀에 OSD2의 알파값 을 곱셈하는 곱셈부(340)로 구성된다. 그리고 상기 곱셈부(310) 및 곱셈부(320)에서 출력되는 픽셀의 컬러값 중 상기 스위칭 플레인(400)에서 출력되는 제어신호에 따라 하나를 선택적으로 출력하는 제 1 먹스(350)와, 상기 곱셈부(330) 및 곱셈부(340)에서 출력되는 픽셀의 컬러값 중 상기 스위칭 플레인(400)에서 출력되는 제어신호에 따라 하나를 선택적으로 출력하는 제 2 먹스(360)와, 상기 제 1 먹스(350)에서 출력되는 픽셀의 컬러값과 상기 제 2 먹스(360)에서 출력되는 픽셀의 컬러값을 가산하여 최종 디스플레이될 컬러값을 산출하여 상기 표시부(500)에 출력하는 가산부(370)로 구성된다.At this time, the OSD alpha blending unit 300 is the alpha value of the OSD1 to each pixel of the OSD1 signal output from the first OSD unit 100 Multiply by The alpha value of OSD2 in each pixel of the multiplier 310 and the OSD2 signal output from the second OSD unit 200. Multiply by The alpha value of OSD1 in each pixel of the multiplier 320 and the OSD1 signal output from the first OSD unit 100. Multiply by The alpha value of OSD2 in each pixel of the multiplier 330 and the OSD2 signal output from the second OSD unit 200. Multiply by The multiplication unit 340 is configured. And said Multiplication unit 310 and A first mux 350 selectively outputting one of color values of pixels output from the multiplier 320 according to a control signal output from the switching plane 400, and Multiplication unit 330 and The second mux 360 selectively outputs one of the color values of the pixels output from the multiplier 340 according to the control signal output from the switching plane 400, and the first mux 350. And an adder 370 that calculates a final color value to be displayed by adding the color value of the pixel and the color value of the pixel output from the second mux 360 and outputs the color value to be displayed on the display unit 500.

이와 같은 상기 알파 블렌딩 처리부(300)에서 처리되는 알파 블렌딩을 수식으로 표현하면 다음 수학식 3과 같다.When the alpha blending processed by the alpha blending processing unit 300 is expressed by an equation, Equation 3 is obtained.

이때, : OSD1의 컬러값, : OSD2의 컬러값,At this time, : Color value of OSD1, : Color value of OSD2,

: 디스플레이될 컬러값이다. : Color value to be displayed.

그리고 상기 는 상기 제 1, 2 먹스(350)(360)에서 각각 선택되는 알파값으로서, 스위칭 플레인(400)에서 출력되는 제어신호(SP)에 의해 다음 표 1과 같이 정의된다. 이때, 표 1은 사용자의 설정에 의해 변경될 수 있다.And said And Is an alpha value selected from the first and second muxes 350 and 360, respectively, and is defined as shown in Table 1 below by the control signal SP output from the switching plane 400. In this case, Table 1 may be changed by the user's setting.

SPSP descriptiondescription 00 OSD1이 상위인 경우If OSD1 is higher 1One OSD2가 상위인 경우OSD2 is higher

이와 같이 구성된 본 발명에 따른 OSD 레이어간의 스위칭 방법을 도면을 참조하여 상세히 설명하면 다음과 같다.The switching method between the OSD layers according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.

도 5 는 본 발명에 따른 스위칭 플레인을 이용하여 OSD 레이어간의 스위칭 방법을 나타낸 흐름도이다.5 is a flowchart illustrating a method of switching between OSD layers using a switching plane according to the present invention.

도 5와 같이 먼저, 외부에서 수신부를 통해 다수의 자막신호 또는/및 영상신호가 수신되면(S10), 이중 동시에 한 화면에 입력되는 다수의 자막신호 또는/및 영상신호(설명의 간략화를 위해 2개의 신호로 한정한다) OSD1과 OSD2를 제 1 OSD부(100)와 제 2 OSD부(200)로 각각 입력한다(S20).First, as shown in FIG. 5, when a plurality of caption signals and / or video signals are received from the outside (S10), a plurality of caption signals or / and video signals simultaneously input to one screen (2 for simplicity of explanation). OSD1 and OSD2 are input to the first OSD unit 100 and the second OSD unit 200, respectively (S20).

이때, 상기 수신부를 통해 수신되는 자막신호 또는/및 영상신호는 각 신호의 특성정보를 포함하고 있다. 상기 특성정보로는 픽셀의 투명도, 컬러, 높낮이, 크기 정보 등이 있다. In this case, the caption signal and / or the video signal received through the receiver includes characteristic information of each signal. The characteristic information includes pixel transparency, color, height, and size information.

따라서, 스위칭 플레인(400)은 상기 자막신호 또는/및 영상신호와 함께 입력되는 특성정보를 입력으로 각 영상신호에 따른 레이어의 픽셀별 상하위의 순서를 판단하고, 이에 따른 제어신호를 생성한다(S30).Accordingly, the switching plane 400 determines the top and bottom order for each pixel of the layer according to each video signal by inputting the characteristic information input together with the caption signal and / or the video signal, and generates a control signal accordingly (S30). ).

이어 상기 제 1 OSD부(100)와 제 2 OSD부(200)는 입력된 OSD1과 OSD2를 스케일러를 수행하여 각 픽셀별로 알파 블렌딩 처리부(300)로 출력하고, 상기 스위칭 플레인(400)은 상기 스케일러를 통해 알파 블렌딩 처리부(300)로 출력되는 각 픽셀에 상응하는 제어신호를 출력한다(S40).Subsequently, the first OSD unit 100 and the second OSD unit 200 perform scalers on the input OSD1 and OSD2 to output the alpha blending processing unit 300 for each pixel, and the switching plane 400 performs the scaler. The control signal corresponding to each pixel output to the alpha blending processing unit 300 is output through S40.

그러면, 상기 알파 블렌딩 처리부(300)는 상기 스위칭 플레인(400)에서 출력되는 제어신호를 통해 상기 제 1, 2 OSD부(100)(200)를 통해 입력되는 다수의 영상신호 OSD1과 OSD2의 각 픽셀별 상위 및 하위 레이어를 판단하여 알파 블렌딩을 처리한다(S50).Then, the alpha blending processing unit 300 each pixel of the plurality of image signals OSD1 and OSD2 inputted through the first and second OSD units 100 and 200 through the control signal output from the switching plane 400. The alpha blending process is performed by determining the upper and lower layers of the star (S50).

즉, 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP)가 0인 경우 상기 알파 블렌딩 처리부(300)는 OSD1로부터 입력된 픽셀을 상위 레이어로, 그리고 OSD2로부터 입력된 픽셀을 하위 레이어로 판단한다. 또한 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP)가 1인 경우 상기 알파 블렌딩 처리부(300)는 OSD1로부터 입력된 픽셀을 하위 레이어로, 그리고 OSD2로부터 입력된 픽셀을 상위 레이어로 판단한다.That is, when the control signal SP output from the switching plane 400 is 0, the alpha blending processor 300 determines the pixel input from OSD1 as the upper layer and the pixel input from OSD2 as the lower layer. . In addition, when the control signal SP output from the switching plane 400 is 1, the alpha blending processor 300 determines a pixel input from OSD1 as a lower layer and a pixel input from OSD2 as an upper layer.

이와 같이, 상기 스위칭 플레인(400)에서 출력되는 제어신호에 따라 상기 OSD1로부터 입력된 픽셀을 상위 레이어로, 상기 OSD2로부터 입력된 픽셀을 하위 레이어로 판단되면, 두 픽셀이 겹쳐지는 부분을 디스플레이할 때 상위의 레이어인 OSD1은 알파값 을 이용하여 처리되고, 하위의 레이어인 OSD2는 알파값 을 이용하여 알파 블렌딩된다.As such, when it is determined that the pixel input from the OSD1 is the upper layer and the pixel input from the OSD2 is the lower layer according to the control signal output from the switching plane 400, when displaying a portion where the two pixels overlap. The upper layer OSD1 is the alpha value And the lower layer OSD2 is alpha value. Alpha blended using.

아울러 상기 OSD2으로부터 입력된 픽셀을 상위 레이어로, 상기 OSD1로부터 입력된 픽셀을 하위 레이어로 판단되면, 두 픽셀이 겹쳐지는 부분을 디스플레이할 때 상위의 레이어인 OSD2는 알파값 을 이용하여 처리되고, 하위의 레이어인 OSD1은 알파값 을 이용하여 알파 블렌딩된다.In addition, if it is determined that the pixel input from the OSD2 is an upper layer and the pixel input from the OSD1 is a lower layer, when displaying a portion where two pixels overlap each other, the upper layer OSD2 is an alpha value. And the lower layer OSD1 is alpha value. Alpha blended using.

이때, 상기 은 디스플레이될 색의 강도를 1이라고 했을 때 0과 1사이의 값을 가진다. 즉, OSD 레이어의 알파값은 색이 가질 수 있는 최소값과 최대값 사이이다.At this time, the And Has a value between 0 and 1 when the intensity of the color to be displayed is 1. In other words, the alpha value of the OSD layer is between the minimum and maximum values that a color can have.

따라서, 알파 블렌딩을 위해서 먼저 상위 레이어인 컬러값( )을 알파값과 곱한다. 이어 하위 레이어인 컬러값을 1에서 알파값을 뺀 값과 곱하게 된다. 그러면, 두 픽셀의 합은 1이 되어 100%의 불투명도를 나타내게 된다.Therefore, for alpha blending, the first layer is the color value ( ) Is multiplied by the alpha value. Subsequently, the lower layer color value is multiplied by 1 minus the alpha value. Then the sum of the two pixels adds up to 1, resulting in 100% opacity.

그러므로, 상기 곱해서 나온 두 결과값을 가산하여 디스플레이될 최종 컬러값을 출력하여 표시부(500)에 디스플레이한다(S60).Therefore, the resultant color value to be displayed is added by adding the two result values multiplied by the multiplication result and displayed on the display unit 500 (S60).

따라서, 상기 OSD1과 OSD2의 불투명도가 100%로 알파값이 '1'인 경우에도 스위칭 플레인에서 출력되는 제어신호(SP)에 따라서 수학식 4와 같이 디스플레이될 상위 레이어를 픽셀별로 결정할 수 있게 된다.Therefore, even when the opacity of the OSD1 and OSD2 is 100% and the alpha value is '1', the upper layer to be displayed can be determined for each pixel according to the control signal SP output from the switching plane as shown in Equation 4.

SP = 1인 경우 : If SP = 1:

여기서, 상기 제 1 OSD부(100) 및 제 2 OSD부(200)에 입력되는 다수의 신호 중 동시에 한 화면에 입력되는 신호가 없는 경우에는 알파 블렌딩 처리부(300)는 바이패스(bypass)되어 바로 표시부(500)에 OSD1 또는 OSD2가 디스플레이된다. 이는 일반적인 경우로 상세한 설명은 생략한다.Here, when no signal is simultaneously input to one screen among a plurality of signals input to the first OSD unit 100 and the second OSD unit 200, the alpha blending processing unit 300 is bypassed and immediately OSD 1 or OSD 2 is displayed on the display unit 500. This is a general case and a detailed description thereof will be omitted.

이와 같은 방법으로 표시부(500)에 디스플레이되는 영상은 도 6과 같이 OSD1을 상위 레이어로 OSD2를 하위 레이어라고 가정했을 때, 상기 OSD1의 알파값( )이 '1'이 되어 100% 불투명도를 가질 경우에도 상위 레이어인 OSD1을 포함하는 소정 영역(c)에서 상기 OSD2를 선택적으로 시청할 수 있게 된다.In this way, the image displayed on the display unit 500 has the alpha value of the OSD1 when the OSD1 is the upper layer and the OSD2 is the lower layer as shown in FIG. 6. ) Becomes '1' to have 100% opacity, so that the OSD2 can be selectively viewed in a predetermined area (c) including the upper layer OSD1.

다음 표 2는 도 6에서 나타내고 있는 표시부에 디스플레이되는 영역별로 스위칭 플레인의 제어신호(SP1) 및 OSD의 상태를 나타낸 그래프이다. Table 2 is a graph showing the state of the control signal SP1 and the OSD of the switching plane for each region displayed on the display unit illustrated in FIG. 6.

영역domain -- OSDOSD SPSP 출력Print (a)(a) -- onon 1One OSD1 + OSD2OSD1 + OSD2 (b)(b) -- offoff -- OSD2OSD2 (c)(c) -- xx 00 OSD2OSD2 (d)(d) -- offoff 1One OSD2OSD2

이때, 상기 표시부(500)의 다른 영역인 (b), (d)에서는 OSD2가 그대로 디스플레이 되게 된다. In this case, OSD2 is displayed as it is in other areas (b) and (d) of the display unit 500.

이와 같이, 표시부(500)는 상부에 위치하는 자막신호 또는/및 영상신호의 소정영역인 (c)영역에 하부에 위치하는 자막신호 또는/및 영상신호를 디스플레이 가능하나, 이 경우 하부에 위치하는 자막신호 또는/및 영상신호를 소정영역인 (c)에서만 디스플레이되도록 하고, 상기 (b), (d)영역에서는 OSD2 신호가 디스플레이 되지 않도록 하는데 어려움을 있다.As such, the display unit 500 may display a caption signal and / or a video signal located at a lower portion in the region (c), which is a predetermined region of the caption signal and / or a video signal located at an upper portion thereof. It is difficult to display the caption signal and / or the video signal only in a predetermined area (c), and to prevent the OSD2 signal from being displayed in the areas (b) and (d).

도 7 은 이를 해결하기 위한 본 발명에 따른 알파 블렌딩을 구현한 구조를 나타낸 도면이다.7 is a diagram illustrating a structure of implementing alpha blending according to the present invention for solving this problem.

도 7을 참조하여 설명하면, 먼저, 외부에서 수신부를 통해 자막신호 또는/및 영상신호인 OSD1을 입력받아 스케일러를 수행하는 제 1 OSD부(100)와, 외부에서 수신부를 통해 상기 OSD1과 동일한 화면상에 동시에 디스플레이되는 자막신호 또는/및 영상신호인 OSD2를 입력받아 스케일러를 수행하는 제 2 OSD부(200)와, 상기 OSD1 및 OSD2가 디스플레이되는 화면의 백그라운드를 소정 컬러로 설정하는 백그라운드부(600)와, 상기 제 1, 2 OSD부(100)(200)를 통해 각각 입력되는 신호 중 픽셀별로 상위 레이어 및 하위 레이어를 설정하는 제어신호(SP1) 및 상기 백그라운드의 삽입을 설정하는 제어신호(SP2)를 출력하는 스위칭 플레인(switching plane)(400)과, 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP1)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하여 알파 블렌딩을 수행하고, 제어신호(SP2)를 통해 상기 백그라운드 삽입을 수행하는 알파 블렌딩 처리부(300)와, 상기 알파 블렌딩 처리부(300)에서 처리된 영상을 디스플레이하는 표시부(500)로 구성된다.Referring to FIG. 7, first, the first OSD unit 100 which receives the subtitle signal and / or the video signal OSD1 from the outside and performs a scaler, and the same screen as the OSD1 through the receiving unit from the outside A second OSD unit 200 which receives a caption signal and / or an image signal OSD2 simultaneously displayed on the screen and performs a scaler, and a background unit 600 which sets a background of a screen on which the OSD1 and OSD2 are displayed to a predetermined color. ), A control signal SP1 for setting an upper layer and a lower layer for each pixel among the signals input through the first and second OSD units 100 and 200, and a control signal SP2 for setting the insertion of the background. Determine an upper layer and a lower layer for each pixel of the OSD1 and OSD2 by using a switching plane 400 for outputting a) and a control signal SP1 output from the switching plane 400. Performing a wave blending, and is composed of alpha blending processing unit 300, a display 500 for displaying the image processed by the alpha blending processing unit 300 performs the background inserted through the control signal (SP2).

이때, 상기 알파 블렌딩 처리부(300)는 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP1)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하고 상위 레이어(OSD1)의 알파값( )을 이용하여 하위 레이어(OSD2)간의 투명도를 계산하는 OSD 알파 블렌딩부(312)와, 외부에서 OSD의 백그라운드 사용여부를 나타내는 입력신호 BGColor_is_on의 값에 따라 백그라운드 및 하위 레이어(OSD2)의 픽셀 컬러값 중 어느 하나를 선택적으로 출력하는 BG 선택부(314)와, 외부에서 해당 픽셀이 OSD 영역에 속해있는지 여부를 나타내는 입력신호 OSD_is_on의 값에 따라 상기 OSD 알파 블렌딩부(312)의 출력값(C(A))과 상기 BG 선택부(314)의 출력값(C(B)) 중 어느 하나를 선택적으로 출력하는 OSD-BG 선택부(316)와, 상기 스위칭 플레인(400)의 제어신호(SP2)를 통해 상기 OSD-BG 선택부(316)의 출력값(C(C))과 하위 레이어(CV) 중 어느 하나를 선택적으로 출력하는 OSD/BG-비디오 선택부(318)로 구성된다.In this case, the alpha blending processor 300 determines the upper layer and the lower layer for each pixel of the OSD1 and the OSD2 through the control signal SP1 output from the switching plane 400, and determines the alpha value of the upper layer OSD1. OSD alpha blending unit 312 for calculating the transparency between the lower layers (OSD2) using the () and the pixel color values of the background and lower layers (OSD2) according to the value of the input signal BGColor_is_on indicating whether the OSD is used in the background from the outside. of any one of selective BG selecting section 314 for outputting the output value of the corresponding pixel from the outside of the OSD alpha blending unit 312 in accordance with the value of the input signal OSD_is_on indicating whether the part of the OSD area (C (a ) ) And the OSD-BG selector 316 for selectively outputting any one of the output value C (B ) of the BG selector 314 and the control signal SP2 of the switching plane 400. The OSD / BG-video selection unit 318 selectively outputs any one of the output value C (C) and the lower layer C V of the OSD-BG selection unit 316.

또한, 상기 스위칭 플레인(400)에서 출력되는 제어신호 (SP1) 및 (SP2)은 1비트의 크기를 갖는 '0' 또는 '1'의 값을 갖으며, 서로 동일한 값을 갖고 상기 OSD 알파 블렌딩부(312) 및 OSD/BG-비디오 선택부(318)를 제어하는 것이 바람직하다. In addition, the control signals SP1 and SP2 output from the switching plane 400 have a value of '0' or '1' having a size of 1 bit, have the same value, and the OSD alpha blending unit. It is desirable to control 312 and the OSD / BG-video selector 318.

이와 같이 구성된 본 발명에 따른 스위칭 플레인을 이용한 OSD 백그라운드 구현 방법을 도면을 참조하여 상세히 설명하면 다음과 같다.The OSD background implementation method using the switching plane according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.

도 8 은 본 발명에 따른 스위칭 플레인을 이용한 OSD 백그라운드 구현 방법을 나타낸 흐름도이다.8 is a flowchart illustrating a method for implementing an OSD background using a switching plane according to the present invention.

도 8과 같이 먼저, 외부에서 수신부를 통해 다수의 자막신호 또는/및 영상신호가 수신되면(S100), 이중 동시에 한 화면에 입력되는 다수의 자막신호 또는/및 영상신호(설명의 간략화를 위해 2개의 신호로 한정한다) OSD1과 OSD2를 제 1 OSD부(100)와 제 2 OSD부(200)로 각각 입력한다(S110).First, as shown in FIG. 8, when a plurality of caption signals and / or video signals are received through the receiver from the outside (S100), a plurality of caption signals or / and video signals simultaneously input to one screen (2 for simplicity of explanation). OSD1 and OSD2 are input to the first OSD unit 100 and the second OSD unit 200, respectively (S110).

이때, 상기 수신부를 통해 수신되는 자막신호 또는/및 영상신호는 각 신호의 특성정보를 포함하고 있으며, 상기 특성정보로는 픽셀의 투명도, 컬러, 높낮이, 크기 정보 등이 있다.In this case, the caption signal and / or video signal received through the receiver includes characteristic information of each signal, and the characteristic information includes pixel transparency, color, height, and size information.

따라서, 스위칭 플레인(400)은 상기 자막신호 또는/및 영상신호와 함께 입력되는 특성정보를 입력으로 각 영상신호에 따른 레이어의 픽셀별 상하위의 순서와 백그라운드의 영역을 판단하고, 이에 따른 제어신호를 생성한다(S120).Therefore, the switching plane 400 determines the top and bottom order and the region of the background of each pixel according to each video signal by inputting the characteristic information input together with the caption signal and / or the video signal, and determines the control signal accordingly. It generates (S120).

이어 상기 제 1 OSD부(100)와 제 2 OSD부(200)는 입력된 OSD1과 OSD2를 스케일러를 수행하여 각 픽셀별로 OSD 알파 블렌딩부(300)로 출력하고, 상기 스위칭 플레인(400)은 상기 스케일러를 통해 OSD 알파 블렌딩부(312)로 출력되는 각 픽셀에 상응하는 픽셀별 상하위의 순서를 결정짓는 제어신호(SP1)를 출력한다(S130).Subsequently, the first OSD unit 100 and the second OSD unit 200 scale the input OSD1 and OSD2 to output the OSD alpha blending unit 300 for each pixel, and the switching plane 400 The control signal SP1 for determining the order of the pixels for each pixel corresponding to each pixel output to the OSD alpha blending unit 312 through the scaler is output (S130).

그러면, 상기 OSD 알파 블렌딩부(312)는 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP1)를 통해 상기 제 1, 2 OSD부(100)(200)를 통해 입력되는 다수의 영상신호 OSD1과 OSD2의 각 픽셀별 상위 및 하위 레이어를 판단하여 알파 블렌딩을 처리하고 해당 픽셀의 컬러값(C(A))을 출력한다(S140).Then, the OSD alpha blending unit 312 may include a plurality of image signals OSD1 input through the first and second OSD units 100 and 200 through the control signal SP1 output from the switching plane 400. The upper and lower layers for each pixel of OSD2 are determined to process alpha blending, and the color value C (A) of the corresponding pixel is output (S140).

즉, 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP1)가 '0'인 경우 상기 OSD 알파 블렌딩부(312)는 OSD1로부터 입력된 픽셀을 상위 레이어로, 그리고 OSD2로부터 입력된 픽셀을 하위 레이어로 판단한다. 또한 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP1)가 '1'인 경우 상기 OSD 알파 블렌딩부(312)는 OSD1로부터 입력된 픽셀을 하위 레이어로, 그리고 OSD2로부터 입력된 픽셀을 상위 레이어로 판단한다.That is, when the control signal SP1 output from the switching plane 400 is '0', the OSD alpha blending unit 312 uses the pixel input from the OSD1 as the upper layer and the pixel input from the OSD2 as the lower layer. Judging by. In addition, when the control signal SP1 output from the switching plane 400 is '1', the OSD alpha blending unit 312 may convert a pixel input from OSD1 into a lower layer and a pixel input from OSD2 into an upper layer. To judge.

이와 같이, 상기 스위칭 플레인(400)에서 출력되는 제어신호(SP1)에 따라 상기 OSD1로부터 입력된 픽셀을 상위 레이어로, 상기 OSD2로부터 입력된 픽셀을 하위 레이어로 판단되면, 두 픽셀이 겹쳐지는 부분을 디스플레이할 때 상위의 레이어인 OSD1은 알파값 을 이용하여 처리되고, 하위의 레이어인 OSD2는 알파값 을 이용하여 알파 블렌딩된다.As such, when it is determined that the pixel input from the OSD1 is the upper layer and the pixel input from the OSD2 is the lower layer according to the control signal SP1 output from the switching plane 400, the overlapping portion of the two pixels is determined. When displaying, the upper layer OSD1 is the alpha value. And the lower layer OSD2 is alpha value. Alpha blended using.

아울러 상기 OSD2로부터 입력된 픽셀을 상위 레이어로, 상기 OSD1로부터 입력된 픽셀을 하위 레이어로 판단되면, 두 픽셀이 겹쳐지는 부분을 디스플레이할 때 상위의 레이어인 OSD2는 알파값 을 이용하여 처리되고, 하위의 레이어인 OSD1은 알파값 을 이용하여 알파 블렌딩된다.In addition, if it is determined that the pixel input from the OSD2 is an upper layer and the pixel input from the OSD1 is a lower layer, when displaying a portion where two pixels overlap each other, the upper layer OSD2 is an alpha value. And the lower layer OSD1 is alpha value. Alpha blended using.

이때, 상기 은 디스플레이될 색의 강도를 1이라고 했을 때 0과 1사이의 값을 가진다. 즉, OSD 레이어의 알파값은 색이 가질 수 있는 최소값과 최대값 사이이다.At this time, the And Has a value between 0 and 1 when the intensity of the color to be displayed is 1. In other words, the alpha value of the OSD layer is between the minimum and maximum values that a color can have.

따라서, 알파 블렌딩을 위해서 먼저 상위 레이어인 컬러값( )을 알파값과 곱한다. 이어 하위 레이어인 컬러값을 1에서 알파값을 뺀 값과 곱하게 된다. 그러면, 두 픽셀의 합은 1이 되어 100%의 불투명도를 나타내게 된다.Therefore, for alpha blending, the first layer is the color value ( ) Is multiplied by the alpha value. Subsequently, the lower layer color value is multiplied by 1 minus the alpha value. Then the sum of the two pixels adds up to 1, resulting in 100% opacity.

실 예로서, 상기 OSD1과 OSD2의 불투명도가 100%로 알파값이 '1'인 경우에도 스위칭 플레인에서 출력되는 제어신호(SP)에 따라서 수학식 4와 같이 디스플레이될 상위 레이어를 픽셀별로 결정할 수 있게 된다.For example, even when the opacity of the OSD1 and OSD2 is 100% and the alpha value is '1', the upper layer to be displayed can be determined for each pixel according to the control signal SP output from the switching plane as shown in Equation 4. do.

SP = 1인 경우 : If SP = 1:

이와 같은 방법으로 표시부(500)에 디스플레이되는 영상은 도 6과 같이 OSD1을 상위 레이어로 OSD2를 하위 레이어라고 가정했을 때, 상기 OSD1의 알파값( )이 '1'이 되어 100% 불투명도를 가질 경우에도 상위 레이어인 OSD1을 포함하는 소정 영역(c)에서 상기 OSD2를 추가로 시청할 수 있게 된다.In this way, the image displayed on the display unit 500 has the alpha value of the OSD1 when the OSD1 is the upper layer and the OSD2 is the lower layer as shown in FIG. 6. ) Becomes '1' so that the OSD2 can be additionally viewed in a predetermined area (c) including the upper layer OSD1.

이어, 상기 BG 선택부(314)는 외부에서 OSD의 백그라운드 사용여부를 나타내는 입력신호 BGColor_is_on의 값을 입력받아(S150), 이를 통해 백그라운드부(600)에서 입력되는 백그라운드 픽셀의 컬러값과 하위 레이어(OSD2)의 픽셀 컬러값 중 어느 하나의 값(C(B))을 선택적으로 출력한다(S160)(S170).Subsequently, the BG selector 314 receives a value of the input signal BGColor_is_on indicating whether the OSD is used in the background (S150), and through this, the color value of the background pixel inputted from the background unit 600 and the lower layer ( One of the values C (B ) of the pixel color values of the OSD2 is selectively output (S160) (S170).

즉, 입력신호 BGColor가 온(on) 이면 백그라운드 픽셀의 컬러값을 출력하고(S170), 입력신호 BGColor가 오프(off)이면 하위 레이어 픽셀의 컬러값을 출력한다(S160).That is, when the input signal BGColor is on, the color value of the background pixel is output (S170). If the input signal BGColor is off, the color value of the lower layer pixel is output (S160).

이렇게 상기 BG 선택부(314)에서 출력되는 백그라운드 픽셀의 컬러값 또는 하위 레이어(OSD2)의 픽셀 컬러값은 상기 OSD 알파 블렌딩부(312)에서 출력되는 디스플레이될 최종 컬러값(C(A))과 함께 OSD-BG 선택부(316)에 입력받는다.In this way, the color value of the background pixel output from the BG selector 314 or the pixel color value of the lower layer OSD2 is different from the final color value C (A) to be output from the OSD alpha blending unit 312. Together with the OSD-BG selection unit 316 is received.

그리고 상기 OSD-BG 선택부(316)는 외부에서 해당 픽셀이 상위 레이어(OSD1) 영역에 속해있는지 여부를 나타내는 입력신호 OSD_is_on의 값을 입력받고(S180), 이에 따라 상기 OSD 알파 블렌딩부의 출력값(C(A))과 상기 BG 선택부의 출력값(C(B)) 중 어느 하나를 선택적으로 출력한다(S190)(S200).The OSD-BG selector 316 receives an input value of the input signal OSD_is_on indicating whether the corresponding pixel belongs to an upper layer (OSD1) region from the outside (S180), and accordingly, output value C of the OSD alpha blending unit. One of (A) ) and the output value C (B ) of the BG selector are selectively output (S190) (S200).

즉, 입력신호 OSD가 온(on)이면 상기 OSD 알파 블렌딩부(312)의 출력값(C(A))을 출력하고(S200), 입력신호 OSD가 오프(off)이면 상기 BG 선택부(314)의 출력값(C(B))을 출력한다(S190).That is, if the input signal OSD is on, the output value C (A) of the OSD alpha blending unit 312 is output (S200). If the input signal OSD is off, the BG selection unit 314 is output. The output value C (B ) is output (S190).

이어 OSD/BG-비디오 선택부(318)는 상기 OSD-BG 선택부(316)의 출력값과 하위 레이어(OSD2)를 입력받고, 상기 스위칭 플레인의 제어신호(SP2)에 따라 상기 OSD-BG 선택부(316)의 출력값(C(C))과 하위 레이어(OSD2)의 픽셀 컬러값(CV) 중 어느 하나를 선택적으로 출력한다(S210).Subsequently, the OSD / BG-video selector 318 receives the output value of the OSD-BG selector 316 and the lower layer OSD2, and the OSD-BG selector according to the control signal SP2 of the switching plane. One of the output value C (C ) of 316 and the pixel color value C V of the lower layer OSD 2 is selectively output (S210).

즉, 상기 스위칭 플레인에서 입력되는 제어신호(SP2)가 '0'이면 상기 OSD-BG 선택부의 출력값(C(C))을 출력하고, 상기 스위칭 플레인에서 입력되는 제어신호(SP2)가 '1'이면 하위 레이어의 픽셀 컬러값(CV)을 출력한다.That is, when the control signal SP2 input from the switching plane is '0', the output value C (C) of the OSD-BG selector is output, and the control signal SP2 input from the switching plane is '1'. In this case, the pixel color value C V of the lower layer is output.

그리고 상기 OSD/BG-비디오 선택부(318)에서 출력되는 최종 픽셀 컬러값(C(D))을 표시부(500)에 디스플레이한다(S220).The final pixel color value C (D) output from the OSD / BG-video selection unit 318 is displayed on the display unit 500 (S220).

이와 같은 방법으로 상기 표시부(500)에 디스플레이되는 영상은 도 9와 같이 OSD1을 상위 레이어로 OSD2를 하위 레이어라고 가정했을 때, 상기 OSD1의 알파값( )이 '1'이 되어 100% 불투명도를 가질 경우에도 상위 레이어인 OSD1을 포함하는 소정 영역(c)에서 상기 OSD2를 추가로 시청할 수 있게 된다. 아울러 상기 표시부(500)는 상부에 위치하는 자막신호 또는/및 영상신호의 소정영역인 (c)영역에 하부에 위치하는 자막신호 또는/및 영상신호를 디스플레이하면서, 다른 영역인 (b), (d)영역에는 백그라운드 컬러가 디스플레이 되게 된다.In this manner, when the image displayed on the display unit 500 assumes that OSD1 is the upper layer and OSD2 is the lower layer as shown in FIG. 9, the alpha value of the OSD1 ( ) Becomes '1' so that the OSD2 can be additionally viewed in a predetermined area (c) including the upper layer OSD1. In addition, the display unit 500 displays the caption signal and / or the video signal located at the lower part of the predetermined area (c) of the caption signal and / or the video signal located on the upper part, and the other areas (b) and ( The background color is displayed in the area d).

다음 표 3은 도 9에서 나타내고 있는 표시부(500)의 영역별로 백그라운드의 설정과 스위칭 플레인의 제어신호(SP1) 및 OSD의 상태를 나타낸 그래프이다. Table 3 is a graph showing the setting of the background, the control signal SP1 of the switching plane, and the state of the OSD for each region of the display unit 500 illustrated in FIG. 9.

영역domain 백그라운드background OSDOSD SPSP 출력Print (a)(a) xx onon 1One OSD1 + OSD2OSD1 + OSD2 (b)(b) offoff offoff 1One OSD2OSD2 (c)(c) xx xx 00 OSD2OSD2 (d)(d) onon offoff 1One BB

이때, 상기 백그라운드의 설정은 또 다른 OSD를 갖는 영상 이미지를 사용하거나, 고정된 색을 적용할 수도 있으나 이 경우에는 메모리에서 이미지를 읽어오기 위해 사용되는 메모리 대역폭(bandwidth)과 하드웨어의 비용이 스위치 플레인을 통한 고정된 색을 적용할 경우보다 크게 늘어나게 된다.In this case, the setting of the background may use a video image having another OSD or apply a fixed color. However, in this case, the memory bandwidth and hardware cost used to read an image from the memory may be changed. If you apply a fixed color through the will increase significantly.

실 예를 보면, DTV의 경우 한 프레임에 따른 픽셀은 1280x720이므로, 여기에 OSD를 갖는 영상 이미지를 사용하는 경우에는 메모리의 대역폭이 (1280x720) x 데이터값(16비트, 32비트)의 크기를 필요로 하게 된다.For example, in the case of DTV, the pixel according to one frame is 1280x720, so when using a video image with OSD, the memory bandwidth needs to be (1280x720) x data value (16 bits, 32 bits). Done.

이에 반해, 본 발명과 같이 스위칭 플레인(400)을 통한 고정된 색을 적용할 경우는 메모리의 대역폭이 (1280x720) x 스위칭 플레인의 제어신호의 크기(1비트)를 갖게 되어, 최소 16배의 메모리 크기 및 대역폭을 절약할 수 있다.In contrast, when a fixed color through the switching plane 400 is applied as in the present invention, the bandwidth of the memory is (1280x720) x the size of the control signal of the switching plane (1 bit). You can save size and bandwidth.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다. Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

이상에서 설명한 바와 같은 본 발명에 따른 OSD 레이어간의 스위칭 방법은 다음과 같은 효과가 있다.As described above, the method for switching between OSD layers according to the present invention has the following effects.

첫째, 레이어간의 픽셀별 상하를 자유롭게 조정하게 되어 기존의 방법에서 사용될 수 없었던 다양한 디스플레이 효과를 기대할 수 있다.First, it is possible to expect various display effects that could not be used in the conventional method by freely adjusting the upper and lower pixels for each layer between layers.

둘째, 백그라운드의 설정을 스위칭 플레인을 이용함으로써, 메모리 대역폭(bandwidth)과 하드웨어의 비용을 최소 16배 이상 줄일 수 있다.Second, by using the switching plane for setting the background, memory bandwidth and hardware cost can be reduced by at least 16 times.

셋째, OSD를 이용하는 모든 디스플레이 장치에서 활용될 수 있다.Third, it can be utilized in all display devices using the OSD.

도 1, 2 는 종래 기술에 따른 알파 블렌딩을 구현하는 방법을 하드웨어적으로 나타낸 도면1 and 2 are hardware diagrams illustrating a method of implementing alpha blending according to the prior art.

도 3 은 종래 기술에 따른 표시부에 디스플레이되는 영상을 나타낸 도면3 illustrates an image displayed on a display unit according to the related art.

도 4 는 본 발명에 따른 스위칭 플레인을 이용하여 알파 블렌딩을 구현한 구조를 나타낸 제 1 실시예4 is a first embodiment showing a structure in which alpha blending is implemented using a switching plane according to the present invention.

도 5 는 도 4에 따른 스위칭 플레인을 이용하여 알파 블렌딩을 구현하는 방법을 나타낸 흐름도5 is a flowchart illustrating a method of implementing alpha blending using the switching plane according to FIG. 4.

도 6 은 제 1 실시예를 통해 표시부에 디스플레이되는 영상을 나타낸 도면6 illustrates an image displayed on a display unit according to the first embodiment;

도 7 은 본 발명에 따른 알파 블렌딩을 구현한 구조를 나타낸 제 2 실시예7 is a second embodiment showing a structure implementing alpha blending according to the present invention;

도 8 은 도 7에 따른 스위칭 플레인을 이용한 OSD 백그라운드 구현 방법을 나타낸 흐름도8 is a flowchart illustrating a method for implementing an OSD background using a switching plane according to FIG. 7.

도 9 는 제 2 실시예를 통해 표시부에 디스플레이되는 영상을 나타낸 도면9 illustrates an image displayed on a display unit according to a second embodiment;

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

100 : 제 1 OSD부 200 : 제 2 OSD부100: first OSD unit 200: second OSD unit

300 : 알파 블렌딩 처리부 310 : 곱셈부300: alpha blending processing unit 310: Multiplication

312 : OSD 알파 블렌딩부 314 : BG 선택부312: OSD alpha blending unit 314: BG selection unit

316 : OSD-BG 선택부 318 : OSD/BG-비디오 선택부316: OSD-BG selector 318: OSD / BG-video selector

320 : 곱셈부 330 : 곱셈부320: Multiplication Unit 330: Multiplication

340 : 곱셈부 350 : 제 1 먹스340: Multiplication unit 350: the first mux

360 : 제 2 먹스 370 : 가산부360: second mux 370: adder

400 : 스위칭 플레인 500 : 표시부400: switching plane 500: display unit

600 : 백그라운드부600: background part

Claims (7)

수신부를 통해 다수의 자막신호 또는/및 영상신호를 입력받아 스케일러를 수행하는 OSD부와, An OSD unit configured to receive a plurality of caption signals and / or video signals through a receiver to perform a scaler; 상기 디스플레이되는 화면의 백그라운드를 소정 컬러로 설정하는 백그라운드부와, A background unit for setting a background of the displayed screen to a predetermined color; 상기 OSD부를 통해 입력되는 신호 중 동시에 동일한 영역에 표시될 픽셀별로 상위 레이어 및 하위 레이어를 설정하는 제어신호(SP1) 및 상기 백그라운드의 삽입위치를 설정하는 제어신호(SP2)를 출력하는 스위칭 플레인(switching plane)과,Switching plane for outputting a control signal SP1 for setting an upper layer and a lower layer for each pixel to be displayed in the same area among the signals input through the OSD unit and a control signal SP2 for setting an insertion position of the background. plane), 상기 스위칭 플레인에서 출력되는 제어신호(SP1)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하여 알파 블렌딩을 수행하고, 제어신호(SP2)를 통해 상기 백그라운드 삽입을 수행하는 알파 블렌딩 처리부와, An alpha blending processor that performs alpha blending by determining an upper layer and a lower layer for each pixel of the OSD1 and OSD2 through a control signal SP1 output from the switching plane, and performs background insertion through a control signal SP2. Wow, 상기 알파 블렌딩 처리부에서 처리된 영상을 디스플레이하는 표시부를 포함하여 구성되는 것을 특징으로 하는 OSD 백그라운드 구현 장치.And a display unit for displaying an image processed by the alpha blending processor. 외부에서 수신부를 통해 자막신호 또는/및 영상신호인 OSD1을 입력받아 스케일러를 수행하는 제 1 OSD부와,A first OSD unit configured to externally receive the subtitle signal and / or the video signal OSD1 through a receiver to perform a scaler; 수신부를 통해 상기 OSD1과 동일한 화면상에 동시에 디스플레이되는 자막신호 또는/및 영상신호인 OSD2를 입력받아 스케일러를 수행하는 제 2 OSD부와, A second OSD unit configured to receive a scaler by receiving a subtitle signal and / or an image signal OSD2 simultaneously displayed on the same screen as the OSD1 through a receiver; 상기 OSD1 및 OSD2가 디스플레이되는 화면의 백그라운드를 소정 컬러로 설정하는 백그라운드부와, A background unit for setting a background of a screen on which the OSD1 and OSD2 are displayed to a predetermined color; 상기 제 1, 2 OSD부를 통해 각각 입력되는 신호 중 픽셀별로 상위 레이어 및 하위 레이어를 설정하는 제어신호(SP1) 및 상기 백그라운드의 삽입을 설정하는 제어신호(SP2)를 출력하는 스위칭 플레인(switching plane)과,A switching plane outputs a control signal SP1 for setting an upper layer and a lower layer for each pixel among the signals input through the first and second OSD units, and a control signal SP2 for setting the insertion of the background. and, 상기 스위칭 플레인에서 출력되는 제어신호(SP1)를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하여 알파 블렌딩을 수행하고, 제어신호(SP2)를 통해 상기 백그라운드 삽입을 수행하는 알파 블렌딩 처리부와, An alpha blending processor that performs alpha blending by determining an upper layer and a lower layer for each pixel of the OSD1 and OSD2 through a control signal SP1 output from the switching plane, and performs background insertion through a control signal SP2. Wow, 상기 알파 블렌딩 처리부에서 처리된 영상을 디스플레이하는 표시부를 포함하여 구성되는 것을 특징으로 하는 OSD 백그라운드 구현 장치.And a display unit for displaying an image processed by the alpha blending processor. 제 2 항에 있어서, 상기 알파 블렌딩 처리부는 The method of claim 2, wherein the alpha blending processing unit 상기 스위칭 플레인에서 출력되는 제어신호를 통해 상기 OSD1 및 OSD2의 픽셀별로 상위 레이어 및 하위 레이어를 판단하고 상위 레이어의 알파값을 이용하여 하위 레이어간의 투명도를 계산하는 OSD 알파 블렌딩부와, An OSD alpha blending unit configured to determine an upper layer and a lower layer for each pixel of the OSD1 and OSD2 based on a control signal output from the switching plane, and calculate transparency between lower layers by using an alpha value of an upper layer; 외부에서 OSD의 백그라운드 사용여부를 나타내는 입력신호에 따라 백그라운드 및 하위 레이어의 픽셀 컬러값 중 어느 하나를 선택적으로 출력하는 BG 선택부와, A BG selection unit for selectively outputting any one of a background color and a pixel color value of a lower layer according to an input signal indicating whether the OSD is used in the background; 외부에서 해당 픽셀이 OSD 영역에 속해있는지 여부를 나타내는 입력신호에 따라 상기 OSD 알파 블렌딩부의 출력값(C(A))과 상기 BG 선택부의 출력값(C(B)) 중 어느 하나를 선택적으로 출력하는 OSD-BG 선택부와,OSD selectively outputs one of the output value (C (A) ) of the OSD alpha blending unit and the output value (C (B) ) of the BG selector according to an input signal indicating whether or not the corresponding pixel belongs to the OSD region from the outside With the BG selector, 상기 스위칭 플레인의 제어신호를 통해 상기 OSD-BG 선택부의 출력값(C(C))과 하위 레이어(CV) 중 어느 하나를 선택적으로 출력하는 OSD/BG-비디오 선택부를 포함하여 구성되는 것을 특징으로 하는 OSD 백그라운드 구현 장치.And an OSD / BG-video selection unit for selectively outputting any one of an output value C (C) and a lower layer C V of the OSD-BG selection unit through a control signal of the switching plane. OSD background implementation device. 제 3 항에 있어서,The method of claim 3, wherein 상기 스위칭 플레인에서 출력되는 제어신호는 1비트의 크기를 갖는 '0' 또는 '1'의 값을 갖으며, 서로 동일한 값을 갖고 상기 OSD 알파 블렌딩부 및 OSD/BG-비디오 선택부를 제어하는 것을 특징으로 하는 OSD 백그라운드 구현 장치. The control signal output from the switching plane has a value of '0' or '1' having a size of 1 bit, has the same value, and controls the OSD alpha blending unit and the OSD / BG-video selection unit. OSD background implementation device. 외부에서 수신부를 통해 다수의 자막신호 또는/및 영상신호가 수신되면, 이중 동시에 한 화면에 입력되는 다수의 자막신호 또는/및 영상신호를 다수의 OSD부를 이용하여 스케일러를 수행하여 각 픽셀별로 출력하는 단계와,When a plurality of caption signals and / or video signals are received from the outside through a receiver, a plurality of caption signals and / or video signals simultaneously inputted on one screen may be scaled using a plurality of OSD units to output for each pixel. Steps, 상기 수신부를 통해 수신된 다수의 자막신호 또는/및 영상신호와 함께 입력되는 신호의 특성정보를 이용하여 각 자막신호 또는/및 영상신호에 따른 픽셀별 레이어의 상하위의 순서를 설정하고 백그라운드의 영역을 판단하기 위한 제어신호를 생성하는 단계와,By using the characteristic information of a signal input together with a plurality of caption signals and / or video signals received through the receiving unit, a top and bottom order of layers for each pixel according to each caption signal and / or video signal are set, and a background region is set. Generating a control signal for determining; 상기 생성된 제어신호를 통해 상기 다수의 OSD부를 통해 입력되는 다수 자막신호 또는/및 영상신호의 각 픽셀 또는 백그라운드 신호의 각 픽셀의 컬러값을 설정하는 알파 블렌딩을 수행하는 단계와, Performing alpha blending for setting a color value of each pixel of a plurality of subtitle signals and / or a video signal or a background signal inputted through the plurality of OSD units through the generated control signal; 상기 알파 블렌딩 처리된 최종 컬러값을 디스플레이부에 표시하는 단계를 포함하여 이루어지는 것을 특징으로 하는 OSD 레이어간의 스위칭 방법.And displaying the alpha blended final color value on a display unit. 제 5 항에 있어서, 상기 알파 블렌딩 처리 단계는 The method of claim 5, wherein the alpha blending step 상기 생성된 제어신호를 통해 상기 다수의 OSD부를 통해 입력되는 다수 신호의 각 픽셀별 상위 및 하위 레이어를 판단하여 알파 블렌딩을 처리하여 해당 픽셀의 최종 컬러값(C(A))을 출력하는 제 1 출력단계와,First to output the final color value (C (A) ) of the pixel by processing the alpha blending by determining the upper and lower layers for each pixel of the plurality of signals input through the plurality of OSD unit through the generated control signal Output stage, 외부에서 OSD의 백그라운드 사용여부를 나타내는 입력신호를 통해 입력되는 백그라운드 픽셀의 컬러값과 하위 레이어의 픽셀 컬러값 중 어느 하나의 값을 선택적으로 출력하는 제 2 출력단계와,A second output step of selectively outputting any one of a color value of a background pixel and a pixel color value of a lower layer input through an input signal indicating whether the OSD is used in the background; 외부에서 해당 픽셀이 OSD 영역에 속해있는지 여부를 나타내는 입력신호를 통해 상기 제 1 출력단계를 통해 출력되는 해당 픽셀의 최종 컬러값(C(A))과 상기 제 2 출력단계를 통해 출력되는 백그라운드 픽셀의 컬러값 또는 하위 레이어(OSD2)의 픽셀 컬러값을 입력받아 이중 어느 하나를 선택적으로 출력하는 제 3 출력단계와,The final color value C (A) of the corresponding pixel output through the first output step through an input signal indicating whether the corresponding pixel belongs to the OSD region from the outside and the background pixel output through the second output step. A third output step of receiving a color value of or a pixel color value of the lower layer (OSD2) and selectively outputting any one of them; 상기 백그라운드의 영역을 판단하기 위한 제어신호를 통해 상기 제 3 출력단계에서 출력되는 픽셀의 컬러값과 하위 레이어의 픽셀 컬러값을 입력받아 이중 어느 하나를 선택적으로 출력하여 최종 컬러값을 표시부에 출력하는 제 4 출력단계를 포함하여 이루어지는 것을 특징으로 하는 OSD 백그라운드 구현 방법. A color signal of a pixel output in the third output step and a pixel color value of a lower layer are input through a control signal for determining the area of the background, and one of the pixels is selectively output and the final color value is output to the display unit. And a fourth output step. 제 5 항에 있어서, The method of claim 5, 상기 신호의 특성정보는 각 픽셀의 투명도, 컬러값, 높낮이 정보, 크기 정보 중 적어도 하나 이상인 것을 특징으로 하는 OSD 백그라운드 구현 방법.And the characteristic information of the signal is at least one of transparency, color value, height information, and size information of each pixel.
KR1020040001684A 2004-01-09 2004-01-09 Apparatus and method to implement the background of osd using switching plane KR20050073326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040001684A KR20050073326A (en) 2004-01-09 2004-01-09 Apparatus and method to implement the background of osd using switching plane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040001684A KR20050073326A (en) 2004-01-09 2004-01-09 Apparatus and method to implement the background of osd using switching plane

Publications (1)

Publication Number Publication Date
KR20050073326A true KR20050073326A (en) 2005-07-13

Family

ID=37262449

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040001684A KR20050073326A (en) 2004-01-09 2004-01-09 Apparatus and method to implement the background of osd using switching plane

Country Status (1)

Country Link
KR (1) KR20050073326A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113646203A (en) * 2019-03-29 2021-11-12 罗姆股份有限公司 Semiconductor device, and in-vehicle display system and electronic apparatus using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113646203A (en) * 2019-03-29 2021-11-12 罗姆股份有限公司 Semiconductor device, and in-vehicle display system and electronic apparatus using the same

Similar Documents

Publication Publication Date Title
KR100512611B1 (en) Method and apparatus for processing PIP of display device
KR100518825B1 (en) Real time channel grouping method and the apparatus thereof
US7006156B2 (en) Image data output device and receiving device
US20040150659A1 (en) Image processing apparatus and method
US20100271286A1 (en) Method for providing a video playback device with a television wall function, and associated video playback device and associated integrated circuit
KR20060025513A (en) Image processing method and device thereof
US20070146547A1 (en) Image processing apparatus and method
US20040165113A1 (en) Apparatus and method for adjusting screen
KR100828354B1 (en) Apparatus and method for controlling position of caption
US7999877B2 (en) Displaying data on lower resolution displays
JP5032350B2 (en) Image processing device
KR100277994B1 (en) Boundary Area Display
KR100595207B1 (en) method to implement of window skin using switching plane
EP2063636A1 (en) Video processing device and video processing method
US7710435B2 (en) Method and apparatus for generating visual effects
KR20050073326A (en) Apparatus and method to implement the background of osd using switching plane
KR101377950B1 (en) Image display method and terminal implementing the same
KR100720339B1 (en) Video processing apparatus
KR100531311B1 (en) method to implement OSD which has multi-path
KR20050055911A (en) Apparatus and method to switch between osd layers
JPH11239307A (en) Multi-screen display device
KR100329273B1 (en) Method and device for picture output in TV
KR20060087944A (en) Video processing apparatus
US20040032528A1 (en) Method and apparatus for controlling transitions between electronic program guide modes
KR100285598B1 (en) OSD generating apparatus and method for generating same in PDTV

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid