CN1239630A - Apparatus and method for generating on-screen display message using color realistic mode - Google Patents
Apparatus and method for generating on-screen display message using color realistic mode Download PDFInfo
- Publication number
- CN1239630A CN1239630A CN 96180532 CN96180532A CN1239630A CN 1239630 A CN1239630 A CN 1239630A CN 96180532 CN96180532 CN 96180532 CN 96180532 A CN96180532 A CN 96180532A CN 1239630 A CN1239630 A CN 1239630A
- Authority
- CN
- China
- Prior art keywords
- osd
- color
- pixels
- header
- data
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
通过构成定义一组“彩色逼真象素”的OSD位流来产生OSD消息的设备和伴随的方法。该OSD位流包括OSD首标和OSD数据。OSD单元从由译码/显示系统编程的该OSD首标恢复象素控制信息。该OSD首标包括用于编程该OSD单元的彩色调色板并提供处理OSD数据的指令的信息。如果在OSD首标中启动了“彩色逼真模式”,则该OSD单元将绕过该调色板并将该OSD数据作为彩色逼真象素处理。因为在一对相继象素之间公用同样的色度分量,每个相继的四个OSD数据字节组表示两个OSD象素的实际色度和亮度级。
An apparatus and accompanying method for generating OSD messages by constructing an OSD bitstream that defines a set of "color-true pixels." The OSD bitstream includes an OSD header and OSD data. The OSD unit retrieves pixel control information from the OSD header, which is programmed by the decoding/display system. The OSD header includes information for programming the OSD unit's color palette and provides instructions for processing OSD data. If "color-true mode" is enabled in the OSD header, the OSD unit bypasses the palette and processes the OSD data as color-true pixels. Because the same chrominance component is shared between a pair of consecutive pixels, each successive group of four OSD data bytes represents the actual chrominance and luminance levels of both OSD pixels.
Description
本发明涉及采用彩色逼真模式产生屏幕显示(OSD)消息的方法和设备。更具体地说,本发明涉及通过把OSD数据作为彩色逼真象素代替对整个OSD调色板的指针来增加可利用的彩色数量的方法和设备。The present invention relates to a method and apparatus for generating an On Screen Display (OSD) message using a color lifelike mode. More specifically, the present invention relates to a method and apparatus for increasing the number of available colors by treating OSD data as color-true pixels instead of pointers to an entire OSD palette.
在用户电子产品中屏幕显示消息起着重要的作用,对用户提供指他们全部使用的菜单和该产品的结构。OSD的其它重要特征包括提供闭合字幕(Closed Captioning)和信道标识(logos)显示的能力。On-screen display messages play an important role in consumer electronic products, providing the user with an indication of the menus they use throughout and the structure of the product. Other important features of OSD include the ability to provide closed captioning (Closed Captioning) and channel logos (logos) display.
然而,数字视频技术标准的变化引起了产生和显示OSD消息总量增加的问题。例如,特殊的高清晰度电视(HDTV)规格,与在一个窗中最多128个字符的现在美国全国电视制式委员会规格相比,HDTV在四个窗中必须显示高达216个字符。这些新的规格对用于译码和显示电视信号(比如,HDTV,NTSC,MPEG,等)的译码/显示系统设置了重大的压力,它们必须对输入的编码数据流译码,并以最小的延迟将该译码的数据提供给显示系统。因为OSD消息必须用视频数据显示(重叠),该译码/显示系统的微处理器必须指定一个存贮器的带宽部分,以执行OSD功能,从而增加了译码/显示系统的存贮器带宽需要和总的计算开销。However, changes in digital video technology standards have caused a problem that the amount of OSD messages to be generated and displayed has increased. For example, a particular High Definition Television (HDTV) specification, HDTV must display up to 216 characters in four windows, compared to the current NTSC specification which has a maximum of 128 characters in one window. These new specifications place significant pressure on decoding/display systems used to decode and display television signals (e.g., HDTV, NTSC, MPEG, etc.) The decoded data is provided to the display system with a delay of . Because the OSD message must be displayed (overlaid) with video data, the microprocessor of the decoding/display system must allocate a bandwidth portion of the memory to perform the OSD function, thereby increasing the memory bandwidth of the decoding/display system Requires and total computational overhead.
因此,译码/显示系统的OSD单元包括一个有限大小的调色板,以便减小硬件需求和存贮器访问。即,该OSD单元采用使用一组寄存器(入口)。其中每个入口包含一个OSD象素的色度和亮度级的表示。通过编码这些地址(目录)到该调色板作为OSD数据,译码/显示系统能够减少存贮器访问和硬件需要。Therefore, the OSD unit of the decoding/display system includes a palette of limited size in order to reduce hardware requirements and memory accesses. That is, the OSD unit employs a set of registers (entries). Each of these entries contains a representation of the chrominance and luminance levels of an OSD pixel. By encoding these addresses (directories) to the palette as OSD data, the decode/display system can reduce memory access and hardware requirements.
然而,这些系统有对于OSD消息的显示可利用的彩色数量的限制。因为该调色板具有固定的尺寸,不能很好的适用于对后来增加彩色的数量的支持可能需要的标准变化。例如,为了将彩色的数量从16增加到256(标准VGA),将需要将240个额外的寄码器加到调色板上,而现在只支持16个入口。However, these systems have limitations in the number of colors available for the display of OSD messages. Because the palette has a fixed size, it does not lend itself well to standard changes that may be required to support later increases in the number of colors. For example, to increase the number of colors from 16 to 256 (standard VGA), would require 240 additional registers to be added to the palette, whereas currently only 16 entries are supported.
对该调色板增加寄存器的数量确是可能的,但并不符合成本效益,可能引起定时问题(特别是对于高的调色板访问速率)和其它集成电路(IC)设计问题(例如,增加了IC上的面积)。而且,用固定大小的调色板来更新现有的译码/显示系统是困难和昂贵的。Increasing the number of registers for this palette is indeed possible, but not cost-effective, can cause timing issues (especially for high palette access rates) and other integrated circuit (IC) design issues (e.g., increasing area on the IC). Furthermore, it is difficult and expensive to update existing decoding/display systems with fixed-size palettes.
因此,需要一种方法和设备,用于增加对于OSD消息可利用的彩色的数量,而并不增加译码/显示系统的硬件需要,比如OSD调色板的尺寸。Therefore, there is a need for a method and apparatus for increasing the number of colors available for OSD messages without increasing the hardware requirements of the decoding/display system, such as the size of the OSD palette.
本发明涉及,通过构成具有一组“彩色逼真”象素的有效OSD位流,来产生OSD消息的设备及其伴随的方法。The present invention relates to apparatus and accompanying methods for generating OSD messages by constructing an active OSD bitstream having a set of "color-true" pixels.
更具体地说,根据本发明,一个OSD单元从存储装置恢复OSD位流。该OSD位流包含OSD首标和OSD数据。该OSD首标包含用于编程该OSD单元的彩色调色板并提供关于OSD数据处理的指令的控制信息。该控制信息是由译码/显示系统的处理器编程的。如果在OSD首标中启动该“彩色逼真模式”,则该OSD单元绕过该调色板,将该OSD数据作为彩色逼真象素处理。即,每个相继的3个OSD数据字节的组代表一个OSD象素的实际色度和亮度级。More specifically, according to the present invention, an OSD unit retrieves an OSD bitstream from a storage device. The OSD bitstream contains an OSD header and OSD data. The OSD header contains control information for programming the color palette of the OSD unit and providing instructions on OSD data processing. The control information is programmed by the processor of the decoding/display system. If the "color vivid mode" is enabled in the OSD header, the OSD unit bypasses the palette and handles the OSD data as color vivid pixels. That is, each successive group of 3 OSD data bytes represents the actual chrominance and luminance level of an OSD pixel.
为了进一步减少存贮器带宽的需要,对于下一个象素重复同样的色度分量。因此,每个OSD象素只由16位数据有效地表示。To further reduce memory bandwidth requirements, the same chroma components are repeated for the next pixel. Therefore, each OSD pixel is effectively represented by only 16 bits of data.
现在将根据附图描述本发明的这些和其它方面。These and other aspects of the invention will now be described with reference to the accompanying drawings.
在附图中:In the attached picture:
图1是根据本发明的一方面的包括OSD单元的译码/显示系统的框图;1 is a block diagram of a decoding/display system including an OSD unit according to an aspect of the present invention;
图2是使用彩色逼真模式表明采样OSD象素位流的结构的框图;和Figure 2 is a block diagram illustrating the structure of a sampled OSD pixel bitstream using a color fidelity mode; and
图3是表示用彩色逼真模式构成有效OSD位流的方法的流程图。Fig. 3 is a flowchart showing a method of constructing an effective OSD bitstream using the color fidelity mode.
图1表示对于电视信号100的译码/显示系统(以后称为译码系统)的框图。该译码系统包括处理器130,随机存取存贮器(RAM)140,只读存储器(ROM)142,OSD单元150,视频译码器160,和混合器170。将混合器170的输出经路径180耦合到显示装置190。FIG. 1 shows a block diagram of a decoding/display system for a television signal 100 (hereinafter referred to as a decoding system). The decoding system includes a processor 130 , a random access memory (RAM) 140 , a read only memory (ROM) 142 , an OSD unit 150 , a video decoder 160 , and a mixer 170 . The output of mixer 170 is coupled to display device 190 via path 180 .
下面根据MPEG标准,ISO/IEC国际标准11172(1991)(一般称为MPEG-1格式)和13818(1995)(一般称为MPEG-2格式)来描述本发明。然而,本领域的技术人员将认识到,可将本发明应用到或用于实现其它编码/译码格式的其它译码系统。The present invention is described below in terms of MPEG standards, ISO/IEC International Standards 11172 (1991) (commonly referred to as the MPEG-1 format) and 13818 (1995) (commonly referred to as the MPEG-2 format). However, those skilled in the art will recognize that the present invention may be applied or used to implement other coding systems implementing other encoding/decoding formats.
在该最佳实施例中,译码系统100对各种数据流(位流)120执行实时的声频和视频去压缩。该位流120可包括按照MPEG-1和MPEG-2标准编码的声频和视频基本流。由编码器(未示出)产生该编码位流120,并通过通信信道发送到该译码系统。该编码位流包含一组图像的编码表示,并可包括与这些图像相关的声频信息,比如,多媒体数据流。该多媒体源可以是HDTV台,视盘,有线电视台等。依次,译码系统100对该编码位流译码,以产生一组译码图像,以便在显示器190上与相关的声频信息同步地显示。然而,对于本发明的目的,译码系统100的声频译码功能是不相干的,因此未讨论。In the preferred embodiment, the decoding system 100 performs real-time audio and video decompression on various data streams (bitstreams) 120 . The bitstream 120 may include audio and video elementary streams encoded in accordance with the MPEG-1 and MPEG-2 standards. The encoded bitstream 120 is generated by an encoder (not shown) and sent to the decoding system over a communication channel. The coded bitstream contains a coded representation of a set of pictures and may include audio information associated with those pictures, eg, a multimedia data stream. The multimedia source can be an HDTV station, a video disc, a cable TV station, and the like. In turn, the decoding system 100 decodes the encoded bitstream to generate a set of decoded images for display on the display 190 in synchronization with the associated audio information. However, for the purposes of the present invention, the audio decoding functionality of the decoding system 100 is irrelevant and therefore not discussed.
更具体地说,处理器130接收位流120和位流11O作为输入。位流110可包括各种控制信号和未包括在位流120中的其它数据位流。例如,可将信道译码器或传输单元(未示出)配置在传输信道和译码系统100之间,以实现数据分组的语法分析和向数据流或控制流的发送。More specifically, processor 130 receives bitstream 120 and bitstream 110 as input. Bitstream 110 may include various control signals and other data bitstreams not included in bitstream 120 . For example, a channel decoder or transport unit (not shown) may be disposed between the transport channel and the decoding system 100 to enable parsing and sending of data packets to a data or control stream.
在该最佳实施例中,处理器130执行各种控制功能,包括但却不限于,提供控制数据给视频译码器160和OSD单元150,管理对存贮器的访问和控制该译码图像的显示。尽管本发明描述了单个的处理器,但本领域的技术人员会知道,该处理器130可包括各种专用的装置以管理特定的功能,例如,存贮器控制器,微处理器接口单元等。In the preferred embodiment, processor 130 performs various control functions including, but not limited to, providing control data to video decoder 160 and OSD unit 150, managing access to memory and controlling the decoded image display. Although the present invention describes a single processor, those skilled in the art will appreciate that the processor 130 may include various dedicated devices to manage specific functions, such as memory controllers, microprocessor interface units, etc. .
处理器130接收位流120,并经视频译码器160将这些数据分组写入存贮器140。在经存贮器数据总线传送到存储器之前,该位流可选择地通过先进先出[First-In-First-out(FIFO)]缓存器。另外一般还有另一个存贮器(未示出),它只由处理器130使用。Processor 130 receives bit stream 120 and writes these data packets into memory 140 via video decoder 160 . The bit stream optionally passes through a First-In-First-out (FIFO) buffer before being transferred to the memory via the memory data bus. There is typically another memory (not shown) which is used only by processor 130.
存储器140用于存储一组数据包括压缩的数据,译码图像和OSD位表。照此,一般将该存贮器映像到各种缓存器,例如,用于存储压缩数据的位缓存器,用于存贮OSD位表的OSD缓存器,用于存贮图像帧的各种帧缓存器,和用于存贮译码图像的显示缓存器。The memory 140 is used to store a set of data including compressed data, decoded images and OSD bit tables. As such, this memory is typically mapped to various registers, for example, bit buffers for storing compressed data, OSD buffers for storing OSD bit tables, various frame buffers for storing image frames buffer, and a display buffer for storing decoded images.
根据MPEG标准,视频译码器160译码在存贮器140中的该压缩数据,以便在该存贮器中重建该编码图像。在一些情况,该译码图像是一个差信号,将其加到存贮的标准图像,以便根据编码该图像所用的压缩技术产生实际的图像(例如,方便于译码运动补偿图像)。一旦重建了图像,在显示前经混合器170存储在显示缓存器中。According to the MPEG standard, the video decoder 160 decodes the compressed data in the memory 140 to reconstruct the coded picture in the memory. In some cases, the decoded picture is a difference signal that is added to the stored standard picture to produce the actual picture according to the compression technique used to encode the picture (eg, to facilitate decoding of motion compensated pictures). Once the image is reconstructed, it is stored in a display buffer via mixer 170 prior to display.
同样,OSD单元150使用存贮器140以便存储该OSD位表或OSD规范。该OSD单元使用户(制造者)为重叠到该译码图像上的每一场定义位表。该OSD位表可包含存贮在存贮装置如ROM中的关于特定用户电子产品的结构和选择的信息。另一方面,该OSD位表可包含有关从有线电视,视盘等发送的闭合字幕和信道信息单元的信息。将OSD位表定义为可编程位置和大小的一组区(一般为矩形),其中每个具有一个唯一的可用彩色的调色板。Likewise, OSD unit 150 uses memory 140 to store the OSD bit table or OSD specification. The OSD unit lets the user (manufacturer) define bitmaps for each field superimposed on the decoded image. The OSD bit table may contain information about the configuration and options of a particular consumer electronic product stored in a storage device such as ROM. Alternatively, the OSD bit table may contain information about closed caption and channel information elements transmitted from cable TV, video disc, and the like. An OSD bitmap is defined as a set of regions (typically rectangular) of programmable location and size, each of which has a unique palette of available colors.
为了用户指定的目的将该OSD位表写入存贮器140的OSD缓存器。然而,本领域的技术人员将认识到,ROM142或其它等效的存储装置也可用于这个功能。The OSD bit table is written to the OSD buffer of memory 140 for user-specified purposes. However, those skilled in the art will recognize that ROM 142 or other equivalent storage devices could also be used for this function.
当为一个帧的特定图像启动该OSD功能时,处理器130操作在存贮器140中的数据,以产生OSD位流。该OSD位流包括OSD首标和OSD数据(定义该OSD象素的数据)。When the OSD function is activated for a particular image of a frame, processor 130 manipulates the data in memory 140 to generate an OSD bit stream. The OSD bitstream includes an OSD header and OSD data (data defining the pixels of the OSD).
更具体地说,处理器130编程(格式化和存贮)在存贮器140中的OSD首标。该OSD首标包括有关顶和底OSD场位表的位置,调色板数据,对下一个首标块的指针,和包括OSD分辨率,彩色和压缩的各种显示模式的信息。一旦编程了该OSD首标,该处理器130可根据特定的实施方案操作在存贮器140中的OSD数据。例如,根据选择的模式格式化该OSD数据,比如下面讨论的彩色逼真模式。另外,该处理器可简单地用对该存贮器中的OSD数据的指针编程该OSD首标,这里无修改地恢复了该存贮的OSD数据以形成该OSD位流。More specifically, processor 130 programs (formats and stores) the OSD header in memory 140 . The OSD header includes information about the location of the top and bottom OSD field tables, palette data, a pointer to the next header block, and various display modes including OSD resolution, color, and compression. Once the OSD header is programmed, the processor 130 may manipulate the OSD data in memory 140 according to a particular implementation. For example, the OSD data is formatted according to a selected mode, such as the color vivid mode discussed below. Alternatively, the processor can simply program the OSD header with a pointer to the OSD data in memory, where the stored OSD data is restored without modification to form the OSD bitstream.
然后,处理器130报告启动状态,例如,OSD起动,给OSD单元150,它通过请求处理器130访问在存贮器140里存贮的OSD位流来响应。当该OSD单元读出该OSD首标,每个跟随有它们相关的OSD数据时,就形成和恢复了该OSD位流。在接收该OSD位流之后,该OSD单元根据指令或在该OSD首标中的选择模式处理该OSD象素数据。然后该OSD单元等待一对显示计数器(未示出),以获得标识在显示器上用于插入该OSD信息的正确位置。在该位置上,该OSD单元将它的输出送到混合器170。该OSD单元150的输出是代表在显示屏上的各自亮度和色度的数字字的流或序列。当需要保持流经该OSD单元的必要数据(OSD位流)时可请求新的存贮器访问,以生成综合的OSD显示。当从该存贮器中读出现在OSD区域的OSD象素数据的最后一个字节时,读出下一个OSD首标,重复该处理直到包括本帧的最后一个OSD区。Processor 130 then reports an activation status, eg, OSD active, to OSD unit 150, which responds by requesting processor 130 to access the OSD bitstream stored in memory 140. The OSD bitstream is formed and restored when the OSD unit reads the OSD headers, each followed by their associated OSD data. After receiving the OSD bit stream, the OSD unit processes the OSD pixel data according to the command or selection mode in the OSD header. The OSD unit then waits for a pair of display counters (not shown) to identify the correct location on the display for inserting the OSD information. In this position, the OSD unit sends its output to mixer 170. The output of the OSD unit 150 is a stream or sequence of digital words representing the respective luminance and chrominance on the display screen. New memory accesses may be requested as needed to maintain the necessary data (OSD bitstream) flowing through the OSD unit to generate a composite OSD display. When the last byte of OSD pixel data present in the OSD area is read from the memory, the next OSD header is read, and this process is repeated until the last OSD area of the frame is included.
在本领域的技术人员会理解,上述的构成和恢复OSD位流的顺序是可改变的。例如,当处理器正格式化该OSD数据时,可从存贮器中读出该OSD首标,或者在未恢复整个OSD位流的情况下,或该OSD单元可将该OSD数据处理和显示为OSD消息。Those skilled in the art will understand that the above-mentioned sequence of constructing and restoring the OSD bit stream can be changed. For example, the OSD header may be read from memory while the processor is formatting the OSD data, or the OSD unit may process and display the OSD data without restoring the entire OSD bitstream for OSD messages.
因为将OSD象素数据重叠到该译码图像上,该混合器170选择地将译码图像与该OSD象素数据混合或多路复用。即,该混合器具有在每个象素位置显示OSD象素,该译码图像的象素,或两种象素的组合(混合)的能力。这种能力使得能显示闭合字幕(只有OSD象素数据)或在译码图像上显示透明的信道连合活字(OSD象素和译码图像象素二者的组合)。Since the OSD pixel data is overlaid onto the decoded image, the mixer 170 selectively mixes or multiplexes the decoded image with the OSD pixel data. That is, the mixer has the ability to display an OSD pixel, a pixel of the decoded image, or a combination (blending) of both pixels at each pixel position. This capability enables the display of closed captions (OSD pixel data only) or transparent channel syndication (combination of both OSD pixels and decoded image pixels) over the decoded image.
视频译码器160和OSD系统150二者形成代表各组亮度和色度分量的数字字的流或序列。将这些视频分量表示数字字的序列经混合器170耦合到数-模转换器(DAC)185。将该亮度和色度表示数字字通过各自的DAC部分转换为模拟亮度和色度信号。Both video coder 160 and OSD system 150 form a stream or sequence of digital words representing sets of luma and chrominance components. These video components represent sequences of digital words coupled via mixer 170 to digital-to-analog converter (DAC) 185 . The luminance and chrominance representation digital words are converted to analog luminance and chrominance signals by respective DAC sections.
可将该OSD单元150用于在可显示的屏幕的任何部分上显示用户定义的位表,而与起动的视频区域的大小和位置无关。对于每个场可独立地定义这个位表,规定为一个OSD区域的集合。一个区域通常是由它的边界规定的矩形区,由位表定义它的内容。每个区域有一个与之相关的调色板,定义了一组可在该区中使用的彩色(比如4或16个彩色)。如果需要,这些彩色的一个可以是透明的,使得如上所述显示其整个的背景。The OSD unit 150 can be used to display user-defined bitmaps on any portion of the displayable screen, regardless of the size and location of the active video area. This bit table can be defined independently for each field, defined as a collection of OSD areas. A region is usually a rectangular area defined by its boundaries, and its contents are defined by bit tables. Each zone has a palette associated with it, defining a set of colors (eg 4 or 16 colors) that can be used in that zone. If desired, one of these colors can be transparent so that its entire background is shown as described above.
尽管调色板的使用对于低分辨率OSD实施的计算开销提供了显著的节省,但它不能按照高分辨率OSD实施的要求提供必要的显示分辨率。例如,与在调色板上可利用的彩色相比,该OSD消息可需更多的彩色,将春中所谓可利用的彩色限定为在该调色板上的整个数量(或实际的寄存器)。Although the use of palettes provides significant savings in computational overhead for low-resolution OSD implementations, it cannot provide the necessary display resolution as required by high-resolution OSD implementations. For example, the OSD message may require more colors than are available on the palette, limiting the so-called available colors to the entire number (or actual register) on the palette .
图2表示采用彩色逼真模式的采样OSD位流200的结构。该OSD位流包括一组OSD首标210,每个跟随有OSD数据220。在一个实施例中,该首标是由5个64位字构成,跟随着任何数量的64位OSD数据(位表)字。该OSD首标210包括与该OSD区坐标214相联系的信息,对于特定OSD区的调色板的各种入口216,和各种功能码(位)212。在本领域的技术人员会理解,该OSD首标可是任何长度。一个较长的首标可提供更多的信息和选择,例如,具有更多入口的调色板,但以更高的计算开销为代价,即,需要更多的读和写周期来实施OSD功能。事实上,该OSD首标的内容是特定实施例的表示,且不限于图2中所示的具体装置。FIG. 2 shows the structure of a sample OSD bitstream 200 using color vivid mode. The OSD bitstream includes a set of OSD headers 210 each followed by OSD data 220 . In one embodiment, the header is composed of five 64-bit words, followed by any number of 64-bit OSD data (bit table) words. The OSD header 210 includes information associated with coordinates 214 of the OSD section, various entries 216 of palettes for a particular OSD section, and various function codes (bits) 212 . Those skilled in the art will appreciate that the OSD header can be of any length. A longer header provides more information and options, e.g., a palette with more entries, but at the cost of higher computational overhead, i.e., more read and write cycles are required to implement OSD functions . In fact, the content of this OSD header is representative of a particular embodiment and is not limited to the specific device shown in FIG. 2 .
该OSD区坐标214包括OSD区的左和右边缘的位置,即,行开始和停止装置,列开始和停止位置。对于隔行显示,该区坐标包括对应的OSD区的顶和底场象素位表的位置(指针)。最后,该OSD区坐标214包括对存贮器中的下一个首标块的指针。The OSD area coordinates 214 include the locations of the left and right edges of the OSD area, ie, row start and stop means, column start and stop locations. For an interlaced display, the field coordinates include the location (pointer) of the top and bottom field pixel bitmaps of the corresponding OSD field. Finally, the OSD area coordinates 214 include a pointer to the next header block in memory.
调色板信息216包括一组入口,其每个入口包含OSD象素的色度和亮度级的表示。将调色板信息216用于编程该OSD调色板。因为每个OSD首标包括调色板信息216,故对于每个OSD首标和它的相关的OSD数据字节可选择地改变其可利用的彩色。每个调色板入口可包括16位数据,即,6位亮度Y,4位色度(色差信号)Cb,和4位亮度(色差信号)Cr。将其余的两位用于执行与本发明相关的各种显示选择。在一个实施例中,在需要4位寻址每个入口的调色板上有16个入口。Palette information 216 includes a set of entries, each entry containing a representation of the chrominance and luminance levels of an OSD pixel. Palette information 216 is used to program the OSD palette. Because each OSD header includes palette information 216, the available colors can be selectively changed for each OSD header and its associated OSD data bytes. Each palette entry may include 16 bits of data, namely, 6 bits of luma Y, 4 bits of chrominance (color difference signal) C b , and 4 bits of luma (color difference signal) C r . The remaining two bits are used to perform various display selections related to the present invention. In one embodiment, there are 16 entries on the palette requiring 4 bits to address each entry.
功能码(位)212包括与各种模式有关的信息,包括但不限于,显示选择和OSD位流选择。在该最佳实施例中,该功能位包括一个单一的位用于表示“彩色逼真模式”是否起动。Function codes (bits) 212 include information related to various modes including, but not limited to, display selection and OSD bitstream selection. In the preferred embodiment, the function bits include a single bit indicating whether "color fidelity mode" is enabled.
OSD数据220包括位表数据,以从左向右和从顶到底的顺序。一般将该OSD数据用于定义在该位表成象中的每个象素的彩色变址(index)。在该最佳实施例中,如果起动了“彩色逼真模式”,则OSD数据220包括彩色逼真象素(彩色逼真格式)而不是对调色板的变址(indices)。在该彩色逼真格式中,该OSD数据流由亮度分量的一个字节(r)222组成,跟着有色度分量的两个字节(色差信号Cb224和Cr226),后跟有亮度分量的另一字节(228)。如图2中所示,对于相继的象素重复这个模式。将每个字节的长度一般设为8位,从而支援成百万的可能彩色组合。The OSD data 220 includes bitmap data in order from left to right and top to bottom. Typically the OSD data is used to define the color index of each pixel in the bitmap image. In the preferred embodiment, if the "Color Vivid Mode" is enabled, the OSD data 220 includes color viz. pixels (Color Viz. format) rather than indices to palettes. In the color vivid format, the OSD data stream consists of one byte (r) 222 of the luma component, followed by two bytes of the chroma component (color difference signals Cb 224 and Cr 226), followed by the Another byte (228). As shown in Figure 2, this pattern is repeated for successive pixels. The length of each byte is typically set to 8 bits, thus supporting millions of possible color combinations.
对于这种操作模式,如上所述,OSD单元150简单地绕过该OSD调色板将彩色逼真象素直接传送给混合器170。此外,为了支援“透明象素”(示出来自视频译码器的译码图像而不是在OSD区域中的OSD象素),将Y分量都置成“0”。这种设置使混合器17O用来自译码图像的对应象素代替该OSD象素。For this mode of operation, OSD unit 150 simply passes the color-realistic pixels directly to mixer 170, bypassing the OSD palette, as described above. Also, to support "transparent pixels" (OSD pixels showing the decoded image from the video decoder rather than in the OSD area), the Y components are all set to "0". This arrangement causes mixer 170 to replace the OSD pixel with the corresponding pixel from the decoded image.
而且,该彩色逼真模式通过对于该位表中的下一个象素重复该相同的色度分量,使得减少了存贮器带宽要求。即,一对相继的象素公用同样的色度分量。Furthermore, the color vivid mode allows for reduced memory bandwidth requirements by repeating the same chrominance component for the next pixel in the bitmap. That is, a pair of consecutive pixels share the same chrominance component.
为了说明,图2示出了一组定义象素的数据字节(象素数据)231-234,其中每个象素数据结构是24位长(8位Y,8位Cb,和8位Cr)。然而,象素231和232公用同样的色度分量224和226。对于相继的象素对重复这一模式,从而有效地只需16位数据来表示一个单一的象素(以32位数据代表2个象素)。For illustration, FIG. 2 shows a set of data bytes (pixel data) 231-234 defining a pixel, where each pixel data structure is 24 bits long (8 bits Y, 8 bits Cb , and 8 bits C r ). However, pixels 231 and 232 share the same chrominance components 224 and 226 . This pattern is repeated for successive pairs of pixels, effectively requiring only 16 bits of data to represent a single pixel (2 pixels with 32 bits of data).
这种操作模式使得处理器130获得了必须从存贮器传送到该OSD单元的数据量的33%的节省,即,减小了该OSD位流的大小。更重要的是,在不增加该OSD调色板的尺寸的情况下,大大地增加了对于每个OSD区域的可利用彩色的数量。事实上,即使有硬件需求上的增加,也是极少的。This mode of operation enables processor 130 to achieve a 33% savings in the amount of data that must be transferred from memory to the OSD unit, ie, reduces the size of the OSD bitstream. More importantly, the number of available colors for each OSD area is greatly increased without increasing the size of the OSD palette. In fact, there are very few, if any, increases in hardware requirements.
图3表示用彩色逼真模式构成OSD位流的方法300。该方法通常从一存贮设备,例如,存贮器再调用,并由处理器130执行。由处理器130产生该OSD位流,并由OSD单元150处理。方法300通过产生具有一个彩色逼真位的OSD首标,跟着有一组彩色逼真象素的数据字节。来构成OSD位流。FIG. 3 illustrates a
参看图3,方法300在步骤305开始并进入步骤310,这里将该OSD首标中的一位指定为彩色逼真模式位。如果在该OSD首标中起动该彩色逼真模式,则跟随该首标的OSD数据字节定义彩色逼真象素。如果未起动该彩色逼真模式,则以正常格式处理该OSD数据字节,它可能是对调色板的4位地址(或者任何其它位流格式,比如,MPEG标准)。Referring to FIG. 3,
在步骤320,方法300确定是否起动了该彩色逼真模式。如果对该询问是一个否定的回答,方法300进入步骤325,使用非彩色逼真格式产生该OSD数据字节。然后该方法300进入步骤340。At
如果对步骤320的询问是肯定的回答,方法300进入步骤330,这里将一组彩色逼真象素配置在这些OSD数据字节中。每个彩色逼真象素包括3个OSD数据字节,其中每个OSD数据字节具有8位长。因为对于相继的象素重复该色度分量(或者删除每隔一个色度分量组),可将两个OSD象素安置在四个OSD数据字节中。If the query at
在步骤340,方法300确定是否有另一OSD首标跟随前面所处理的OSD数据。如果修改由功能位212代表的各种模式,可要求新的OSD首标。同样,对于帧上的每个新的OSD区需要一个新的首标。如果对于该询问的回答是否定的,方法300进入步骤350,这里方法300结束。如果对该询问是肯定的回答,方法300进入步骤320,其中对于每个另外的OSD首标重复步骤320-330。以这种方式,该OSD位流可包括彩色逼真OSD数据字节和非彩色逼真OSD数据字节两者。At
这样,已表示和描述了构成定义彩色逼真象素的OSD位流的新的方法和设备。在考虑了公开本发明实施例的该说明书和附图之后,对本领域的技术人员是明显的,本发明可有许多变化,修改和其它使用和应用。所有这些都不脱离本发明的精神和范围,本发明的范围只由后面的权利要求书限定。Thus, there has been shown and described a novel method and apparatus for constructing an OSD bitstream defining color-realistic pixels. After considering this specification and the accompanying drawings, which disclose embodiments of the invention, it will be apparent to those skilled in the art that the invention is susceptible to many variations, modifications and other uses and applications. All without departing from the spirit and scope of the invention, which is limited only by the claims that follow.
Claims (19)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN96180532A CN1101633C (en) | 1996-10-16 | 1996-10-16 | Appts. and method for generating on-screen-display messages using true color mode |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN96180532A CN1101633C (en) | 1996-10-16 | 1996-10-16 | Appts. and method for generating on-screen-display messages using true color mode |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1239630A true CN1239630A (en) | 1999-12-22 |
| CN1101633C CN1101633C (en) | 2003-02-12 |
Family
ID=5127964
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN96180532A Expired - Fee Related CN1101633C (en) | 1996-10-16 | 1996-10-16 | Appts. and method for generating on-screen-display messages using true color mode |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1101633C (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6166728A (en) * | 1992-12-02 | 2000-12-26 | Scientific-Atlanta, Inc. | Display system with programmable display parameters |
| US5386247A (en) * | 1993-06-02 | 1995-01-31 | Thomson Consumer Electronics, Inc. | Video display having progressively dimmed video images and constant brightness auxiliary images |
| US5489947A (en) * | 1994-06-17 | 1996-02-06 | Thomson Consumer Electronics, Inc. | On screen display arrangement for a digital video signal processing system |
| US5640502A (en) * | 1994-08-05 | 1997-06-17 | Thomson Consumer Electronics, Inc. | Bit-mapped on-screen-display device for a television receiver |
-
1996
- 1996-10-16 CN CN96180532A patent/CN1101633C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1101633C (en) | 2003-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6175388B1 (en) | Apparatus and method for generating on-screen-display messages using on-bit pixels | |
| KR20000057300A (en) | A multiple format video signal processor | |
| US6480238B1 (en) | Apparatus and method for generating on-screen-display messages using field doubling | |
| US6351292B1 (en) | Apparatus and method for generating on-screen-display messages using line doubling | |
| EP0932978B1 (en) | Apparatus and method for generating on-screen-display messages using line doubling | |
| US6118494A (en) | Apparatus and method for generating on-screen-display messages using true color mode | |
| JP3935958B2 (en) | How to configure an on-screen display bitstream | |
| KR100413870B1 (en) | Apparatus and method for generating on-screen-display messages using field doubling | |
| EP0932982B1 (en) | Apparatus and method for generating on-screen-display messages using true color mode | |
| CN1113528C (en) | Device and method for generating screen display message using 1-bit pixel | |
| CN1239630A (en) | Apparatus and method for generating on-screen display message using color realistic mode | |
| AU719563C (en) | Apparatus and method for generating on-screen-display messages using field doubling | |
| HK1024583B (en) | Apparatus and method for generating on-screen-display messages using one-bit pixels | |
| HK1024370B (en) | Apparatus and method for generating on-screen-display messages using field doubling | |
| MXPA99003539A (en) | Apparatus and method for generating on-screen-display messages using true color mode | |
| MXPA99003536A (en) | Apparatus and method for generating on-screen-display messages using one-bit pixels | |
| MXPA99003535A (en) | Apparatus and method for generating on-screen-display messages using field doubling | |
| MXPA99003537A (en) | Apparatus and method for generating on-screen-display messages using line doubling |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20030212 Termination date: 20141016 |
|
| EXPY | Termination of patent right or utility model |