Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

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

Active Publication Date: 2013-09-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: due to the continuous complexity and functional diversification of the Flash animation file, the animation playback method of the existing Flash animation usually needs to occupy the CPU at full speed to process the data, Occupies a lot of resources for embedded terminals
Even so, the playback effect of Flash animation is still very poor, and the playback speed is slow and easy to get stuck. According to the analysis of the inventor, it can be seen that during the entire Flash playback process, the occupation of the CPU is particularly obvious in the rendering step, which is the cause of the existing Flash animation. One of the main reasons for the poor playback effect of the animation playback method of animation

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
  • Animation playing method and device
  • Animation playing method and device
  • Animation playing method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

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 an animation playing method and device, which belong to the field of graphic image processing. The method comprises the following steps of acquiring data to be rendered of a current frame; splitting the data to be rendered of the current fame into at least two sub-image data according to a predetermined splitting way; inputting the at least two image data into respective processing core respectively for rendering to obtain rendered sub-image data; and combining the rendered sub-image data into the image data of the current frame for playing. According to the method, the data to be rendered in a rendering process are split into a plurality of parts and is rendered by all processing cores in a multicore processor respectively to reach a parallel rendering effect, so that the playing speed of Flash animations is increased remarkably, and the problem of full-speed occupation of a CPU (Central Processor Unit) during playing of the Flash animations is solved.

Description

technical field [0001] The invention relates to the field of graphics and image processing, in particular to an animation playing method and device for playing Flash animation in an embedded terminal including a multi-core processor. Background technique [0002] Flash is the most widely used interactive multimedia animation in the Internet field. With the continuous development of Flash-related technologies, Flash is also becoming more and more complicated and its functions are diversified. At present, how to use the limited system resources of embedded terminals such as mobile phones or tablet computers to smoothly play Flash animation files is one of the hot research topics of modern Internet companies. [0003] In the prior art, most CPUs in embedded terminals are single-core. When playing a Flash animation file, a series of operations such as loading, parsing, rendering and playing need to be completed. When the Flash animation file is relatively complex and relative...

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 Applications(China)
IPC IPC(8): G06T13/00
Inventor 李庆美李孙长王传东
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products