System for processing ultralong caption data
A data processing and subtitle technology, which is applied in the system field of super long subtitle data processing, can solve the problems of stack buffer overflow, stagnation, large memory allocation failure, etc., and achieves the effect of reducing image rendering time and playing smoothly.
- 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 in conjunction with the accompanying drawings and specific embodiments.
[0028] A kind of super long subtitle data processing method that the present invention provides, such as figure 1 shown, including the following steps:
[0029] In 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 volume of subtitles.
[0030] In step S102, the terminal allocates N+1 blocks of memory of the same size for subtitle images to form a memory link list. Among them, N pieces of memory are used to store the subtitle image of the size of the screen display area, and one piece of memory is used to store the subtitle image to be displayed.
[0031] In step S103, the terminal renders N+1 subtitle images of the same size and stores them sequentially in the memory blocks of the memory link list.
[0032] Step S104, playing the subtitles in the memory blo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 