CN103986933B - Dynamic picture display methods and device - Google Patents

Dynamic picture display methods and device Download PDF

Info

Publication number
CN103986933B
CN103986933B CN201410166879.7A CN201410166879A CN103986933B CN 103986933 B CN103986933 B CN 103986933B CN 201410166879 A CN201410166879 A CN 201410166879A CN 103986933 B CN103986933 B CN 103986933B
Authority
CN
China
Prior art keywords
queue
picture frame
picture
broadcasting
decoding
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.)
Active
Application number
CN201410166879.7A
Other languages
Chinese (zh)
Other versions
CN103986933A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410166879.7A priority Critical patent/CN103986933B/en
Publication of CN103986933A publication Critical patent/CN103986933A/en
Application granted granted Critical
Publication of CN103986933B publication Critical patent/CN103986933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The disclosure discloses a kind of dynamic picture display methods and device, belongs to field of computer technology.The dynamic picture display methods includes:Dynamic picture is obtained, the dynamic picture is made up of continuous picture frame;Dynamic picture described in segmentation decoding successively;After decoding every time, the picture frame write-in that decoding is obtained plays queue, and the broadcasting queue is the round-robin queue for storing decoded picture frame;When the broadcasting queue has picture frame, read from the broadcasting queue and show picture frame.By segmentation decoding dynamic picture successively, after decoding every time, the picture frame write-in that decoding is obtained plays queue, when broadcasting queue has picture frame, is read from broadcasting queue and shows picture frame.Solve in correlation technique that committed memory is relatively more when showing dynamic picture, display efficiency than it is relatively low the problem of;EMS memory occupation can be reduced by having reached, and improve the effect of display efficiency.

Description

Dynamic picture display methods and device
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of dynamic picture display methods and device.
Background technology
Because dynamic picture can be with the more information of Dynamic Announce, therefore readable and interest is added, at present, should It is GIF (Graphics Interchange Format, graphic interchange format) picture with wide dynamic picture.
The GIF pictures got are disposably loaded into internal memory, then in internal memory by terminal first when showing GIF pictures GIF pictures disposably decoded, to the GIF pictures decode after the completion of show.
Inventor has found that correlation technique at least has following defect during the disclosure is realized:Because some GIF scheme The capacity of piece is bigger, and when GIF pictures are disposably loaded into internal memory, the internal memory shared by the GIF pictures is relatively more, and is being loaded into It after internal memory, could be shown after disposably decoding, therefore need before GIF pictures are shown time for waiting long, Display efficiency is than relatively low.
The content of the invention
In order to overcome in correlation technique, when showing GIF pictures, committed memory is relatively more, display efficiency than it is relatively low the problem of, Present disclose provides a kind of dynamic picture display methods and device.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of dynamic picture display methods, including:
Dynamic picture is obtained, the dynamic picture is made up of continuous picture frame;
Dynamic picture described in segmentation decoding successively;
After each decoding, the picture frame write-in that decoding is obtained plays queue, and the broadcasting queue is to be solved for storage The round-robin queue of picture frame after code;
When the broadcasting queue has picture frame, read from the broadcasting queue and show picture frame.
Optionally, dynamic picture described in the segmentation decoding successively, including:
First picture frame in the picture frame not decoded from the dynamic picture, the picture of predetermined number is chosen successively Frame;
The picture frame of the predetermined number to selecting decodes.
Optionally, the picture frame write-in that after each decoding, decoding is obtained plays queue, including:
After decoding first, since the head of the queue of the broadcasting queue, the picture frame that decoding obtains is write successively described Play queue;
After non-decoding first, when write-in plays queue every time, detect whether the picture frame being ultimately written is broadcast described in Put the tail of the queue of queue;
If testing result, which is the picture frame being ultimately written, is not located at the tail of the queue for playing queue, the broadcasting team is detected Whether the position after the picture frame being ultimately written in row is empty;If testing result plays the figure being ultimately written in queue to be described Position after piece frame is sky, then since the position after the picture frame being ultimately written, by the picture frame decoded according to The secondary write-in broadcasting queue;If testing result is that the position after the picture frame being ultimately written in the broadcasting queue is non- The picture frame decoded is write the broadcasting queue by sky, then pause;
If testing result, which is the picture frame being ultimately written, is located at the tail of the queue for playing queue, the broadcasting queue is detected Head of the queue whether be empty;If it is empty that testing result, which is the head of the queue of the broadcasting queue, since the head of the queue of the broadcasting queue, The picture frame decoded is write into the broadcasting queue successively;If testing result is that the head of the queue of the broadcasting queue is non-NULL, The picture frame decoded is write broadcasting queue by pause successively.
Optionally, it is described when the broadcasting queue has picture frame, read from the broadcasting queue and show picture Frame, including:
Detect in real time in the broadcasting queue and whether there is picture frame;
When detecting that the broadcasting queue has picture frame, from the first picture frame for playing and not being read in queue Start, be successively read and show picture frame.
Optionally, in addition to:
Detect whether to have read the tail of the queue for playing queue;
If testing result is to have read the tail of the queue of the broadcasting queue, the head of the queue continued from the broadcasting queue is opened Begin, be successively read and show picture frame.
Optionally, in addition to:
When the complete dynamic picture of segmentation decoding, then since the head of the dynamic picture, re-execute it is described according to Described in secondary segmentation decoding the step of dynamic picture.
Optionally, in addition to:
Whether the capacity for detecting the dynamic picture is more than predetermined threshold;
If testing result is more than the predetermined threshold for the capacity of the dynamic picture, segmentation decoding successively described in execution The step of dynamic picture.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of dynamic picture display device, including:
Acquisition module, for obtaining dynamic picture, the dynamic picture is made up of continuous picture frame;
Decoder module, for dynamic picture described in segmentation decoding successively;
Writing module, for after each decoding, the picture frame write-in that the decoder module decodes to obtain to be played into queue, The broadcasting queue is the round-robin queue for storing decoded picture frame;
Display module, for when the broadcasting queue has picture frame, being read from the broadcasting queue and showing figure Piece frame.
Optionally, the decoder module, including:
Unit is chosen, for the first picture frame in the picture frame that is not decoded from the dynamic picture, is chosen successively The picture frame of predetermined number;
Decoding unit, the picture frame of the predetermined number for going out to the selection unit selection decode.
Optionally, said write module, including:
First writing unit, for after decoding first, since the head of the queue of the broadcasting queue, obtained figure will to be decoded Piece frame writes the broadcasting queue successively;
First detection unit, for after non-decoding first, when write-in plays queue every time, detecting the picture being ultimately written Whether frame is positioned at the tail of the queue for playing queue;
Second detection unit, for being that the picture frame being ultimately written is not located in the testing result of first detection unit It is described play queue tail of the queue when, then whether the position detected in the broadcasting queue after the picture frame that is ultimately written is empty; Second writing unit, for playing the picture frame being ultimately written in queue in the testing result of second detection unit to be described Position afterwards is space-time, and since the position after the picture frame being ultimately written, the picture frame decoded is write successively Enter the broadcasting queue;First pause unit, used in being the broadcasting queue in the testing result of second detection unit Position after the picture frame being ultimately written is non-NULL, then the picture frame decoded is write the broadcasting queue by pause;
3rd detection unit, for being that the picture frame being ultimately written is located at institute in the testing result of first detection unit When stating the tail of the queue for playing queue, then whether the head of the queue for detecting the broadcasting queue is empty;3rd writing unit, for described The testing result of three detection units is that the head of the queue of the broadcasting queue is space-time, since the head of the queue of the broadcasting queue, will be solved The picture frame that code goes out writes the broadcasting queue successively;Second pause unit, for the detection knot in the 3rd detection unit Fruit is the head of the queue of broadcasting queue when being non-NULL, suspends the picture frame that will be decoded and writes broadcasting queue successively.
Optionally, the display module, including:
4th detection unit, it whether there is picture frame for detecting in real time in the broadcasting queue;
First display unit, for when the 4th detection unit detect it is described broadcasting queue picture frame be present when, from institute State the first picture frame not being read in broadcasting queue to start, be successively read and show picture frame.
Optionally, the display module, in addition to:
5th detection unit, for detecting whether having read the tail of the queue of the broadcasting queue;
Second display unit, for being to have read the broadcasting queue in the testing result of the 5th detection unit Tail of the queue when, continue since it is described broadcasting queue head of the queue, be successively read and show picture frame.
Optionally, in addition to:
Trigger module, for when the complete dynamic picture of segmentation decoding, since the head of the dynamic picture, triggering Decoder module dynamic picture described in segmentation decoding successively again.
Optionally, in addition to:
Whether detection module, the capacity for detecting the dynamic picture are more than predetermined threshold;
The decoder module, it is additionally operable to be more than institute in the testing result of the detection module for the capacity of the dynamic picture When stating predetermined threshold, dynamic picture described in segmentation decoding successively.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of dynamic picture display device, including:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Dynamic picture is obtained, the dynamic picture is made up of continuous picture frame;
Dynamic picture described in segmentation decoding successively;
After each decoding, the picture frame write-in that decoding is obtained plays queue, and the broadcasting queue is to be solved for storage The round-robin queue of picture frame after code;
When the broadcasting queue has picture frame, read from the broadcasting queue and show picture frame.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By segmentation decoding dynamic picture successively, after each decoding, the picture frame write-in that decoding is obtained plays queue, When broadcasting queue has picture frame, read from broadcasting queue and show picture frame;Due to being segmented for dynamic picture Decoding, and decoded picture frame is played out during decoding, therefore the length for playing queue can be much smaller than and move Length shared by state picture, solves in correlation technique that committed memory is relatively more when showing GIF pictures, and display efficiency compares The problem of low;EMS memory occupation can be reduced by having reached, and improve the effect of display efficiency.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and in specification together for explaining principle of the invention.
Fig. 1 is a kind of flow chart of dynamic picture display methods according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of dynamic picture display methods according to another exemplary embodiment;
Fig. 2 B are a kind of schematic diagrames of dynamic picture according to an exemplary embodiment;
Fig. 2 C are a kind of schematic diagrames of segmentation selection picture frame according to an exemplary embodiment;
Fig. 2 D are a kind of schematic diagrames that picture frame is write to broadcasting queue first according to an exemplary embodiment;
Fig. 2 E are a kind of schematic diagrames that picture frame is write to broadcasting queue first according to another exemplary embodiment;
Fig. 2 F are a kind of schematic diagrames that the non-write-in first of picture frame is played to queue according to an exemplary embodiment;
Fig. 2 G are a kind of signals that the non-write-in first of picture frame is played to queue according to another exemplary embodiment Figure;
Fig. 2 H are afterbody that is a kind of while choosing dynamic picture according to an exemplary embodiment and head as one The schematic diagram of secondary segmentation;
Fig. 3 is a kind of block diagram of dynamic picture display device according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of dynamic picture display device according to another exemplary embodiment;
Fig. 5 is a kind of block diagram of dynamic picture display device according to another exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
" playback equipment " said in text can be smart mobile phone, tablet personal computer, intelligent television, E-book reader, MP3 Player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio Aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency aspect 4) player, pocket computer on knee and desktop computer etc..
Fig. 1 is a kind of flow chart of dynamic picture display methods according to an exemplary embodiment, as shown in figure 1, The dynamic picture display methods is applied to play in the playback equipment for showing dynamic picture, comprises the following steps.
In a step 101, dynamic picture is obtained, dynamic picture is made up of continuous picture frame.
In a step 102, segmentation decoding dynamic picture successively.
In step 103, after each decoding, the picture frame write-in that decoding is obtained plays queue, plays queue as use In the round-robin queue for storing decoded picture frame.
At step 104, when broadcasting queue has picture frame, read from broadcasting queue and show picture frame.
In summary, the dynamic picture display methods provided in the embodiment of the present disclosure, passes through segmentation decoding Dynamic Graph successively Piece, after decoding every time, the picture frame write-in that decoding is obtained plays queue, when broadcasting queue has picture frame, from broadcasting Read in queue and show picture frame;Solve in correlation technique that committed memory is relatively more when showing GIF pictures, display efficiency Than it is relatively low the problem of;Due to carrying out segmentation decoding for dynamic picture, and decoded picture frame is entered during decoding Row plays, therefore the length for playing queue can be much smaller than the length shared by dynamic picture, and internal memory can be reduced by, which having reached, accounts for With improving the effect of display efficiency.
Fig. 2A is a kind of flow chart of dynamic picture display methods according to another exemplary embodiment, such as Fig. 2A institutes Show, the dynamic picture display methods is applied to play in the playback equipment for showing dynamic picture, comprises the following steps.
In step 201, dynamic picture is obtained, dynamic picture is made up of continuous picture frame.
Dynamic picture is made up of continuous picture frame, and continuous is at least two.Common dynamic picture can be The picture of GIF forms, it is obvious that picture that is that dynamic picture can also be extended formatting and being made up of continuous picture frame.
Refer to shown in Fig. 2 B, it is a kind of schematic diagram of dynamic picture according to an exemplary embodiment.This is dynamic State picture is made up of picture frame 1, picture frame 2, picture frame 3 and picture frame 4, and object A is in picture frame 1, picture frame 2, picture frame 3 And be located at different positions on picture frame 4 respectively, so when by picture frame 1, picture frame 2, picture frame 3 and picture frame 4 according to During secondary played display, because broadcasting speed is than very fast (broadcasting speed typically 24 frames of broadcasting per second, it might even be possible to reach 60 frames of broadcasting per second), therefore during aforementioned four picture frame is played, the visual presence to user then enters for object A Mobile state moves, for example is moved according to route s, and the scene shown can then rise in east and drop in west for the sun.Fig. 2 B only enter Simple signal is gone, in actual applications, the object of dynamic mobile is not limited in one, and a Dynamic Graph on dynamic picture The picture frame that piece is included also would generally be relatively more.
The capacity of dynamic picture generally with form the dynamic picture picture frame quantity and each picture frame shared by Capacity (for example the capacity of picture frame can be determined by factors such as the pixels, colourity, saturation degree of picture frame) is related, when forming certain The continuous individual picture frame of individual dynamic picture is more and/or when the capacity of each picture frame is bigger, the appearance shared by the dynamic picture Amount is generally also bigger.
Generally, when the capacity of dynamic picture is bigger, the larger occupancy to internal memory is easily caused, therefore when dynamic When the capacity of state picture is more than predetermined threshold, then the dynamic picture can be loaded by following steps 202 to step 211 Display.
That is, after playback equipment is getting dynamic picture, can detect the capacity of dynamic picture first is It is no to be more than predetermined threshold;If testing result is more than predetermined threshold for the capacity of dynamic picture, following steps 202 are performed to step 214.It will be apparent that even if the capacity of some dynamic pictures is less than predetermined threshold, can also be carried out according to step 202 to step 214 Loaded and displayed.
In step 202, segmentation decoding dynamic picture successively.
Playback equipment may include steps of in segmentation decoding dynamic picture successively:
First, the first picture frame in the picture frame not decoded from dynamic picture, the figure of predetermined number is chosen successively Piece frame;
Predetermined number can be set according to actual conditions, such as can be according to the calculating performance of playback equipment or user Experience select suitable predetermined number, the predetermined number can set 10, it can also be provided that 15 etc., the present embodiment is not to pre- The specific value for determining number is defined.
When decoding first time, the picture of predetermined number can be first chosen since the first picture frame of dynamic picture header Frame, when decoding for second, then the picture of predetermined number from the picture frame after the picture frame being selected, can be chosen successively Frame, namely the picture frame of predetermined number is chosen since (predetermined number+1) individual picture frame successively, by that analogy, complete segmentation Picture frame during decoding is chosen.
In other words, when ith decodes, n picture frame is chosen successively since (n* (i-1)+1) individual picture frame, Wherein n predetermined number.
Refer to shown in Fig. 2 C, it is a kind of signal of segmentation selection picture frame according to an exemplary embodiment Figure.Dynamic picture shown in Fig. 2 C includes m picture frame, and the predetermined number set is segmented the figure that selects the 1st time as 5 Piece frame is the 1st frame to the 5th frame, and it is the 6th frame to the 10th frame that the 2nd time, which is segmented the picture frame selected, and the rest may be inferred.
Second, the picture frame of the predetermined number to selecting decodes.
After often the picture frame of predetermined number is selected, playback equipment can enter to the picture frame of the predetermined number of selection Row decoding.In general, when generating dynamic picture, in order to reduce the capacity of dynamic picture as far as possible, dynamic picture can be carried out Raise the price, namely the picture frame in dynamic picture is raised the price by rule set in advance of raising the price;When playing dynamic picture, In order to effectively play, it is necessary to before being played, according to decoding rule set in advance to the picture in dynamic picture Frame is decoded, and decoding rule is corresponding with rule of raising the price.Here raise the price rule and the decoding rule told about can have a variety of And it has been that picture is raised the price according to encryption rule and picture decoded according to decoding rule known to comparison Also it is that one of ordinary skill in the art can learn, just repeats no more here.
It should be added that playback equipment can establish selection thread, and according to selection thread in dynamic picture Picture frame chosen, playback equipment can also establish decoding thread, and according to decoding thread to the picture in dynamic picture Frame is chosen.
In a kind of possible implementation, choosing thread can exist with decoding line journey work in series, namely selection thread After often having chosen the picture frame of predetermined number, the picture for these predetermined numbers that decoding thread is then directly chosen to choosing thread Frame is decoded, and chooses the picture frame of follow-up predetermined number after the completion of decoding again, the rest may be inferred.
In alternatively possible implementation, choosing thread can be with decoding line journey concurrent working, namely selection thread Independent to choose picture frame successively according to rule (picture frame for choosing predetermined number every time), decoding thread independently decodes successively Picture frame through selecting.But the speed for the usual ratio decoder thread of speed in such cases, choosing thread is fast.
In step 203, after decoding first, since the head of the queue for playing queue, the picture frame that decoding is obtained is successively Write-in plays queue.
It is the round-robin queue for storing decoded picture frame to play queue.
In actual applications, a write-in pointer can be set, and the write-in pointer initially points to head of the queue in the broadcasting queue (namely it is head of the queue to be originally written into position), the position indicated by the write-in pointer is write by a picture frame, often writes a figure Piece frame, then add 1 by the write-in pointer, will also write pointer and move on to next position, then signified most in the write-in pointer New position writes next picture frame, and write-in pointer then is added into 1 again.That is, in write-in picture frame every time, it is necessary to really Surely the position that is currently pointed at of write-in pointer, picture frame is write into the position that the write-in pointer is currently pointed at, in every write-in one During individual picture frame, write-in pointer is added 1.It is worth noting that, a figure can be less than by playing the size of each position in queue The size of piece frame, the size of a picture frame can also be more than, for the ease of description, each position in queue will be played here Size regard as the size of a picture frame.
Refer to shown in Fig. 2 D, its be according to an exemplary embodiment one kind by picture frame first write play team The schematic diagram of row.To play the head of the queue of queue, write-in pointer initially points to for the position that write-in pointer in Fig. 2 D initially points to Position namely position 1 is originally written into, namely writes decoded picture frame successively since being originally written into position 1.
It will be apparent that in a kind of possible implementation, after decoding first, can also be selected from any of queue is played Position starts, and the picture frame that decoding obtains is write into broadcasting queue successively.
Refer to shown in Fig. 2 E, its be according to another exemplary embodiment one kind picture frame is write to broadcasting first The schematic diagram of queue.The position that write-in pointer in Fig. 2 E initially points to, should to play some select location of centre of queue The position namely be originally written into position 2 that write-in pointer initially points to, namely after decoding is write successively being originally written into position 2 Picture frame.
From the foregoing, it will be observed that after decoding first, since playing in queue select location (including head of the queue), it will decode what is obtained Picture frame writes broadcasting queue successively.
In step 204, after non-decoding first, when write-in plays queue every time, detecting the picture frame being ultimately written is The no tail of the queue positioned at broadcasting queue.
In step 205, do not broadcast if testing result is the picture frame being ultimately written positioned at the tail of the queue for playing queue, detection Put whether the position after the picture frame being ultimately written in queue is empty.
In step 206, if it is empty that testing result, which is position after the picture frame being ultimately written, from the figure being ultimately written Position after piece frame starts, and the picture frame decoded is write into broadcasting queue successively.
When the picture frame of last time write-in is not located at the tail of the queue of broadcasting queue, and the position after the picture frame being ultimately written It is set to behind sky, namely the picture frame of last time write-in and also has writable space, the picture frame that will can now decode Write in these spaces.
Refer to shown in Fig. 2 F, it is a kind of by the non-write-in broadcasting first of picture frame according to an exemplary embodiment The schematic diagram of queue.Common, write-in pointer points to an opening position (i.e. this write-in position after last time writing position A Put B), when last time writing position A is not on the tail of the queue of the broadcasting queue, can last time writing position A it Space (write-in pointer pointed by space) afterwards continues to write to the picture frame decoded, and the black triangle in Fig. 2 F represents institute Decoded picture frame is stored with position.
In step 207, if it is non-NULL that testing result, which is position after the picture frame being ultimately written, pause will decode Picture frame write-in play queue.
If the position after the picture frame being ultimately written is non-NULL, show that the speed that now reads is slow, finally Position after the picture frame of write-in is the picture frame for not being read display because picture frame covering in order to avoid newly writing or The picture frame of this position is replaced, influences result of broadcast, now can first suspend and the picture frame decoded is write into broadcasting team Row.
It follows that when detecting the picture frame being ultimately written not positioned at the tail of the queue for playing queue, if be ultimately written Picture frame after position for sky, then since the position after the picture frame being ultimately written, by the picture frame decoded according to Secondary write-in plays queue;And if the position after the picture frame being ultimately written is non-NULL, then suspend to broadcasting queue write-in figure Piece frame, until the position is space-time, then picture frame is write into the position.
In a step 208, played if testing result is the picture frame being ultimately written positioned at the tail of the queue for playing queue, detection Whether the head of the queue of queue is empty.
In step 209,, will since the head of the queue for playing queue if the head of the queue that testing result is broadcasting queue is empty The picture frame decoded writes broadcasting queue successively.
When the picture frame of last time write-in is after the tail of the queue for playing queue, the then picture frame for showing last time write-in Face is a queue circulated due to playing queue without writable space, and if now the position of head of the queue is Through for empty (for example the picture frame in Head-of-line has been read display, or be not yet written into picture frame), therefore can continue Picture frame is continued to write to from the position of head of the queue.
Refer to shown in Fig. 2 G, it is that a kind of according to another exemplary embodiment broadcasts the non-write-in first of picture frame Put the schematic diagram of queue.Last time writing position A is located at the tail of the queue of the broadcasting queue, and write-in pointer now continues to point to team First (i.e. this writing position B), continue to write to, namely need according to the position (this writable position) indicated by write-in pointer Go to head of the queue and continue to write to the picture frame decoded, the black triangle in Fig. 2 G represents that position is stored with decoded figure Piece frame.
In step 210, if testing result is that to play the head of the queue of queue be non-NULL, pause will the picture frame that decode according to Secondary write-in plays queue.
If the position for the picture frame being ultimately written is tail of the queue, and the head of the queue for playing queue is non-NULL, then shows now to read The speed taken is slow, and the picture frame decoded has taken whole broadcasting queue, now then needs pause to the broadcasting queue Picture frame is continued to write to, wait is further continued for the picture frame that write-in decodes after reading out picture frame.
In actual applications,, can be according to decoding speed when setting broadcasting queue in order to reduce the occupancy to internal memory as far as possible The factors such as degree, reading speed determine the length of appropriate broadcasting queue.Generally, in order to ensure that user can be more clear The effect of the picture frame played out is viewed, would generally be set smaller than to picture frame from the speed for playing queue reading picture frame The speed decoded.It is to be played in order to shorten user etc. as far as possible after the picture frame that will be decoded, which is put into, plays queue Time and reducing as far as possible play internal memory that queue takes, it is necessary to play the picture frame being stored in the broadcasting queue in real time, Perform following steps 211.
In step 211, detection in real time, which is played in queue, whether there is picture frame.
In the step 212, when detecting that playing queue has picture frame, from playing the first figure that is not read in queue Piece frame starts, and is successively read and shows picture frame.
Playback equipment can set a reading thread, and the reading thread is two lines carried out side by side with write-in thread Journey.When playback equipment detect play queue in picture frame be present when, namely presence can play picture frame when, read thread The first picture frame that can be read since the broadcasting queue then, it is successively read and shows picture frame.
In a kind of possible implementation, when first decode after, since play queue head of the queue write-in decode Picture frame when, read thread can then be successively read since head of the queue and show picture frame.
In alternatively possible implementation, after decoding first, from some choosing for the non-head of the queue for playing queue When the picture frame that write-in decodes is put in positioning, read thread and can then be successively read since the select location and show picture Frame.
For example, reading thread can be judged according to reading pointer, and reading pointer is used to point to what will be read Position.Generally, after the content of opening position pointed by reading pointer is read out, then reading pointer can be added 1, Ye Jirang Reading pointer points to next position, then proceedes to read the content in position pointed by the reading pointer.
In step 213, detect whether to have read the tail of the queue for playing queue.
Playback equipment detection reads whether thread has read the tail of the queue for playing queue.Namely detection reading pointer is signified To position to play the tail of the queue of queue when, then can determine to have read the tail of the queue for playing queue.
In step 214, if testing result is to have read the tail of the queue for playing queue, continue from the team for playing queue The beginning is first opened, is successively read and shows picture frame.
Due to play queue be a round-robin queue, therefore when reading pointer in tail of the queue when, can be by reading pointer Again the head of the queue for playing queue is pointed to, then proceedes to since the head of the queue for playing queue, be successively read and show picture frame.
It follows that it is with writing picture frame into broadcasting queue from the order of reading picture frame and direction in queue is played Order and direction be identical.
In actual applications, some dynamic pictures may be repeated playing, therefore in the complete dynamic picture of segmentation decoding, be broadcast Equipment is put then since the head of dynamic picture, again segmentation decoding dynamic picture successively.Namely step 202 is repeated to step Rapid 214 process, the dynamic picture is repeated playing with realizing.
It should be added that in actual applications, when carrying out segmentation decoding dynamic picture, the figure in dynamic picture The number of piece frame be not more often the integral multiple of predetermined number, namely when carrying out last time segmentation to dynamic picture The number of the picture frame of selected taking-up may be less than predetermined number, now then finally remaining can will directly be less than predetermined Several picture frames, which selects, is used as a segmentation.It will be apparent that when dynamic picture needs to carry out loop play, can also be most When once segmentation is chosen afterwards, after the picture frame of first number (being less than predetermined number) first at selection dynamic picture afterbody, Then the picture frame of second number is chosen from the head of the dynamic picture again, is made a reservation for wherein first number plus second number are equal to Number.
Refer to shown in Fig. 2 H, it is the afterbody that is a kind of while choosing dynamic picture according to an exemplary embodiment With head as the schematic diagram being once segmented.Specified number in Fig. 2 H is arranged to 5, and the picture frame number of dynamic picture is 103, such as Fruit carries out loop play to the dynamic picture, then the 21st picture frame can be got during segmentation decoding should be to be somebody's turn to do The 101st frame in dynamic picture is to the 103rd frame and the 1st frame and the 2nd frame, the figure for the predetermined number that this 5 frame is defined as choosing Piece frame, and this 5 frame picture frame is decoded;And if not carrying out loop play to the dynamic picture, then 21st time point The picture frame that can be got during section decoding should be the 101st frame to the 103rd frame in the dynamic picture, and this 3 frame is determined For the picture frame of the predetermined number of selection, and this 3 frame picture frame is decoded.
In summary, the dynamic picture display methods provided in the embodiment of the present disclosure, passes through segmentation decoding Dynamic Graph successively Piece, after decoding every time, the picture frame write-in that decoding is obtained plays queue, when broadcasting queue has picture frame, from broadcasting Read in queue and show picture frame;Solve in correlation technique that committed memory is relatively more when showing GIF pictures, display efficiency Than it is relatively low the problem of;Due to carrying out segmentation decoding for dynamic picture, and decoded picture frame is entered during decoding Row plays, therefore the length for playing queue can be much smaller than the length shared by dynamic picture, and internal memory can be reduced by, which having reached, accounts for With improving the effect of display efficiency.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 3 is a kind of block diagram of dynamic picture display device according to an exemplary embodiment, as shown in figure 3, should In the playback equipment that can play display dynamic picture, the dynamic picture display device includes dynamic picture display device applications But it is not limited to:Acquisition module 302, decoder module 304, writing module 306 and display module 308.
The acquisition module 302 is configured as obtaining dynamic picture, and dynamic picture is made up of continuous picture frame.
The decoder module 304 is configured as segmentation decoding dynamic picture successively.
The writing module 306 is configured as after each decoding, and the picture frame that decoder module decodes to obtain is write and played Queue, it is the round-robin queue for storing decoded picture frame to play queue.
The display module 308 is configured as playing queue when picture frame be present, is read in queue from playing and shows figure Piece frame.
In summary, the dynamic picture display device provided in the embodiment of the present disclosure, passes through segmentation decoding Dynamic Graph successively Piece, after decoding every time, the picture frame write-in that decoding is obtained plays queue, when broadcasting queue has picture frame, from broadcasting Read in queue and show picture frame;Solve in correlation technique that committed memory is relatively more when showing GIF pictures, display efficiency Than it is relatively low the problem of;Due to carrying out segmentation decoding for dynamic picture, and decoded picture frame is entered during decoding Row plays, therefore the length for playing queue can be much smaller than the length shared by dynamic picture, and internal memory can be reduced by, which having reached, accounts for With improving the effect of display efficiency.
Fig. 4 is a kind of block diagram of dynamic picture display device according to another exemplary embodiment, as shown in figure 4, The dynamic picture display device applications are in the playback equipment that can play display dynamic picture, the dynamic picture display device bag Include but be not limited to:Acquisition module 402, decoder module 404, writing module 406 and display module 408.
The acquisition module 402 is configured as obtaining dynamic picture, and dynamic picture is made up of continuous picture frame.
The decoder module 404 is configured as segmentation decoding dynamic picture successively.
The writing module 406 is configured as after each decoding, and the picture frame that decoder module decodes to obtain is write and played Queue, it is the round-robin queue for storing decoded picture frame to play queue.
The display module 408 is configured as playing queue when picture frame be present, is read in queue from playing and shows figure Piece frame.
In the possible implementation of in the embodiment shown in fig. 4 the first, decoder module 404 can include:Choose single First 404a and decoding unit 404b.
Selection unit 404a is configured as the first picture frame in the picture frame that is not decoded from dynamic picture, successively Choose the picture frame of predetermined number.
The picture frame for the predetermined number that decoding unit 404b is configured as going out to choosing unit selection decodes.
In second of possible implementation in the embodiment shown in fig. 4, writing module 406 can include:First writes Enter unit 406a, the first detection unit 406b, the second detection unit 406c, the second writing unit 406d, the first pause unit 406e, the 3rd detection unit 406f, the pause units of the 3rd writing unit 406g and second 406h.
First writing unit 406a is configured as after decoding first, since the head of the queue for playing queue, will be decoded To picture frame write broadcasting queue successively.
First detection unit 406b is configured as after non-decoding first, and when write-in plays queue every time, detection is finally Whether the picture frame of write-in is positioned at the tail of the queue for playing queue.
It is the figure that is ultimately written that second detection unit 406c, which is configured as in the first detection unit 406b testing result, When piece frame is positioned at the tail of the queue for playing queue, then detection play position in queue after the picture frame that is ultimately written whether be It is empty;Second writing unit 406d is configured as being ultimately written to play in queue in the second detection unit 406c testing result Picture frame after position be space-time, since the position after the picture frame being ultimately written, by the picture frame decoded according to Secondary write-in plays queue;It is broadcasting team that first pause unit 406e, which is configured as in the second detection unit 406c testing result, Position after the picture frame being ultimately written in row is non-NULL, then the picture frame decoded write-in is played queue by pause.
It is the figure that is ultimately written that 3rd detection unit 406f, which is configured as in the first detection unit 406b testing result, For piece framing bit when the tail of the queue of queue is played, whether the head of the queue that detection plays queue is empty;3rd writing unit 406g is configured , will since the head of the queue for playing queue to be space-time in the head of the queue that the 3rd detection unit 406f testing result is broadcasting queue The picture frame decoded writes broadcasting queue successively;Second pause unit 406h is configured as the 3rd detection unit 406f's Testing result is the head of the queue for playing queue when being non-NULL, suspends the picture frame that will be decoded and writes broadcasting queue successively.
In the third possible implementation in the embodiment shown in fig. 4, the display module 408 can include:4th Detection unit 408a and the first display unit 408b.
4th detection unit 408a is configured as whether there is picture frame in the queue of detection broadcasting in real time.
The testing result that first display unit 408b is configured as the 4th detection unit 408a exists to play queue During picture frame, since the head of the queue for playing queue, it is successively read and shows decoded picture frame.
In the 4th kind of possible implementation in the embodiment shown in fig. 4, the display module 408 can also include:The Five detection unit 408c and the second display unit 408d.
5th detection unit 408c is configured as detecting whether to have read the tail of the queue for playing queue.
Second display unit 408d is configured as broadcasting to have read in the 5th detection unit 408c testing result When putting the tail of the queue of queue, continue since the head of the queue for playing queue, to be successively read and show picture frame.
In the 5th kind of possible implementation in the embodiment shown in fig. 4, the dynamic picture display device can also wrap Include:Trigger module 410.
The trigger module 410 is configured as in the complete dynamic picture of segmentation decoding, since the head of dynamic picture, triggering The segmentation decoding dynamic picture successively again of decoder module 404.
In the 6th kind of possible implementation in the embodiment shown in fig. 4, the dynamic picture display device can also wrap Include:Detection module 412.
Whether the capacity that the detection module 412 is configured as detecting dynamic picture is more than predetermined threshold;
The decoder module 404 is additionally configured to for the capacity of dynamic picture be more than in advance in the testing result of detection module 412 When determining threshold value, segmentation decoding dynamic picture successively.
In summary, the dynamic picture display device provided in the embodiment of the present disclosure, passes through segmentation decoding Dynamic Graph successively Piece, after decoding every time, the picture frame write-in that decoding is obtained plays queue, when broadcasting queue has picture frame, from broadcasting Read in queue and show picture frame;Solve in correlation technique that committed memory is relatively more when showing GIF pictures, display efficiency Than it is relatively low the problem of;Due to carrying out segmentation decoding for dynamic picture, and decoded picture frame is entered during decoding Row plays, therefore the length for playing queue can be much smaller than the length shared by dynamic picture, and internal memory can be reduced by, which having reached, accounts for With improving the effect of display efficiency.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is a kind of block diagram of dynamic picture display device 500 according to another exemplary embodiment.For example, dress It can be mobile phone to put 500, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing component 502, memory 504, power supply Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 502 can refer to including one or more processors 518 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 502 can include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 can include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown Example includes the instruction of any application program or method for operating on device 500, contact data, telephone book data, disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 500.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 500 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 504 or via communication set Part 516 is sent.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor cluster 514 can detect opening/closed mode of device 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device Position change, the existence or non-existence that user contacts with device 500, the orientation of device 500 or acceleration/deceleration and device 500 Temperature change.Sensor cluster 514 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed by the processor 518 of device 500 to complete the whole of the above method Or part steps.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (13)

  1. A kind of 1. dynamic picture display methods, it is characterised in that including:
    Dynamic picture is obtained, the dynamic picture is made up of continuous picture frame;
    Dynamic picture described in segmentation decoding successively;
    After each decoding, the picture frame write-in that decoding is obtained plays queue, and the broadcasting queue is after being decoded for storage Picture frame round-robin queue;
    When the broadcasting queue has picture frame, read from the broadcasting queue and show picture frame;
    Wherein, dynamic picture described in the segmentation decoding successively, including:
    First picture frame in the picture frame not decoded from the dynamic picture, the picture frame of predetermined number is chosen successively;
    The picture frame of the predetermined number to selecting decodes.
  2. 2. according to the method for claim 1, it is characterised in that the picture frame that after each decoding, decoding is obtained Write-in plays queue, including:
    After decoding first, since the head of the queue of the broadcasting queue, the picture frame that decoding obtains is write into the broadcasting successively Queue;
    After non-decoding first, when write-in plays queue every time, detect whether the picture frame being ultimately written is located at the broadcasting team The tail of the queue of row;
    If testing result, which is the picture frame being ultimately written, is not located at the tail of the queue for playing queue, detect in the broadcasting queue Whether the position after the picture frame being ultimately written is empty;If testing result plays the picture frame being ultimately written in queue to be described Position afterwards is sky, then since the position after the picture frame being ultimately written, the picture frame decoded is write successively Enter the broadcasting queue;If testing result is that the position after the picture frame being ultimately written in the broadcasting queue is non-NULL, The picture frame decoded is write the broadcasting queue by pause;
    If testing result, which is the picture frame being ultimately written, is located at the tail of the queue for playing queue, the team of the broadcasting queue is detected Whether first be empty;If it is empty that testing result, which is the head of the queue of the broadcasting queue, since the head of the queue of the broadcasting queue, will solve The picture frame that code goes out writes the broadcasting queue successively;If testing result is that the head of the queue of the broadcasting queue is non-NULL, suspend The picture frame decoded is write into broadcasting queue successively.
  3. 3. according to the method for claim 1, it is characterised in that it is described when the broadcasting queue has picture frame, from institute State to play and read in queue and show picture frame, including:
    Detect in real time in the broadcasting queue and whether there is picture frame;
    When detecting that the broadcasting queue has picture frame, the first picture frame not being read from the broadcasting queue is opened Begin, be successively read and show picture frame.
  4. 4. according to the method for claim 3, it is characterised in that also include:
    Detect whether to have read the tail of the queue for playing queue;
    If testing result is to have read the tail of the queue of the broadcasting queue, continue since the head of the queue of the broadcasting queue, It is successively read and shows picture frame.
  5. 5. according to the method for claim 1, it is characterised in that also include:
    When the complete dynamic picture of segmentation decoding, then since the head of the dynamic picture, re-execute and described divide successively Section decodes the step of dynamic picture.
  6. 6. according to any described method in claim 1 to 5, it is characterised in that also include:
    Whether the capacity for detecting the dynamic picture is more than predetermined threshold;
    If testing result is more than the predetermined threshold for the capacity of the dynamic picture, described in execution successively described in segmentation decoding The step of dynamic picture.
  7. A kind of 7. dynamic picture display device, it is characterised in that including:
    Acquisition module, for obtaining dynamic picture, the dynamic picture is made up of continuous picture frame;
    Decoder module, for dynamic picture described in segmentation decoding successively;
    Writing module, it is described for after each decoding, the picture frame write-in that the decoder module decodes to obtain to be played into queue It is the round-robin queue for storing decoded picture frame to play queue;
    Display module, for when the broadcasting queue has picture frame, being read from the broadcasting queue and showing picture frame;
    Wherein, the decoder module, including:
    Unit is chosen, for the first picture frame in the picture frame that is not decoded from the dynamic picture, is chosen successively predetermined The picture frame of number;
    Decoding unit, the picture frame of the predetermined number for going out to the selection unit selection decode.
  8. 8. device according to claim 7, it is characterised in that said write module, including:
    First writing unit, for after decoding first, since the head of the queue of the broadcasting queue, obtained picture frame will to be decoded The broadcasting queue is write successively;
    First detection unit, for after non-decoding first, when write-in plays queue every time, detecting the picture frame being ultimately written to be The no tail of the queue positioned at the broadcasting queue;
    Second detection unit, for being described in the picture frame being ultimately written is not located in the testing result of first detection unit When playing the tail of the queue of queue, then whether the position detected in the broadcasting queue after the picture frame that is ultimately written is empty;Second Writing unit, in the testing result of second detection unit for the broadcasting queue in after the picture frame that is ultimately written Position be space-time, since the position after the picture frame being ultimately written, the picture frame decoded is write into institute successively State broadcasting queue;First pause unit, for last in being the broadcasting queue in the testing result of second detection unit Position after the picture frame of write-in is non-NULL, then the picture frame decoded is write the broadcasting queue by pause;
    3rd detection unit, for being that the picture frame being ultimately written is broadcast positioned at described in the testing result of first detection unit When putting the tail of the queue of queue, then whether the head of the queue for detecting the broadcasting queue is empty;3rd writing unit, in the described 3rd inspection The testing result for surveying unit is that the head of the queue of the broadcasting queue is space-time, since the head of the queue of the broadcasting queue, will be decoded Picture frame write the broadcasting queue successively;Second pause unit, for being in the testing result of the 3rd detection unit When the head of the queue for playing queue is non-NULL, suspends the picture frame that will be decoded and write broadcasting queue successively.
  9. 9. device according to claim 7, it is characterised in that the display module, including:
    4th detection unit, it whether there is picture frame for detecting in real time in the broadcasting queue;
    First display unit, for when the 4th detection unit detects that the broadcasting queue has picture frame, from described Play the first picture frame not being read in queue to start, be successively read and show picture frame.
  10. 10. device according to claim 9, it is characterised in that the display module, in addition to:
    5th detection unit, for detecting whether having read the tail of the queue of the broadcasting queue;
    Second display unit, for being to have read the team of the broadcasting queue in the testing result of the 5th detection unit During tail, continue since the head of the queue of the broadcasting queue, to be successively read and show picture frame.
  11. 11. device according to claim 7, it is characterised in that also include:
    Trigger module, for when the complete dynamic picture of segmentation decoding, since the head of the dynamic picture, described in triggering Decoder module dynamic picture described in segmentation decoding successively again.
  12. 12. according to any described device in claim 7 to 11, it is characterised in that also include:
    Whether detection module, the capacity for detecting the dynamic picture are more than predetermined threshold;
    The decoder module, the testing result being additionally operable in the detection module are the capacity of the dynamic picture more than described pre- When determining threshold value, dynamic picture described in segmentation decoding successively.
  13. A kind of 13. dynamic picture display device, it is characterised in that including:
    Processor;
    For storing the memory of the processor-executable instruction;
    Wherein, the processor is configured as:
    Dynamic picture is obtained, the dynamic picture is made up of continuous picture frame;
    Dynamic picture described in segmentation decoding successively;
    After each decoding, the picture frame write-in that decoding is obtained plays queue, and the broadcasting queue is after being decoded for storage Picture frame round-robin queue;
    When the broadcasting queue has picture frame, read from the broadcasting queue and show picture frame;
    Wherein, dynamic picture described in the segmentation decoding successively, including:
    First picture frame in the picture frame not decoded from the dynamic picture, the picture frame of predetermined number is chosen successively;
    The picture frame of the predetermined number to selecting decodes.
CN201410166879.7A 2014-04-24 2014-04-24 Dynamic picture display methods and device Active CN103986933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410166879.7A CN103986933B (en) 2014-04-24 2014-04-24 Dynamic picture display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410166879.7A CN103986933B (en) 2014-04-24 2014-04-24 Dynamic picture display methods and device

Publications (2)

Publication Number Publication Date
CN103986933A CN103986933A (en) 2014-08-13
CN103986933B true CN103986933B (en) 2017-12-12

Family

ID=51278745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410166879.7A Active CN103986933B (en) 2014-04-24 2014-04-24 Dynamic picture display methods and device

Country Status (1)

Country Link
CN (1) CN103986933B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573023B (en) * 2015-01-12 2018-05-29 天津车之家科技有限公司 A kind of Web page picture inspection method, device and computing device
CN106257415A (en) 2015-06-19 2016-12-28 阿里巴巴集团控股有限公司 Realize the method and apparatus of dynamic picture preview, expression bag methods of exhibiting and device
CN105446590B (en) * 2015-11-09 2019-10-11 Tcl集团股份有限公司 A kind of the application icon display methods and system of mobile terminal
CN105592345A (en) * 2015-12-21 2016-05-18 四川金网通电子科技有限公司 Method and system for displaying startup dynamic pictures of set top box
CN105578264B (en) * 2015-12-30 2019-03-01 深圳Tcl数字技术有限公司 The processing method and processing device of animated menu based on smart television
CN106383880B (en) * 2016-09-13 2020-01-24 广州视睿电子科技有限公司 GIF file playing method and system
CN107145515B (en) * 2017-04-01 2020-12-11 北京安云世纪科技有限公司 Method and device for displaying dynamic image and mobile terminal
CN110019866B (en) * 2017-09-30 2023-03-10 腾讯科技(深圳)有限公司 Dynamic picture playing method, device and storage medium
CN108282696A (en) * 2018-02-07 2018-07-13 北京易讯理想科技有限公司 A kind of hardware resource distribution method that sequence frame image plays
CN108845777B (en) * 2018-06-11 2021-07-02 广州酷狗计算机科技有限公司 Method and device for playing frame animation
CN109710359B (en) * 2018-12-25 2022-03-01 广州市百果园信息技术有限公司 Moving picture display method, moving picture display device, computer-readable storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100639328B1 (en) * 2004-08-03 2006-10-30 엘지전자 주식회사 Display method of animation using mobile terminal
CN101026724A (en) * 2006-02-23 2007-08-29 联发科技股份有限公司 Image decoding system and method
CN101656877A (en) * 2008-08-19 2010-02-24 新奥特(北京)视频技术有限公司 Improved method for generating animation file by using picture sequence
CN201629822U (en) * 2010-02-10 2010-11-10 深圳市同洲电子股份有限公司 Graphic format interchange file area decoding optimizing device
CN102314701A (en) * 2011-06-28 2012-01-11 北京新媒传信科技有限公司 Method and device for playing GIF (graphic interchange format) cartoons in ME (mobile equipment) in real time

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100639328B1 (en) * 2004-08-03 2006-10-30 엘지전자 주식회사 Display method of animation using mobile terminal
CN101026724A (en) * 2006-02-23 2007-08-29 联发科技股份有限公司 Image decoding system and method
CN101656877A (en) * 2008-08-19 2010-02-24 新奥特(北京)视频技术有限公司 Improved method for generating animation file by using picture sequence
CN201629822U (en) * 2010-02-10 2010-11-10 深圳市同洲电子股份有限公司 Graphic format interchange file area decoding optimizing device
CN102314701A (en) * 2011-06-28 2012-01-11 北京新媒传信科技有限公司 Method and device for playing GIF (graphic interchange format) cartoons in ME (mobile equipment) in real time

Also Published As

Publication number Publication date
CN103986933A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN103986933B (en) Dynamic picture display methods and device
US8902194B2 (en) Electronic apparatus, display control method, and program
CN103916595B (en) For obtaining the method for image and electronic installation for handling this method
CN103793097B (en) Mobile terminal and its control method
US8705943B2 (en) Video editing method and digital device therefor
CN105849712B (en) Method and apparatus for sending data, and the method and apparatus for receiving data
US9626076B2 (en) Display apparatus for displaying images and method thereof
KR102071576B1 (en) Method and terminal for reproducing content
EP2863394B1 (en) Apparatus and method for editing synchronous media
CN108108114A (en) A kind of thumbnail display control method and mobile terminal
CN106055247A (en) Picture display device, method and mobile terminal
KR20140089125A (en) Mobile terminal and method for controlling thereof
CN102568532A (en) Electronic apparatus, display control method and program
US20140193140A1 (en) System and method for slow motion display, analysis and/or editing of audiovisual content on a mobile device
JP2012252582A (en) Display control apparatus, display control method, and program
US20150363091A1 (en) Electronic device and method of controlling same
US20190012129A1 (en) Display apparatus and method for controlling display apparatus
CA2838878C (en) Method and apparatus for controlling contents in electronic device
CN109407944A (en) Multimedia resource plays adjusting method and device
CN107515669A (en) Display methods and device
KR20150084524A (en) Display apparatus and Method for controlling display apparatus thereof
CN103309557A (en) Image processing apparatus and image processing method
CN107562347A (en) The method and apparatus for showing object
CN108307215A (en) Image display and its operating method
KR102186815B1 (en) Method, apparatus and recovering medium for clipping of contents

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant