CN101594477B - Processing system of ultralong caption rendering - Google Patents

Processing system of ultralong caption rendering Download PDF

Info

Publication number
CN101594477B
CN101594477B CN 200810113847 CN200810113847A CN101594477B CN 101594477 B CN101594477 B CN 101594477B CN 200810113847 CN200810113847 CN 200810113847 CN 200810113847 A CN200810113847 A CN 200810113847A CN 101594477 B CN101594477 B CN 101594477B
Authority
CN
China
Prior art keywords
memory
internal memory
image
captions
caption
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.)
Expired - Fee Related
Application number
CN 200810113847
Other languages
Chinese (zh)
Other versions
CN101594477A (en
Inventor
袁慧晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN 200810113847 priority Critical patent/CN101594477B/en
Publication of CN101594477A publication Critical patent/CN101594477A/en
Application granted granted Critical
Publication of CN101594477B publication Critical patent/CN101594477B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a processing system of ultralong caption rendering, which is characterized by comprising a determination module, an allocation module and a regulation module; wherein, the determination module is used for determining the size of the memory and the value of N according to the size of a playing screen and data quantity of the caption; the allocation module is used for allocating the memory for caption images; the regulation module is used for regulating the caption image contents stored in the memory to ensure that the caption images in a screen display area and the caption images to be displayed are stored in the memory all the time. A plurality of memory blocks with fixed sizes are adopted to allocate memory for caption images, so that large memory needed by ultralong caption can be realized by updating memory images by the plurality of memory blocks; images are respectively stored on different memory blocks, thus reducing the render time of the images and ensuring smooth display of the real-time dynamic caption.

Description

A kind for the treatment of system of ultralong caption rendering
Technical field
The present invention relates to field of broadcast televisions, relate in particular to a kind for the treatment of system of ultralong caption rendering.
Background technology
The captions of computer and graph technology have been widely used in pbs film, TV domain.Application such as subtitle graphic relates to the every aspect that station synchronization is made, and comprises live, the studio of news, and all variety, physical culture, finance and economics, meteorology etc. comprise that also the making of movie and television play all relates to.At record and broadcast, later stage and edit field, studio and broadcasting line, subtitle graphic all is the element of commonly using the most.Along with the extensive use of captions, different according to function and effect, captions can be divided into again common captions, surtitle and roll screen captions etc.Captions are by computer letter symbol to be played up the image of certain visual effects, the size of image depend on the size of character, what etc.Therefore, need to be the image dynamic assigning memory during caption rendering.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Character once is rendered in the internal memory following problem may occur, comprising: ultralong caption needs the internal memory of bulk, and region of memory is always limited, may cause the storehouse Buffer Overflow, causes bulk memory to distribute unsuccessfully; The larger time of playing up of image is longer, may cause caption playing not smooth for real-time dynamic title, and the sense of pause is arranged.
Summary of the invention
The invention provides a kind for the treatment of system of ultralong caption rendering, the data when playing with the realization ultralong caption are processed.
The invention provides a kind for the treatment of system of ultralong caption rendering, it is characterized in that, comprising:
Determination module is used for determining the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions;
Distribution module is used to captions image storage allocation.Computer Memory Allocation that the N+1 piece is onesize forms the internal memory chained list to the captions image; Wherein, N piece internal memory is used for the captions image of storage screen display area size, and 1 internal memory is used for the captions image that storage will show;
Adjusting module is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing all the time screen display area in the internal memory and the captions image that will show.
Described distribution module also comprises:
Image storage unit is for the captions image of storing initial;
The image-erasing unit, in the time of complete for described chained list gauge outfit internal memory captions image player, former gauge outfit is now shown the tail internal memory and is deleted former memory image content;
Image deposits the unit in, is used for depositing in the picture material that will play.
Described adjusting module also comprises:
Updating block when complete for former gauge outfit memory block image player, upgrades the caption content of former gauge outfit memory block synchronously;
Chained list gauge outfit updating block, it is complete to be used for chained list gauge outfit internal memory captions image player, and this memory block pointer removes from internal memory chained list gauge outfit, adds the chained list tail, and internal memory chained list gauge outfit is pointed to next internal memory.
Compared with prior art, the present invention has the following advantages:
Among the present invention, be captions image storage allocation by the memory block that adopts a plurality of fixed sizes, the needed bulk memory of ultralong caption can be realized by a plurality of little memory block updated stored images; Image is divided into fritter to be played up step by step and is stored in successively on the different memory blocks, reduces the image rendering time, makes real-time dynamic title move smoothness.
Description of drawings
Fig. 1 is the process flow figure of a kind of ultralong caption rendering among the present invention;
Fig. 2 is the schematic diagram of the ultralong caption processing method that rolls left among the present invention;
Fig. 3 is the treatment system schematic diagram of a kind of ultralong caption rendering among the present invention;
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in detail.
The processing method of a kind of ultralong caption rendering provided by the invention as shown in Figure 1, comprises the steps:
Step S101, terminal is determined the size of described internal memory and the value of N according to the size of view screen and the data volume of captions.
Step S102, terminal is that the captions image distributes the onesize internal memory of N+1 piece, forms the internal memory chained list.Wherein have N piece internal memory to be used for the captions image of storage screen display area size, 1 internal memory is used for the captions image that storage will show.
Step S103, terminal is played up the onesize caption image of N+1 piece and is stored into successively in the memory block of internal memory chained list.
Step S104, the memory block captions of broadcast internal memory chained list; The captions image of memory constantly upgrades, and just stores the captions image that will play, thereby finishes the mobile storage of described ultralong caption image at once.
Step S105, complete when the memory block Subtitle Demonstration of internal memory chained list gauge outfit, terminal removes the memory block pointer from internal memory chained list gauge outfit, adds the chained list tail.Internal memory chained list gauge outfit is pointed to next memory block, and terminal will be upgraded the caption content that former gauge outfit is now shown the tail memory block, and the former memory image content that terminal is now shown the tail memory block with former gauge outfit is deleted, and then deposits the picture material that will play in.
The below is treated to example with the data of the ultralong caption that rolls left and is elaborated, as shown in Figure 2.
Gray area is the screen display captions among the figure, when the memory block Subtitle Demonstration of internal memory chained list gauge outfit complete, this memory block pointer removes from internal memory chained list gauge outfit, add the chained list tail, internal memory chained list gauge outfit is pointed to next memory block, upgrades the caption content that former gauge outfit is now shown the tail memory block, because the viewing area image has been divided into the smaller internal memory of N piece, every internal memory render time is very short, can not cause the discontinuous of caption playing.
The invention provides a kind for the treatment of system of ultralong caption rendering, as shown in Figure 3, comprising:
Determination module 310 is used for determining the size of described internal memory and the value of N according to the size of view screen and the data volume of described captions.
Distribution module 320 is used to captions image storage allocation.Program control system Memory Allocation that the N+1 piece is onesize forms the internal memory chained list to the captions image; Wherein, N piece internal memory is used for the captions image of storage screen display area size, and 1 internal memory is used for the captions image that storage will show.
Adjusting module 330 is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing all the time screen display area in the internal memory and the captions image that will show.
Concrete, distribution module 320 further comprises:
Image storage unit 321 is for the captions image of storing initial.
Image-erasing unit 322 is used for described chained list gauge outfit internal memory captions image player complete the time, deletes former gauge outfit and now shows the picture material of storing in the tail memory block.
Image deposits unit 323 in, is used for depositing in the picture material that will play.
Concrete, adjusting module 330 further comprises:
Updating block 331 when complete for former gauge outfit memory block image player, upgrades the caption content of former gauge outfit memory block synchronously.
Chained list gauge outfit updating block 332, when complete for chained list gauge outfit memory block captions image player, this memory block pointer removes from internal memory chained list gauge outfit, adds the chained list tail, and internal memory chained list gauge outfit is pointed to next memory block.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (2)

1. the treatment system of a ultralong caption rendering is characterized in that, comprising:
Determination module is used for determining the size of internal memory and the value of N according to the size of view screen and the data volume of described captions;
Distribution module is used to captions image storage allocation, and computer Memory Allocation that the N+1 piece is onesize forms the internal memory chained list to the captions image; Wherein, N piece internal memory is used for the captions image of storage screen display area size, and 1 internal memory is used for the captions image that storage will show;
Adjusting module is used for adjusting the captions picture material that internal memory is stored, and makes the captions image of depositing all the time screen display area in the internal memory and the captions image that will show;
Wherein, described adjusting module comprises:
Updating block when complete for former gauge outfit memory block image player, upgrades the caption content of former gauge outfit memory block synchronously;
Chained list gauge outfit updating block, it is complete to be used for chained list gauge outfit internal memory captions image player, and the memory block pointer is removed from internal memory chained list gauge outfit, adds the chained list tail, and internal memory chained list gauge outfit is pointed to next internal memory.
2. the treatment system of ultralong caption rendering as claimed in claim 1 is characterized in that described distribution module comprises:
Image storage unit is for the captions image of storing initial;
The image-erasing unit, in the time of complete for described chained list gauge outfit internal memory captions image player, former gauge outfit is now shown the tail internal memory and is deleted former memory image content;
Image deposits the unit in, is used for depositing in the picture material that will play.
CN 200810113847 2008-05-30 2008-05-30 Processing system of ultralong caption rendering Expired - Fee Related CN101594477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810113847 CN101594477B (en) 2008-05-30 2008-05-30 Processing system of ultralong caption rendering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810113847 CN101594477B (en) 2008-05-30 2008-05-30 Processing system of ultralong caption rendering

Publications (2)

Publication Number Publication Date
CN101594477A CN101594477A (en) 2009-12-02
CN101594477B true CN101594477B (en) 2013-02-20

Family

ID=41408890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810113847 Expired - Fee Related CN101594477B (en) 2008-05-30 2008-05-30 Processing system of ultralong caption rendering

Country Status (1)

Country Link
CN (1) CN101594477B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739997A (en) * 2011-05-10 2012-10-17 新奥特(北京)视频技术有限公司 Subtitle plug-in segmentation rendering method
CN104133596B (en) * 2014-08-13 2017-11-17 福建星网视易信息系统有限公司 The display methods and device of electrical screen information
CN109508213B (en) * 2017-09-14 2022-04-22 腾讯科技(北京)有限公司 View rendering method, device, medium and intelligent terminal
CN109788335B (en) * 2019-03-06 2021-08-17 珠海天燕科技有限公司 Video subtitle generating method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1252677A (en) * 1998-10-09 2000-05-10 松下电器产业株式会社 Screen display processor
KR100262959B1 (en) * 1998-04-27 2000-08-01 구자홍 Method for character fold writing control of hangul caption broadcasting
US7161631B2 (en) * 2002-08-22 2007-01-09 Funai Electric Co., Ltd. Digital broadcast receiving apparatus
CN1909607A (en) * 2005-08-03 2007-02-07 上海乐金广电电子有限公司 DVD image scale adjusting method in wide-screen display
CN1917597A (en) * 2005-08-16 2007-02-21 乐金电子(沈阳)有限公司 The display device for offering movie modes and method for controlling the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100262959B1 (en) * 1998-04-27 2000-08-01 구자홍 Method for character fold writing control of hangul caption broadcasting
CN1252677A (en) * 1998-10-09 2000-05-10 松下电器产业株式会社 Screen display processor
US7161631B2 (en) * 2002-08-22 2007-01-09 Funai Electric Co., Ltd. Digital broadcast receiving apparatus
CN1909607A (en) * 2005-08-03 2007-02-07 上海乐金广电电子有限公司 DVD image scale adjusting method in wide-screen display
CN1917597A (en) * 2005-08-16 2007-02-21 乐金电子(沈阳)有限公司 The display device for offering movie modes and method for controlling the same

Also Published As

Publication number Publication date
CN101594477A (en) 2009-12-02

Similar Documents

Publication Publication Date Title
WO2017193576A1 (en) Video resolution adaptation method and apparatus, and virtual reality terminal
KR102310241B1 (en) Source device, controlling method thereof, sink device and processing method for improving image quality thereof
CN106791898B (en) Live video loading method and device
US8578431B2 (en) Adaptive timeshift service
CN105472437A (en) Video playing method and apparatus thereof
CN102364905B (en) Data reproducing method, device and mobile terminal
CN110868625A (en) Video playing method and device, electronic equipment and storage medium
CN107682713B (en) Media file playing method and device
WO2017080175A1 (en) Multi-camera used video player, playing system and playing method
CN103905744A (en) Rendering synthetic method and system
CN102629460B (en) Method and apparatus for controlling frame frequency of liquid crystal display
CN101594477B (en) Processing system of ultralong caption rendering
CN108235120A (en) Live video stream method for pushing, device and electronic equipment
CN112055254B (en) Video playing method, device, terminal and storage medium
CN108337553A (en) A kind of multi-medium data pre-download method
CN101594476A (en) A kind of processing method of ultralong caption rendering
CN101594479B (en) System for processing ultralong caption data
CN110740374B (en) Multimedia data processing method and device, computer equipment and storage medium
CN1917600A (en) Terminal for displaying distributed picture content
CN111667313A (en) Advertisement display method and device, client device and storage medium
CN112019906A (en) Live broadcast method, computer equipment and readable storage medium
CN101594478B (en) Method for processing ultralong caption data
CN109862385A (en) Method, apparatus, computer readable storage medium and the terminal device of live streaming
CN107484040A (en) A kind of method for realizing network acceleration
WO2008044881A1 (en) Image board and display method using dual codec

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130220

Termination date: 20170530