CN106101701A - Based on interframe encoding mode system of selection H.264 and device - Google Patents

Based on interframe encoding mode system of selection H.264 and device Download PDF

Info

Publication number
CN106101701A
CN106101701A CN201610642532.4A CN201610642532A CN106101701A CN 106101701 A CN106101701 A CN 106101701A CN 201610642532 A CN201610642532 A CN 201610642532A CN 106101701 A CN106101701 A CN 106101701A
Authority
CN
China
Prior art keywords
macroblock
sub
value
cost value
cost
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
CN201610642532.4A
Other languages
Chinese (zh)
Other versions
CN106101701B (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.)
Alibaba China Co Ltd
Original Assignee
Chuanxian Network Technology Shanghai 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 Chuanxian Network Technology Shanghai Co Ltd filed Critical Chuanxian Network Technology Shanghai Co Ltd
Priority to CN201610642532.4A priority Critical patent/CN106101701B/en
Publication of CN106101701A publication Critical patent/CN106101701A/en
Application granted granted Critical
Publication of CN106101701B publication Critical patent/CN106101701B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/109Selection of coding mode or of prediction mode among a plurality of temporal predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/147Data rate or code amount at the encoder output according to rate distortion criteria

Abstract

The present invention relates to a kind of based on interframe encoding mode system of selection H.264 and device.Described method includes: current macro set and before set of macroblocks in respective threshold less than or equal to current macro set of the minimum cost value of each macro block in the case of, select to be worth corresponding macro block as current interframe encoding mode with this minimum cost;It is combined into last set of macroblocks at current macro collection, and in the case of this minimum cost value is more than the respective threshold of current macro set, if current sub-macroblock set is not last sub-macroblock set, then current sub-macroblock set and before sub-macroblock set in each sub-macroblock minimum cost value less than or equal to current sub-macroblock set respective threshold in the case of, select the sub-macroblock corresponding with this minimum cost value as current interframe encoding mode, if current sub-macroblock set is last sub-macroblock set, then select the sub-macroblock corresponding with this minimum cost value as current interframe encoding mode.

Description

Based on interframe encoding mode system of selection H.264 and device
Technical field
The present invention relates to digital video technology field, particularly relate to a kind of based on interframe encoding mode selecting party H.264 Method and device.
Background technology
H.264 it is to be combined group by ITU-T Video Coding Experts group (VCEG) and ISO/IEC dynamic image expert group (MPEG) The high compression digital video coding-coding device standard that the joint video team (JVT, Joint Video Team) become proposes.H.264 It is that ITU-T is with H.26x one of series standard as name nominating.It has significant effect in terms of video compress, with before Other compression method is compared, and it can save 50% bit rate in the case of equivalent video quality.Changing of its compression performance Enter mainly in variable-sized block 1/4 pixel motion compensation, multiple reference frame selection, advanced intra prediction mode, the side of going The characteristics such as block filter effect and adaptive entropy coding.H.264 provide in the macro block of 16x16 pixel and 16x8,8x16 with And the block of 8x8 divides, each 8x8 block (sub-macroblock) can be divided into 8x4,4x8 and 4x4, is used as motion when interframe encode and mends Repay.
H.264, in Video coding, when interframe encode, the model selection to estimation and macro block and sub-macroblock is generally adopted Encode with adaptive entropy, but this can cause the computational complexity of Video coding the highest, adds the scramble time of video, reduce Video coding efficiency.
Summary of the invention
Technical problem
In view of this, the technical problem to be solved in the present invention is how to reduce the computational complexity of H.264 Video coding, carries High video coding efficiency.
Solution
On the one hand, it is proposed that a kind of based on interframe encoding mode system of selection H.264, it is characterised in that described method Including: carry out following operation for each set of macroblocks that present frame is corresponding successively, including: calculate in current macro set is each grand The cost value of the cost function of block;Take each macro block in the set of macroblocks before current macro set and this current set of macroblocks Above-mentioned cost value in minimum cost value, in described minimum cost value less than or equal to the respective threshold of current macro set In the case of, select the macro block corresponding with this minimum cost value as current interframe encoding mode;It is combined into institute at current macro collection State last set of macroblocks in each set of macroblocks, and described minimum cost value is more than the respective threshold of current macro set In the case of, each sub-macroblock set corresponding for present frame carries out following operation, including: calculate in current sub-macroblock set is each The cost value of the cost function of sub-macroblock;Take the sub-macroblock set before current sub-macroblock set and this current sub-macroblock set In each sub-macroblock above-mentioned cost value in minimum cost value, if current sub-macroblock set is not last sub-macroblock collection Close, then, be less than or equal to the respective threshold of current sub-macroblock set in described minimum cost value in the case of, select and this minimum The corresponding sub-macroblock of cost value is as current interframe encoding mode, if current sub-macroblock set is last sub-macroblock collection Close, then select the sub-macroblock corresponding with this minimum cost value as current interframe encoding mode.
On the other hand, it is proposed that a kind of based on interframe encoding mode selection device H.264, it is characterised in that described dress Put and include: set of macroblocks processing component, for carrying out following operation for each set of macroblocks that present frame is corresponding successively, including: The cost value of the cost function of each macro block in calculating current macro set;Take current macro set and this current set of macroblocks Minimum cost value in the above-mentioned cost value of each macro block in set of macroblocks before, is less than or equal in described minimum cost value In the case of the respective threshold of current macro set, select the macro block corresponding with this minimum cost value as current interframe encode Pattern;Sub-macroblock process of aggregation parts, for last the macro block collection in current macro collection is combined into described each set of macroblocks Close, and described minimum cost value more than current macro set respective threshold in the case of, each son corresponding for present frame is grand Set of blocks carries out following operation, including: calculate the cost value of the cost function of each sub-macroblock in current sub-macroblock set;Take and work as In the above-mentioned cost value of each sub-macroblock in sub-macroblock set before front sub-macroblock set and this current sub-macroblock set Minimum cost value, if current sub-macroblock set is not last sub-macroblock set, then described minimum cost value less than or In the case of respective threshold equal to current sub-macroblock set, select the sub-macroblock corresponding with this minimum cost value as currently Interframe encoding mode, if current sub-macroblock set is last sub-macroblock set, then selects relative with this minimum cost value The sub-macroblock answered is as current interframe encoding mode.
Beneficial effect
By calculating the cost value of the function of various macro blocks and sub-macroblock in frame to be encoded, respectively progressively by partial macroblock Or the minimum cost value of parton macro block compares from different threshold values, thus select current from various macro blocks and sub-macroblock Interframe encoding mode, interframe encoding mode system of selection and device according to embodiments of the present invention just can use less computing Can select current interframe encoding mode, decrease video encoding time, improve code efficiency.
According to below with reference to the accompanying drawings detailed description of illustrative embodiments, the further feature of the present invention and aspect being become Clear.
Accompanying drawing explanation
The accompanying drawing of the part comprising in the description and constituting description together illustrates the present invention's with description Exemplary embodiment, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 illustrates based on interframe encoding mode system of selection H.264 according to an embodiment of the invention flow chart.
Fig. 2 illustrate an example according to an embodiment of the invention based on interframe encoding mode system of selection H.264 Flow chart.
Fig. 3 illustrates selecting based on interframe encoding mode H.264 for one example of B frame according to an embodiment of the invention The flow chart of selection method.
Fig. 4 illustrates selecting based on interframe encoding mode H.264 for one example of P frame according to an embodiment of the invention The flow chart of selection method.
Fig. 5 illustrate an example according to an embodiment of the invention based on interframe encoding mode system of selection H.264 Flow chart.
Fig. 6 illustrates the structure chart selecting device according to an embodiment of the invention based on interframe encoding mode H.264.
Fig. 7 shows that a kind of of an alternative embodiment of the invention selects equipment based on interframe encoding mode H.264 Structured flowchart.
Detailed description of the invention
Various exemplary embodiments, feature and the aspect of the present invention is described in detail below with reference to accompanying drawing.In accompanying drawing identical Reference represent the same or analogous element of function.Although the various aspects of embodiment shown in the drawings, but remove Non-specifically is pointed out, it is not necessary to accompanying drawing drawn to scale.
The most special word " exemplary " means " as example, embodiment or illustrative ".Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
It addition, in order to better illustrate the present invention, detailed description of the invention below gives numerous details. It will be appreciated by those skilled in the art that do not have some detail, the present invention equally implements.In some instances, for Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 1 illustrates based on interframe encoding mode system of selection H.264 according to an embodiment of the invention flow chart.As Shown in Fig. 1, this interframe encoding mode system of selection specifically includes that
Following operation is carried out successively for each set of macroblocks that present frame is corresponding, including:
Step 101, the cost value of the cost function of each macro block in calculating current macro set;
Step 102, each macro block in set of macroblocks before taking current macro set and this current set of macroblocks upper State the minimum cost value in cost value;
Step 103, in the case of the described minimum cost value respective threshold less than or equal to current macro set, selects The macro block corresponding with this minimum cost value is as current interframe encoding mode;
Last set of macroblocks in current macro collection is combined into described each set of macroblocks, and described minimum cost value is big In the case of the respective threshold of current macro set, each sub-macroblock set corresponding for present frame carries out following operation, bag Include:
Step 104, calculates the cost value of the cost function of each sub-macroblock in current sub-macroblock set;
Step 105, takes each son in the sub-macroblock set before current sub-macroblock set and this current sub-macroblock set Minimum cost value in the above-mentioned cost value of macro block;
Step 106 is if current sub-macroblock set is not last sub-macroblock set, then little in described minimum cost value In or respective threshold equal to current sub-macroblock set in the case of, select to be worth corresponding sub-macroblock conduct with this minimum cost Current interframe encoding mode;
Step 107, if current sub-macroblock set is last sub-macroblock set, then selects and this minimum cost value phase Corresponding sub-macroblock is as current interframe encoding mode.
The present embodiment, by calculating the cost value of the function of various macro blocks and sub-macroblock in frame to be encoded, the most progressively will The minimum cost value of partial macroblock or parton macro block compares from different threshold values, thus selects from various macro blocks and sub-macroblock Selecting out current interframe encoding mode, interframe encoding mode system of selection and device according to embodiments of the present invention can use less Computing just can select current interframe encoding mode, decrease video encoding time, improve code efficiency.
Fig. 2 illustrates the stream based on interframe encoding mode system of selection H.264 of example according to an embodiment of the invention Cheng Tu.Wherein, in one example, carry out following operation for each set of macroblocks that present frame is corresponding successively, may also include that In the case of described minimum cost value (i.e. minimum cost value in step 102) is more than the respective threshold of current macro set, as Last set of macroblocks during really current macro set is not described each set of macroblocks, then using next set of macroblocks as currently Set of macroblocks, and repeat to calculate the operation of the cost value of the cost function of each macro block in current macro set.At another In individual example, carry out following operation for each sub-macroblock set that present frame is corresponding successively, may also include that if current sub-macroblock Set is not last sub-macroblock set, then in described minimum cost value (i.e. minimum cost value in step 105) more than working as In the case of the respective threshold of front sub-macroblock set, using next son set of macroblocks as current sub-macroblock set, and repeat Calculate the operation of the cost value of the cost function of each sub-macroblock in current sub-macroblock set.
It will be understood by those skilled in the art that a kind of example of mode of this cycle criterion using two examples above The implementation of property, the present embodiment can also realize by other means, such as can be for all set of macroblocks/sub-macroblock collection Close, first calculate the cost value of the cost function of each macro block/sub-macroblock, then carry out follow-up comparison and judgement.
It should be appreciated by those skilled in the art that and in H.264 agreement, define three kinds of frames, respectively I frame, B frame and P at present Frame.I frame is a full frame compressed coded frames, and full frame original image information can be carried out JPEG compression coding and transmission by it, decoding Time only just can rebuild complete image by the data of I frame.P frame can find out P frame " certain point " with I frame as reference frame in I frame Predictive value and motion vector, desirable prediction difference transmits together with motion vector, can be according to motion vector from I frame in decoding end Find out the predictive value of P frame " certain point " and with difference value to obtain P frame " certain point " sample value, thus available complete P frame.B frame With I or P frame above and P frame below as reference frame, can find out the predictive value of B frame " certain point " and two motion vectors, And desirable prediction difference and motion vector transmission, decoding end can find out the predictive value in two reference frames also according to motion vector Sue for peace with difference, obtain B frame " certain point " sample value, thus can get complete B frame.Owing to I frame does not exist inter mode decision, institute Can be just for B frame and P frame with the interframe encoding mode system of selection in the present embodiment.Wherein, B frame interframe encoding mode can comprise Have following macro block and sub-macroblock type: Direct 16 × 16 macro block (the most direct 16 × 16 macro blocks), 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks, Direct 8 × 8 sub-macroblock (the most direct 8 × 8 sub-macroblock), 8 × 8 sub-macroblock, 8 × 4 sons are grand Block, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock;P frame interframe encoding mode can include following macro block and sub-macroblock type: 16 × 16 is grand Block, 16 × 8 macro blocks, 8 × 16 macro blocks, 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock.
For example, each macro block corresponding for present frame and each sub-macroblock can be divided into multiple set, as a example by B frame, Macro block corresponding for B frame can be divided into the first set of macroblocks of comprising Direct 16 × 16 macro block and comprise 16 × 16 macro blocks, 16 × 8 macro blocks, the second set of macroblocks of 8 × 16 macro blocks, sub-macroblock corresponding for B frame is divided into comprise Direct 8 × 8 son grand First sub-macroblock set of block, the second sub-macroblock set comprising 8 × 8 sub-macroblock and comprise 8 × 4 sub-macroblock, 4 × 8 son grand Block, the 3rd sub-macroblock set of 4 × 4 sub-macroblock.Correspondingly, the respective threshold of the first set of macroblocks is first threshold Th1, second The respective threshold of set of macroblocks is Second Threshold Th2, and the respective threshold of the first sub-macroblock set is the 3rd threshold value Th3, the second son The respective threshold of set of macroblocks is the 4th threshold value Th4.
Again as a example by P frame, owing to P frame does not has Direct 16 × 16 macro block and Direct 8 × 8 sub-macroblock, therefore for P Frame, set of macroblocks can include the second set of macroblocks comprising 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks, the second macro block collection The respective threshold closed is Second Threshold Th2;Sub-macroblock set can include the second sub-macroblock set comprising 8 × 8 sub-macroblock, and Comprise the 3rd sub-macroblock set of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock;The respective threshold of the second sub-macroblock set It it is the 4th threshold value Th4.
In the present embodiment, dividing set of macroblocks and sub-macroblock set is to realize " judging step by step ", i.e. current and Set of macroblocks/sub-macroblock set before it is found the most current interframe encoding mode, find less than in the case of, then Find in next set of macroblocks/sub-macroblock set.The dividing mode of set of macroblocks/sub-macroblock set is not limited to above example, Those skilled in the art can divide the most in any way.
In one example, operation time on the estimation order from low to high each set of macroblocks/sub-macroblock can be arranged Set, calculates successively and judges.Such as, for B frame, if selecting Direct 16 × 16 macro block to compile as current interframe Pattern, then estimate that the operation time of cataloged procedure is shorter, therefore can select at first to comprise the first of Direct 16 × 16 macro block Set of macroblocks as current macro set, the like, thus reduce operation time, improve code efficiency.P frame also may be used Process based on similar mode.With the dividing mode of above-mentioned set of macroblocks and sub-macroblock set as an example, Fig. 3 shows The flow chart of an example for B frame according to embodiments of the present invention, as it is shown on figure 3, this example includes:
Following operation is carried out successively for each set of macroblocks that present frame is corresponding, including:
Step 301, calculates the cost value of the cost function of Direct 16 × 16 macro block, if Direct 16 × 16 macro block The cost value of cost function less than or equal to first threshold Th1, then select Direct 16 × 16 macro block to compile as current interframe Pattern (first selects the first set of macroblocks as current macro set, performs step 101-103, due to the first macro block collection There is no set of macroblocks before conjunction, therefore the cost value of the cost function of Direct 16 × 16 macro block be exactly " current macro set with And the minimum cost value in the cost value of the cost function of each macro block in the set of macroblocks before this current set of macroblocks ");
Step 302, if the cost value of the cost function of Direct 16 × 16 macro block is more than first threshold Th1, then distinguishes Calculate the cost value of cost function of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks, if Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to the second threshold Value Th2, then select and Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, generation of cost function of 8 × 16 macro blocks Macro block corresponding to minimum cost value in value (i.e. takes the second set of macroblocks as current macro as current interframe encoding mode Set, repeats step 101~103);
If the cost of the cost function of Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks More than Second Threshold Th2, (i.e. current macro set (the second set of macroblocks) is in each set of macroblocks to minimum cost value in value Last set of macroblocks, and described minimum cost value is more than the respective threshold of current macro set, i.e. Second Threshold Th2), then Following operation is carried out successively for each sub-macroblock set that present frame is corresponding, including:
Step 303, calculates the cost value of the cost function of Direct 8 × 8 sub-macroblock, if Direct 8 × 8 sub-macroblock The cost value of cost function less than or equal to the 3rd threshold value Th3, then select Direct 8 × 8 sub-macroblock to compile as current interframe Pattern (first selects the first sub-macroblock set as current sub-macroblock set, performs step 104-107, due to the first son Not having sub-macroblock set before set of macroblocks, therefore the cost value of the cost function of Direct8 × 8 sub-macroblock is exactly " currently son In the cost value of the cost function of each sub-macroblock in sub-macroblock set before set of macroblocks and this current sub-macroblock set Minimum cost value ");
Step 304, if the cost value of the cost function of Direct 8 × 8 sub-macroblock is more than the 3rd threshold value Th3, then calculates The cost value of the cost function of 8 × 8 sub-macroblock, if the cost of the cost function of Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock Minimum cost value in value is less than or equal to the 4th threshold value Th4, then select and Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock Sub-macroblock corresponding to minimum cost value in the cost value of cost function (i.e. selects the second son grand as current interframe encoding mode Set of blocks is as current sub-macroblock set, repeated execution of steps 104-107);
Step 305, if the minimum generation in the cost value of the cost function of Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock It is worth more than the 4th threshold value Th4, calculates the generation of the cost function of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock the most respectively It is worth, selects and Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, the generation of 4 × 4 sub-macroblock Sub-macroblock corresponding to minimum cost value in the cost value of valency function (i.e. selects the 3rd sub-macroblock as current interframe encoding mode Set is as current sub-macroblock set, repeated execution of steps 104-107, and wherein the 3rd sub-macroblock set is last sub-macroblock Set).
Detailed description of the invention for P frame is similar with B frame, simply do not carry out for Direct 16 × 16 macro block and The calculating of the cost value of Direct 8 × 8 sub-macroblock and judgement, such as, do not have above-mentioned first set of macroblocks and the first sub-macroblock collection Close, just for the second set of macroblocks and second, third sub-macroblock set perform the step 302 in Fig. 3,304,305, one is concrete Example is as shown in Figure 4.
Fig. 4 shows the flow chart of an example for P frame according to embodiments of the present invention, as shown in Figure 4, this example Including:
Following operation is carried out successively for each set of macroblocks that present frame is corresponding, including:
Step 401, calculates the cost value of the cost function of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks respectively, if 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to second Threshold value Th2, then select with 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost The macro block of value correspondence is as current interframe encoding mode;
Wherein, if 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost Value, more than Second Threshold Th2, carries out following operation for each sub-macroblock set that present frame is corresponding the most successively, including:
Step 402, calculates the cost value of the cost function of 8 × 8 sub-macroblock, if the generation of the cost function of 8 × 8 sub-macroblock It is worth less than or equal to the 4th threshold value Th4, then selects 8 × 8 sub-macroblock as current interframe encoding mode;
Step 403, if the cost value of the cost function of 8 × 8 sub-macroblock more than the 4th threshold value Th4, calculate 8 the most respectively × 4 sub-macroblock, 4 × 8 sub-macroblock, the cost value of cost function of 4 × 4 sub-macroblock, select with 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in sub-macroblock corresponding to minimum cost value as current interframe Coding mode.
It will be understood by those skilled in the art that " cost function " is the H.264 concept in standard, it can be various concrete shapes The cost function of formula, those skilled in the art can select according to actual needs.In one example, cost function Jmotion(RD) can be defined as follows,
Jmotion(RD)=D+ λmotion×R (1)
D is the absolute value sum of original image pixels value and the difference rebuilding image pixel value, λmotionFor with quantization parameter QP Relevant value, R is the R value that assessment obtains.
Cost function Jmotion(RD) can use cost function well known by persons skilled in the art, its cost value is (i.e. Jmotion(RD) value) can be calculated by mode well known by persons skilled in the art.
In one example, λmotionEquation below is can use to represent with the relation of quantization parameter QP:
λmotion=0.85 × 2(QP-12)/3
Quantization parameter during wherein QP is H.264 standard known to those skilled in the art.
D is also referred to as " absolute error and " in h .264, and expression is that original image is encoded and distortion after restoring Degree.
Fig. 5 illustrate an example according to an embodiment of the invention based on interframe encoding mode system of selection H.264 Flow chart.In this example, can first judge that frame to be encoded is B frame or P frame (S501), if frame to be encoded is P frame, then may be used Calculate the cost function J of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks respectivelymotion(RD) cost value J (16 × 16), J (16 × 8), J (8 × 16) (S504), if frame to be encoded is B frame, then can calculate the cost function of Direct 16 × 16 macro block Jmotion(RD) cost value J (Direct 16 × 16) (S502), if the cost function J of Direct 16 × 16 macro blockmotion (RD) cost value is less than or equal to first threshold Th1 (S503, no), then may select Direct 16 × 16 macro block as currently Interframe encoding mode (S515);If the cost function J of Direct 16 × 16 macro blockmotion(RD) cost value is more than the first threshold Value Th1 (S503, yes), then can calculate the cost function J of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks respectivelymotion(RD) Cost value (S504), may replace value Jmin be Direct 16 × 16 macro block (just for B frame), 16 × 16 macro blocks, 16 × 8 Macro block, the cost function J of 8 × 16 macro blocksmotion(RD) the minimum cost value (S505) in cost value, if this cost value Jmin is less than or equal to Second Threshold Th2 (S506, no), then optional with Direct 16 × 16 macro block (just for B frame), 16 × 16 macro blocks, 16 × 8 macro blocks, the cost function J of 8 × 16 macro blocksmotion(RD) corresponding grand of minimum cost value in cost value Block is as current interframe encoding mode (S515);If Direct 16 × 16 macro block (just for B frame), 16 × 16 macro blocks, 16 × 8 macro blocks, the cost function J of 8 × 16 macro blocksmotion(RD) the minimum cost value in cost value more than Second Threshold Th2 (S506, It is), then can judge that frame to be encoded is B frame or P frame (S507) again, if frame to be encoded is P frame, then calculate 8 × 8 sons grand The cost function J of blockmotion(RD) cost value J (8 × 8) (S510), if frame to be encoded is B frame, then can calculate Direct8 The J of × 8 sub-macroblockmotion(RD) cost value J (Direct 8 × 8) (S508), if the cost of Direct 8 × 8 sub-macroblock Function Jmotion(RD) cost value is less than or equal to the 3rd threshold value Th3 (S509, no), then may select Direct 8 × 8 sub-macroblock As current interframe encoding mode (S515);If the cost function J of Direct 8 × 8 sub-macroblockmotion(RD) cost value is big In the 3rd threshold value Th3 (S509, yes), then can calculate the cost function J of 8 × 8 sub-macroblockmotion(RD) cost value J (8 × 8) (S510), may replace value Jmin is Direct 8 × 8 sub-macroblock (just for B frame), the J of 8 × 8 sub-macroblockmotion(RD) generation Minimum cost value (S511) in value, if this cost value Jmin is less than or equal to the 4th threshold value Th4 (S512, no), then may be used Select and Direct 8 × 8 sub-macroblock (just for B frame), the cost function J of 8 × 8 sub-macroblockmotion(RD) in cost value Sub-macroblock corresponding to minimum cost value is as current interframe encoding mode (S515);If Direct 8 × 8 sub-macroblock (just for B frame), the cost function J of 8 × 8 sub-macroblockmotion(RD) the minimum cost value in cost value more than the 4th threshold value Th4 (S512, It is), then can calculate the cost function J of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock respectivelymotion(RD) cost value J (8 × 4), J (4 × 8), J (8 × 8) (S513), may replace value Jmin be Direct 8 × 8 sub-macroblock (just for B frame), 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, the cost function J of 4 × 4 sub-macroblockmotion(RD) the minimum generation in cost value It is worth (S514), selects and Direct 8 × 8 sub-macroblock (just for B frame), 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub grand Block, the cost function J of 4 × 4 sub-macroblockmotion(RD) sub-macroblock corresponding to minimum cost value in cost value is as present frame Between coding mode (S515).
Above example can reduce motion estimation time, and then reduces the scramble time, can in transcoding process high efficiency profit With server resource, improve the resource optimization of system, can realize H.264 encoding, to being in configuration system cross-platform, low simultaneously System configuration requirement low, can support the most multi-platform under hardware development.
First to fourth threshold value can be configured according to the experience of those skilled in the art.Given below according to the present invention First to fourth threshold value set-up mode of example.
In one example, described first threshold Th1 can be:
Th1=EMB1σMB 2 (2)
Described Second Threshold Th2 can be:
Th2=EMB2σMB 2 (3)
Wherein,
nMBIt is 16 × 16 macro blocks, 16 × 8 macro blocks, the number of times of 8 × 16 macro blocks selected (as current interframe encoding mode) (the e.g. frame for the frame of present encoding or the frame of present encoding and neighbouring predetermined quantity thereof of " number of times " here is united The result of meter), cost value JMBI () is 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro block selected number of times when being i, be chosen 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value, α1、α2According to computing Time and video distortion degree determine.
First threshold Th1 and Second Threshold Th2 can be the threshold values for macro block, and wherein, first threshold Th1 can be pin Threshold value to B frame, Second Threshold Th2 can be for B frame and the threshold value of P frame.In this example, for effective balancing algorithms Complexity and image fault, have employed a kind of adaptive threshold value adding up cost renewal and choose the method for determination, such as, choosing B After some macro block in frame or P frame is as current interframe encoding mode in, this macro block can be included the Statistics category that threshold value updates Within, carry out threshold value renewal.Such as, if being selected as the cost function J of the macro block of current interframe encoding modemotion(RD) Cost value than minimum cost value J of all macro blocks within threshold statistical category before thisMBI () is the least, then this macro block is included into After within the Statistics category that threshold value updates, old minimum cost value J can be replacedMBI (), becomes new minimum cost value JMB(i+ 1), thus realize the self adaptation statistical updating of threshold value.
Can be based on the different requirements to operation time and video distortion degree, to parameter alpha1、α2Enter according to actual statistics experience Row suitably adjusts.For example, if requiring that operation time is shorter, or require that video distortion degree can be higher, then can fit When reducing α1、α2, to improve first, second threshold value so that judge process is restrained as early as possible, select Dirct16 × 16 grade to exist the most as far as possible Judge that pattern forward in flow process, as current interframe encoding mode, with the more a height of cost of video distortion degree, shortens operation time, Vice versa.
In one example, described 3rd threshold value Th3 is:
Th3=EsubMB3σsubMB 2 (5)
Described 4th threshold value Th4 is:
Th4=EsubMB4σsubMB 2 (6)
Wherein,
nsubMBBe 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock be chosen (as current interframe Coding mode) number of times (" number of times " here is e.g. for the frame of present encoding or the frame of present encoding and neighbouring predetermined The frame of quantity carries out the result added up), cost value JsubMB(i) be 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 When the selected number of times of sub-macroblock is i, selected 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock Minimum cost value in the cost value of cost function, α3、α4Determine according to operation time and video distortion degree.
3rd threshold value Th3 and the 4th threshold value Th4 can be the threshold values for sub-macroblock, and wherein the 3rd threshold value Th3 can be For the threshold value of B frame, the 4th threshold value Th4 can be for B frame and the threshold value of P frame.In this example, in order to effectively balance fortune Calculating complexity and image fault, have employed a kind of adaptive threshold value adding up cost renewal and choose the method for determination, this threshold value is selected The principle taking the method for determination is similar to a upper example, for brevity, description is not repeated herein.
Can be based on the different requirements to operation time and video distortion degree, to parameter alpha3、α4According to actual statistics experience Suitably adjust.For example, if requiring that operation time is shorter, or require that video distortion degree can be higher, the most permissible Suitably reduce α3、α4, to improve the three, the 4th threshold values so that judge process is restrained as early as possible, select Dirct8 × 8 grade to exist the most as far as possible Judge that pattern forward in flow process, as current interframe encoding mode, with the more a height of cost of video distortion degree, shortens operation time, Vice versa.
In one example, as it is shown in figure 5, described interframe encoding mode system of selection may also include that determines described working as After front interframe encoding mode, renewable described first threshold Th1, described Second Threshold Th2, described 3rd threshold value Th3 and described 4th threshold value Th4 (S516).As described in above example, for effective balancing algorithms complexity and image fault, have employed one The adaptive threshold value planting statistics cost renewal chooses the method for determination, when selecting some macro block or sub-macroblock as present frame Between after coding mode, within this macro block or sub-macroblock can be included in the Statistics category that threshold value updates, carry out threshold value renewal.
Embodiment 2
Fig. 6 illustrates the structure chart selecting device according to an embodiment of the invention based on interframe encoding mode H.264.Should The device 600 of embodiment can be used for realizing the operation of each step in method in embodiment 1, the most various concrete examples and useful Effect can be found in embodiment 1, and description is not repeated herein for simplicity's sake.
As shown in Figure 6, the device 600 of this embodiment specifically includes that set of macroblocks processing component 601, for successively for Each set of macroblocks that present frame is corresponding carries out following operation, including: the cost function of each macro block in calculating current macro set Cost value;Take the above-mentioned cost value of each macro block in the set of macroblocks before current macro set and this current set of macroblocks In minimum cost value, described minimum cost value less than or equal to current macro set respective threshold in the case of, select The macro block corresponding with this minimum cost value is as current interframe encoding mode;Sub-macroblock process of aggregation parts 602, for working as Front set of macroblocks is last set of macroblocks in described each set of macroblocks, and described minimum cost value is more than current macro collection In the case of the respective threshold closed, each sub-macroblock set corresponding for present frame carries out following operation, including: calculate current son The cost value of the cost function of each sub-macroblock in set of macroblocks;Take current sub-macroblock set and this current sub-macroblock set it Minimum cost value in the above-mentioned cost value of the front each sub-macroblock in sub-macroblock set, if current sub-macroblock set is not Later sub-macroblock set, then be less than or equal to the situation of the respective threshold of current sub-macroblock set in described minimum cost value Under, select with this minimum cost corresponding sub-macroblock of value as current interframe encoding mode, if currently sub-macroblock set is Last sub-macroblock set, then select the sub-macroblock corresponding with this minimum cost value as current interframe encoding mode.
In one example, described set of macroblocks processing component can be additionally used in: in described minimum cost value more than the grandest In the case of the respective threshold of set of blocks, if current macro set is not last the macro block collection in described each set of macroblocks Close, using next set of macroblocks as current macro set, and repeat to calculate the cost of each macro block in current macro set The operation of the cost value of function.
In one example, described sub-macroblock process of aggregation parts can be additionally used in: if current sub-macroblock set is not Later sub-macroblock set, then be more than the respective threshold of current sub-macroblock set in described minimum cost value in the case of, under inciting somebody to action One sub-macroblock set is as current sub-macroblock set, and repeats to calculate the cost of each sub-macroblock in current sub-macroblock set The operation of the cost value of function.
In one example, described present frame is B frame, and described set of macroblocks can include comprising Direct 16 × 16 macro block The first set of macroblocks and comprise the second set of macroblocks of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks, the first set of macroblocks Respective threshold be first threshold Th1, the respective threshold of the second set of macroblocks is Second Threshold Th2, and described sub-macroblock set can Including comprising the first sub-macroblock set of Direct 8 × 8 sub-macroblock, comprise the second sub-macroblock set of 8 × 8 sub-macroblock, and Comprise the 3rd sub-macroblock set of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock;The respective threshold of the first sub-macroblock set Being the 3rd threshold value Th3, the respective threshold of the second sub-macroblock set is the 4th threshold value Th4;Wherein, described set of macroblocks processing component It is particularly used in: calculate the cost value of the cost function of Direct 16 × 16 macro block, if the generation of Direct 16 × 16 macro block The cost value of valency function is less than or equal to first threshold Th1, then select Direct 16 × 16 macro block as current interframe encode mould Formula;If the cost value of the cost function of Direct 16 × 16 macro block is more than first threshold Th1, calculate 16 × 16 the most respectively grand Block, 16 × 8 macro blocks, the cost value of cost function of 8 × 16 macro blocks, if Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to Second Threshold Th2, then select With Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum Macro block corresponding to cost value is as current interframe encoding mode;Wherein, if Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value more than Second Threshold Th2, the most described sub-macroblock Process of aggregation parts are particularly used in: calculate the cost value of cost function of Direct 8 × 8 sub-macroblock, if Direct 8 × The cost value of the cost function of 8 sub-macroblock is less than or equal to the 3rd threshold value Th3, then select Direct 8 × 8 sub-macroblock as working as Front interframe encoding mode;If the cost value of the cost function of Direct 8 × 8 sub-macroblock is more than the 3rd threshold value Th3, then calculate 8 The cost value of the cost function of × 8 sub-macroblock, if the cost of the cost function of Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock Minimum cost value in value is less than or equal to the 4th threshold value Th4, then select and Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock Sub-macroblock corresponding to minimum cost value in the cost value of cost function is as current interframe encoding mode;If Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock cost function cost value in minimum cost value more than the 4th threshold value Th4, calculate 8 the most respectively × 4 sub-macroblock, 4 × 8 sub-macroblock, the cost value of cost function of 4 × 4 sub-macroblock, select with Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in minimum cost value corresponding Sub-macroblock as current interframe encoding mode.
In one example, described present frame is P frame, and described set of macroblocks can include comprising 16 × 16 macro blocks, 16 × 8 grand Block, the second set of macroblocks of 8 × 16 macro blocks, the respective threshold of the second set of macroblocks is Second Threshold Th2;Described sub-macroblock set The the second sub-macroblock set comprising 8 × 8 sub-macroblock can be included, and comprise 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock The 3rd sub-macroblock set;The respective threshold of the second sub-macroblock set is the 4th threshold value Th4;Wherein, described set of macroblocks processes Parts are particularly used in: calculate the cost value of the cost function of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks respectively, if 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to second Threshold value Th2, then select with 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost The macro block of value correspondence is as current interframe encoding mode;Wherein, if 16 × 16 macro blocks, 16 × 8 macro blocks, the generation of 8 × 16 macro blocks Minimum cost value in the cost value of valency function is more than Second Threshold Th2, and the most described sub-macroblock process of aggregation parts specifically can use In: calculate the cost value of cost function of 8 × 8 sub-macroblock, if the cost value of the cost function of 8 × 8 sub-macroblock less than or etc. In the 4th threshold value Th4, then select 8 × 8 sub-macroblock as current interframe encoding mode;If the cost function of 8 × 8 sub-macroblock Cost value is more than the 4th threshold value Th4, calculates the cost function of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock the most respectively Cost value, select with 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in Sub-macroblock corresponding to minimum cost value as current interframe encoding mode.
In one example, described first threshold Th1 is:
Th1=EMB1σMB 2
Described Second Threshold Th2 is:
Th2=EMB2σMB 2
Wherein,
nMBIt is 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 selected number of times of macro block, cost value JMBI () is 16 × 16 grand When block, 16 × 8 macro blocks, 8 × 16 selected number of times of macro block are i, selected 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 grand Minimum cost value in the cost value of the cost function of block, α1、α2Determine according to operation time and video distortion degree;
Described 3rd threshold value Th3 is:
Th3=EsubMB3σsubMB 2
Described 4th threshold value Th4 is:
Th4=EsubMB4σsubMB 2
Wherein,
nsubMBIt is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 selected number of times of sub-macroblock, cost value JsubMBI () is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock selected number of times when being i, be chosen 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in minimum cost Value, α3、α4Determine according to operation time and video distortion degree.
In one example, described cost function Jmotion(RD) it is defined as follows,
Jmotion(RD)=D+ λmotion×R
D is the absolute value sum of original image pixels value and the difference rebuilding image pixel value, λmotionFor with quantization parameter QP Relevant value, R is the R value that assessment obtains.
In one example, described device 600 may also include that threshold value updates parts, can be used for determining described current interframe After coding mode, update described first threshold Th1, described Second Threshold Th2, described 3rd threshold value Th3 and described 4th threshold value Th4。
Embodiment 3
Fig. 7 shows that a kind of of an alternative embodiment of the invention selects equipment based on interframe encoding mode H.264 Structured flowchart.Described interframe encoding mode selects equipment 1100 can be to possess the host server of computing capability, individual calculus Machine PC or portable portable computer or terminal etc..The specific embodiment of the invention is to calculating the concrete real of node Now limit.
Described interframe encoding mode selects equipment 1100 to include processor (processor) 1110, communication interface (Communications Interface) 1120, memorizer (memory) 1130 and bus 1140.Wherein, processor 1110, Communication interface 1120 and memorizer 1130 complete mutual communication by bus 1140.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to Enjoy storage etc..
Processor 1110 is used for performing program.Processor 1110 is probably a central processor CPU, or special collection Become circuit ASIC (Application Specific Integrated Circuit), or be configured to implement the present invention One or more integrated circuits of embodiment.
Memorizer 1130 is used for depositing file.Memorizer 1130 may comprise high-speed RAM memorizer, it is also possible to also includes non- Volatile memory (non-volatile memory), for example, at least one disk memory.Memorizer 1130 can also be to deposit Memory array.Memorizer 1130 is also possible to by piecemeal, and described piece can be by certain rule sets synthesis virtual volume.
In a kind of possible embodiment, said procedure can be the program code including computer-managed instruction.This journey Sequence is particularly used in the method realized described in embodiment 1.
Those of ordinary skill in the art are it is to be appreciated that each exemplary cell in embodiment described herein and algorithm Step, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually with hardware also It is that software form realizes, depends on application-specific and the design constraint of technical scheme.Professional and technical personnel can be for Specific application selects different methods to realize described function, but this realization is it is not considered that exceed the model of the present invention Enclose.
If using the form of computer software realize described function and as independent production marketing or use time, then exist To a certain extent it is believed that all or part of (part such as contributed prior art) of technical scheme is Embody in form of a computer software product.This computer software product is generally stored inside the non-volatile of embodied on computer readable In storage medium, including some instructions with so that computer equipment (can be that personal computer, server or network set Standby etc.) perform all or part of step of various embodiments of the present invention method.And aforesaid storage medium include USB flash disk, portable hard drive, Read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic The various medium that can store program code such as dish or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (16)

1. one kind based on interframe encoding mode system of selection H.264, it is characterised in that described method includes:
Following operation is carried out successively for each set of macroblocks that present frame is corresponding, including:
The cost value of the cost function of each macro block in calculating current macro set;
Take in the above-mentioned cost value of each macro block in the set of macroblocks before current macro set and this current set of macroblocks Minimum cost value;
In the case of the described minimum cost value respective threshold less than or equal to current macro set, select and this minimum cost It is worth corresponding macro block as current interframe encoding mode;
Last set of macroblocks in current macro collection is combined into described each set of macroblocks, and described minimum cost value is more than working as In the case of the respective threshold of front set of macroblocks, each sub-macroblock set corresponding for present frame carries out following operation, including:
Calculate the cost value of the cost function of each sub-macroblock in current sub-macroblock set;
Take the above-mentioned generation of each sub-macroblock in the sub-macroblock set before current sub-macroblock set and this current sub-macroblock set Minimum cost value in value;
If current sub-macroblock set is not last sub-macroblock set, then in described minimum cost value less than or equal to current In the case of the respective threshold of sub-macroblock set, select the sub-macroblock corresponding with this minimum cost value as current interframe encode Pattern;
If current sub-macroblock set is last sub-macroblock set, then select the sub-macroblock corresponding with this minimum cost value As current interframe encoding mode.
Interframe encoding mode system of selection the most according to claim 1, it is characterised in that corresponding for present frame successively Each set of macroblocks carries out following operation, also includes:
In the case of the described minimum cost value respective threshold more than current macro set, if current macro set is not institute State last set of macroblocks in each set of macroblocks, then using next set of macroblocks as current macro set, and repeat The operation of the cost value of the cost function of each macro block in calculating current macro set.
Interframe encoding mode system of selection the most according to claim 1, it is characterised in that corresponding for present frame successively Each sub-macroblock set carries out following operation, also includes:
If current sub-macroblock set is not last sub-macroblock set, then in described minimum cost value more than current sub-macroblock In the case of the respective threshold of set, using next son set of macroblocks as current sub-macroblock set, and repeat to calculate currently The operation of the cost value of the cost function of each sub-macroblock in sub-macroblock set.
Interframe encoding mode system of selection the most according to claim 1, it is characterised in that:
Described present frame is B frame, and described set of macroblocks includes the first set of macroblocks comprising Direct 16 × 16 macro block and comprises 16 × 16 macro blocks, 16 × 8 macro blocks, the second set of macroblocks of 8 × 16 macro blocks, the respective threshold of the first set of macroblocks is first threshold Th1, the respective threshold of the second set of macroblocks is Second Threshold Th2;
Described sub-macroblock set includes the first sub-macroblock set comprising Direct 8 × 8 sub-macroblock, comprises 8 × 8 sub-macroblock Second sub-macroblock set, and comprise the 3rd sub-macroblock set of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock;First The respective threshold of sub-macroblock set is the 3rd threshold value Th3, and the respective threshold of the second sub-macroblock set is the 4th threshold value Th4;
Wherein, carry out following operation for each set of macroblocks that present frame is corresponding successively, including:
Calculate the cost value of the cost function of Direct 16 × 16 macro block, if the cost function of Direct 16 × 16 macro block Cost value is less than or equal to first threshold Th1, then select Direct 16 × 16 macro block as current interframe encoding mode;
If the cost value of the cost function of Direct 16 × 16 macro block is more than first threshold Th1, calculate 16 × 16 the most respectively grand Block, 16 × 8 macro blocks, the cost value of cost function of 8 × 16 macro blocks, if Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to Second Threshold Th2, then select With Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum Macro block corresponding to cost value is as current interframe encoding mode;
Wherein, if Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, the cost of cost function of 8 × 16 macro blocks Minimum cost value in value is more than Second Threshold Th2, carries out following behaviour for each sub-macroblock set that present frame is corresponding the most successively Make, including:
Calculate the cost value of the cost function of Direct 8 × 8 sub-macroblock, if the cost function of Direct 8 × 8 sub-macroblock Cost value is less than or equal to the 3rd threshold value Th3, then select Direct 8 × 8 sub-macroblock as current interframe encoding mode;
If the cost value of the cost function of Direct 8 × 8 sub-macroblock is more than the 3rd threshold value Th3, then calculate 8 × 8 sub-macroblock The cost value of cost function, if the minimum generation in the cost value of the cost function of Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock It is worth less than or equal to the 4th threshold value Th4, then selects and Direct 8 × 8 sub-macroblock, the generation of the cost function of 8 × 8 sub-macroblock Sub-macroblock corresponding to minimum cost value in value is as current interframe encoding mode;
If the minimum cost value in the cost value of the cost function of Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock is more than the 4th Threshold value Th4, calculates the cost value of the cost function of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock the most respectively, select with Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, the cost of cost function of 4 × 4 sub-macroblock Sub-macroblock corresponding to minimum cost value in value is as current interframe encoding mode.
Interframe encoding mode system of selection the most according to claim 1, it is characterised in that
Described present frame is P frame, described set of macroblocks include comprising 16 × 16 macro blocks, 16 × 8 macro blocks, the second of 8 × 16 macro blocks Set of macroblocks, the respective threshold of the second set of macroblocks is Second Threshold Th2;Described sub-macroblock set includes comprising 8 × 8 sub-macroblock The second sub-macroblock set, and comprise the 3rd sub-macroblock set of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock;The The respective threshold of two sub-macroblock set is the 4th threshold value Th4;
Wherein, carry out following operation for each set of macroblocks that present frame is corresponding successively, including:
Calculate the cost value of the cost function of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks respectively, if 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to Second Threshold Th2, then select Select with 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in macro block corresponding to minimum cost value As current interframe encoding mode;
Wherein, if 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value big In Second Threshold Th2, carry out following operation for each sub-macroblock set that present frame is corresponding the most successively, including:
Calculate the cost value of cost function of 8 × 8 sub-macroblock, if the cost value of the cost function of 8 × 8 sub-macroblock less than or etc. In the 4th threshold value Th4, then select 8 × 8 sub-macroblock as current interframe encoding mode;
If the cost value of the cost function of 8 × 8 sub-macroblock more than the 4th threshold value Th4, calculate the most respectively 8 × 4 sub-macroblock, 4 × 8 Sub-macroblock, the cost value of cost function of 4 × 4 sub-macroblock, select with 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 Sub-macroblock corresponding to minimum cost value in the cost value of the cost function of × 4 sub-macroblock is as current interframe encoding mode.
Interframe encoding mode system of selection the most according to claim 4, it is characterised in that
Described first threshold Th1 is:
Th1=EMB1σMB 2
Described Second Threshold Th2 is:
Th2=EMB2σMB 2
Wherein,
nMBIt is 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 selected number of times of macro block, cost value JMB(i) be 16 × 16 macro blocks, 16 When × 8 macro blocks, 8 × 16 selected number of times of macro block are i, selected 16 × 16 macro blocks, 16 × 8 macro blocks, the generation of 8 × 16 macro blocks Minimum cost value in the cost value of valency function, α1、α2Determine according to operation time and video distortion degree;
Described 3rd threshold value Th3 is:
Th3=EsubMB3σsubMB 2
Described 4th threshold value Th4 is:
Th4=EsubMB4σsubMB 2
Wherein,
nsubMBIt is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 selected number of times of sub-macroblock, cost value JsubMB I () is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock selected number of times when being i, selected 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in minimum cost value, α3、α4 Determine according to operation time and video distortion degree.
Interframe encoding mode system of selection the most according to claim 5, it is characterised in that
Described Second Threshold Th2 is:
Th2=EMB2σMB 2
Wherein,
nMBIt is 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 selected number of times of macro block, cost value JMB(i) be 16 × 16 macro blocks, 16 When × 8 macro blocks, 8 × 16 selected number of times of macro block are i, selected 16 × 16 macro blocks, 16 × 8 macro blocks, the generation of 8 × 16 macro blocks Minimum cost value in the cost value of valency function, α2Determine according to operation time and video distortion degree;
Described 4th threshold value Th4 is:
Th4=EsubMB4σsubMB 2
Wherein,
nsubMBIt is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 selected number of times of sub-macroblock, cost value JsubMB I () is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock selected number of times when being i, selected 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in minimum cost value, α4Root Determine according to operation time and video distortion degree.
Interframe encoding mode system of selection the most as claimed in any of claims 1 to 7, it is characterised in that described generation Valency function is defined as follows,
Jmotion(RD)=D+ λmotion×R
Jmotion(RD) being cost function, D is the absolute value sum of original image pixels value and the difference rebuilding image pixel value, λmotionFor the value relevant to quantization parameter QP, R is the R value that assessment obtains.
9. one kind selects device based on interframe encoding mode H.264, it is characterised in that described device includes:
Set of macroblocks processing component, for carrying out following operation for each set of macroblocks that present frame is corresponding successively, including:
The cost value of the cost function of each macro block in calculating current macro set;
Take in the above-mentioned cost value of each macro block in the set of macroblocks before current macro set and this current set of macroblocks Minimum cost value;
In the case of the described minimum cost value respective threshold less than or equal to current macro set, select and this minimum cost It is worth corresponding macro block as current interframe encoding mode;
Sub-macroblock process of aggregation parts, for last the macro block collection in current macro collection is combined into described each set of macroblocks Close, and described minimum cost value more than current macro set respective threshold in the case of, each son corresponding for present frame is grand Set of blocks carries out following operation, including:
Calculate the cost value of the cost function of each sub-macroblock in current sub-macroblock set;
Take the above-mentioned generation of each sub-macroblock in the sub-macroblock set before current sub-macroblock set and this current sub-macroblock set Minimum cost value in value;
If current sub-macroblock set is not last sub-macroblock set, then in described minimum cost value less than or equal to current In the case of the respective threshold of sub-macroblock set, select the sub-macroblock corresponding with this minimum cost value as current interframe encode Pattern;
If current sub-macroblock set is last sub-macroblock set, then select the sub-macroblock corresponding with this minimum cost value As current interframe encoding mode.
Interframe encoding mode the most according to claim 9 selects device, it is characterised in that described set of macroblocks process portion Part is additionally operable to:
In the case of the described minimum cost value respective threshold more than current macro set, if current macro set is not institute State last set of macroblocks in each set of macroblocks, using next set of macroblocks as current macro set, and repeat meter The operation of the cost value of the cost function of each macro block in calculation current macro set.
11. interframe encoding modes according to claim 9 select device, it is characterised in that described sub-macroblock process of aggregation Parts are additionally operable to:
If current sub-macroblock set is not last sub-macroblock set, then in described minimum cost value more than current sub-macroblock In the case of the respective threshold of set, using next son set of macroblocks as current sub-macroblock set, and repeat to calculate currently The operation of the cost value of the cost function of each sub-macroblock in sub-macroblock set.
12. interframe encoding modes according to claim 9 select device, it is characterised in that:
Described present frame is B frame, and described set of macroblocks includes the first set of macroblocks comprising Direct 16 × 16 macro block and comprises 16 × 16 macro blocks, 16 × 8 macro blocks, the second set of macroblocks of 8 × 16 macro blocks, the respective threshold of the first set of macroblocks is first threshold Th1, the respective threshold of the second set of macroblocks is Second Threshold Th2;
Described sub-macroblock set includes the first sub-macroblock set comprising Direct 8 × 8 sub-macroblock, comprises 8 × 8 sub-macroblock Second sub-macroblock set, and comprise the 3rd sub-macroblock set of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock;First The respective threshold of sub-macroblock set is the 3rd threshold value Th3, and the respective threshold of the second sub-macroblock set is the 4th threshold value Th4;
Wherein, described set of macroblocks processing component specifically for:
Calculate the cost value of the cost function of Direct 16 × 16 macro block, if the cost function of Direct 16 × 16 macro block Cost value is less than or equal to first threshold Th1, then select Direct 16 × 16 macro block as current interframe encoding mode;
If the cost value of the cost function of Direct 16 × 16 macro block is more than first threshold Th1, calculate 16 × 16 the most respectively grand Block, 16 × 8 macro blocks, the cost value of cost function of 8 × 16 macro blocks, if Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to Second Threshold Th2, then select With Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum Macro block corresponding to cost value is as current interframe encoding mode;
Wherein, if Direct 16 × 16 macro block, 16 × 16 macro blocks, 16 × 8 macro blocks, the cost of cost function of 8 × 16 macro blocks Minimum cost value in value be more than Second Threshold Th2, the most described sub-macroblock process of aggregation parts specifically for:
Calculate the cost value of the cost function of Direct 8 × 8 sub-macroblock, if the cost function of Direct 8 × 8 sub-macroblock Cost value is less than or equal to the 3rd threshold value Th3, then select Direct 8 × 8 sub-macroblock as current interframe encoding mode;
If the cost value of the cost function of Direct 8 × 8 sub-macroblock is more than the 3rd threshold value Th3, then calculate 8 × 8 sub-macroblock The cost value of cost function, if the minimum generation in the cost value of the cost function of Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock It is worth less than or equal to the 4th threshold value Th4, then selects and Direct 8 × 8 sub-macroblock, the generation of the cost function of 8 × 8 sub-macroblock Sub-macroblock corresponding to minimum cost value in value is as current interframe encoding mode;
If the minimum cost value in the cost value of the cost function of Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock is more than the 4th Threshold value Th4, calculates the cost value of the cost function of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock the most respectively, select with Direct 8 × 8 sub-macroblock, 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, the cost of cost function of 4 × 4 sub-macroblock Sub-macroblock corresponding to minimum cost value in value is as current interframe encoding mode.
13. interframe encoding modes according to claim 9 select device, it is characterised in that
Described present frame is P frame, described set of macroblocks include comprising 16 × 16 macro blocks, 16 × 8 macro blocks, the second of 8 × 16 macro blocks Set of macroblocks, the respective threshold of the second set of macroblocks is Second Threshold Th2;Described sub-macroblock set includes comprising 8 × 8 sub-macroblock The second sub-macroblock set, and comprise the 3rd sub-macroblock set of 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock;The The respective threshold of two sub-macroblock set is the 4th threshold value Th4;
Wherein, described set of macroblocks processing component specifically for:
Calculate the cost value of the cost function of 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks respectively, if 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value less than or equal to Second Threshold Th2, then select Select with 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in macro block corresponding to minimum cost value As current interframe encoding mode;
Wherein, if 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 macro blocks cost function cost value in minimum cost value big In Second Threshold Th2, the most described sub-macroblock process of aggregation parts specifically for:
Calculate the cost value of cost function of 8 × 8 sub-macroblock, if the cost value of the cost function of 8 × 8 sub-macroblock less than or etc. In the 4th threshold value Th4, then select 8 × 8 sub-macroblock as current interframe encoding mode;
If the cost value of the cost function of 8 × 8 sub-macroblock more than the 4th threshold value Th4, calculate the most respectively 8 × 4 sub-macroblock, 4 × 8 Sub-macroblock, the cost value of cost function of 4 × 4 sub-macroblock, select with 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 Sub-macroblock corresponding to minimum cost value in the cost value of the cost function of × 4 sub-macroblock is as current interframe encoding mode.
14. interframe encoding modes according to claim 12 select device, it is characterised in that
Described first threshold Th1 is:
Th1=EMB1σMB 2
Described Second Threshold Th2 is:
Th2=EMB2σMB 2
Wherein,
nMBIt is 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 selected number of times of macro block, cost value JMB(i) be 16 × 16 macro blocks, 16 When × 8 macro blocks, 8 × 16 selected number of times of macro block are i, selected 16 × 16 macro blocks, 16 × 8 macro blocks, the generation of 8 × 16 macro blocks Minimum cost value in the cost value of valency function, α1、α2Determine according to operation time and video distortion degree;
Described 3rd threshold value Th3 is:
Th3=EsubMB3σsubMB 2
Described 4th threshold value Th4 is:
Th4=EsubMB4σsubMB 2
Wherein,
nsubMBIt is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 selected number of times of sub-macroblock, cost value JsubMB I () is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock selected number of times when being i, selected 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in minimum cost value, α3、α4 Determine according to operation time and video distortion degree.
15. interframe encoding modes according to claim 13 select device, it is characterised in that
Described Second Threshold Th2 is:
Th2=EMB2σMB 2
Wherein,
nMBIt is 16 × 16 macro blocks, 16 × 8 macro blocks, 8 × 16 selected number of times of macro block, cost value JMB(i) be 16 × 16 macro blocks, 16 When × 8 macro blocks, 8 × 16 selected number of times of macro block are i, selected 16 × 16 macro blocks, 16 × 8 macro blocks, the generation of 8 × 16 macro blocks Minimum cost value in the cost value of valency function, α2Determine according to operation time and video distortion degree;
Described 4th threshold value Th4 is:
Th4=EsubMB4σsubMB 2
Wherein,
nsubMBIt is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 selected number of times of sub-macroblock, cost value JsubMB I () is 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock selected number of times when being i, selected 8 × 8 sub-macroblock, 8 × 4 sub-macroblock, 4 × 8 sub-macroblock, 4 × 4 sub-macroblock cost function cost value in minimum cost value, α4Root Determine according to operation time and video distortion degree.
16. select device according to the interframe encoding mode described in any one in claim 9 to 15, it is characterised in that described Cost function is defined as follows,
Jmotion(RD)=D+ λmotion×R
Jmotion(RD) being cost function, D is the absolute value sum of original image pixels value and the difference rebuilding image pixel value, λmotionFor the value relevant to quantization parameter QP, R is the R value that assessment obtains.
CN201610642532.4A 2016-08-08 2016-08-08 Based on H.264 interframe encoding mode selection method and device Expired - Fee Related CN106101701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610642532.4A CN106101701B (en) 2016-08-08 2016-08-08 Based on H.264 interframe encoding mode selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610642532.4A CN106101701B (en) 2016-08-08 2016-08-08 Based on H.264 interframe encoding mode selection method and device

Publications (2)

Publication Number Publication Date
CN106101701A true CN106101701A (en) 2016-11-09
CN106101701B CN106101701B (en) 2019-05-14

Family

ID=57454607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610642532.4A Expired - Fee Related CN106101701B (en) 2016-08-08 2016-08-08 Based on H.264 interframe encoding mode selection method and device

Country Status (1)

Country Link
CN (1) CN106101701B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179728A (en) * 2007-12-13 2008-05-14 北京中星微电子有限公司 Method and apparatus for determining interframe encoding mode
CN101207810A (en) * 2006-12-21 2008-06-25 联想(北京)有限公司 Method and apparatus for fast mode selecting of H264 video coding
CN101480056A (en) * 2006-06-30 2009-07-08 诺基亚公司 Methods, apparatus, and a computer program product for providing a fast inter mode decision for video encoding in resource constrained devices
EP1610561A3 (en) * 2004-06-27 2010-07-21 Apple Inc. Encoding and decoding images
US20120300834A1 (en) * 2009-05-21 2012-11-29 Metoevi Isabelle Method and System for Efficient Video Transcoding Using Coding Modes, Motion Vectors and Residual Information
CN104980737A (en) * 2014-04-01 2015-10-14 扬智科技股份有限公司 Inter-frame mode selection method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1610561A3 (en) * 2004-06-27 2010-07-21 Apple Inc. Encoding and decoding images
CN101480056A (en) * 2006-06-30 2009-07-08 诺基亚公司 Methods, apparatus, and a computer program product for providing a fast inter mode decision for video encoding in resource constrained devices
CN101207810A (en) * 2006-12-21 2008-06-25 联想(北京)有限公司 Method and apparatus for fast mode selecting of H264 video coding
CN101179728A (en) * 2007-12-13 2008-05-14 北京中星微电子有限公司 Method and apparatus for determining interframe encoding mode
US20120300834A1 (en) * 2009-05-21 2012-11-29 Metoevi Isabelle Method and System for Efficient Video Transcoding Using Coding Modes, Motion Vectors and Residual Information
CN104980737A (en) * 2014-04-01 2015-10-14 扬智科技股份有限公司 Inter-frame mode selection method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ANDY CHIA ET AL: "Fast Inter-Mode Selection in the H.264/AVC Standard Using a Hierarchical Decision Process", 《IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY》 *
李翠苹: "基于AVS-M的帧间预测算法研究", 《中国优秀硕士论文全文数据库—信息科技辑》 *
董海燕: "低复杂度的H.264 帧间宏块编码模式选择算法", 《计算机工程》 *
黄君婷: "基于 H.264 的多视点视频编码快速算法研究", 《中国优秀硕士论文全文数据库—信息科技辑》 *

Also Published As

Publication number Publication date
CN106101701B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
US10091526B2 (en) Method and apparatus for motion vector encoding/decoding using spatial division, and method and apparatus for image encoding/decoding using same
CN104935938B (en) Inter-frame prediction method in a kind of hybrid video coding standard
CN104539974B (en) Encoding device for high-resolution moving image
CN105681794B (en) Moving image decoding apparatus and dynamic image decoding method
CN104796710B (en) The method decoded to image
JP5490823B2 (en) Method for decoding a stream representing a sequence of images, method for encoding a sequence of images and encoded data structure
CN103299640B (en) For using the method and apparatus for encoding/decoding image for executing infra-frame prediction according to the pixel value of predictive mode filtering
CN106170092A (en) Fast encoding method for lossless coding
CN102595140B (en) Intra-frame prediction video coding method based on image inpainting and vector prediction operators
CN104168480B (en) Intra-prediction code mode fast selecting method based on HEVC standard
CN108848387A (en) The method for deriving reference prediction mode value
CN108737841A (en) Coding unit depth determination method and device
CN103096073A (en) Method Of Constructing Merge List
CN103096071A (en) Method Of Deriving Motion Information
CN104581159B (en) Block partitioning scheme in coding and decoding video determines method and relevant apparatus
CN106067973A (en) Video decoding apparatus
WO2010050152A1 (en) Pixel prediction value generation procedure automatic generation method, image encoding method, image decoding method, devices using these methods, programs for these methods, and recording medium on which these programs are recorded
CN107846593B (en) Rate distortion optimization method and device
CN112738511B (en) Fast mode decision method and device combined with video analysis
CN106937112A (en) Bit rate control method based on H.264 video compression standard
CN103067704A (en) Video coding method and system based on skipping of coding unit layer in advance
CN108777794A (en) The coding method of image and device, storage medium, electronic device
CN107071421A (en) A kind of method for video coding of combination video stabilization
CN106331700A (en) Coding and decoding methods of reference image, coding device, and decoding device
CN104104956B (en) For layered video coding and the method for decoding, encoding apparatus and decoding apparatus

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200514

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 200241, room 2, floor 02, building 555, Dongchuan Road, Minhang District, Shanghai

Patentee before: Transmission network technology (Shanghai) Co., Ltd

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190514

Termination date: 20200808