CN103051899A - Method and device for video decoding - Google Patents

Method and device for video decoding Download PDF

Info

Publication number
CN103051899A
CN103051899A CN2012105950675A CN201210595067A CN103051899A CN 103051899 A CN103051899 A CN 103051899A CN 2012105950675 A CN2012105950675 A CN 2012105950675A CN 201210595067 A CN201210595067 A CN 201210595067A CN 103051899 A CN103051899 A CN 103051899A
Authority
CN
China
Prior art keywords
frequency
current decoding
voltage
unit interval
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.)
Granted
Application number
CN2012105950675A
Other languages
Chinese (zh)
Other versions
CN103051899B (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.)
QINGDAO VIMICRO ELECTRONICS CO Ltd
Original Assignee
QINGDAO VIMICRO ELECTRONICS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by QINGDAO VIMICRO ELECTRONICS CO Ltd filed Critical QINGDAO VIMICRO ELECTRONICS CO Ltd
Priority to CN201210595067.5A priority Critical patent/CN103051899B/en
Publication of CN103051899A publication Critical patent/CN103051899A/en
Application granted granted Critical
Publication of CN103051899B publication Critical patent/CN103051899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device for video decoding. The method comprises the following steps of obtaining the voltage and frequency of the current decoding; calculating the unit time of the current decoding; according to the unit time of the current decoding and the preset time threshold value, judging whether the voltage and frequency of the current decoding need to be adjusted or not, wherein if the voltage and frequency of the current decoding need to be adjusted, the voltage and frequency of the current decoding are adjusted; and decoding an original code stream according to the adjusted decoding voltage and frequency. The method and the device have the advantage that the system power consumption in the decoding process is saved.

Description

A kind of method of video decode and device
Technical field
The embodiment of the invention relates to computer and multimedia technology field, particularly relates to a kind of method of video decode, and, a kind of device of video decode.
Background technology
Decoding is with ad hoc fashion source code flow to be reduced into the content of its representative, perhaps, electric impulse signal, light signal, radio wave etc. is converted to the process of the information, data etc. of its representative.
Along with computer science and technology and multimedia development, the various aspects of daily life have begun widely application decoder technology, for example, and in DVD, in VCD, in the video transmission process of various satellites and terrestrial television broadcasts system.
In the correlation technique, in video decoding process, often in order to guarantee the export target frame per second of system, can be when decoder begins to decode, higher voltage and frequency are set, but in the decode procedure of reality, probably do not need set higher voltage and frequency, tend to like this cause the waste of system power dissipation.
Thereby, need at present the urgent technical problem that solves of those skilled in the art to be exactly: how a kind of method of video decode to be provided, to guarantee that decoded target code stream under the prerequisite that satisfies the export target frame per second, can farthest save system power dissipation.
Summary of the invention
The invention provides a kind of method of video decode, can save the system power dissipation in the decode procedure.
Accordingly, the present invention also provides a kind of device of video decode in order to guarantee the implementation and application of said method.
In order to address the above problem, the invention discloses a kind of method of video decode, comprising:
Obtain current decoding voltage and frequency;
Add up the unit interval of current decoding;
Unit interval and default time threshold according to described current decoding judge whether current decoding voltage and frequency need to adjust;
If then adjust described current decoding voltage and frequency;
According to decoding voltage and frequency after adjusting source code flow is decoded.
Preferably, described method also comprises:
If unit interval and default time threshold according to described current decoding judge that current decoding voltage and frequency do not need to adjust, then according to current decoding voltage and frequency source code flow is decoded.
Preferably, the step of the current decoding voltage of described acquisition and frequency comprises:
Obtain decoding voltage and the frequency of acquiescence.
Preferably, the step of the current decoding voltage of described acquisition and frequency also comprises:
Obtain attribute and the default decoding parametric of source code flow, the attribute of described source code flow comprises code stream form, code check and image resolution ratio, and described default decoding parametric comprises the export target frame per second and reserves and separate code frequency;
According to the attribute of described source code flow and default decoding parametric, current decoding voltage and frequency are set.
Preferably, the step of the unit interval of the current decoding of described statistics comprises:
The time of single I frame is the unit interval of current decoding in the statistical decoder source code flow;
Or,
In the statistical decoder source code flow single I frame and this I frame to the time of the P frame between the next I frame be the unit interval of current decoding;
Or,
In the statistical decoder source code flow single I frame and this I frame to the time of the P frame between the next I frame, B frame be the unit interval of current decoding.
Preferably, the step of the unit interval of the current decoding of described statistics also comprises:
The time of default frame number is the unit interval of current decoding in the statistical decoder source code flow.
Preferably, the unit interval of the current decoding of described foundation judges that the step whether current decoding voltage and frequency need to adjust comprises:
Judge the time threshold whether unit interval of described current decoding equals to preset;
If judge that then current decoding voltage and frequency need to adjust;
If not, judge that then current decoding voltage and frequency do not need to adjust.
Preferably, described default time threshold generates according to the export target frame per second.
Preferably, the step of the current decoding voltage of described adjustment and frequency comprises:
In unit interval of described current decoding during less than default time threshold, reduce current decoding voltage and frequency;
And/or,
In unit interval of described current decoding during greater than default time threshold, increase current decoding voltage and frequency.
The invention also discloses a kind of device of video decode, comprising:
Electric voltage frequency obtains module, is used for obtaining current decoding voltage and frequency;
The unit interval statistical module is for the unit interval of adding up current decoding;
Judge module is used for judging according to unit interval and the default time threshold of described current decoding whether current decoding voltage and frequency need to adjust; If then call the electric voltage frequency adjusting module;
The electric voltage frequency adjusting module is used for adjusting described current decoding voltage and frequency;
The first decoder module is used for according to decoding voltage and frequency after adjusting source code flow being decoded.
Compare with background technology, the present invention has the following advantages:
The present invention by in decode procedure according to unit interval of current decoding of statistics, adjust current decoding voltage and frequency, guarantee that the decoded target code stream of output is under the prerequisite that satisfies the export target frame per second, can under minimum voltage and frequency condition, decode, at utmost to save system power dissipation.
Moreover the present invention separates code frequency by setting to reserve, and can reserve certain decoding surplus capacity, to prevent the inadequate situation of decoding capability in the decoding special frames.
Description of drawings
Fig. 1 shows the flow chart of steps of the embodiment of the method for a kind of video decode provided by the invention;
Fig. 2 shows the structured flowchart of the device embodiment of a kind of video decode provided by the invention;
Fig. 3 shows the structural representation of a kind of video decode provided by the invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
One of core idea of the embodiment of the invention is, by in decode procedure according to unit interval of current decoding of statistics, adjust current decoding voltage and frequency, guarantee that decoded target code stream under the prerequisite that satisfies the export target frame per second, can farthest save system power dissipation.
With reference to Fig. 1, show the flow chart of steps of the embodiment of the method for a kind of video decode provided by the invention, specifically can may further comprise the steps:
Step 101 obtains current decoding voltage and frequency;
In a preferred embodiment of the present invention, described step 101 can comprise following substep:
Substep S11 obtains decoding voltage and the frequency given tacit consent to;
In specific implementation, current decoding voltage and frequency can be decoding voltage and the frequency of system default.
In another kind of preferred embodiment of the present invention, described step 101 can comprise following substep:
Substep S12a obtains the attribute of source code flow and the decoding parametric of presetting, and the attribute of described source code flow comprises code stream form, code check and image resolution ratio, and described default decoding parametric comprises the export target frame per second and reserves and separate code frequency;
Substep S12b according to the attribute of described source code flow and default decoding parametric, arranges current decoding voltage and frequency;
Use the embodiment of the invention, described source code flow refers to the code stream that system need to decode, code stream refers to the data traffic that video file uses within the unit interval, also can be referred to as code check, it is most important part in the video file quality control, in the identical situation of resolution, the code stream of video file is larger, and quality is just better.Generally speaking, the code stream of DVD form song is 6 ~ 8M, and the code stream of VCD form song is about 1.5M.
As the concrete a kind of example used of the present invention, the attribute of described source code flow can comprise code stream form, code check and image resolution ratio.
In specific implementation, the source code flow that can be needed by user interface setting system decodes, wherein, the code stream form of set source code flow is unrestricted, can be rm, rmvb, h264, among the vc1, these five kinds of mpeg4 any one, the common ground of these two kinds of forms of rm and rmvb is that volume is little, suitable Internet Transmission and online streaming media playing, be present all online web films film formats commonly used, h264 is a kind of coded format of high operand, and its advantage is the raw of capacity minimum in present video files; The mpeg4 form also usually is usually used in the DVD film; In addition, the code check size of set source code flow is also unrestricted.
In practice, after user interface is provided with the source code flow that system need to decode, can be analyzed by analyzer the attribute of source code flow, particularly, can analyze the form of described source code flow, also can analyze the code check size of source code flow, can also analyze image resolution ratio size in the described source code flow.
As concrete another example used of the present invention, described default decoding parametric can comprise the export target frame per second and reserve and separate code frequency.
Particularly, the export target frame per second can be set by user interface, and, its size can be decided according to actual conditions by user interface, for example, needs to export 30 two field pictures in the 1s after the system requirements decoding, in this case, the user can be set as 30fps with the export target frame per second.
In practice, reserve the solution code frequency and also can be set by user interface, described reservation solution code frequency is in order to reserve certain decoding surplus capacity, to prevent the inadequate situation of decoding capability in the decoding special frames.For example, the video of a specific standard of hypothesis decoding, the solution code frequency that on average needs 200Mhz, but the complex frames that runs in order to decode smoothly this video the time, can preset one and reserve the solution code frequency, for example, reserving and separate code frequency can be to have more 10%, such as 220Mhz, in this case, if on average separating average decoding voltage corresponding to code frequency 200Mhz is 1.2V, and peak frequency corresponding to voltage 1.2V of on average decoding be 200Mhz, then adjusts to from average solution code frequency 200Mhz and reserve when separating code frequency 220Mhz, and the corresponding decoding voltage of reserving also needs to improve, for example, can be increased to 1.25V reserving decoding voltage; When peak frequency corresponding to average decoding voltage 1.2V is 250Mhz, then adjust to from average solution code frequency 200Mhz and reserve when separating code frequency 220Mhz, reserving decoding voltage can still be 1.2V.
In specific implementation, can be according to the attribute of described source code flow and default decoding parametric, current decoding voltage and frequency are set, set current decoding voltage and the size of frequency can be determined on a case-by-case basis by user interface, there is not certain restriction, for example, when code check and image resolution ratio large, when export target frame per second and reservation solution code frequency are high, can current decoding voltage and set of frequency is higher, when code check and image resolution ratio are little, export target frame per second and reserving is separated code frequency when low, can current decoding voltage and set of frequency is low; Certainly, large at code check and image resolution ratio, when export target frame per second and reservation solution code frequency are high, also can current decoding voltage and set of frequency is low, little at code check and image resolution ratio, when export target frame per second and reservation solution code frequency are low, also can current decoding voltage and set of frequency is higher; Simultaneously, when code stream form relative complex, can current decoding voltage and set of frequency is higher, when the code stream form is relatively simple, can current decoding voltage and set of frequency is low; Certainly, when code stream form relative complex, also can current decoding voltage and set of frequency is low, when the code stream form is relatively simple, also can current decoding voltage and set of frequency is higher.
In a preferred embodiment of the present invention, set current decoding voltage and frequency generally understand voltage actual required in the ratio decoder process and frequency is high.
Step 102 is added up unit interval of current decoding;
As the concrete a kind of example used of the present invention, the unit interval of described current decoding can be added up by counter.
In a preferred embodiment of the present invention, described step 102 can comprise following substep:
Substep S21a, the time of single I frame is the unit interval of current decoding in the statistical decoder source code flow;
Substep S21b, in the statistical decoder source code flow single I frame and this I frame to the time of the P frame between the next I frame be the unit interval of current decoding;
Substep S21c, in the statistical decoder source code flow single I frame and this I frame to the time of the P frame between the next I frame, B frame be the unit interval of current decoding;
In agreement H.264, three kinds of basic frame types have been defined, be I, P, B frame type, particularly, the I frame refers to that key frame, P frame refer to that difference frame, B frame refer to two-way difference frame, when only having the I frame in the source code flow, can the statistical decoder source code flow in time of single I frame be the unit interval of current decoding; When only having I frame and P frame in the source code flow, can the statistical decoder source code flow in single I frame and this I frame to time of the P frame between the next I frame be the unit interval of current decoding; When I frame, P frame and B frame are arranged in the source code flow simultaneously, in can the statistical decoder source code flow single I frame and this I frame to the time of the P frame between the next I frame, B frame be the unit interval of current decoding, the advantage of the method for the unit interval of the current decoding of this statistics is that the corresponding decoding difficulty value of unit interval of the current decoding added up is average, shortcoming is the uncertain concrete frame number of adding up, its frame number may be many, also may be fewer, concrete numerical value is determined by source code flow fully.
In another preferred embodiment of the present invention, described step 102 can also comprise following substep:
Substep S22, the time of default frame number is the unit interval of current decoding in the statistical decoder source code flow;
Use the embodiment of the invention, can not distinguish concrete I frame, P frame and B frame, the time of N frame is the unit interval (N is 〉=1 positive integer) of current decoding in the simple statistical decoder source code flow, for example, can set N=20, in this case, unit interval take required time of 20 frames of decoding as current decoding exactly is in concrete the application, the mode of described statistical unit decode time can be selected arbitrarily according to actual conditions by those skilled in the art, and the present invention is not restricted this.
Step 103 judges according to unit interval and the default time threshold of described current decoding whether current decoding voltage and frequency need to adjust; If then execution in step 104;
In a preferred embodiment of the present invention, described step 103 can comprise following substep:
Substep S31 judges the time threshold whether unit interval of described current decoding equals to preset; If then carry out substep S32; If not, then carry out substep S33;
Substep S32 judges that current decoding voltage and frequency need to adjust;
Substep S33 judges that current decoding voltage and frequency do not need to adjust;
As the concrete a kind of example used of the present invention, described default time threshold can generate according to the export target frame per second.
Particularly, can be with 1000ms divided by the export target frame per second, the time threshold that namely can obtain presetting, for example, need to export 30 two field pictures if described export target frame per second is 30fps(namely to be represented in the rear 1000ms of decoding), then default time threshold be 1000ms divided by 30, namely default time threshold is 33ms.
Use the embodiment of the invention, described default time threshold can also be set as the case may be by user interface, in concrete the application, the setting means of described default time threshold can be selected arbitrarily according to actual conditions by those skilled in the art, and the present invention is not restricted this.
In practice, when the unit interval of described current decoding is not equal to default time threshold, can judge that current decoding voltage and frequency need to adjust; During the time threshold that equals to preset when the unit interval of described current decoding, can judge that current decoding voltage and frequency do not need to adjust.
In specific implementation, can also whether adjust current decoding voltage and frequency by the user interface setting, if being provided with, user interface adjusts current decoding voltage and frequency, so can be according to the unit interval of current decoding and the time threshold of presetting are compared in decode procedure, then correspondingly reduce or increase current decoding voltage and frequency, not only the export target frame per second can be satisfied so that export decoded target code stream, system power dissipation can be saved simultaneously; Do not adjust current decoding voltage and frequency if user interface arranges, can not adjust current decoding voltage and frequency so, system will continue decoding under current decoding voltage and frequency condition.
Step 104 is adjusted described current decoding voltage and frequency;
In a preferred embodiment of the present invention, described step 104 can comprise following substep:
Substep S41 in unit interval of described current decoding during less than default time threshold, reduces current decoding voltage and frequency;
In specific implementation, if the unit interval of described current decoding is short, and during less than default time threshold, explanation is under described current decoding voltage and frequency condition, and decoding speed is than very fast, in this case, in order to save system power dissipation, described current decoding voltage and frequency can be reduced, so that export the requirement that decoded target code stream not only can satisfy the export target frame per second, system power dissipation can also be saved.
For example, the source code flow form is rmvb, image resolution ratio is 1028X720, the export target frame per second is 30fps, unit interval take time of 10 frames of decoding as current decoding, current voltage is 1.3V, and current frequency is 220MHz, if when being decoded to 10 frame, statistics has spent 20ms altogether, the unit interval that is current decoding is 20ms, and default time threshold is 33ms, in this case, can be voltage and frequency downconverts, for example, can be adjusted downward to voltage is 1.25V, and frequency is to decode under the 200MHz condition.
Substep S42 in unit interval of described current decoding during greater than default time threshold, increases current decoding voltage and frequency;
In specific implementation, if the unit interval of described current decoding is long, and during greater than default time threshold, explanation is under described current decoding voltage and frequency condition, and decoding speed is slow, in this case, in order to satisfy the requirement of export target frame per second, described current decoding voltage and frequency can be increased, so that not only can save system power dissipation, the requirement of export target frame per second can also be satisfied.
Step 105 is decoded to source code flow according to decoding voltage and frequency after adjusting.
In practice, system decodes to source code flow according to decoding voltage and frequency after adjusting, so that export decoded target code stream under the prerequisite that satisfies the export target frame per second, can save system power dissipation.
In another preferred embodiment of the present invention, described method can also comprise:
If unit interval and default time threshold according to described current decoding judge that current decoding voltage and frequency do not need to adjust, then according to current decoding voltage and frequency source code flow is decoded.
In specific implementation, during the time threshold that equals to preset when the unit interval of described current decoding, can current decoding voltage and frequency not adjusted, system will continue decoding under current decoding voltage and frequency condition.
In a preferred embodiment of the present invention, described method can also comprise:
Export decoded target code stream.
As the concrete a kind of example used of the present invention, the form of described decoded target code stream can be yuv generally speaking, and the way of output of described decoded target code stream can have multiple, for example, described decoded target code stream directly can be shown; Perhaps, described decoded target code stream can be preserved first, to be used for the follow-up last handling processes such as demonstration; Perhaps, can directly export decoded data stream to post-processing module and process, the way of output of described decoded target code stream can be selected arbitrarily according to actual conditions, and the present invention is not restricted this.
Need to prove, for aforesaid embodiment of the method, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to Fig. 2, show the structured flowchart of the device embodiment of a kind of video decode provided by the invention, specifically can comprise with lower module:
Electric voltage frequency obtains module 201, is used for obtaining current decoding voltage and frequency;
In a preferred embodiment of the present invention, described electric voltage frequency obtains module 201 and can comprise:
Electric voltage frequency obtains submodule S2011, is used for obtaining decoding voltage and the frequency of acquiescence.
In another preferred embodiment of the present invention, described electric voltage frequency obtains module 201 and can also comprise:
Obtain submodule S2012a, be used for obtaining attribute and the default decoding parametric of source code flow, the attribute of described source code flow comprises code stream form, code check and image resolution ratio, and described default decoding parametric comprises the export target frame per second and reserves and separate code frequency;
Electric voltage frequency arranges submodule S2012b, is used for according to the attribute of described source code flow and default decoding parametric current decoding voltage and frequency being set.
Unit interval statistical module 202 is for the unit interval of adding up current decoding;
In a preferred embodiment of the present invention, described unit interval statistical module 202 can comprise:
The first statistics submodule S2021a, the time that is used for the single I frame of statistical decoder source code flow is the unit interval of current decoding;
The second statistics submodule S2021b, be used for the single I frame of statistical decoder source code flow and this I frame to time of the P frame between the next I frame be the unit interval of current decoding;
The 3rd statistics submodule S2021c, be used for the single I frame of statistical decoder source code flow and this I frame to time of the P frame between the next I frame, B frame be the unit interval of current decoding.
In another preferred embodiment of the present invention, described unit interval statistical module 202 can also comprise:
The 4th statistics submodule S2022, the time that is used for the default frame number of statistical decoder source code flow is the unit interval of current decoding.
Judge module 203 is used for judging according to unit interval and the default time threshold of described current decoding whether current decoding voltage and frequency need to adjust; If then call electric voltage frequency adjusting module 204;
Electric voltage frequency adjusting module 204 is used for adjusting described current decoding voltage and frequency;
In a preferred embodiment of the present invention, described judge module 203 can comprise:
Judge submodule S2031, be used for judging the time threshold whether unit interval of described current decoding equals to preset; If then call the first decision sub-module S2032; If not, then call the second decision sub-module S2033;
The first decision sub-module S2032 is used for judging that current decoding voltage and frequency need to adjust;
The second decision sub-module S2033 is used for judging that current decoding voltage and frequency do not need to adjust.
As the concrete a kind of example used of the present invention, described default time threshold can generate according to the export target frame per second.
In a preferred embodiment of the present invention, described electric voltage frequency adjusting module 204 can comprise:
First adjusts submodule S2041, is used for reducing current decoding voltage and frequency in unit interval of described current decoding during less than default time threshold;
Second adjusts submodule S2042, and being used for increases current decoding voltage and frequency in unit interval of described current decoding during greater than default time threshold.
The first decoder module 205 is used for according to decoding voltage and frequency after adjusting source code flow being decoded.
In a preferred embodiment of the present invention, described device can also comprise:
The second decoder module is used for according to current decoding voltage and frequency source code flow being decoded when judging that with default time threshold current decoding voltage and frequency do not need to adjust according to the unit interval of described current decoding.
In another preferred embodiment of the present invention, described device can also comprise:
Output module is used for exporting decoded target code stream.
With reference to Fig. 3, show the structural representation of a kind of video decode provided by the invention, specifically can comprise:
User interface: the source code flow file that setting will be decoded; The export target frame per second of system is set; The decoding capability that decoding is reserved is set; The mode of timing statistics is set, the method that power consumption is saved in decoding of whether enabling is set.
Source code flow: the source code flow that needs system decodes; The code stream form is unrestricted; The code check size is unrestricted.
Analyzer: analysis code stream format; Analysis code check size; The analysis image size waits other parameters.
Decoder: the code stream after the analyzer analysis is decoded; During decoding, voltage and the frequency of using voltage clock adjuster to provide are decoded; Decoded data flow, export to the decoded data flow module; The first decoder module is arranged in decoder.
Voltage clock adjuster: according to the parameter of the parameter after the analyzer analysis and user interface setting, required voltage and frequency when the decoder default decode is set; According to the result of counter statistics, adjust decoder required voltage and clock; The electric voltage frequency adjusting module is arranged in voltage clock adjuster.
Counter: the time that the statistical unit decoding needs; According to timing statistics, carry out the adjustment of voltage clock in conjunction with the target component of user interface setting; During timing statistics, the statistical method of user's interface setting is carried out statistical comparison; The unit interval statistical module is arranged in counter.
Decoded data stream: decoded data flow; Data stream format generally is yuv.
Follower: decoded data stream is exported; The way of output can be selected multiple, as shows, preserves file, gives post-processing module etc.
For device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Those skilled in the art should understand that the embodiment of the embodiment of the invention can be provided as method, system or computer program.Therefore, the embodiment of the invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the embodiment of the invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The embodiment of the invention is that reference is described according to flow chart and/or the block diagram of method, terminal (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing terminals produces the device of the function that is used for being implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing terminals with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminals, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable terminals, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable terminals are carried out.
Although described the preferred embodiment of the embodiment of the invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into embodiment of the invention scope.
At last, also need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, article or the terminal of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or terminal.Do not having in the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal that comprises described key element and also have other identical element.
More than to the method for a kind of video decode provided by the present invention, and, a kind of device of video decode, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. the method for a video decode is characterized in that, comprising:
Obtain current decoding voltage and frequency;
Add up the unit interval of current decoding;
Unit interval and default time threshold according to described current decoding judge whether current decoding voltage and frequency need to adjust;
If then adjust described current decoding voltage and frequency;
According to decoding voltage and frequency after adjusting source code flow is decoded.
2. method according to claim 1 is characterized in that, also comprises:
If unit interval and default time threshold according to described current decoding judge that current decoding voltage and frequency do not need to adjust, then according to current decoding voltage and frequency source code flow is decoded.
3. method according to claim 1 and 2 is characterized in that, the step of the current decoding voltage of described acquisition and frequency comprises:
Obtain decoding voltage and the frequency of acquiescence.
4. method according to claim 1 and 2 is characterized in that, the step of the current decoding voltage of described acquisition and frequency also comprises:
Obtain attribute and the default decoding parametric of source code flow, the attribute of described source code flow comprises code stream form, code check and image resolution ratio, and described default decoding parametric comprises the export target frame per second and reserves and separate code frequency;
According to the attribute of described source code flow and default decoding parametric, current decoding voltage and frequency are set.
5. method according to claim 1 and 2 is characterized in that, the step of the unit interval of the current decoding of described statistics comprises:
The time of single I frame is the unit interval of current decoding in the statistical decoder source code flow;
Or,
In the statistical decoder source code flow single I frame and this I frame to the time of the P frame between the next I frame be the unit interval of current decoding;
Or,
In the statistical decoder source code flow single I frame and this I frame to the time of the P frame between the next I frame, B frame be the unit interval of current decoding.
6. method according to claim 1 and 2 is characterized in that, the step of the unit interval of the current decoding of described statistics also comprises:
The time of default frame number is the unit interval of current decoding in the statistical decoder source code flow.
7. method according to claim 4 is characterized in that, the unit interval of the current decoding of described foundation judges that the step whether current decoding voltage and frequency need to adjust comprises:
Judge the time threshold whether unit interval of described current decoding equals to preset;
If judge that then current decoding voltage and frequency need to adjust;
If not, judge that then current decoding voltage and frequency do not need to adjust.
8. method according to claim 7 is characterized in that, described default time threshold generates according to the export target frame per second.
9. method according to claim 1 is characterized in that, the step of the current decoding voltage of described adjustment and frequency comprises:
In unit interval of described current decoding during less than default time threshold, reduce current decoding voltage and frequency;
And/or,
In unit interval of described current decoding during greater than default time threshold, increase current decoding voltage and frequency.
10. the device of a video decode is characterized in that, comprising:
Electric voltage frequency obtains module, is used for obtaining current decoding voltage and frequency;
The unit interval statistical module is for the unit interval of adding up current decoding;
Judge module is used for judging according to unit interval and the default time threshold of described current decoding whether current decoding voltage and frequency need to adjust; If then call the electric voltage frequency adjusting module;
The electric voltage frequency adjusting module is used for adjusting described current decoding voltage and frequency;
The first decoder module is used for according to decoding voltage and frequency after adjusting source code flow being decoded.
CN201210595067.5A 2012-12-31 2012-12-31 A kind of method of video decode and device Active CN103051899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210595067.5A CN103051899B (en) 2012-12-31 2012-12-31 A kind of method of video decode and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210595067.5A CN103051899B (en) 2012-12-31 2012-12-31 A kind of method of video decode and device

Publications (2)

Publication Number Publication Date
CN103051899A true CN103051899A (en) 2013-04-17
CN103051899B CN103051899B (en) 2015-12-02

Family

ID=48064384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210595067.5A Active CN103051899B (en) 2012-12-31 2012-12-31 A kind of method of video decode and device

Country Status (1)

Country Link
CN (1) CN103051899B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611316A (en) * 2014-11-21 2016-05-25 华为终端(东莞)有限公司 Method, device and system for adjusting frame rate
CN107426200A (en) * 2017-07-13 2017-12-01 广州市百果园网络科技有限公司 A kind of multimedia data processing method and device
CN109379624A (en) * 2018-11-27 2019-02-22 Oppo广东移动通信有限公司 Method for processing video frequency, device, electronic equipment and storage medium
CN113115039A (en) * 2021-04-13 2021-07-13 展讯通信(上海)有限公司 Working frequency determination method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1774929A (en) * 2003-04-15 2006-05-17 有限会社金泽大学Tlo Moving picture encoding or decoding processing system and moving picture encoding or decoding processing method
CN101115198A (en) * 2006-07-26 2008-01-30 财团法人工业技术研究院 Video decoder power monitoring method and apparatus for multi-core platform
CN101137064A (en) * 2006-08-29 2008-03-05 辉达公司 Method and system for dynamic frequency adjustment during video decoding
US20080055488A1 (en) * 2006-08-31 2008-03-06 Adil Jagmag Video channel changing
CN101287122A (en) * 2008-05-23 2008-10-15 清华大学 Video decoding method with active buffer management and complexity control function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1774929A (en) * 2003-04-15 2006-05-17 有限会社金泽大学Tlo Moving picture encoding or decoding processing system and moving picture encoding or decoding processing method
CN101115198A (en) * 2006-07-26 2008-01-30 财团法人工业技术研究院 Video decoder power monitoring method and apparatus for multi-core platform
CN101137064A (en) * 2006-08-29 2008-03-05 辉达公司 Method and system for dynamic frequency adjustment during video decoding
US20080055488A1 (en) * 2006-08-31 2008-03-06 Adil Jagmag Video channel changing
CN101287122A (en) * 2008-05-23 2008-10-15 清华大学 Video decoding method with active buffer management and complexity control function

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611316A (en) * 2014-11-21 2016-05-25 华为终端(东莞)有限公司 Method, device and system for adjusting frame rate
CN105611316B (en) * 2014-11-21 2019-05-03 华为终端(东莞)有限公司 A kind of method, apparatus and system adjusting frame per second
CN107426200A (en) * 2017-07-13 2017-12-01 广州市百果园网络科技有限公司 A kind of multimedia data processing method and device
CN109379624A (en) * 2018-11-27 2019-02-22 Oppo广东移动通信有限公司 Method for processing video frequency, device, electronic equipment and storage medium
CN113115039A (en) * 2021-04-13 2021-07-13 展讯通信(上海)有限公司 Working frequency determination method and device and electronic equipment
CN113115039B (en) * 2021-04-13 2022-12-02 展讯通信(上海)有限公司 Working frequency determination method and device and electronic equipment

Also Published As

Publication number Publication date
CN103051899B (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN112184856B (en) Multimedia processing device supporting multi-layer special effect and animation mixing
CN103310820B (en) A kind of method that multimedia player is optimized
US20100128777A1 (en) Optimal Power Usage in Encoding Data Streams
CN112437345B (en) Video double-speed playing method and device, electronic equipment and storage medium
US10509588B2 (en) System and method for controlling memory frequency using feed-forward compression statistics
CN103051899B (en) A kind of method of video decode and device
EP3595324A1 (en) Method and device for adjusting video playback speed
CN104782121A (en) Multiple region video conference encoding
CN103399802A (en) Method and device for preloading of picture
CN103517131A (en) Method for playing segmental videos in gapless mode in television set and television set
US20230034764A1 (en) Video stream processing method and apparatus, and electronic device and computer-readable medium
US20180131941A1 (en) Adaptive batch encoding for slow motion video recording
CN103491379A (en) Method and device for improving intelligent analysis performance
CN105187845A (en) Video data decoding device and method
CN106856571B (en) Transcoding method and device
CN113079406A (en) Video processing method and device
Herglotz et al. Power modeling for video streaming applications on mobile devices
CN112802168A (en) Animation generation method and device and television terminal
CN104091608A (en) Video editing method and device based on IOS equipment
CN116204308A (en) Dynamic adjusting method and device for audio and video computing power and electronic equipment
CN103731672A (en) Audio and video decoding method and smart television
CN103841451A (en) Multimedia playing method, device and terminal
CN107229516B (en) Data processing method and device
Edstrom et al. Content-adaptive memory for viewer-aware energy-quality scalable mobile video systems
CN109246433B (en) Video encoding method and device, decoding method and device and video transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant