CN109901901A - Variable frame rate boot animation implementation method - Google Patents
Variable frame rate boot animation implementation method Download PDFInfo
- Publication number
- CN109901901A CN109901901A CN201910084550.9A CN201910084550A CN109901901A CN 109901901 A CN109901901 A CN 109901901A CN 201910084550 A CN201910084550 A CN 201910084550A CN 109901901 A CN109901901 A CN 109901901A
- Authority
- CN
- China
- Prior art keywords
- file
- pictures
- sequence
- picture
- frame rate
- 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.)
- Pending
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of variable frame rate boot animation implementation methods comprising: boot animation sequence of pictures to be played is sequentially placed into compressed package by file by building variable frame rate compressed package files, and building animation describes file;Open the cartoon compression APMB package of variable frame rate booting;It reads animation and describes file, the information for describing file and each sequence of pictures file are associated by the corresponding information characterising parameter of construction file sequence of pictures;By information characterising parameter, each picture in sequence of pictures is successively drawn one by one, if sequence of pictures is completed, display equipment is then arrived, is configured again after broadcasting, if do not completed, information characterising parameter is then pressed, then draws the picture in sequence of pictures, until all sequence of pictures are completed;Animation, which is shown, to be terminated, and the frame per second and intelligent terminal performance for solving original image resource mismatch, and the adjustment of frame per second is carried out to different parts, and it is bad to improve broadcasting sensory effects.
Description
[technical field]
The present invention relates to a kind of variable frame rate boot animation implementation method, espespecially a kind of improve plays the variable of sensory effects
Frame per second boot animation implementation method.
[background technique]
With becoming increasingly popular for intelligent terminal, intelligent operating system is increasingly taken seriously.Wherein most intelligence
Can terminal device can all have the part of boot animation, to show the individual character and influence power of brand, and the format of boot animation, production
Method and playback method just become the key technology of boot animation part.
The existing stage current some boot animation production methods or passes through for boot animation there are many kinds of mode
The mode of video is played, this sufficiently bulky, storage very occupied space, and will affect the speed of broadcasting;By pair
Sequence of pictures is fixed frame per second and plays out, and this volume is still very big, using high frame per second, then power consumption is big, using low frame
Rate, picture just will appear unsharp problem.
Therefore, it is necessary to a kind of good variable frame rate boot animation implementation method be designed, to overcome the above problem.
[summary of the invention]
For background technique problem encountered, the purpose of the present invention is to provide a kind of frames for solving original image resource
Rate and intelligent terminal performance mismatch, and the adjustment of frame per second are carried out to different parts, and then improve and play sensory effects not
The variable frame rate boot animation implementation method of good problem.
To achieve the above object, the present invention uses following technological means:
A kind of variable frame rate boot animation implementation method comprising following steps: step 1: building variable frame rate compressed package
Boot animation sequence of pictures to be played is sequentially placed into compressed package by file by file, and building animation describes file;Step
Two: system starting;Step 3: the cartoon compression APMB package of variable frame rate booting is opened;Step 4: reading animation and describe file,
The corresponding information characterising parameter of file sequence of pictures is constructed, the information for describing file and each sequence of pictures file are carried out
Association;Step 5: pressing information characterising parameter, each picture in sequence of pictures is successively drawn one by one, if sequence of pictures is drawn
It completes, then arrives display equipment, be configured again after broadcasting, do not completed if sequence of pictures is drawn, by information characterising parameter, then
The picture in sequence of pictures is drawn, until all sequence of pictures are completed;Step 6: animation, which is shown, to be terminated.
In step 1, building animation file is described, be for each sequence of pictures file carry out picture width, height,
Frame per second, the description of the information of broadcasting time, width Wi, height Hi, frame per second Fi, the broadcasting time Mi of i-th of sequence of pictures, and put
Enter compressed package.
In step 1, file number is file 1, file 2, file 3 to file N, includes in file 1
Picture file 1, picture file 2, picture file 3 to picture file X.
In step 1, between the width of file 1, height, frame per second and broadcasting time, using comma as decollator, file
The width of folder 2, height, between frame per second and broadcasting time, using comma as decollator, the width of file 3, height, frame per second and
Between broadcasting time, using comma as decollator, between the width of file N, height, frame per second and broadcasting time, with comma
For decollator.
In step 5, by frame per second Fi and other parameters, each picture in i-th of sequence of pictures is successively drawn one by one to aobvious
Show equipment, after playing Mi times, i=i+1 is set.
In step 5, by picture width, height, frame per second, the broadcasting time of description, one by one to the picture in each file
It plays out.
In step 3, the cartoon compression APMB package of variable frame rate booting is opened, traversal access is read in compressed package files
Picture file information in folder information and each file, establishes N number of interrecord structure, to save sequence of pictures
Image data.
In step 4, the corresponding information characterising parameter of construction file sequence of pictures is literary by corresponding sequence of pictures is described
Part presss from both sides order, and width, height, frame per second, broadcasting time information are recorded into i-th of interrecord structure, N number of interrecord structure is obtained,
Each interrecord structure preserves 1 sequence of pictures image data and width for data, height, frame per second and broadcasting time
Information.
In step 5, access i-th of interrecord structure, i since 0, according to its corresponding width Wi, height Hi, frame per second Fi,
Broadcasting time information Mi draws the sequence of pictures data in the interrecord structure on the display apparatus, is calculated according to frame per second
Time interval is drawn out, draws image data one by one.
Compared with prior art, the invention has the following advantages:
A kind of variable frame rate boot animation implementation method comprising following steps: step 1 constructs variable frame rate compressed package
Boot animation sequence of pictures to be played is sequentially placed into compressed package by file by file, and building animation describes file;Step
Two, system starting;Step 3 opens the cartoon compression APMB package of variable frame rate booting;Step 4 reads animation and describes file,
The corresponding information characterising parameter of file sequence of pictures is constructed, the information for describing file and each sequence of pictures file are carried out
Association;Step 5 successively draws each picture in sequence of pictures, if sequence of pictures is drawn by information characterising parameter one by one
It completes, then arrives display equipment, be configured again after broadcasting, do not completed if sequence of pictures is drawn, by information characterising parameter, then
The picture in sequence of pictures is drawn, until all sequence of pictures are completed;Step 6, animation, which is shown, to be terminated, all comprising opening
Shutdown animation, the intelligent operating system for being constructed and being played by compressing packet mode, solve the frame per second of original image resource
With the unmatched problem of intelligent terminal performance, the adjustment of frame per second is carried out to different parts, and then is improved and played sense organ effect
Fruit is bad.
[Detailed description of the invention]
Fig. 1 is the flow diagram of variable frame rate boot animation implementation method of the present invention.
[specific embodiment]
Purpose, structure, feature and effect to facilitate the understanding of the present invention etc., now in conjunction with attached drawing and specific implementation
The invention will be further described for mode.
Referring to Figure 1, a kind of variable frame rate boot animation implementation method comprising following steps:
Step 1: building variable frame rate compressed package files, successively by file by boot animation sequence of pictures to be played
It is put into compressed package, building animation describes file, carries out picture width, height, frame primarily directed to each sequence of pictures file
Rate, the description of the information of broadcasting time, width Wi, height Hi, frame per second Fi, the broadcasting time Mi of i-th of sequence of pictures, and be put into
Compressed package, file number is file 1, file 2, file 3 to file N, include in file 1 picture file 1,
Picture file 2, picture file 3 to picture file X, between the width of file 1, height, frame per second and broadcasting time, with comma
For decollator, between the width of file 2, height, frame per second and broadcasting time, using comma as decollator, the width of file 3
Between degree, height, frame per second and broadcasting time, using comma as decollator, width, height, frame per second and the broadcasting time of file N
Between, using comma as decollator.
Concrete example are as follows: it sorts by the title of file, establishes N number of file, such as f001, f002, f003 ... ...,
F00N amounts to N number of file.Sequence of pictures, such as i001.jpg, i002.jpg are sequentially put into each file by name,
I003.jpg ... ..., i00X.jpg amount to X picture, and picture format here can be the picture of extended formatting, such as PNG,
BMP etc..And construct animation and describe file, then picture width, height, frame per second, broadcasting are carried out for each sequence of pictures file
The information of number describes, and file is text formatting, describes the corresponding broadcasting setting information of N number of sequence of pictures file by row: wide
Degree, height, frame per second, broadcasting time.Such as:
720,1080,20,2
720,1080,10,1
720,1080,30,2
……
720,1018,10,0
The first row indicates that 720 pixel of width, 1080 pixels of height, frame per second are 20 frame per second, and last parameter 2 indicates to play
Twice.And so on, it should be noted that broadcasting time indicates that Infinite Cyclic plays if it is 0.
Step 2: system starting.
Step 3: opening the cartoon compression APMB package of variable frame rate booting, opens the cartoon compression packet of variable frame rate booting
File, traversal access are read the folder information in compressed package files and the picture file information in each file, are established
N number of interrecord structure, to save the image data of sequence of pictures.
Step 4: it reads animation and describes file, the corresponding information characterising parameter of construction file sequence of pictures, by description text
The information of part is associated with each sequence of pictures file, by corresponding sequence of pictures file order is described, by width, height
Degree, frame per second, broadcasting time information are recorded into i-th of interrecord structure, obtain N number of interrecord structure, and each interrecord structure is preserved
1 sequence of pictures image data and width for data, height, frame per second and broadcasting time information.
Step 5: pressing information characterising parameter, each picture in sequence of pictures is successively drawn one by one, if N number of picture sequence
Column are completed, then arrive display equipment, be configured again after broadcasting, do not complete if N number of sequence of pictures is drawn, retouch by information
Parameter is stated, then draws the picture in sequence of pictures, until all sequence of pictures are completed.For example, by frame per second Fi and other ginsengs
Number, successively draws each picture in i-th of sequence of pictures to display equipment one by one, after playing Mi times, setting i=i+1, by retouching
Picture width, height, frame per second, the broadcasting time stated, play out the picture in each file one by one, access i-th of note
Directory structures, i is since 0, according to its corresponding width Wi, height Hi, frame per second Fi, broadcasting time information Mi, to the interrecord structure
In sequence of pictures data drawn on the display apparatus, drafting time interval, i.e. 1/ frame per second are calculated according to frame per second, one by one
Image data is drawn, concrete example: drawing within the 0th second the 1st secondary image data for changing interrecord structure, the 1/th frame per second second, it is secondary to draw the 2nd
Image data, and so on, draw the X pair picture for changing sequence of pictures.Whether judge i-th of the interrecord structure drawn
It has depicted Mi times, if being unsatisfactory for depicting Mi times, i is constant, return step three, continues current image sequence and draws.Such as
Fruit, which meets, has depicted Mi, then i=i+1 is arranged: judgement return step three if i is less than N starts next sequence of pictures
It draws.Then indicate that drafting is completed in all sequence of pictures if it is larger than or equal to N, then animation, which is shown, terminates.
Step 6: animation, which is shown, to be terminated.
Referring to Figure 1, variable frame rate boot animation implementation method is the following steps are included: step 1, constructs variable frame rate pressure
Boot animation sequence of pictures to be played is sequentially placed into compressed package by file by contracting APMB package, and building animation describes file;Step
Rapid two, system starting;Step 3 opens the cartoon compression APMB package of variable frame rate booting;Step 4 reads animation description text
Part, the corresponding information characterising parameter of construction file sequence of pictures, by the information for describing file and each sequence of pictures file
It is associated;Step 5 successively draws each picture in sequence of pictures, if sequence of pictures by information characterising parameter one by one
It completes, then arrives display equipment, be configured again after broadcasting, do not completed if sequence of pictures is drawn, describe to join by information
Number, then the picture in sequence of pictures is drawn, until all sequence of pictures are completed;Step 6, animation, which is shown, to be terminated, all packets
Animation containing switching on and shutting down, the intelligent operating system for being constructed and being played by compressing packet mode, solve original image resource
Frame per second and the unmatched problem of intelligent terminal performance carry out the adjustment of frame per second to different parts, and then improve and play sense
Official is ineffective.
Be described in detail above be only the preferred embodiments of the invention explanation, non-therefore limitation the scope of the patents of the invention,
So all equivalence techniques with carried out by this creation specification and diagramatic content change, it is both contained in the scope of the patents of the invention
It is interior.
Claims (9)
1. a kind of variable frame rate boot animation implementation method, which comprises the following steps:
Step 1: boot animation sequence of pictures to be played is sequentially placed by building variable frame rate compressed package files by file
Compressed package, building animation describe file;
Step 2: system starting;
Step 3: the cartoon compression APMB package of variable frame rate booting is opened;
Step 4: it reads animation and describes file, the corresponding information characterising parameter of construction file sequence of pictures will describe file
Information is associated with each sequence of pictures file;
Step 5: pressing information characterising parameter, each picture in sequence of pictures is successively drawn one by one, if sequence of pictures has been drawn
At, then arrive display equipment, be configured again after broadcasting, if sequence of pictures draw do not complete, by information characterising parameter, then draw
Picture in sequence of pictures processed, until all sequence of pictures are completed;
Step 6: animation, which is shown, to be terminated.
2. variable frame rate boot animation implementation method as described in claim 1, it is characterised in that: in step 1, construct animation
File is described, is to carry out picture width, height, frame per second, the description of the information of broadcasting time for each sequence of pictures file, the
Width Wi, height Hi, frame per second Fi, the broadcasting time Mi of i sequence of pictures, and it is put into compressed package.
3. variable frame rate boot animation implementation method as claimed in claim 2, it is characterised in that: in step 1, file is compiled
Number it is file 1, file 2, file 3 to file N, includes picture file 1, picture file 2, picture in file 1
File 3 is to picture file X.
4. variable frame rate boot animation implementation method as claimed in claim 3, it is characterised in that: in step 1, file 1
Between width, height, frame per second and broadcasting time, using comma as decollator, width, height, frame per second and the broadcasting time of file 2
It is segmentation with comma between the width of file 3, height, frame per second and broadcasting time using comma as decollator between number
Symbol, between the width of file N, height, frame per second and broadcasting time, using comma as decollator.
5. variable frame rate boot animation implementation method as claimed in claim 2, it is characterised in that: in step 5, by frame per second Fi
And other parameters, each picture in i-th of sequence of pictures is successively drawn one by one to display equipment, and after playing Mi times, i=is set
i+1。
6. variable frame rate boot animation implementation method as described in claim 1, it is characterised in that: in step 5, by description
Picture width, height, frame per second, broadcasting time play out the picture in each file one by one.
7. variable frame rate boot animation implementation method as described in claim 1, it is characterised in that: in step 3, open variable
Folder information and each file in compressed package files are read in the cartoon compression APMB package of frame per second booting, traversal access
In picture file information, N number of interrecord structure is established, to save the image data of sequence of pictures.
8. variable frame rate boot animation implementation method as described in claim 1, it is characterised in that: in step 4, construct file
Press from both sides the corresponding information characterising parameter of sequence of pictures, by describing corresponding sequence of pictures file order, by width, height, frame per second,
Broadcasting time information is recorded into i-th of interrecord structure, obtains N number of interrecord structure, and each interrecord structure preserves 1 picture
Sequential image data and width for data, height, frame per second and broadcasting time information.
9. variable frame rate boot animation implementation method as described in claim 1, it is characterised in that: in step 5, access i-th
Interrecord structure, i is since 0, according to its corresponding width Wi, height Hi, frame per second Fi, broadcasting time information Mi, to the record knot
Sequence of pictures data in structure are drawn on the display apparatus, calculate drafting time interval according to frame per second, draw figure one by one
Sheet data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910084550.9A CN109901901A (en) | 2019-01-29 | 2019-01-29 | Variable frame rate boot animation implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910084550.9A CN109901901A (en) | 2019-01-29 | 2019-01-29 | Variable frame rate boot animation implementation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109901901A true CN109901901A (en) | 2019-06-18 |
Family
ID=66944282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910084550.9A Pending CN109901901A (en) | 2019-01-29 | 2019-01-29 | Variable frame rate boot animation implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109901901A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114302219A (en) * | 2021-01-14 | 2022-04-08 | 海信视像科技股份有限公司 | Display equipment and variable frame rate display method |
CN114390353A (en) * | 2020-10-21 | 2022-04-22 | 西安诺瓦星云科技股份有限公司 | Program playing method, device and system and computer readable storage medium |
CN116400967A (en) * | 2023-03-27 | 2023-07-07 | 江苏卓易信息科技股份有限公司 | Method for smoothly playing startup animation based on UEFI BIOS |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544048A (en) * | 2013-10-31 | 2014-01-29 | Tcl集团股份有限公司 | Boot animation display method of Android system and system comprising same |
CN103761132A (en) * | 2014-01-26 | 2014-04-30 | 广州视源电子科技股份有限公司 | Intelligent terminal starting-up animation play control method |
CN104134228A (en) * | 2014-07-25 | 2014-11-05 | 广州视源电子科技股份有限公司 | Booting/shutdown animation making system and booting/shutdown animation making method based on Android system |
CN105812858A (en) * | 2014-12-31 | 2016-07-27 | 深圳市中兴微电子技术有限公司 | Set-top box starting animation producing and displaying method, device and system |
-
2019
- 2019-01-29 CN CN201910084550.9A patent/CN109901901A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544048A (en) * | 2013-10-31 | 2014-01-29 | Tcl集团股份有限公司 | Boot animation display method of Android system and system comprising same |
CN103761132A (en) * | 2014-01-26 | 2014-04-30 | 广州视源电子科技股份有限公司 | Intelligent terminal starting-up animation play control method |
CN104134228A (en) * | 2014-07-25 | 2014-11-05 | 广州视源电子科技股份有限公司 | Booting/shutdown animation making system and booting/shutdown animation making method based on Android system |
CN105812858A (en) * | 2014-12-31 | 2016-07-27 | 深圳市中兴微电子技术有限公司 | Set-top box starting animation producing and displaying method, device and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114390353A (en) * | 2020-10-21 | 2022-04-22 | 西安诺瓦星云科技股份有限公司 | Program playing method, device and system and computer readable storage medium |
CN114390353B (en) * | 2020-10-21 | 2024-05-10 | 西安诺瓦星云科技股份有限公司 | Program playing method, device and system and computer readable storage medium |
CN114302219A (en) * | 2021-01-14 | 2022-04-08 | 海信视像科技股份有限公司 | Display equipment and variable frame rate display method |
CN116400967A (en) * | 2023-03-27 | 2023-07-07 | 江苏卓易信息科技股份有限公司 | Method for smoothly playing startup animation based on UEFI BIOS |
CN116400967B (en) * | 2023-03-27 | 2024-05-14 | 江苏卓易信息科技股份有限公司 | Method for smoothly playing startup animation based on UEFI BIOS |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109901901A (en) | Variable frame rate boot animation implementation method | |
CN107613357B (en) | Sound and picture synchronous optimization method and device and readable storage medium | |
CN109636884A (en) | Animation processing method, device and equipment | |
CN111899322B (en) | Video processing method, animation rendering SDK, equipment and computer storage medium | |
CN110222327B (en) | Manufacturing method and display method of education live courseware | |
CN101106770A (en) | A method for making shot animation with background music in mobile phone | |
CN107562680A (en) | Data processing method, device and terminal device | |
CN103517135B (en) | Method, system and television capable of playing MP4-format video files continuously | |
CN109840879B (en) | Image rendering method and device, computer storage medium and terminal | |
CN108647313A (en) | A kind of real-time method and system for generating performance video | |
CN103702133B (en) | A kind of compression of images methods of exhibiting and its device | |
CN107592565A (en) | A kind of method that Freehandhand-drawing video elementary is quickly combined in video | |
CN108734756B (en) | Animation production method and device, storage medium and electronic device | |
CN107479872A (en) | Android animation collections player method, storage medium, electronic equipment and system | |
CN102075739B (en) | Method and device for smoothly playing fast-forward/fast-rewind played network videos | |
CN107454447A (en) | A kind of plug-in loading method of player, device and television set | |
CN101540792A (en) | Mobile terminal for broadcasting mobile TV program channels and method thereof | |
CN104008565B (en) | System and method for playing Flash bitmap animation by using cocos2d-x and HE engines | |
CN113626129A (en) | Page color determination method and device and electronic equipment | |
CN116405685A (en) | Image data compression method applied to test process record | |
CN116634188A (en) | Live broadcast method and device and computer readable storage medium | |
CN109640019A (en) | A method of editor's long video is recorded by mobile terminal | |
CN109032712A (en) | Method and device for generating application program configuration diagram | |
CN112738423A (en) | Method and device for exporting animation video | |
CN114399645A (en) | Multi-mode data expansion method, system, medium, computer equipment and terminal |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190618 |
|
WD01 | Invention patent application deemed withdrawn after publication |