Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for processing ultralong caption data

A technology for data processing and subtitles, applied in color TV components, TV system components, TV and other directions, it can solve problems such as stack buffer overflow, pause, and subtitle playback is not smooth, so as to achieve smooth and smooth playback. The effect of reducing render time

Inactive Publication Date: 2013-01-30
CHINA DIGITAL VIDEO BEIJING
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The following problems may occur when rendering characters into a block of memory at a time, including: super long subtitles require a large block of memory, and the memory area is always limited, which may cause stack buffer overflow, resulting in failure to allocate large blocks of memory; larger images render The longer the time, the real-time dynamic subtitles may cause the subtitles to be broadcast unsmoothly and have a sense of pause; under a fixed-size memory block, there will inevitably appear boundary characters that cross two memory blocks. Flaws appear when splicing the same character rendered by two memory blocks separately

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for processing ultralong caption data
  • Method for processing ultralong caption data
  • Method for processing ultralong caption data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0025] The invention provides a method for super long subtitle data processing, such as figure 1 shown, including the following steps:

[0026] In step S101, the terminal allocates memory to the subtitle image to form a memory link list, and then plays the subtitles in the memory block of the memory link list.

[0027] In step S102, the terminal removes the pointer of the memory block from the head of the memory linked list and adds it to the tail of the linked list, and then the head of the memory linked list points to the next memory block.

[0028] In step S103, the terminal records a memory block blank content pointer, which is a pointer to an unfilled area in the current memory block recorded when a certain character cannot be completely rendered in the current memory block.

[0029] Another method for super long subtitle data processi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for processing ultralong caption data, which is characterized by comprising the following steps: a terminal allocates the memory to caption images to form a memory linked list and plays the memory block caption of the memory linked list; the terminal removes a pointer of the memory block from the head of the memory linked list to the tail of the linked list; the head of the memory linked list points at the next memory block; the terminal records a blank pointer of the memory block which is the pointer which is in the unfilled area of the current memory block and is recorded when a certain character can not be completely rendered in the current memory block, and then the terminal enters the next memory block and starts rendering from the character. 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; thus reducing the render time of the images and ensuring smooth display of the real-time dynamic caption; every character in the memory blocks can be completely rendered without flaws caused by boundary characters.

Description

technical field [0001] The invention relates to the field of broadcasting and television, in particular to a method for processing ultra-long subtitle data. Background technique [0002] Computer subtitles and graphics technology have been widely used in radio, film and television fields. For example, the application of subtitle graphics involves all aspects of TV program production, including news live broadcast, studio, all variety shows, sports, finance, weather, etc., as well as the production of film and television dramas. Subtitle graphics are the most commonly used elements in the production, post and editing domains, studio and playout lines. With the wide application of subtitles, according to different functions and effects, subtitles can be divided into ordinary subtitles, libretto subtitles and scrolling subtitles. A subtitle is an image rendered by a computer to render text symbols into specific visual effects. The size of the image depends on the size and num...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04N5/278
Inventor 袁慧晶
Owner CHINA DIGITAL VIDEO BEIJING