Method and device for accelerating frame animation loading

An acceleration device and animation technology, applied in the field of video processing, can solve problems such as delay and memory overflow, and achieve the effect of reducing the risk of memory overflow and shortening the preparation time.

Active Publication Date: 2017-05-10
北京如布科技有限公司
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Loading in this way, if there are too many pictures specified in the frame animation, it needs to be loaded frame by frame, which will cause a long delay
In addition, if the picture is too large, the large picture loaded into the memory will also cause memory overflow

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 and device for accelerating frame animation loading
  • Method and device for accelerating frame animation loading
  • Method and device for accelerating frame animation loading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein.

[0031] figure 1 A flow chart of a frame animation loading acceleration method according to an embodiment of the present invention is shown.

[0032] In this embodiment, the frame animation loading acceleration method includes the following steps:

[0033] (1) Combine all frame pictures in the frame animation into at least one composite picture through editing tools, and export the picture information files of all frame pictures in the composite picture.

[0034] For a frame animation with multiple picture frames, in order to reduce the number of times to read pictures, all frame pictures are preprocessed first. The reason why the number of pictures ne...

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 and a device for accelerating frame animation loading. The method comprises the steps of synthesizing all frame pictures in an original frame animation into at least one synthetic image by an editing tool, and exporting picture information files of the all frame pictures in the synthetic images; creating a corresponding number of threads based on the number of the synthetic images at a Natvie end, and loading each of the synthetic images in a corresponding thread to a memory; reading the picture information files, and based on the read information and according to a sequence of the all frame pictures in the original frame animation, associating each frame picture in each of the synthetic images loaded to the memory with a position in the memory one by one; newly building a frame animation example at a Java end, and according to the position associated by the each frame picture in the memory, loading data of the each frame picture to the frame animation example; and carrying out animation playing on the frame animation example. According to the method and the device disclosed by the invention, the accelerated loading for frame animation pictures is realized, and the risk of memory overflow in a picture loading process is reduced.

Description

technical field [0001] The present invention relates to the field of video processing, and more particularly, to a frame animation loading acceleration method and a frame animation loading acceleration device. Background technique [0002] Drawing frame content frame by frame on a time frame is called sequence frame animation, or frame animation for short. Because it is a frame-by-frame painting, frame animation has great flexibility and can express almost any content you want to express. [0003] Due to the characteristics of the frame animation, before the execution of the frame animation, all the specified picture files in the frame animation need to be loaded into the memory one by one. Loading in this way, if there are too many pictures specified in the frame animation, it needs to be loaded frame by frame, which will cause a long delay. In addition, if the picture is too large, the large picture loaded into the memory will also cause memory overflow. Therefore, it i...

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/00G06F9/445G06F9/44
CPCG06F8/31G06F9/44521G06T13/00
Inventor 张喜雷宇
Owner 北京如布科技有限公司
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
Try Eureka
PatSnap group products