Animation playing method and device
A playback method and playback device technology, applied in animation production, image data processing, instruments, etc., can solve the problems of slow playback speed, poor playback effect, easy to freeze, etc., and achieve the effect of increased playback speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] Please refer to figure 1 , which shows the method flowchart of the animation playing method provided in the first embodiment. The animation playback method is suitable for embedded devices containing multi-core processors, and the animation playback method includes:
[0072] Step 101, obtaining the data to be rendered of the current frame in the animation to be played;
[0073] When an animation file needs to be played, the animation file needs to be loaded first, and the animation file is usually a Shock Wave Flash file, or SWF file for short. A SWF file usually includes a file header and a file body. The file header defines information such as the version, size, frame rate, and total number of frames of the Flash animation. The file body usually includes a large number of tags; then, parse and load it into The SWF file can obtain definition tags and control tags. Each definition tag is used to define an object in the animation or all the information of an object. Ev...
Embodiment 2
[0083] Please refer to figure 2 , which shows a method flow chart of the animation playing method provided in Embodiment 2 of the present invention. The animation playback method is suitable for embedded devices containing multi-core processors, and the animation playback method includes:
[0084] Step 201, loading the animation file of the animation to be played;
[0085] The animation file is also a SWF file. When a Flash animation needs to be played, the animation file of the Flash animation needs to be loaded. In a simple Flash animation, there may be only one animation file. In more complex Flash animations, there may be more than one animation file. For example, a Flash game may include a main animation file and several sub-animation files. It can correspond to the corresponding part of each level of the Flash game. The sub-animation file is not a part that must be loaded. Only when the user enters the level after playing the game will the corresponding sub-animation...
Embodiment 3
[0137] Please refer to image 3, which shows a structural block diagram of the animation playback device provided by Embodiment 3 of the present invention. The animation playback device may be suitable for embedded terminals containing multiple cores, and the animation playback device may include a data acquisition module 310 , a data splitting module 320 , a data rendering module 330 and a data playback module 340 .
[0138] The data acquisition module 310 is used to acquire the data to be rendered of the current frame in the animation to be played;
[0139] The data splitting module 320 is configured to split the data to be rendered of the current frame into at least two sub-image data according to a predetermined splitting method. According to the specific predetermined splitting method adopted, the data splitting module 320 may include any one of the following units: a region splitting unit 321, a core splitting unit 322, an object splitting unit 323, a type splitting uni...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com