System for processing ultralong caption data
A technology of data processing and subtitles, which is applied in the system field of ultra-long subtitle data processing. It can solve problems such as stack buffer overflow, a sense of pause, and unsmooth subtitle broadcasting, so as to achieve smooth broadcasting and reduce image rendering time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] A method for processing super-long subtitle data provided by the present invention, such as figure 1 shown, including the following steps:
[0029] Step S101, the terminal determines the size of the memory and the value of N according to the size of the playing screen and the data amount of the subtitles.
[0030] Step S102, the terminal allocates N+1 blocks of memory of the same size to the subtitle image to form a memory linked list. Among them, N pieces of memory are used to store the subtitle images of the size of the screen display area, and 1 piece of memory is used to store the subtitle images to be displayed.
[0031] Step S103, the terminal renders N+1 subtitle images of the same size and stores them in the memory blocks of the memory linked list in sequence.
[0032] Step S104, playing the subtitles of the memory block in th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 