WO2011000269A1 - Method and device for high definition display of subtitles in video conference system - Google Patents

Method and device for high definition display of subtitles in video conference system Download PDF

Info

Publication number
WO2011000269A1
WO2011000269A1 PCT/CN2010/074084 CN2010074084W WO2011000269A1 WO 2011000269 A1 WO2011000269 A1 WO 2011000269A1 CN 2010074084 W CN2010074084 W CN 2010074084W WO 2011000269 A1 WO2011000269 A1 WO 2011000269A1
Authority
WO
WIPO (PCT)
Prior art keywords
color map
font
subtitle
unit
definition
Prior art date
Application number
PCT/CN2010/074084
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2011000269A1 publication Critical patent/WO2011000269A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/278Subtitling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Definitions

  • the present invention relates to the field of subtitle display in a conference television system, and more particularly to a method and apparatus for displaying subtitles in high definition in a conference television system. Background technique
  • the current subtitle overlay uses a binary bitmap, which is generated by a dot matrix font or compressed by other fonts.
  • the biggest disadvantage of the dot matrix font is that it is fixed resolution, that is, each font has a fixed size. When used in the original size, the display is very good, but if you use it to zoom in or out, the display will be very good. Oops, there is usually a jagged phenomenon. However, if the binary bitmap generated by other font compression is enlarged or reduced, it will also appear jagged, which does not meet the requirements of the high definition concept of the current HD terminal.
  • the technical problem to be solved by the present invention is to provide a method and a device for displaying a high-definition subtitle in a conference television system, so that the display of the subtitle can achieve a high-definition effect, so that it meets the requirements of the high-definition concept of the high-definition terminal.
  • the present invention provides a method for displaying subtitles in high definition in a conference television system, the method comprising:
  • the method further comprises: writing the generated high definition color map to the set buffer.
  • the subtitle name string attribute includes any one or more of a subtitle color and a font size of the subtitle name; a subtitle color of the subtitle name includes a font color and a background color of the subtitle name; The picture shows a 16-bit color map.
  • the generating a high-definition color map according to the font in the vector font library according to the subtitle name string attribute includes:
  • Characterizing the subtitle name string retrieving the data of the character in the vector font, extracting the endpoint coordinates of the data, geometrically transforming the coordinates of the endpoint, and then according to whether the endpoints are connected or not Generate a high-definition color map.
  • the vector font library is: the pen segmentation of each character is solved into a straight line and a curve, and the parameters of the straight line and the curve are stored, and when displayed, the straight line and the curve are drawn according to the required size.
  • the format of the generated high-definition color map is an RGB format; and the generated high-definition color map is format converted to convert the format of the high-definition color map from an RGB format to a YUV format.
  • the present invention also provides a device for displaying subtitles in high definition in a conference television system, the device comprising: a main control unit, a digital signal processing (DSP) unit, a graphical user interface (GUI) unit, and a graphics engine font extraction unit, wherein
  • DSP digital signal processing
  • GUI graphical user interface
  • the GUI unit is configured to set a subtitle name string to be displayed and an attribute thereof, and send the set subtitle name string and its attribute to the main control unit; and receive the subtitle name character sent by the main control unit.
  • the buffer address and size of the string are sent to the graphics engine font extraction list Receiving a size of the high-definition color map sent by the graphics engine font extraction unit and transmitting the size to the main control unit;
  • the main control unit is configured to set a buffer in the DSP unit according to the received subtitle name string attribute sent by the GUI unit, and send the address and size of the buffer to the GUI. Unit: transmitting the received high definition color map size to the DSP unit;
  • the graphics engine font extraction unit is configured to: according to the received subtitle name string attribute sent by the GUI unit, extract a font in the vector font to generate an HD color map; and send the generated HD color map size to the GUI Unit
  • the DSP unit is configured to read the high-definition color map according to the received size of the high-definition color map sent by the main control unit, perform format conversion on the high-definition color map, and display the format-converted high-definition color map.
  • the graphics engine font extraction unit is further configured to: write the generated high definition color map into the buffer; the DSP unit is further configured to read the high definition color map from the buffer.
  • the subtitle name string attribute includes any one or more attributes of a subtitle color and a font size of the subtitle name; the subtitle color of the subtitle name includes a font color and a background color of the subtitle name; 16-bit color map.
  • the graphics engine font extraction unit is further configured to: perform character encoding on the subtitle name string, retrieve data of the character in a vector font, and extract end point coordinates of the data, to the endpoint
  • the coordinates are geometrically transformed, and an HD color map is generated based on whether or not each endpoint is connected.
  • the vector font library is: the pen segmentation of each character is solved into a straight line and a curve, and the parameters of the straight line and the curve are stored, and when displayed, the straight line and the curve are drawn according to the required size.
  • the format of the high-definition color map generated by the graphics engine font extraction unit is RGB grid
  • the format of the high-definition color map after the format conversion is a YUV format.
  • the invention can be applied to enable the display of the subtitles to achieve the high-definition effect, so as to meet the requirements of the high-definition concept of the high-definition terminal;
  • the fonts in the vector font can be extracted by the graphics engine font extraction program to generate various sizes and colors.
  • Different fonts have solved the problem of serious sawtooth phenomenon in the prior art, which improves the visual effect of the user and achieves the purpose of high definition display.
  • FIG. 1 is a schematic structural view of an apparatus for displaying subtitles in high definition in a conference television system according to the present invention
  • FIG. 2 is a flow chart of a method for displaying subtitles in high definition in a conference television system according to the present invention
  • FIG. 3 is a flow chart of high definition display of subtitles of the present invention.
  • a device for displaying subtitles in high definition in a conference television system of the present invention can be located in a conference television terminal, comprising: a main control unit, a digital signal processing (DSP) unit, and a graphical user interface (GUI) Unit and graphics engine font extraction unit, wherein
  • DSP digital signal processing
  • GUI graphical user interface
  • the GUI unit is configured to set a subtitle name string to be displayed and an attribute thereof, and send the set subtitle name string and its attribute to the main control unit; and receive the subtitle name character sent by the main control unit.
  • the buffer address and size of the string are sent to the graphics engine font extraction unit; the size of the high-definition color map sent by the graphics engine font extraction unit is received and sent to the main control unit;
  • the main control unit is configured to set a buffer in the DSP unit according to the received subtitle name string attribute, and send the address and size of the buffer to the GUI unit;
  • the size of the color map is sent to the DSP unit;
  • the graphics engine font extraction unit is configured to: according to the received subtitle name string attribute sent by the GUI unit, extract a font in the vector font to generate a high-definition color map and write the high-definition color map into the buffer;
  • the size of the generated HD color map is sent to the GUI unit;
  • the DSP unit is configured to read the high-definition color map from the buffer according to the received size of the high-definition color map sent by the main control unit, perform format conversion on the high-definition color map, and display the format converted HD color map.
  • the GUI unit and the main control unit communicate through a socket (socket), and the GUI unit and the graphics engine font extraction unit communicate through the socket, and the main control unit and the DSP unit communicate through the inter-chip queue.
  • the method for displaying subtitles in high definition in the conference television system of the present invention includes: Step 201: The GUI unit sets a subtitle name string to be displayed, and sets the subtitle name string attribute, and the set subtitles are included. The name string and the information of the subtitle name string attribute are sent to the main control unit;
  • the site name string attribute includes: a subtitle color and/or a font size of the subtitle name; and the subtitle color of the subtitle name includes a font color and a background color of the subtitle name.
  • the subtitle name to be displayed is exemplified by the venue name.
  • Step 202 The main control unit receives the site name string and its attributes, sets a buffer according to the site name string attribute in the DSP unit, and sends the address and size of the buffer to the GUI unit.
  • Step 203 The GUI unit sends the field name string and its attributes and the address and size of the received buffer to the graphics engine font extraction unit.
  • Step 204 The graphics engine font extraction unit generates a 16-bit color map according to the font in the vector font library, and writes the generated color map into the buffer area set in the DSP unit.
  • the vector font is to divide the pen of each character into various lines and curves, and then write down these The parameters of the line and curve, when displayed, draw the lines according to the specific size, which restores the original characters.
  • the advantage of the vector font is that you can zoom in and out at will and make it undistorted.
  • the graphics engine font extraction unit generates a 16-bit color map by extracting the font in the vector font according to the venue name string attribute, and includes the following steps:
  • Characterizing the character string of the site name retrieving the data of the character in the vector font, extracting the coordinates of the endpoint, performing appropriate geometric transformation on the coordinates of the endpoint, and generating a character, that is, 16 bits, according to whether the endpoint is connected.
  • Color map
  • Step 205 The graphics engine font extraction unit sends information including the color map size to the GUI unit, and the GUI unit sends the received information including the color map size to the main control unit.
  • Step 206 The main control unit sends the received information including the color map size to the DSP unit.
  • Step 207 The DSP unit reads the 16-bit color map stored in the buffer according to the received information, performs format conversion on the color map, and displays the format-converted color map, thereby realizing high-definition display of the site name.
  • the color map generated by the graphics engine font extraction unit is in RGB format.
  • the DSP needs to convert the RGB format to YUV format to optimize the transmission of color video signals.
  • Step 301 The GUI unit sets a string and a string attribute to be displayed; the GUI unit sends a message to the main control unit to display the site name “Shenzhen Venue 1”;
  • setting the string attribute is mainly to set the string to be displayed "Shenzhen venue ⁇ the font size is 72, the font color is yellow, and the background color is blue.
  • Step 302 After receiving the message, the main control unit sets a buffer according to the site name string attribute in the DSP unit, and feeds back the buffer address and size to the GUI unit, and the GUI unit The "Shenzhen Venue 1" is obtained from the message fed back by the main control unit.
  • Step 303 The GUI unit sends the character string to be displayed and its attribute and buffer address and size to the graphics engine font extraction unit.
  • Step 304 The graphics engine font extraction unit extracts the font in the vector font to generate a 16-bit color map of the character string to be displayed, and writes the 16-bit color map into the buffer.
  • Step 305 The graphics engine font extraction unit sends the size of the generated 16-bit color map to the GUI unit.
  • Step 306 The GUI unit sends a message to the main control unit to notify the size of the 16-bit color map generated by the main control unit.
  • the 16-bit color map has a size of 328*90 (width * height). Because the height and width of the Chinese character display are larger than the normal ASCII code, the height and width should be adjusted appropriately.
  • Step 307 The main control unit notifies the DSP unit of the size of the generated 16-bit color map, so that the DSP unit reads the high-definition color map.
  • Step 308 The DSP unit reads the generated 16-bit color map from the buffer, converts the RGB format to YUV, and displays the formatted color map information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A method and device for high definition display of subtitles in a video conference system are provided in the present invention. The method involves setting the to-be-displayed subtitle name character string, and the attribute of the subtitle character name string. A buffer region is set according to the attribute of the subtitle character name string. The font is extracted from a vector font library, according to the attribute of subtitle character name string, to generate a high definition chromatic graph. The generated high definition chromatic graph is written into the buffer region, and format conversion is performed for the generated high definition chromatic graph, then the high definition chromatic graph is displayed after the format conversion. The application of this invention brings high definition effect for display of subtitles and meets the requirements of concept of high definition in high definition terminal.

Description

会议电视系统中高清显示字幕的方法及装置 技术领域  Method and device for displaying subtitles in high definition in conference television system
本发明涉及会议电视系统中字幕显示领域, 尤其涉及一种会议电视系 统中高清显示字幕的方法及装置。 背景技术  The present invention relates to the field of subtitle display in a conference television system, and more particularly to a method and apparatus for displaying subtitles in high definition in a conference television system. Background technique
随着会议电视技术的迅猛发展, 人们对视频、 声音、 图像等要求越来 越高, 追求更好的效果, 现行的字幕显示效果越来越不能满足人们的要求。 现行的字幕叠加釆用的是二值位图, 该二值位图或者是通过点阵字库生成 的或者通过其他的字库经过压缩而生成。 点阵字库最大缺点就是它是固定 分辨率的, 也就是每种字库都有固定的大小尺寸, 在原始尺寸下使用, 显 示效果很好, 但如果将其放大或缩小使用, 显示效果就会很糟糕, 就会出 现通常说的锯齿现象。 而其他的字库压缩生成的二值位图, 如果将其放大 或缩小, 也会出现锯齿现象, 不符合现在高清终端的高清概念的要求。  With the rapid development of the conference television technology, people are increasingly demanding videos, sounds, images, etc., and pursuing better effects, the current subtitle display effect is increasingly unable to meet people's requirements. The current subtitle overlay uses a binary bitmap, which is generated by a dot matrix font or compressed by other fonts. The biggest disadvantage of the dot matrix font is that it is fixed resolution, that is, each font has a fixed size. When used in the original size, the display is very good, but if you use it to zoom in or out, the display will be very good. Oops, there is usually a jagged phenomenon. However, if the binary bitmap generated by other font compression is enlarged or reduced, it will also appear jagged, which does not meet the requirements of the high definition concept of the current HD terminal.
如何提供一种会议电视系统中高清显示字幕的技术方案是当前需要解 决的问题。 发明内容  How to provide a technical solution for high-definition display subtitles in a conference television system is a problem that needs to be solved currently. Summary of the invention
本发明所要解决的技术问题是提供一种会议电视系统中高清显示字幕 的方法及装置, 使字幕的显示能够达到高清效果, 使其符合高清终端的高 清概念的要求。  The technical problem to be solved by the present invention is to provide a method and a device for displaying a high-definition subtitle in a conference television system, so that the display of the subtitle can achieve a high-definition effect, so that it meets the requirements of the high-definition concept of the high-definition terminal.
为了解决上述问题, 本发明提供了一种会议电视系统中高清显示字幕 的方法, 该方法包括:  In order to solve the above problems, the present invention provides a method for displaying subtitles in high definition in a conference television system, the method comprising:
设置待显示的字幕名字符串及该字幕名字符串属性, 并根据该字幕名 字符串属性设置緩冲区; Setting a subtitle name string to be displayed and a subtitle name string attribute, and according to the subtitle name String property setting buffer;
根据所述字幕名字符串属性提取矢量字库中的字模生成高清色图; 对生成的所述高清色图进行格式转换, 并显示格式转换后的高清色图。 优选地, 在生成高清色图之后, 所述方法还包括: 将生成的所述高清 色图写入设置的所述緩冲区。  Generating a high-definition color map according to the font of the subtitle name string attribute extraction vector character library; performing format conversion on the generated high-definition color map, and displaying the format-converted high-definition color map. Preferably, after generating the high definition color map, the method further comprises: writing the generated high definition color map to the set buffer.
优选地, 所述字幕名字符串属性包括所述字幕名的字幕颜色和字体大 小中任意一个或多个属性; 所述字幕名的字幕颜色包括字幕名的字体颜色 和背景色; 所述高清色图为 16位的色图。  Preferably, the subtitle name string attribute includes any one or more of a subtitle color and a font size of the subtitle name; a subtitle color of the subtitle name includes a font color and a background color of the subtitle name; The picture shows a 16-bit color map.
优选地, 所述根据所述字幕名字符串属性提取矢量字库中的字模生成 高清色图, 包括:  Preferably, the generating a high-definition color map according to the font in the vector font library according to the subtitle name string attribute includes:
将所述字幕名字符串进行字符编码, 在矢量字库中检索出所述字符的 数据, 并取出所述数据的端点坐标, 对所述端点坐标进行几何变换, 再根 据各端点是否连线的标志生成高清色图。  Characterizing the subtitle name string, retrieving the data of the character in the vector font, extracting the endpoint coordinates of the data, geometrically transforming the coordinates of the endpoint, and then according to whether the endpoints are connected or not Generate a high-definition color map.
优选地, 所述矢量字库为: 将每个字符的笔划分解成直线和曲线, 并 存储所述直线和曲线的参数, 在显示时, 根据所要求的尺寸大小, 画出所 述直线和曲线。  Preferably, the vector font library is: the pen segmentation of each character is solved into a straight line and a curve, and the parameters of the straight line and the curve are stored, and when displayed, the straight line and the curve are drawn according to the required size.
优选地, 所述生成的高清色图的格式为 RGB格式; 所述对生成的所述 高清色图进行格式转换为将所述高清色图的格式由 RGB格式转换为 YUV 格式。  Preferably, the format of the generated high-definition color map is an RGB format; and the generated high-definition color map is format converted to convert the format of the high-definition color map from an RGB format to a YUV format.
本发明还提供了一种会议电视系统中高清显示字幕的装置, 该装置包 括: 主控单元、 数字信号处理(DSP )单元、 图形用户界面 (GUI )单元及 图形引擎字模提取单元, 其中,  The present invention also provides a device for displaying subtitles in high definition in a conference television system, the device comprising: a main control unit, a digital signal processing (DSP) unit, a graphical user interface (GUI) unit, and a graphics engine font extraction unit, wherein
所述 GUI单元, 用于设置待显示的字幕名字符串及其属性, 并将设置 后的字幕名字符串及其属性发送给所述主控单元; 接收该主控单元发送的 该字幕名字符串的緩冲区地址及大小并发送给所述图形引擎字模提取单 元; 接收该图形引擎字模提取单元发送的高清色图的大小并发送给所述主 控单元; The GUI unit is configured to set a subtitle name string to be displayed and an attribute thereof, and send the set subtitle name string and its attribute to the main control unit; and receive the subtitle name character sent by the main control unit. The buffer address and size of the string are sent to the graphics engine font extraction list Receiving a size of the high-definition color map sent by the graphics engine font extraction unit and transmitting the size to the main control unit;
所述主控单元, 用于根据接收的所述 GUI单元发送的所述字幕名字符 串属性在所述 DSP单元中设置緩冲区, 并将该緩冲区的地址及大小发送给 所述 GUI单元; 将接收的高清色图大小发送给所述 DSP单元;  The main control unit is configured to set a buffer in the DSP unit according to the received subtitle name string attribute sent by the GUI unit, and send the address and size of the buffer to the GUI. Unit: transmitting the received high definition color map size to the DSP unit;
所述图形引擎字模提取单元, 用于根据接收的所述 GUI单元发送的所 述字幕名字符串属性, 提取矢量字库中的字模生成高清色图; 将生成的高 清色图的大小发送给该 GUI单元;  The graphics engine font extraction unit is configured to: according to the received subtitle name string attribute sent by the GUI unit, extract a font in the vector font to generate an HD color map; and send the generated HD color map size to the GUI Unit
所述 DSP单元, 用于根据接收的所述主控单元发送的所述高清色图的 大小读取该高清色图, 对该高清色图进行格式转换, 并显示格式转换后的 高清色图。  The DSP unit is configured to read the high-definition color map according to the received size of the high-definition color map sent by the main control unit, perform format conversion on the high-definition color map, and display the format-converted high-definition color map.
优选地, 所述图形引擎字模提取单元进一步用于, 将生成的高清色图 写入所述緩冲区; 所述 DSP单元进一步用于, 从所述緩冲区读取所述高清 色图。  Preferably, the graphics engine font extraction unit is further configured to: write the generated high definition color map into the buffer; the DSP unit is further configured to read the high definition color map from the buffer.
优选地, 所述字幕名字符串属性包括字幕名的字幕颜色和字体大小的 任意一个或多个属性; 所述字幕名的字幕颜色包括字幕名的字体颜色和背 景色; 所述高清色图为 16位的色图。  Preferably, the subtitle name string attribute includes any one or more attributes of a subtitle color and a font size of the subtitle name; the subtitle color of the subtitle name includes a font color and a background color of the subtitle name; 16-bit color map.
优选地, 所述图形引擎字模提取单元进一步用于: 将所述字幕名字符 串进行字符编码, 在矢量字库中检索出所述字符的数据, 并取出所述数据 的端点坐标, 对所述端点坐标进行几何变换, 再根据各端点是否连线的标 志生成高清色图。  Preferably, the graphics engine font extraction unit is further configured to: perform character encoding on the subtitle name string, retrieve data of the character in a vector font, and extract end point coordinates of the data, to the endpoint The coordinates are geometrically transformed, and an HD color map is generated based on whether or not each endpoint is connected.
优选地, 所述矢量字库为: 将每个字符的笔划分解成直线和曲线, 并 存储所述直线和曲线的参数, 在显示时, 根据所要求的尺寸大小, 画出所 述直线和曲线。  Preferably, the vector font library is: the pen segmentation of each character is solved into a straight line and a curve, and the parameters of the straight line and the curve are stored, and when displayed, the straight line and the curve are drawn according to the required size.
优选地, 所述图形引擎字模提取单元生成的高清色图的格式为 RGB格 式; 所述格式转换后的高清色图的格式为 YUV格式。 Preferably, the format of the high-definition color map generated by the graphics engine font extraction unit is RGB grid The format of the high-definition color map after the format conversion is a YUV format.
与现有技术相比, 应用本发明, 使字幕的显示能够达到高清效果, 使 其符合高清终端的高清概念的要求; 通过图形引擎字模提取程序提取矢量 字库中的字模可以生成各种大小且颜色不同的字模, 很好地解决了现有技 术中会场名显示锯齿现象严重的问题, 提高了用户的视觉效果, 达到高清 显示的目的。 附图说明  Compared with the prior art, the invention can be applied to enable the display of the subtitles to achieve the high-definition effect, so as to meet the requirements of the high-definition concept of the high-definition terminal; the fonts in the vector font can be extracted by the graphics engine font extraction program to generate various sizes and colors. Different fonts have solved the problem of serious sawtooth phenomenon in the prior art, which improves the visual effect of the user and achieves the purpose of high definition display. DRAWINGS
图 1是本发明的一种会议电视系统中高清显示字幕的装置的结构示意 图;  1 is a schematic structural view of an apparatus for displaying subtitles in high definition in a conference television system according to the present invention;
图 2是本发明在会议电视系统中高清显示字幕的方法的流程图; 图 3是本发明的字幕高清显示的流程图。 具体实施方式  2 is a flow chart of a method for displaying subtitles in high definition in a conference television system according to the present invention; and FIG. 3 is a flow chart of high definition display of subtitles of the present invention. detailed description
下面结合附图和具体实施例对本发明作进一步说明。  The invention will be further described below in conjunction with the drawings and specific embodiments.
如图 1所示, 本发明的一种会议电视系统中高清显示字幕的装置, 该 装置可位于会议电视终端中, 包括, 主控单元、数字信号处理(DSP )单元、 图形用户界面 (GUI )单元及图形引擎字模提取单元, 其中,  As shown in FIG. 1 , a device for displaying subtitles in high definition in a conference television system of the present invention, the device can be located in a conference television terminal, comprising: a main control unit, a digital signal processing (DSP) unit, and a graphical user interface (GUI) Unit and graphics engine font extraction unit, wherein
所述 GUI单元, 用于设置待显示的字幕名字符串及其属性, 并将设置 后的字幕名字符串及其属性发送给所述主控单元; 接收该主控单元发送的 该字幕名字符串的緩冲区地址及大小并发送给所述图形引擎字模提取单 元; 接收该图形引擎字模提取单元发送的高清色图的大小并发送给主控单 元;  The GUI unit is configured to set a subtitle name string to be displayed and an attribute thereof, and send the set subtitle name string and its attribute to the main control unit; and receive the subtitle name character sent by the main control unit. The buffer address and size of the string are sent to the graphics engine font extraction unit; the size of the high-definition color map sent by the graphics engine font extraction unit is received and sent to the main control unit;
所述主控单元, 用于根据接收的所述字幕名字符串属性在所述 DSP单 元中设置緩冲区, 并将该緩冲区的地址及大小发送给所述 GUI单元; 将接 收的高清色图的大小发送给所述 DSP单元; 所述图形引擎字模提取单元, 用于根据接收的所述 GUI单元发送的所 述字幕名字符串属性, 提取矢量字库中的字模生成高清色图并将高清色图 写入緩冲区中; 将生成的高清色图的大小发送给该 GUI单元; The main control unit is configured to set a buffer in the DSP unit according to the received subtitle name string attribute, and send the address and size of the buffer to the GUI unit; The size of the color map is sent to the DSP unit; The graphics engine font extraction unit is configured to: according to the received subtitle name string attribute sent by the GUI unit, extract a font in the vector font to generate a high-definition color map and write the high-definition color map into the buffer; The size of the generated HD color map is sent to the GUI unit;
所述 DSP单元, 用于根据接收的所述主控单元发送的所述高清色图的 大小从緩冲区读取该高清色图, 对该高清色图进行格式转换, 并显示格式 转换后的高清色图。  The DSP unit is configured to read the high-definition color map from the buffer according to the received size of the high-definition color map sent by the main control unit, perform format conversion on the high-definition color map, and display the format converted HD color map.
其中, GUI单元和主控单元通过 socket (套接字)进行通信, GUI单元 和图形引擎字模提取单元通过套接字进行通信, 主控单元和 DSP单元通过 跨芯片队列进行通信。  The GUI unit and the main control unit communicate through a socket (socket), and the GUI unit and the graphics engine font extraction unit communicate through the socket, and the main control unit and the DSP unit communicate through the inter-chip queue.
本发明中会议电视系统中高清显示字幕的方法, 如图 2所示, 包括: 步骤 201、 GUI单元设置待显示的字幕名字符串, 并设置该字幕名字符 串属性, 将设置后的包含字幕名字符串及该字幕名字符串属性的信息发送 给主控单元;  The method for displaying subtitles in high definition in the conference television system of the present invention, as shown in FIG. 2, includes: Step 201: The GUI unit sets a subtitle name string to be displayed, and sets the subtitle name string attribute, and the set subtitles are included. The name string and the information of the subtitle name string attribute are sent to the main control unit;
其中, 所述会场名字符串属性包括: 字幕名的字幕颜色和 /或字体大小 等属性; 另外, 字幕名的字幕颜色包括字幕名的字体颜色和背景色。  The site name string attribute includes: a subtitle color and/or a font size of the subtitle name; and the subtitle color of the subtitle name includes a font color and a background color of the subtitle name.
这里, 待显示的字幕名以会场名为例。  Here, the subtitle name to be displayed is exemplified by the venue name.
步骤 202、 主控单元接收会场名字符串及其属性, 在 DSP单元中根据 该会场名字符串属性设置緩冲区, 并将该緩冲区的地址及大小发送给 GUI 单元。  Step 202: The main control unit receives the site name string and its attributes, sets a buffer according to the site name string attribute in the DSP unit, and sends the address and size of the buffer to the GUI unit.
步骤 203、 GUI单元将会场名字符串及其属性以及收到的緩冲区的地址 和大小发送给图形引擎字模提取单元。  Step 203: The GUI unit sends the field name string and its attributes and the address and size of the received buffer to the graphics engine font extraction unit.
步骤 204、图形引擎字模提取单元根据会场名字符串属性提取矢量字库 中的字模生成 16位的色图,将生成的该色图写入 DSP单元中设置的所述緩 冲区;  Step 204: The graphics engine font extraction unit generates a 16-bit color map according to the font in the vector font library, and writes the generated color map into the buffer area set in the DSP unit.
矢量字库是把每个字符的笔划分解成各种直线和曲线, 然后记下这些 直线和曲线的参数, 在显示的时候, 再根据具体的尺寸大小, 画出这些线 条, 这样就还原了原来的字符。 矢量字库的优点是可以随意放大缩小字符 并使其不失真。 The vector font is to divide the pen of each character into various lines and curves, and then write down these The parameters of the line and curve, when displayed, draw the lines according to the specific size, which restores the original characters. The advantage of the vector font is that you can zoom in and out at will and make it undistorted.
图形引擎字模提取单元根据所述会场名字符串属性提取矢量字库中的 字模生成 16位的色图, 包括以下步骤:  The graphics engine font extraction unit generates a 16-bit color map by extracting the font in the vector font according to the venue name string attribute, and includes the following steps:
将所述会场名字符串进行字符编码, 在矢量字库中检索出该字符的数 据, 然后取出端点坐标, 对端点坐标进行适当的几何变换, 再根据各端点 是否连线的标志生成字符即 16位的色图。  Characterizing the character string of the site name, retrieving the data of the character in the vector font, extracting the coordinates of the endpoint, performing appropriate geometric transformation on the coordinates of the endpoint, and generating a character, that is, 16 bits, according to whether the endpoint is connected. Color map.
步骤 205、 图形引擎字模提取单元将包含所述色图大小的信息发送给 GUI单元, GUI单元再将收到的包含所述色图大小的信息发送给主控单元。  Step 205: The graphics engine font extraction unit sends information including the color map size to the GUI unit, and the GUI unit sends the received information including the color map size to the main control unit.
步骤 206、 主控单元将收到的包含所述色图大小的信息发送给 DSP单 元。  Step 206: The main control unit sends the received information including the color map size to the DSP unit.
步骤 207、DSP单元根据接收的信息读取緩冲区存储的该 16位的色图, 对所述色图进行格式转换, 并显示格式转换后的色图, 从而实现了会场名 的高清显示。  Step 207: The DSP unit reads the 16-bit color map stored in the buffer according to the received information, performs format conversion on the color map, and displays the format-converted color map, thereby realizing high-definition display of the site name.
图形引擎字模提取单元生成的色图是 RGB格式, DSP需要将 RGB格 式转换为 YUV格式, 以优化彩色视频信号的传输。  The color map generated by the graphics engine font extraction unit is in RGB format. The DSP needs to convert the RGB format to YUV format to optimize the transmission of color video signals.
下面结合附图并以会场名为例对本发明整体方法进行说明。 如图 3 所 示:  The overall method of the present invention will be described below with reference to the accompanying drawings and examples of the venue. As shown in Figure 3:
步骤 301、 GUI单元设置待显示的字符串及字符串属性; GUI单元向主 控单元发送显示会场名 "深圳会场 1" 的消息;  Step 301: The GUI unit sets a string and a string attribute to be displayed; the GUI unit sends a message to the main control unit to display the site name “Shenzhen Venue 1”;
其中, 设置字符串属性主要是设置待显示的字符串 "深圳会场 Γ 的字 体大小为 72, 字体颜色为黄色, 及背景颜色为蓝色等。  Among them, setting the string attribute is mainly to set the string to be displayed "Shenzhen venue Γ the font size is 72, the font color is yellow, and the background color is blue.
步骤 302、 主控单元收到消息后, 在 DSP单元中根据该会场名字符串 属性设置緩冲区, 并将该緩冲区地址及大小反馈给 GUI单元, GUI单元从 主控单元反馈的消息中获取 "深圳会场 1"。 Step 302: After receiving the message, the main control unit sets a buffer according to the site name string attribute in the DSP unit, and feeds back the buffer address and size to the GUI unit, and the GUI unit The "Shenzhen Venue 1" is obtained from the message fed back by the main control unit.
步骤 303、 GUI单元将待显示的字符串及其属性和緩冲区地址及大小发 送给图形引擎字模提取单元。  Step 303: The GUI unit sends the character string to be displayed and its attribute and buffer address and size to the graphics engine font extraction unit.
步骤 304、图形引擎字模提取单元提取矢量字库中的字模将该待显示的 字符串生成 16位色图, 并将该 16位色图写入所述緩冲区中。  Step 304: The graphics engine font extraction unit extracts the font in the vector font to generate a 16-bit color map of the character string to be displayed, and writes the 16-bit color map into the buffer.
步骤 305、图形引擎字模提取单元将生成的 16位色图的大小发送给 GUI 单元。  Step 305: The graphics engine font extraction unit sends the size of the generated 16-bit color map to the GUI unit.
步骤 306、 GUI单元向主控单元发送消息, 通知主控单元生成的 16位 色图的大小;  Step 306: The GUI unit sends a message to the main control unit to notify the size of the 16-bit color map generated by the main control unit.
16位色图的大小为 328*90 (宽 *高), 因为汉字的显示的高度和宽度要 大于普通的 ASCII码, 故高度和宽度要适当的调整。  The 16-bit color map has a size of 328*90 (width * height). Because the height and width of the Chinese character display are larger than the normal ASCII code, the height and width should be adjusted appropriately.
步骤 307、 主控单元将生成的 16位色图的大小通知 DSP单元, 使 DSP 单元去读取该高清色图。  Step 307: The main control unit notifies the DSP unit of the size of the generated 16-bit color map, so that the DSP unit reads the high-definition color map.
步骤 308、 DSP单元从所述緩冲区读取已生成的 16位色图, 并将其由 RGB格式转换为 YUV, 将格式转换后的色图信息进行显示。  Step 308: The DSP unit reads the generated 16-bit color map from the buffer, converts the RGB format to YUV, and displays the formatted color map information.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉该技术的人在本发明所揭露的技术范围内, 可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的 保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope of the present invention. All should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
1、 一种会议电视系统中高清显示字幕的方法, 其特征在于, 该方法包 括:  A method for displaying subtitles in high definition in a conference television system, characterized in that the method comprises:
设置待显示的字幕名字符串及所述字幕名字符串属性, 并根据所述字 幕名字符串属性设置緩冲区;  Setting a subtitle name string to be displayed and the subtitle name string attribute, and setting a buffer according to the font name string attribute;
根据所述字幕名字符串属性提取矢量字库中的字模生成高清色图; 对生成的所述高清色图进行格式转换, 并显示格式转换后的高清色图。 Generating a high-definition color map according to the font of the subtitle name string attribute extraction vector character library; performing format conversion on the generated high-definition color map, and displaying the format-converted high-definition color map.
2、 如权利要求 1所述的方法, 其特征在于, 在生成高清色图之后, 所 述方法还包括: 将生成的所述高清色图写入设置的所述緩冲区。 2. The method of claim 1, wherein after generating the high definition color map, the method further comprises: writing the generated high definition color map to the set buffer.
3、 如权利要求 1所述的方法, 其特征在于, 所述字幕名字符串属性包 括: 所述字幕名的字幕颜色和字体大小中任意一个或多个属性;  The method according to claim 1, wherein the subtitle name string attribute includes: any one or more of a subtitle color and a font size of the subtitle name;
所述字幕名的字幕颜色包括: 字幕名的字体颜色和背景色;  The subtitle color of the subtitle name includes: a font color and a background color of the subtitle name;
所述高清色图为 16位的色图。  The high definition color map is a 16-bit color map.
4、 如权利要求 1所述的方法, 其特征在于, 所述根据所述字幕名字符 串属性提取矢量字库中的字模生成高清色图, 包括:  The method according to claim 1, wherein the generating a high-definition color map by extracting a font in the vector font from the subtitle name string attribute comprises:
将所述字幕名字符串进行字符编码, 在矢量字库中检索出所述字符的 数据, 并取出所述数据的端点坐标, 对所述端点坐标进行几何变换, 再根 据各端点是否连线的标志生成高清色图。  Characterizing the subtitle name string, retrieving the data of the character in the vector font, extracting the endpoint coordinates of the data, geometrically transforming the coordinates of the endpoint, and then according to whether the endpoints are connected or not Generate a high-definition color map.
5、 如权利要求 1所述的方法, 其特征在于, 所述矢量字库为: 将每个 字符的笔划分解成直线和曲线, 并存储所述直线和曲线的参数, 在显示时, 根据所要求的尺寸大小, 画出所述直线和曲线。  5. The method according to claim 1, wherein the vector font library is: decomposing a pen segment of each character into a straight line and a curve, and storing parameters of the straight line and the curve, when displayed, according to the requirements Dimensions, draw the lines and curves.
6、 如权利要求 1所述的方法, 其特征在于, 所述生成的高清色图的格 式为 RGB格式;  The method according to claim 1, wherein the generated high-definition color map has a format of RGB;
所述对生成的所述高清色图进行格式转换为将所述高清色图的格式由 RGB格式转换为 YUV格式。 The formatting of the generated high-definition color map is to convert the format of the high-definition color map from an RGB format to a YUV format.
7、 一种会议电视系统中高清显示字幕的装置, 其特征在于, 该装置包 括: 主控单元、 数字信号处理 DSP单元、 图形用户界面 GUI单元及图形引 擎字模提取单元, 其中, 7. A device for displaying subtitles in a high definition conference television system, the device comprising: a main control unit, a digital signal processing DSP unit, a GUI unit of a graphical user interface, and a graphics engine font extraction unit, wherein
所述 GUI单元, 用于设置待显示的字幕名字符串及其属性, 并将设置 后的字幕名字符串及其属性发送给所述主控单元; 接收所述主控单元发送 的所述字幕名字符串的緩冲区地址及大小并发送给所述图形引擎字模提取 单元; 接收所述图形引擎字模提取单元发送的高清色图的大小并发送给所 述主控单元;  The GUI unit is configured to set a subtitle name string to be displayed and an attribute thereof, and send the set subtitle name string and its attribute to the main control unit; and receive the subtitle sent by the main control unit The buffer address and size of the name string are sent to the graphics engine font extraction unit; the size of the high-definition color map sent by the graphics engine font extraction unit is received and sent to the main control unit;
所述主控单元, 用于根据接收的所述 GUI单元发送的所述字幕名字符 串属性在所述 DSP单元中设置緩冲区, 并将所述緩冲区的地址及大小发送 给所述 GUI单元; 将接收的高清色图的大小发送给所述 DSP单元;  The main control unit is configured to set a buffer in the DSP unit according to the received subtitle name string attribute sent by the GUI unit, and send the address and size of the buffer to the a GUI unit; transmitting a size of the received high definition color map to the DSP unit;
所述图形引擎字模提取单元, 用于根据接收的所述 GUI单元发送的所 述字幕名字符串属性, 提取矢量字库中的字模生成高清色图; 将生成的高 清色图的大小发送给该 GUI单元;  The graphics engine font extraction unit is configured to: according to the received subtitle name string attribute sent by the GUI unit, extract a font in the vector font to generate an HD color map; and send the generated HD color map size to the GUI Unit
所述 DSP单元, 用于根据接收的所述主控单元发送的所述高清色图的 大小读取所述高清色图, 对所述高清色图进行格式转换, 并显示格式转换 后的高清色图。  The DSP unit is configured to read the high-definition color map according to the received size of the high-definition color map sent by the main control unit, perform format conversion on the high-definition color map, and display a format-converted high-definition color Figure.
8、 如权利要求 7所述的装置, 其特征在于, 所述图形引擎字模提取单 元进一步用于, 将生成的高清色图写入所述緩冲区; 所述 DSP单元进一步 用于, 从所述緩冲区读取所述高清色图。  The device according to claim 7, wherein the graphics engine font extraction unit is further configured to: write the generated high-definition color map into the buffer; the DSP unit is further used to The buffer reads the high definition color map.
9、 如权利要求 7所述的装置, 其特征在于, 所述字幕名字符串属性包 括: 字幕名的字幕颜色和字体大小的任意一个或多个属性;  9. The apparatus according to claim 7, wherein the subtitle name string attribute comprises: any one or more attributes of a subtitle color and a font size of the subtitle name;
所述字幕名的字幕颜色包括: 字幕名的字体颜色和背景色;  The subtitle color of the subtitle name includes: a font color and a background color of the subtitle name;
所述高清色图为 16位的色图。  The high definition color map is a 16-bit color map.
10、 如权利要求 7所述的装置, 其特征在于, 所述图形引擎字模提取 单元进一步用于: 将所述字幕名字符串进行字符编码, 在矢量字库中检索 出所述字符的数据, 并取出所述数据的端点坐标, 对所述端点坐标进行几 何变换, 再根据各端点是否连线的标志生成高清色图。 10. The apparatus of claim 7, wherein the graphics engine font extraction The unit is further configured to: perform character encoding on the subtitle name string, retrieve data of the character in a vector font, extract an endpoint coordinate of the data, perform geometric transformation on the endpoint coordinate, and then perform each end point according to each end point Whether the connected logo generates a high-definition color map.
11、 如权利要求 7 所述的装置, 其特征在于, 所述矢量字库为: 将每 个字符的笔划分解成直线和曲线, 并存储所述直线和曲线的参数, 在显示 时, 根据所要求的尺寸大小, 画出所述直线和曲线。  11. The apparatus according to claim 7, wherein the vector font library is: dividing a pen of each character into a straight line and a curve, and storing parameters of the straight line and the curve, when displayed, according to the requirements Dimensions, draw the lines and curves.
12、 如权利要求 7所述的装置, 其特征在于, 所述图形引擎字模提取 单元生成的高清色图的格式为 RGB格式; 所述格式转换后的高清色图的格 式为 YUV格式。  The device according to claim 7, wherein the format of the high-definition color map generated by the graphics engine font extraction unit is an RGB format; and the format of the high-definition color map after the format conversion is a YUV format.
PCT/CN2010/074084 2009-07-03 2010-06-18 Method and device for high definition display of subtitles in video conference system WO2011000269A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910150122.8 2009-07-03
CNA2009101501228A CN101600082A (en) 2009-07-03 2009-07-03 High definition shows the method and the device of captions in the TV conference system

Publications (1)

Publication Number Publication Date
WO2011000269A1 true WO2011000269A1 (en) 2011-01-06

Family

ID=41421294

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/074084 WO2011000269A1 (en) 2009-07-03 2010-06-18 Method and device for high definition display of subtitles in video conference system

Country Status (2)

Country Link
CN (1) CN101600082A (en)
WO (1) WO2011000269A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024341A (en) * 2012-12-14 2013-04-03 滨州禾丰高效生态产业技术开发有限公司 Handheld mobile terminal information inquiry system for winter jujubes

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600082A (en) * 2009-07-03 2009-12-09 中兴通讯股份有限公司 High definition shows the method and the device of captions in the TV conference system
CN102595055A (en) * 2012-02-29 2012-07-18 北京汉邦高科数字技术股份有限公司 Method for superposing characters on YUV image
CN103747191B (en) * 2014-01-27 2017-02-15 大连科迪视频技术有限公司 Network interaction high-definition character superimposition system
CN105025235B (en) * 2015-07-22 2018-01-30 山东神戎电子股份有限公司 A kind of visible character overlapping method of strong light based on laser night-vision device
CN112492239A (en) * 2019-09-12 2021-03-12 北京嗨动视觉科技有限公司 Character superposition display method, device and system and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558664A (en) * 2004-01-17 2004-12-29 上海交通大学 A high definition digital television program caption and background image synthesis method
CN1642235A (en) * 2004-01-12 2005-07-20 松下电器产业株式会社 Caption coding device
CN101179669A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Session television terminal subtitling generating and stacking method
CN101600082A (en) * 2009-07-03 2009-12-09 中兴通讯股份有限公司 High definition shows the method and the device of captions in the TV conference system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642235A (en) * 2004-01-12 2005-07-20 松下电器产业株式会社 Caption coding device
CN1558664A (en) * 2004-01-17 2004-12-29 上海交通大学 A high definition digital television program caption and background image synthesis method
CN101179669A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Session television terminal subtitling generating and stacking method
CN101600082A (en) * 2009-07-03 2009-12-09 中兴通讯股份有限公司 High definition shows the method and the device of captions in the TV conference system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024341A (en) * 2012-12-14 2013-04-03 滨州禾丰高效生态产业技术开发有限公司 Handheld mobile terminal information inquiry system for winter jujubes

Also Published As

Publication number Publication date
CN101600082A (en) 2009-12-09

Similar Documents

Publication Publication Date Title
WO2011000269A1 (en) Method and device for high definition display of subtitles in video conference system
JP4541482B2 (en) Image processing apparatus and image processing method
WO2020062744A1 (en) Video watermark adding method and apparatus, and electronic device and storage medium
US8988604B2 (en) Handheld device and method for displaying synchronously with TV set
CA2570677C (en) Method and apparatus for scaling selected areas of a graphics display
CN101179669B (en) Session television terminal subtitling generating and stacking method
CN112714352B (en) Screen recording method and device, computing equipment and readable storage medium
WO2012006919A1 (en) Method, terminal and system for subtitle transmission in remote presentation
WO2013134936A1 (en) Screen recording method, and screen recording control method and device
WO2010069171A1 (en) Mobile terminal and method for implementing television caption dynamic scaling
WO2022227974A1 (en) Subtitle processing method, apparatus and device and storage medium
CN203243440U (en) Video signal conversion apparatus for converting HDMI to VGA
JP2005033741A (en) Television character information display device, and television character information display method
TW201431381A (en) Auxiliary data encoding in video data
US20100278507A1 (en) Subtitle Generation System and Method Thereof
CN110475149A (en) A kind of processing method and system of ultra high-definition video
WO2018163977A1 (en) Image processing device and image processing method
CN105578008A (en) Method of improving USB 2.0 camera high resolution high frame rate based on android terminal
CN110661880A (en) Remote assistance method, system and storage medium
WO2018192231A1 (en) Image processing method, device, and terminal device
CN112488911B (en) Method for rendering GIF file on HTML5 CANVAS CANVAS
US9317891B2 (en) Systems and methods for hardware-accelerated key color extraction
CN102752368A (en) Method for improving interface remote display efficiencies and picture qualities between electronic equipment
JP2005322233A (en) Memory efficient method and apparatus for compression encoding large overlaid camera image
JP4631258B2 (en) Portable device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10793564

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10793564

Country of ref document: EP

Kind code of ref document: A1