CN106651999A - Method and device for accelerating frame animation loading - Google Patents

Method and device for accelerating frame animation loading Download PDF

Info

Publication number
CN106651999A
CN106651999A CN201611230388.XA CN201611230388A CN106651999A CN 106651999 A CN106651999 A CN 106651999A CN 201611230388 A CN201611230388 A CN 201611230388A CN 106651999 A CN106651999 A CN 106651999A
Authority
CN
China
Prior art keywords
frame
composite diagram
animation
picture
frame animation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611230388.XA
Other languages
Chinese (zh)
Other versions
CN106651999B (en
Inventor
张喜
雷宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rubu Technology Co.,Ltd.
Original Assignee
Beijing Intelligent Housekeeper Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Intelligent Housekeeper Technology Co Ltd filed Critical Beijing Intelligent Housekeeper Technology Co Ltd
Priority to CN201611230388.XA priority Critical patent/CN106651999B/en
Publication of CN106651999A publication Critical patent/CN106651999A/en
Application granted granted Critical
Publication of CN106651999B publication Critical patent/CN106651999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Processing Or Creating Images (AREA)

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

Frame animation loads accelerating method and device
Technical field
The present invention relates to field of video processing, more particularly, to a kind of frame animation accelerated method and a kind of frame are loaded Animation loads accelerator.
Background technology
Draw content frame frame by frame on time frame and be referred to as sequence frame animation, abbreviation frame animation.Due to being picture one by one, So frame animation has very big flexibility, any content wanted and show can be almost showed.
Due to the characteristic of frame animation, frame animation before execution, is needed first all picture files one specified in frame animation Open and be loaded into internal memory.Loaded by this way, if the picture specified in frame animation is excessive, need to carry out frame by frame Loading, then can cause long delay.In addition, if picture is excessive, the super large picture being loaded into internal memory will also result in interior Deposit spilling.Therefore, it is necessary to developing one kind can realize that frame animation loads accelerating method and device.
The information for being disclosed in background of invention part is merely intended to deepen the reason of the general background technology to the present invention Solution, and it is not construed as recognizing or imply in any form known to those skilled in the art existing of the information structure Technology.
The content of the invention
In order to solve the above-mentioned problems in the prior art, the present invention propose a kind of frame animation loading accelerated method and Device.
According to an aspect of the invention, it is proposed that a kind of frame animation loads accelerated method.The method includes:
All frame pictures in original frame animation are synthesized by least one composite diagram by edit tool, and derives all frame figures Pictorial information file of the piece in composite diagram;
The thread of respective amount is created in the number of composite diagram in Natvie end groups, and by each composite diagram in corresponding line It is loaded into internal memory in journey;
Read pictorial information file, based on the information for being read, according in the original frame animation all frame pictures it is suitable Sequence, the every frame picture in each composite diagram being loaded into internal memory is associated one by one with the position in internal memory;
In the newly-built frame animation example in Java ends, the position in internal memory according to associated by every frame picture is by the number of every frame picture According to being added in the frame animation example;
The frame animation example is carried out into the broadcasting of animation.
Preferably, the information of the pictorial information file includes positions and dimensions of every frame picture in composite diagram, is used for Every frame picture is indexed in the composite diagram.
Preferably, it is described during all frame picture synthesis at least composite diagrams, to be grouped each frame figure in original frame animation Piece is synthesized respectively, makes the difference in size between each composite diagram be less than predetermined value.
Preferably, described when each composite diagram is loaded into internal memory in corresponding thread, the composite diagram is with byte number The form of group is stored.
According to another aspect of the invention, it is proposed that a kind of frame animation loads accelerator.The device includes:
Pretreatment unit, at least one composite diagram is synthesized by edit tool by all frame pictures in frame animation, and is derived Pictorial information file of all frame pictures in composite diagram;
Loading unit, in Natvie end groups the thread of respective amount is created in the number of composite diagram, and by each composite diagram It is loaded into internal memory in corresponding thread;
Associative cell, reads pictorial information file, based on the information for being read, according to all frames in the original frame animation The order of picture, the every frame picture in each composite diagram being loaded into internal memory is associated one by one with the position in internal memory;
Example creating unit, in the newly-built frame animation example in Java ends, the position in internal memory according to associated by every frame picture The data of every frame picture are added in the frame animation example;
Broadcast unit, by the frame animation example broadcasting of animation is carried out.
Preferably, the information of the pictorial information file includes positions and dimensions of every frame picture in composite diagram, is used for Every frame picture is indexed in the composite diagram.
Preferably, it is described during all frame picture synthesis at least composite diagrams, to be grouped each frame figure in original frame animation Piece is synthesized respectively, makes the difference in size between each composite diagram be less than predetermined value.
Preferably, described when each composite diagram is loaded into internal memory in corresponding thread, the composite diagram is with byte number The form of group is stored.
Pretreatment mode by being synthesized to all pictures in original frame animation of the invention, and loaded using multithreading The accelerated loading to frame animation picture is realized, so as to the time of frame animation is greatly shortened;Simultaneously because at Native ends Picture loading procedure is realized, reduces the risk that internal memory overflows in picture loading procedure.
The method of the present invention has other characteristics and advantage, these characteristics and advantage from the accompanying drawing being incorporated herein and with Will be apparent in specific embodiment afterwards, or will enter in the accompanying drawing being incorporated herein and subsequent specific embodiment Row statement in detail, these the drawings and specific embodiments are provided commonly for explaining the certain principles of the present invention.
Description of the drawings
Exemplary embodiment of the present is described in more detail by combining accompanying drawing, the present invention it is above-mentioned and other Purpose, feature and advantage will be apparent from, wherein, in exemplary embodiments of the present invention, identical reference number is usual Represent same parts.
Fig. 1 shows that frame animation according to an embodiment of the invention loads the flow chart of accelerated method.
Fig. 2 a- Fig. 2 l respectively illustrate the 12 frame pictures included in frame animation according to an embodiment of the invention.
Fig. 3 a- Fig. 3 c are respectively three composite diagrams synthesized based on Fig. 2 a- Fig. 2 l according to an embodiment of the invention.
Specific embodiment
The present invention is more fully described below with reference to accompanying drawings.Although showing the preferred embodiments of the present invention in accompanying drawing, However, it is to be appreciated that may be realized in various forms the present invention and should not be limited by embodiments set forth here.
Fig. 1 shows that frame animation according to an embodiment of the invention loads the flow chart of accelerated method.
In this embodiment, frame animation loading accelerated method is comprised the following steps:
(1) all frame pictures in frame animation are synthesized by least one composite diagram by edit tool, and derives all frame figures Pictorial information file of the piece in composite diagram.
For the frame animation with many picture frames, in order to reduce the number of times for reading picture, all frame pictures are carried out first Pretreatment.The quantity for reducing picture why is needed, is to reduce the secondary of the context switching of picture loading during software is realized Number.
In the present embodiment, all frame pictures in frame animation are pre-processed, formed composite diagram and corresponding picture letter Breath file after, upload onto the server end, then in subsequent step by terminal establishment thread after loaded.
The pretreatment carries out in the frame picture of certain amount by edit tool to be spliced to form a composite diagram, so as to All frame pictures in frame animation are synthesized at least one composite diagram.
Thread is concurrent, and (i.e. multiple tasks, i.e. thread are more to process simultaneously for multi-threading) may, and processing simultaneously for task is got over Many, the picture that can be read simultaneously in the present embodiment is more.But thread is more, also simultaneously concurrent capability can be caused to decline, Obtain less than enough run times so as to there is each thread, thus block, lose more than gain.Thus, by composite diagram Number be limited to reasonable number.This reasonable number realizes the consideration in thread quantity and performance balance and quilt for software It is limited to not more than 3.
In the exemplary embodiment, it is described during all frame picture synthesis at least composite diagrams, to divide in original frame animation Group is respectively synthesized each frame picture, makes the difference in size between each composite diagram be less than predetermined value.
For the consideration of the concurrent efficiency of thread, the equal of be spliced to form dimension of picture should be as far as possible ensured when picture splices Weighing apparatus, that is, ensure to be smaller in size than predetermined value between each composite diagram.The predetermined value can determine according to actual needs.Such as mesh Mark quantity is 3, then should try one's best and ensure that the size of this three pictures is Jie Jin consistent, it is to avoid the size between picture occurs The king-sized situation of gap.In the splicing of picture, information of each picture frame in composite diagram should be recorded.
In the exemplary embodiment, edit tool is TexturePacker.
In the exemplary embodiment, the information of pictorial information file includes position and chi of each picture frame in composite diagram It is very little, for every frame picture to be indexed in the composite diagram.Size of each picture frame in composite diagram be with pixel Unit, position coordinates is also in units of pixel.
In the exemplary embodiment, pictorial information file is xml document.
It is below the example of pictorial information file of the two frame pictures in composite diagram:
Above parameter shows there are two frame pictures in the composite diagram for synthesizing, respectively pic1.png and pic2.png, wherein The size of pic1.png is 1280*800, the position in composite diagram be top-left coordinates for (1,1), lower right coordinate for (1280, 800) rectangular area;The size of pic2.png is 1280*800, the position in composite diagram be top-left coordinates for (1,803), Lower right coordinate is the rectangular area of (1280,800).
(2) thread of respective amount is created in the number of composite diagram in Natvie end groups, and by each composite diagram in correspondence Thread in be loaded into internal memory.
It is the realization of software after pretreatment is completed, carries out at Java ends and Native ends respectively, can be with C/C++ realities It is existing.
At least one composite diagram is synthesized in pretreatment stage, then identical number has been created at Native ends in software implementation phase The thread of amount, and while being read corresponding composite diagram to be loaded into internal memory in each thread in.
Pictorial information is obtained, data flow is created, data is read internal memory, closed data flow, this whole reading with bytewise Taking flow process has process to consume, if the picture to be loaded is excessive, many time all consumes the standard read in data flow Standby and ending phase, the time being actually written and read is not long.And pass through to synthesize a limited number of composite diagram, reduce picture number Amount, so as to have compressed the time for reading the preparatory stage.
Picture loading procedure is realized at Native ends, because Native codes are performed in primary space, and Java is not take up , without the restriction that internal memory is used, will not easily there is the risk of internal memory benefit in end virutal machine memory.
In the exemplary embodiment, it is described when each composite diagram is loaded into internal memory in corresponding thread, the synthesis Figure is stored in the form of byte arrays.Preferably, each pixel of composite diagram uses 4 byte representations.
For example, in above-mentioned example pictorial information file, data of the pic1.png in byte arrays be exactly upper left (1,1) With the array region of bottom right (1280*4,800*4).
(3) pictorial information file is read, based on the information for being read, according to all frame pictures in the original frame animation Order one by one associates the every frame picture in each composite diagram being loaded into internal memory with the position in internal memory.
Position of the composite diagram loaded in each thread in internal memory is random, if directly reading each composite diagram In frame picture, then it with the order of all frame pictures in raw animation is being not necessarily sequentially consistent, it is therefore desirable to will Every frame picture in already loaded into each composite diagram in internal memory is associated one by one with the position in internal memory.In associated The sequence of positions deposited is consistent with putting in order for all frame pictures in raw animation, that is, realize in composite diagram per frame figure The reduction of position of the piece in internal memory, puts in order by this and realizes the follow-up display per two field picture.
(4) in the newly-built frame animation example in Java ends, the position in internal memory according to associated by every frame picture will be per frame picture Data be added in the frame animation example.
In the newly-built frame animation example in Java ends, newly-built frame animation example is, for example, AnimationDrawable, AnimationDrawable is the basic class for realizing frame animation, for managing frame animation in each frame.Reducing composite diagram In per behind position of the frame picture in internal memory, the position in internal memory according to associated by every frame picture adds the data of every frame picture Enter in the frame animation example.
(5) the frame animation example is passed in terminal device, is currently displayed at the view class of screen to carry out animation Broadcasting.
The view class for being displayed in screen is View, calls the broadcasting of the i.e. achievable animation of start () method of frame animation example.
According to another embodiment of the present invention, there is provided a kind of frame animation loads accelerator.
The device can include:
Pretreatment unit, at least one composite diagram is synthesized by edit tool by all frame pictures in frame animation, and is derived Pictorial information file of all frame pictures in composite diagram;
Loading unit, in Natvie end groups the thread of respective amount is created in the number of composite diagram, and by each composite diagram It is loaded into internal memory in corresponding thread;
Associative cell, reads pictorial information file, based on the information for being read, according to all frames in the original frame animation The order of picture, the every frame picture in each composite diagram being loaded into internal memory is associated one by one with the position in internal memory;
Example creating unit, in the newly-built frame animation example in Java ends, the position in internal memory according to associated by every frame picture The data of every frame picture are added in the frame animation example;
Broadcast unit, by the frame animation example broadcasting of animation is carried out.
In one example, the information of the pictorial information file includes position and chi of every frame picture in composite diagram It is very little, for every frame picture to be indexed in the composite diagram.
In one example, it is described by during all frame picture synthesis at least composite diagrams, packet will in original frame animation Each frame picture is synthesized respectively, makes the difference in size between each composite diagram be less than predetermined value.
In one example, it is described when each composite diagram is loaded into internal memory in corresponding thread, the composite diagram with The form of byte arrays is stored.
Using example
For ease of understanding the scheme and its effect of the embodiment of the present invention, a concrete application example given below.This area It should be understood to the one skilled in the art that the example is only for the purposes of understanding the present invention, its any detail is not intended to limit by any way The system present invention.
Fig. 2 a- Fig. 2 l show 12 frame pictures, are followed successively by pic1, pic2, pic3, pic4, pic5, pic6, pic7, pic8,pic9,pic10,pic11,pic12。
The frame animation being made up of this 12 frame pictures is carried out by following steps load acceleration process.
Step 1:Picture is pre-processed, 12 frame picture pic1-pic12 that will be as shown in Fig. 2 a- Fig. 2 l synthesize Three composite diagrams, every composite diagram includes 4 frame pictures.As shown in Fig. 3 a- Fig. 3 c, synthesis Fig. 1 includes pic1-pic4, synthesis Fig. 2 includes that pic5-pic8, synthesis Fig. 3 include pic9-pic12.And derive the picture file information of this three composite diagrams;In advance Upload onto the server to hold after being disposed and be downloaded for terminal.
The pictorial information of synthesis Fig. 1,2,3 is as follows:
Synthesis Fig. 1:
Synthesis Fig. 2:
Synthesis Fig. 3:
Step 2:Synthesis Fig. 1,2,3 are downloaded in mobile phone terminal, and 3 threads are created at Native ends, respectively in corresponding line Synthesis Fig. 1,2,3 are loaded into internal memory in journey;
Step 3:Pictorial information file is read, based on the information for being read, according to all frame pictures in original frame animation Order one by one associates the every frame picture in each composite diagram being loaded into internal memory with the position in internal memory, including coordinate and chi Correspondence on very little;
Step 4:Newly-built frame animation example AnimationDrawable, the position in internal memory according to associated by every frame picture Put and the data of every frame picture are added in the frame animation example;
Step 5:The example is passed to view class View for being currently displayed at screen, by calling frame animation example Start () carrys out playing animation, frame animation is shown on mobile phone screen.
It will be understood by those skilled in the art that above to the purpose of the description of embodiments of the invention only for exemplarily saying The beneficial effect of bright embodiments of the invention, is not intended to limit embodiments of the invention to given any example.
The present invention can be device, method and/or computer program.Computer program can include computer Readable storage medium storing program for executing, containing the computer-readable program instructions for being used to make processor realize various aspects of the invention.
Computer-readable recording medium can be the tangible of the instruction that holding and storage are used by instruction execution equipment Equipment.Computer-readable recording medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer-readable recording medium More specifically example (non exhaustive list) includes:Portable computer diskette, hard disk, random access memory (RAM), read-only deposit It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read-only storage (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon Be stored with instruction punch card or groove internal projection structure and above-mentioned any appropriate combination.Calculating used herein above Machine readable storage medium storing program for executing is not construed as instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations, logical Cross electromagnetic wave (for example, by the light pulse of fiber optic cables) that waveguide or other transmission mediums propagate or by wire transfer Electric signal.
Computer-readable program instructions as described herein can from computer-readable recording medium download to each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network can include copper transmission cable, Optical Fiber Transmission, be wirelessly transferred, router, fire wall, switch, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment is received from network and counted Calculation machine readable program instructions, and forward the computer-readable program instructions, for being stored in each calculating/processing equipment in meter In calculation machine readable storage medium storing program for executing.
For perform the present invention operation computer program instructions can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming language The source code write of any combination or object code, the programming language includes OO programming language-such as Smalltalk, C++ etc., and the procedural programming languages of routine-such as " C " language or similar programming language.Computer Readable program instructions can perform fully on the user computer, partly perform on the user computer, as one solely Vertical software kit is performed, on the user computer part performs on the remote computer or completely in remote computer for part Or perform on server.In the situation of remote computer is related to, remote computer can be by the network-bag of any kind LAN (LAN) or wide area network (WAN)-be connected to subscriber computer are included, or, it may be connected to outer computer (such as profit With ISP come by Internet connection).In certain embodiments, by using computer-readable program instructions Status information carry out personalized customization electronic circuit, such as PLD, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to realize each side of the present invention Face.
Referring herein to method according to embodiments of the present invention, device (system) and computer program flow chart and/ Or block diagram describes various aspects of the invention.It should be appreciated that each square frame and flow chart of flow chart and/or block diagram and/ Or in block diagram each square frame combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special-purpose computer or other programmable datas The processor of processing meanss, so as to produce a kind of machine so that these instructions are by computer or other programmable datas During the computing device of processing meanss, flowchart is generated and/or work(specified in one or more square frames in block diagram The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to Order causes computer, programmable data processing unit and/or other equipment to work in a specific way, so as to be stored with instruction Computer-readable medium then includes a manufacture, and it is included in flowchart and/or one or more square frames in block diagram The instruction of the various aspects of the function/action of regulation.
Can also computer-readable program instructions be loaded into computer, other programmable data processing units or other On equipment so that perform series of operation steps on computer, other programmable data processing units or miscellaneous equipment, to produce The computer implemented process of life, so that perform on computer, other programmable data processing units or miscellaneous equipment Function/action specified in one or more square frames in instruction flowchart and/or block diagram.
Flow chart and block diagram in accompanying drawing shows system, method and the computer journey of multiple embodiments of the invention The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation A part for table one module, program segment or instruction a, part for the module, program segment or instruction is used comprising one or more In the executable instruction of the logic function for realizing regulation.In some realizations as replacement, the function of being marked in square frame Can be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be held substantially in parallel OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or The combination of each square frame and block diagram and/or the square frame in flow chart in flow chart, can be with the function of performing regulation or dynamic The special hardware based system made is realizing, or can be realized with the combination of computer instruction with specialized hardware.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of the scope and spirit without departing from illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.

Claims (8)

1. a kind of frame animation loads accelerated method, it is characterised in that methods described includes:
All frame pictures in original frame animation are synthesized by least one composite diagram by edit tool, and derives all frame pictures and existed Pictorial information file in composite diagram;
The thread of respective amount is created in the number of composite diagram in Natvie end groups, and by each composite diagram in corresponding thread In being loaded into internal memory;
Pictorial information file is read, based on the information for being read, according to the order of all frame pictures in the original frame animation, will Every frame picture in each composite diagram being loaded into internal memory is associated one by one with the position in internal memory;
In the newly-built frame animation example in Java ends, the position in internal memory according to associated by every frame picture adds the data of every frame picture Enter in the frame animation example;
The frame animation example is carried out into the broadcasting of animation.
2. frame animation according to claim 1 loads accelerated method, it is characterised in that the information of the pictorial information file Including positions and dimensions of every frame picture in composite diagram, for every frame picture to be indexed in the composite diagram.
3. frame animation according to claim 1 loads accelerated method, it is characterised in that described to own in original frame animation During a frame picture synthesis at least composite diagram, packet is respectively synthesized each frame picture, makes the size between each composite diagram Difference is less than predetermined value.
4. frame animation according to claim 1 loads accelerated method, it is characterised in that described to correspond to each composite diagram Thread in when being loaded into internal memory, the composite diagram is stored in the form of byte arrays.
5. a kind of frame animation loads accelerator, it is characterised in that described device includes:
Pretreatment unit, at least one composite diagram is synthesized by edit tool by all frame pictures in frame animation, and is derived all Pictorial information file of the frame picture in composite diagram;
Loading unit, in Natvie end groups the thread of respective amount is created in the number of composite diagram, and by each composite diagram right It is loaded into internal memory in the thread answered;
Associative cell, reads pictorial information file, based on the information for being read, according to all frame pictures in the original frame animation Order, the every frame picture in each composite diagram being loaded into internal memory is associated one by one with the position in internal memory;
Example creating unit, in the newly-built frame animation example in Java ends, the position in internal memory according to associated by every frame picture will be every The data of frame picture are added in the frame animation example;
Broadcast unit, by the frame animation example broadcasting of animation is carried out.
6. according to claim 5 this frame animation loading accelerator, it is characterised in that the information of the pictorial information file Including positions and dimensions of every frame picture in composite diagram, for every frame picture to be indexed in the composite diagram.
7. frame animation according to claim 5 loads accelerator, it is characterised in that described to own in original frame animation During a frame picture synthesis at least composite diagram, packet is respectively synthesized each frame picture, makes the size between each composite diagram Difference is less than predetermined value.
8. frame animation according to claim 5 loads accelerator, it is characterised in that described to correspond to each composite diagram Thread in when being loaded into internal memory, the composite diagram is stored in the form of byte arrays.
CN201611230388.XA 2016-12-27 2016-12-27 Frame animation loading acceleration method and device Active CN106651999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611230388.XA CN106651999B (en) 2016-12-27 2016-12-27 Frame animation loading acceleration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611230388.XA CN106651999B (en) 2016-12-27 2016-12-27 Frame animation loading acceleration method and device

Publications (2)

Publication Number Publication Date
CN106651999A true CN106651999A (en) 2017-05-10
CN106651999B CN106651999B (en) 2020-12-04

Family

ID=58831617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611230388.XA Active CN106651999B (en) 2016-12-27 2016-12-27 Frame animation loading acceleration method and device

Country Status (1)

Country Link
CN (1) CN106651999B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357934A (en) * 2017-08-10 2017-11-17 北京本邦科技股份有限公司 A kind of frame animation processing system and frame animation processing method based on Web
CN108304237A (en) * 2017-12-29 2018-07-20 维沃移动通信有限公司 A kind of image processing method and device, mobile terminal of mobile terminal
CN108364338A (en) * 2018-02-06 2018-08-03 阿里巴巴集团控股有限公司 A kind of processing method of image data, device and electronic equipment
CN108989704A (en) * 2018-07-27 2018-12-11 阿里巴巴集团控股有限公司 Image generating method and device, terminal device
CN110221873A (en) * 2019-04-24 2019-09-10 深圳点猫科技有限公司 Language promotes the method and electronic equipment of full frame animation loading performance based on programming
CN112231029A (en) * 2020-10-13 2021-01-15 腾讯音乐娱乐科技(深圳)有限公司 Frame animation processing method applied to theme
CN114071225A (en) * 2020-08-07 2022-02-18 广州虎牙科技有限公司 Frame animation playing method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063019A1 (en) * 2010-08-10 2014-03-06 Sony Corporation 2d to 3d user interface content data conversion
CN105005964A (en) * 2015-06-30 2015-10-28 南京师范大学 Video sequence image based method for rapidly generating panorama of geographic scene
CN105786776A (en) * 2016-02-01 2016-07-20 北京奇艺世纪科技有限公司 Animation display method and apparatus
CN105827971A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN106227583A (en) * 2016-07-18 2016-12-14 青岛科信安全技术有限公司 A kind of multiple thread video Real-time Data Processing Method and device
CN106228506A (en) * 2016-07-14 2016-12-14 重庆大学 A kind of method of multiple image parallel processing based on GPU

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063019A1 (en) * 2010-08-10 2014-03-06 Sony Corporation 2d to 3d user interface content data conversion
CN105005964A (en) * 2015-06-30 2015-10-28 南京师范大学 Video sequence image based method for rapidly generating panorama of geographic scene
CN105786776A (en) * 2016-02-01 2016-07-20 北京奇艺世纪科技有限公司 Animation display method and apparatus
CN105827971A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN106228506A (en) * 2016-07-14 2016-12-14 重庆大学 A kind of method of multiple image parallel processing based on GPU
CN106227583A (en) * 2016-07-18 2016-12-14 青岛科信安全技术有限公司 A kind of multiple thread video Real-time Data Processing Method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357934A (en) * 2017-08-10 2017-11-17 北京本邦科技股份有限公司 A kind of frame animation processing system and frame animation processing method based on Web
CN108304237A (en) * 2017-12-29 2018-07-20 维沃移动通信有限公司 A kind of image processing method and device, mobile terminal of mobile terminal
CN108364338A (en) * 2018-02-06 2018-08-03 阿里巴巴集团控股有限公司 A kind of processing method of image data, device and electronic equipment
CN108364338B (en) * 2018-02-06 2022-03-15 创新先进技术有限公司 Image data processing method and device and electronic equipment
CN108989704A (en) * 2018-07-27 2018-12-11 阿里巴巴集团控股有限公司 Image generating method and device, terminal device
CN108989704B (en) * 2018-07-27 2021-03-12 创新先进技术有限公司 Image generation method and device and terminal equipment
CN110221873A (en) * 2019-04-24 2019-09-10 深圳点猫科技有限公司 Language promotes the method and electronic equipment of full frame animation loading performance based on programming
CN110221873B (en) * 2019-04-24 2021-02-05 深圳点猫科技有限公司 Method for improving full-screen animation loading performance based on programming language and electronic equipment
CN114071225A (en) * 2020-08-07 2022-02-18 广州虎牙科技有限公司 Frame animation playing method, device and system
CN114071225B (en) * 2020-08-07 2024-03-01 广州虎牙科技有限公司 Frame animation playing method, device and system
CN112231029A (en) * 2020-10-13 2021-01-15 腾讯音乐娱乐科技(深圳)有限公司 Frame animation processing method applied to theme

Also Published As

Publication number Publication date
CN106651999B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
CN106651999A (en) Method and device for accelerating frame animation loading
CN105912234B (en) The exchange method and device of virtual scene
CN106502654A (en) Virtual reality scenario loading method and equipment
CN110049371A (en) Video Composition, broadcasting and amending method, image synthesizing system and equipment
CN111467805B (en) Method and device for realizing dynamic change of virtual scene, medium and electronic equipment
CN104917950A (en) Information processing method and electronic equipment
CN103761132A (en) Intelligent terminal starting-up animation playing control method
CN107168780A (en) Loading method, equipment and the virtual reality device of virtual reality scenario
CN108235055A (en) Transparent video implementation method and equipment in AR scenes
CN111179402B (en) Rendering method, device and system of target object
CN115908716A (en) Virtual scene light rendering method and device, storage medium and electronic equipment
CN115375815A (en) Shadow rendering method and device, electronic equipment and storage medium
CN102857694B (en) Image composition equipment and control method thereof
CN112149745A (en) Method, device, equipment and storage medium for determining difficult example sample
CN110910485B (en) Immersion type cave image manufacturing method
CN112153472A (en) Method and device for generating special picture effect, storage medium and electronic equipment
CN105893578A (en) Method and device for selecting photos
CN114710703A (en) Live broadcast method and device with variable scenes
CN114307143A (en) Image processing method and device, storage medium and computer equipment
CN114307144A (en) Image processing method and device, storage medium and computer equipment
EP3882852A1 (en) Training alignment of a plurality of images
CN112329384A (en) Method, device and equipment for realizing character shadow effect and storage medium
CN106899795A (en) A kind of camera hardware parameter call, method to set up, device and camera applications system
CN108053436A (en) Processing method, device, electronic equipment and the picture servers of picture
US9691127B2 (en) Method, apparatus and computer program product for alignment of images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 508 room 101500, government building, West Tian Zhen Town, 8 West Road, Miyun Economic Development Zone, Beijing, -598

Applicant after: BEIJING ROOBO TECHNOLOGY Co.,Ltd.

Address before: 508 room 101500, government building, West Tian Zhen Town, 8 West Road, Miyun Economic Development Zone, Beijing, -598

Applicant before: BEIJING INTELLIGENT STEWARD Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210823

Address after: 301-112, floor 3, building 2, No. 18, YANGFANGDIAN Road, Haidian District, Beijing 100038

Patentee after: Beijing Rubu Technology Co.,Ltd.

Address before: Room 508-598, Xitian Gezhuang Town Government Office Building, No. 8 Xitong Road, Miyun District Economic Development Zone, Beijing 101500

Patentee before: BEIJING ROOBO TECHNOLOGY Co.,Ltd.