[go: up one dir, main page]

CN101207810A - Method and apparatus for fast mode selecting of H264 video coding - Google Patents

Method and apparatus for fast mode selecting of H264 video coding Download PDF

Info

Publication number
CN101207810A
CN101207810A CN 200610165565 CN200610165565A CN101207810A CN 101207810 A CN101207810 A CN 101207810A CN 200610165565 CN200610165565 CN 200610165565 CN 200610165565 A CN200610165565 A CN 200610165565A CN 101207810 A CN101207810 A CN 101207810A
Authority
CN
China
Prior art keywords
mode
sub
frame
pattern
candidate pattern
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
CN 200610165565
Other languages
Chinese (zh)
Other versions
CN100571390C (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.)
Chezhubang Beijing Technology Co Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 200610165565 priority Critical patent/CN100571390C/en
Publication of CN101207810A publication Critical patent/CN101207810A/en
Application granted granted Critical
Publication of CN100571390C publication Critical patent/CN100571390C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a quick mode selection method and a device of an H264 video coding. The method comprises the selection of a mode in frames and the selection of the mode between the frames, wherein, for the selection of the mode in the frames, a prediction method with different fineness is chosen according to the dramatic degree of the image information changes in the prior macro block, thereby decreasing the number of the model to be chosen and confirming the final selection mode through the method of code rate-distortion factor optimizing; for the selection of the mode between the frames, the sum of the absolute difference of the corresponding pixel point of the corresponding macro block of the prior frame and the reference frame is used as a dividing basis to divide the macro block into different fineness and to correspondingly choose a prediction method with different fineness for decreasing the number of the model to be chosen and confirming the final selection mode through the method of code rate-distortion factor optimizing. The invention can decrease the number of the model to be chosen and solve the application limited problems caused by over-complicated code, over-loaded operation and over time consumption in the prior art.

Description

A kind of H264 video coding fast schema selection method and device
Technical field
The present invention relates to the system of selection of Video Encoding Mode, particularly relate to a kind of H264 video coding fast schema selection method and device.
Background technology
With H.263 comparing that people are familiar with, H.264 substandard video image quality is better, and code efficiency can improve more than 50% simultaneously, and has better fault-tolerant ability, and this makes it be with a wide range of applications in the field of video communication in future.Yet in the prior art H.264/AVC coding techniques be defective.This be because, according to the H.264/AVC definition of middle code rate distortion degree optimization (RDO), when video sequence is encoded, must use all predictive modes respectively to test one time to two field picture, find one then from the best predictive mode of RDO angle, the complexity that feasible coding calculates significantly increases, and it is consuming time to increase coding, feasible real-time variation H.264/AVC.
Therefore, although rate-distortion optimization can bring extraordinary coding efficiency, the search of all patterns consumes the plenty of time during for coding, and this makes that H.264 encoder is difficult to real time business.The method of a lot of estimation fast and pattern decision is suggested and is used to improve this situation, such as " the frame mode prediction " delivered in multimedia international conference (ICME2004) in 2004, and in " macro block mode of the low complex degree prediction H.264 " and " inter-frame forecast mode of adaptive threshold value is selected H.264 " delivered in the image processing international conference in 2004, proposed to utilize the algorithm of threshold value premature termination, be used for reducing search for candidate's predictive mode.
Yet these mode selecting methods of realizing fast are defectiveness still, is mainly reflected in for the selection of preferred predictive mode still too complicatedly, need carry out more relatively calculating.
Summary of the invention
The object of the present invention is to provide a kind of H264 video coding fast schema selection method and device, solve too high in the prior art because of encoder complexity, operand is excessive, the problem of the application limitations that too much causes consuming time.
To achieve these goals, the invention provides a kind of H264 video coding fast schema selection method, wherein, comprise the steps:
Step 1, select for frame mode, select the prediction mode of different finenesses according to current macro internal image change in information severe degree, reducing the quantity of candidate pattern, and determine last selected pattern by the mode of " code check-distortion factor optimization ";
Step 2, select for inter-frame mode, with the absolute difference sum of the corresponding picture element of the corresponding macro block of present frame and reference frame as dividing foundation, the prediction mode that is different fineness and the different finenesses of corresponding selection to macroblock partitions to be reducing the quantity of candidate pattern, and determines last selected pattern by the mode of " code check-distortion factor optimization ".
Above-mentioned method, wherein, in described step 2, after selecting the prediction mode of different finenesses, also the directional information of the interframe movement by macro block reduces the quantity of candidate pattern.
Above-mentioned method, wherein, described step 2 comprises:
Step a according to image information or user's input, determines global prediction threshold T V and local prediction threshold value PV;
Step b is divided into macro block as 16 * 16 pixel sizes of basic coding unit with each frame of image;
Step c carries out the full search of 16 * 16 pixel sizes to target macroblock, finds best match block, and target macroblock and best matching blocks are compared, and obtains the absolute difference sum T-SAD of the overall corresponding picture element of target macroblock;
Whether steps d judges T-SAD less than TV, is execution in step e then, otherwise execution in step g;
Step e, illustrate that the full search of 16 * 16 pixel sizes can satisfy the requirement of picture quality, this target macroblock is carried out the prediction mode of rough grade, obtain corresponding candidate pattern, under the fineness of 16 * 16 pixels, carry out " code check-distortion factor optimization " then in conjunction with described candidate pattern, get selected pattern to the end, the selection flow process of end frame inter mode;
Step g, illustrate that the full search of 16 * 16 pixel sizes can not satisfy the requirement of picture quality, this target macroblock is carried out the prediction mode of thin precision, obtain corresponding candidate pattern, carry out " code check-distortion factor optimization " in conjunction with described candidate pattern then, get selected pattern to the end, the selection flow process of end frame inter mode.
Above-mentioned method, wherein, in described step e, the prediction mode of described rough grade comprises: target macroblock is divided into two 16 * 8 sub-pieces and two 8 * 16 sub-pieces that can embody directional information, calculate the absolute difference sum SAD of the corresponding picture element of four sub-pieces, and select two 16 * 8 SAD maximum MAX8 * 16 in 8 * 16 sub-piece of SAD maximum MAX16 * 8 and two in the sub-piece, choose the less pairing candidate pattern of numerical value in MAX16 * 8 and MAX8 * 16.
Above-mentioned method, wherein, described step g comprises:
Step g 1, current macro further is divided into the sub-piece of 48 * 8 pixel sizes, and the best matching blocks of each sub-piece is found in the search of carrying out subrange on the basis of full search, sub-piece of target and best matching blocks are compared, obtain the absolute difference sum P-SAD of the local corresponding picture element of the sub-piece of this target;
Whether step g 2 judges P-SAD less than PV, is execution in step g3 then, otherwise execution in step g4;
Step g 3, illustrate that the search of 8 * 8 pixel sizes can satisfy the requirement of picture quality, the sub-piece of the target of 8 * 8 pixel sizes is divided into two 8 * 4 sub-pieces and two 4 * 8 sub-pieces that can embody directional information, calculate the absolute difference sum SAD of the corresponding picture element of four sub-pieces, and select two 8 * 4 SAD maximum MAX4 * 8 in 4 * 8 sub-piece of SAD maximum MAX8 * 4 and two in the sub-piece, choose the little pairing candidate pattern of numerical value in MAX8 * 4 and MAX4 * 8, under the fineness of 8 * 8 pixels, carry out " code check-distortion factor optimization " then in conjunction with described candidate pattern, get selected pattern to the end, the model selection flow process between end frame;
Step g 4, illustrate that the search of 8 * 8 pixel sizes can not satisfy the requirement of picture quality,, carry out " code check-distortion factor optimization " so can only adopt 4 * 4 meticulous prediction mode to the sub-piece of this target, get selected pattern to the end, the model selection flow process between end frame.
Above-mentioned method wherein, in described step 1, after the prediction mode of selecting different finenesses, also reduces the quantity of candidate pattern by the direction vector information of current macro.
Above-mentioned method, wherein, described step 1 comprises:
Steps A according to image information or user's input, is determined prediction threshold value VH;
Step B is divided into macro block as 16 * 16 pixel sizes of basic coding unit with each frame of image;
Step C calculates the fierce degree VT of target macroblock internal image change in information;
Step D, whether the value of judging VT greater than VH, is execution in step E then, otherwise execution in step F
Step e, the variation that the interior macroblocks image information is described is violent, adopt 4 * 4 prediction mode of thin precision, calculate the local direction vector P-DV of the sub-piece of current 4 * 4 pixel sizes, information according to direction vector draws two kinds of most possible candidate pattern, carry out " code check-distortion factor optimization " together with the DC candidate pattern then, get selected pattern to the end, the model selection flow process in the end frame;
Step F, the variation that the interior macroblocks image information is described is mild, adopt 16 * 16 prediction mode of rough grade, calculate the overall direction vector T-DV of the macro block of current 16 * 16 pixel sizes, information according to direction vector draws two kinds of most possible candidate pattern, carry out " code check-distortion factor optimization " together with the DC candidate pattern then, get selected pattern to the end, the model selection flow process in the end frame.
In order to realize purpose of the present invention, the present invention also provides a kind of H264 video coding quick mode choice device, wherein, comprise: frame mode is selected module, be used for: the prediction mode of selecting different finenesses according to current macro internal image change in information severe degree, reducing the quantity of candidate pattern, and determine last selected pattern by the mode of " code check-distortion factor optimization "; Inter-frame mode is selected module, be used for: with the absolute difference sum of the corresponding picture element of the corresponding macro block of present frame and reference frame as dividing foundation, the prediction mode that is different fineness and the different finenesses of corresponding selection to macroblock partitions to be reducing the quantity of candidate pattern, and determines last selected pattern by the mode of " code check-distortion factor optimization ".
The invention has the advantages that:
1) the present invention selects the prediction mode of different finenesses according to the variation severe degree of interior macroblocks image information, can reduce the quantity of the candidate pattern of frame mode in selecting, and then reduce operand.
2) the present invention with the absolute difference sum of the corresponding picture element of the corresponding macro block of present frame and reference frame as dividing foundation, is macroblock partitions the different finenesses and the prediction mode of the different finenesses of corresponding selection, thereby reduced the quantity of the candidate pattern during inter-frame mode is selected, and then reduced operand.
3) the present invention also the directional information of the interframe movement by macro block reduce the quantity of the candidate pattern of inter-frame mode in selecting.
4) the present invention also reduces the quantity of the candidate pattern in the frame mode selection by the direction vector information of current macro.
5) the present invention not only has the interior model selection of frame to also have the model selection of interframe, the present invention is applied to H.264/AVC standard, can effectively reduce the number of the candidate pattern of 4x4 size, be a kind of method for video coding that can effectively reduce operand and operation time.
Description of drawings
Fig. 1 is the flow chart of steps of the inventive method;
Fig. 2 is a self adaptation interframe prediction mode selection algorithm flow chart provided by the invention;
Fig. 3 is the implication schematic diagram of four parameters of macro block among the present invention;
Fig. 4 is a self-adaption intra-frame prediction model selection algorithm flow chart provided by the invention.
Embodiment
The present invention proposes a kind of H264 video coding fast schema selection method, Fig. 1 is the flow chart of steps of the inventive method, and as figure, the present invention is divided into algorithm flow 101 and 102 two parts of inter-frame algorithm flow process in the frame.In the fast inter mode selection algorithm, the present invention uses the absolute difference sum (SAD of the corresponding picture element of present frame and the corresponding macro block of reference frame, Sum of Absolute Difference) as the judgement of correlation, be macroblock partitions the pattern of different finenesses; According to the directional information of the interframe movement of macro block, further obtain preferred predictive mode then, in preferred predictive mode, using code check-distortion factor optimization (RDO) at last, thereby determine optimal mode.And for the fast intra mode selection algorithm, the present invention can at first acutely select the predictive mode of different finenesses according to current macro internal image change in information, and can be according to the direction vector information of current macro, therefrom select most possible several predictive modes, then to these predictive modes that preferably come out carry out " code check-distortion factor optimization " (RDO) algorithm select optimal mode.
Fig. 2 is a self adaptation interframe prediction mode selection algorithm flow chart provided by the invention, and as figure, the inter-frame mode selection algorithm mainly may further comprise the steps:
Step 201. is determined global prediction threshold T V and local prediction threshold value PV according to image information or user's input;
Step 202. is divided into basic coding unit with each frame of image, i.e. the macro block of 16 * 16 pixel sizes;
Step 203. target macroblock pair is wherein carried out the full search of 16 * 16 pixel sizes, finds best match block, and target macroblock and best matching blocks are compared, and obtains the overall sad value (T-SAD) of this target macroblock;
Whether step 204. judges the value of T-SAD less than TV, is execution in step 205 then, otherwise execution in step 207;
Step 205 can satisfy the requirement of picture quality if the value of T-SAD, illustrates the full search of 16 * 16 pixel sizes less than TV, so only need then carry out the model selection of rough grade to this target macroblock, promptly from 16 * 16, one of selection is only in 16 * 8,8 * 16 patterns;
Step 206, model selection for the target macroblock rough grade, at first according to pairing four sad values of the first half, the latter half, left-half and right half part that calculate target macroblock respectively shown in Figure 3, and draw respectively last/down, the maximum of SAD under these two kinds of patterns of a left side/right side, be expressed as MAX16 * 8 and MAX8 * 16, then relatively and select pairing pattern less in MAX16 * 8 and MAX8 * 16, under this pattern, carry out motion search and the motion compensation meeting obtains better effect if illustrate.Just select then 16 * 16 and this pattern carry out code check-distortion factor optimization (RDO) algorithm, select optimal mode, change step 213.
Step 207 can not satisfy the requirement of picture quality if the value of T-SAD, illustrates the full search of 16 * 16 pixel sizes greater than TV, so also need then this target macroblock to be carried out the model selection of thinner precision, promptly from 8 * 8,4 * 8, one of selection is only in 8 * 4,4 * 4 patterns;
Step 208 for the model selection of the thin precision of target macroblock, further is divided into current macro the sub-piece of 48 * 8 pixel sizes;
Step 209, best separately match block is found in the search of carrying out on the basis of full search among a small circle, and sub-piece of target and best matching blocks are compared, and obtains the local sad value (P-SAD) of the sub-piece of this target;
Whether step 210, the value of judging P-SAD less than PV, is execution in step 211 then, otherwise execution in step 212;
Step 211 can satisfy the requirement of picture quality if the value of P-SAD, illustrates the search of 8 * 8 pixel sizes less than PV, so only need then carry out the model selection of rough grade to the sub-piece of this target, promptly from 8 * 8, one of selection is only in 8 * 4,4 * 8 patterns;
Model selection for the sub-piece rough grade of target, according to pairing four sad values of the first half, the latter half, left-half and right half part that calculate the sub-piece of target (8 * 8 pixel size) respectively shown in Figure 3, and draw respectively last/down, the maximum of SAD under these two kinds of patterns of a left side/right side, be expressed as MAX8 * 4 and MAX4 * 8, then relatively and select pairing pattern less in MAX8 * 4 and MAX4 * 8, under this pattern, carry out motion search and the motion compensation meeting obtains better effect if illustrate.Just select then 8 * 8 and this pattern carry out code check-distortion factor optimization (RDO) algorithm, select optimal mode, change step 213.
Step 212 can not satisfy the requirement of picture quality if the value of P-SAD, illustrates the search of 8 * 8 pixel sizes greater than PV, so can only adopt the meticulousst pattern to the sub-piece of this target, promptly 4 * 4 patterns are changeed step 213.
Step 213 is finished the inter-frame mode of target macroblock and is selected.
Fig. 4 is a self-adaption intra-frame prediction model selection algorithm flow chart provided by the invention.As figure, the fast intra mode selection algorithm mainly may further comprise the steps:
Step 401. is determined prediction threshold value VH according to image information or user's input;
Step 402. is divided into basic coding unit with each frame of image, i.e. the macro block of 16 * 16 pixel sizes;
Step 403. is calculated the fierce degree of target macroblock internal image change in information, represents with VT;
Whether step 404. judges the value of VT greater than VH, is execution in step 405 then, otherwise execution in step 408;
Step 405 if the value of VT, illustrates that the variation of interior macroblocks image information is violent greater than VH, just needs to adopt the predictive mode of thin precision, i.e. 4 * 4 predictive modes;
If step 406. adopts the predictive mode of thin precision, i.e. 4 * 4 predictive modes just calculate the local direction vector P-DV of current sub-block (4 * 4 pixel size);
Step 407. draws 2 kinds of most possible candidate's predictive modes according to the information of direction vector, changes step 411;
If the value of step 408. VT, illustrates that the variation of interior macroblocks image information is little less than VH, just can adopt the predictive mode of rough grade, i.e. 16 * 16 predictive modes;
If step 409. adopts the predictive mode of rough grade, i.e. 16 * 16 predictive modes just calculate the overall direction vector T-DV of current macro (16 * 16 pixel size);
Step 410 draws 2 kinds of most possible candidate's predictive modes according to the information of direction vector;
(the DC pattern is a kind of in 9 kinds of predictive modes of infra-frame prediction 4x4 size to step 411. with the DC predictive mode with candidate's predictive mode, the predicted value of all pixels of 4x4 piece is identical under the DC pattern) carry out code check-distortion factor optimization (RDO) algorithm together, select optimal mode.
Step 412. is finished the intra prediction mode of target macroblock and is selected.
By above argumentation as can be known, the present invention can bring following technique effect:
1) the present invention selects the prediction mode of different finenesses according to the variation severe degree of interior macroblocks image information, can reduce the quantity of the candidate pattern of frame mode in selecting, and then reduce operand.
2) the present invention with the absolute difference sum of the corresponding picture element of the corresponding macro block of present frame and reference frame as dividing foundation, is macroblock partitions the different finenesses and the prediction mode of the different finenesses of corresponding selection, thereby reduced the quantity of the candidate pattern during inter-frame mode is selected, and then reduced operand.
3) the present invention also the directional information of the interframe movement by macro block reduce the quantity of the candidate pattern of inter-frame mode in selecting.
4) the present invention also reduces the quantity of the candidate pattern in the frame mode selection by the direction vector information of current macro.
5) the present invention not only has the interior model selection of frame to also have the model selection of interframe, the present invention is applied to H.264/AVC standard, can effectively reduce the number of the candidate pattern of 4x4 size, be a kind of method for video coding that can effectively reduce operand and operation time.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1. a H264 video coding fast schema selection method is characterized in that, comprises the steps:
Step 1, select for frame mode, select the prediction mode of different finenesses according to current macro internal image change in information severe degree, reducing the quantity of candidate pattern, and determine last selected pattern by the mode of " code check-distortion factor optimization ";
Step 2, select for inter-frame mode, with the absolute difference sum of the corresponding picture element of the corresponding macro block of present frame and reference frame as dividing foundation, the prediction mode that is different fineness and the different finenesses of corresponding selection to macroblock partitions to be reducing the quantity of candidate pattern, and determines last selected pattern by the mode of " code check-distortion factor optimization ".
2. method according to claim 1 is characterized in that, in described step 2, after selecting the prediction mode of different finenesses, also the directional information of the interframe movement by macro block reduces the quantity of candidate pattern.
3. method according to claim 1 and 2 is characterized in that, described step 2 comprises:
Step a according to image information or user's input, determines global prediction threshold T V and local prediction threshold value PV;
Step b is divided into macro block as 16 * 16 pixel sizes of basic coding unit with each frame of image;
Step c carries out the full search of 16 * 16 pixel sizes to target macroblock, finds best match block, and target macroblock and best matching blocks are compared, and obtains the absolute difference sum T-SAD of the overall corresponding picture element of target macroblock;
Whether steps d judges T-SAD less than TV, is execution in step e then, otherwise execution in step g;
Step e, illustrate that the full search of 16 * 16 pixel sizes can satisfy the requirement of picture quality, this target macroblock is carried out the prediction mode of rough grade, obtain corresponding candidate pattern, under the fineness of 16 * 16 pixels, carry out " code check-distortion factor optimization " then in conjunction with described candidate pattern, get selected pattern to the end, the selection flow process of end frame inter mode;
Step g, illustrate that the full search of 16 * 16 pixel sizes can not satisfy the requirement of picture quality, this target macroblock is carried out the prediction mode of thin precision, obtain corresponding candidate pattern, carry out " code check-distortion factor optimization " in conjunction with described candidate pattern then, get selected pattern to the end, the selection flow process of end frame inter mode.
4. method according to claim 3, it is characterized in that, in described step e, the prediction mode of described rough grade comprises: target macroblock is divided into two 16 * 8 sub-pieces and two 8 * 16 sub-pieces that can embody directional information, calculate the absolute difference sum SAD of the corresponding picture element of four sub-pieces, and select two 16 * 8 SAD maximum MAX8 * 16 in 8 * 16 sub-piece of SAD maximum MAX16 * 8 and two in the sub-piece, choose the less pairing candidate pattern of numerical value in MAX16 * 8 and MAX8 * 16.
5. method according to claim 3 is characterized in that, described step g comprises:
Step g 1, current macro further is divided into the sub-piece of 48 * 8 pixel sizes, and the best matching blocks of each sub-piece is found in the search of carrying out subrange on the basis of full search, sub-piece of target and best matching blocks are compared, obtain the absolute difference sum P-SAD of the local corresponding picture element of the sub-piece of this target;
Whether step g 2 judges P-SAD less than PV, is execution in step g3 then, otherwise execution in step g4;
Step g 3, illustrate that the search of 8 * 8 pixel sizes can satisfy the requirement of picture quality, the sub-piece of the target of 8 * 8 pixel sizes is divided into two 8 * 4 sub-pieces and two 4 * 8 sub-pieces that can embody directional information, calculate the absolute difference sum SAD of the corresponding picture element of four sub-pieces, and select two 8 * 4 SAD maximum MAX4 * 8 in 4 * 8 sub-piece of SAD maximum MAX8 * 4 and two in the sub-piece, choose the little pairing candidate pattern of numerical value in MAX8 * 4 and MAX4 * 8, under the fineness of 8 * 8 pixels, carry out " code check-distortion factor optimization " then in conjunction with described candidate pattern, get selected pattern to the end, the model selection flow process between end frame;
Step g 4, illustrate that the search of 8 * 8 pixel sizes can not satisfy the requirement of picture quality,, carry out " code check-distortion factor optimization " so can only adopt 4 * 4 meticulous prediction mode to the sub-piece of this target, get selected pattern to the end, the model selection flow process between end frame.
6. method according to claim 1 is characterized in that, in described step 1, after the prediction mode of selecting different finenesses, also reduces the quantity of candidate pattern by the direction vector information of current macro.
7. according to claim 1 or 6 described methods, it is characterized in that described step 1 comprises:
Steps A according to image information or user's input, is determined prediction threshold value VH;
Step B is divided into macro block as 16 * 16 pixel sizes of basic coding unit with each frame of image;
Step C calculates the fierce degree VT of target macroblock internal image change in information;
Step D, whether the value of judging VT greater than VH, is execution in step E then, otherwise execution in step F
Step e, the variation that the interior macroblocks image information is described is violent, adopt 4 * 4 prediction mode of thin precision, calculate the local direction vector P-DV of the sub-piece of current 4 * 4 pixel sizes, information according to direction vector draws two kinds of most possible candidate pattern, carry out " code check-distortion factor optimization " together with the DC candidate pattern then, get selected pattern to the end, the model selection flow process in the end frame;
Step F, the variation that the interior macroblocks image information is described is mild, adopt 16 * 16 prediction mode of rough grade, calculate the overall direction vector T-DV of the macro block of current 16 * 16 pixel sizes, information according to direction vector draws two kinds of most possible candidate pattern, carry out " code check-distortion factor optimization " together with the DC candidate pattern then, get selected pattern to the end, the model selection flow process in the end frame.
8. a H264 video coding quick mode choice device is characterized in that, comprising:
Frame mode is selected module, be used for: the prediction mode of selecting different finenesses according to current macro internal image change in information severe degree, reducing the quantity of candidate pattern, and determine last selected pattern by the mode of " code check-distortion factor optimization ";
Inter-frame mode is selected module, be used for: with the absolute difference sum of the corresponding picture element of the corresponding macro block of present frame and reference frame as dividing foundation, the prediction mode that is different fineness and the different finenesses of corresponding selection to macroblock partitions to be reducing the quantity of candidate pattern, and determines last selected pattern by the mode of " code check-distortion factor optimization ".
CN 200610165565 2006-12-21 2006-12-21 A H264 video encoding fast mode selection method and device Expired - Fee Related CN100571390C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610165565 CN100571390C (en) 2006-12-21 2006-12-21 A H264 video encoding fast mode selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610165565 CN100571390C (en) 2006-12-21 2006-12-21 A H264 video encoding fast mode selection method and device

Publications (2)

Publication Number Publication Date
CN101207810A true CN101207810A (en) 2008-06-25
CN100571390C CN100571390C (en) 2009-12-16

Family

ID=39567613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610165565 Expired - Fee Related CN100571390C (en) 2006-12-21 2006-12-21 A H264 video encoding fast mode selection method and device

Country Status (1)

Country Link
CN (1) CN100571390C (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783951A (en) * 2010-03-02 2010-07-21 西安交通大学 Method for rapidly confirming video coding inter-frame predicting mode based on human vision system
CN102088605A (en) * 2011-02-23 2011-06-08 浙江大学 Rapid interlayer prediction selection method for scalable video coding
CN102484709A (en) * 2009-07-01 2012-05-30 汤姆森特许公司 Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
WO2012068817A1 (en) * 2010-11-22 2012-05-31 Mediatek Singapore Pte. Ltd. Apparatus and method of constrained partition size for high efficiency video coding
CN102547264A (en) * 2010-12-28 2012-07-04 深圳市融创天下科技股份有限公司 Motion prediction method and system of interframe coding
WO2012088806A1 (en) * 2010-12-28 2012-07-05 深圳市融创天下科技股份有限公司 Motion predicting method and system for inter-frame coding
CN102790890A (en) * 2011-05-17 2012-11-21 佳能株式会社 Stereo image encoding apparatus, its method, and image pickup apparatus
CN102801976A (en) * 2012-08-03 2012-11-28 山东省科学院情报研究所 Inter-frame module selecting method based on three-dimensional wavelet video code
CN102843556A (en) * 2011-06-20 2012-12-26 富士通株式会社 Video coding method and video coding system
CN102111616B (en) * 2009-12-23 2013-01-16 凌阳科技股份有限公司 Method for compressing image in adaptively determined compression mode
CN103118262A (en) * 2013-02-04 2013-05-22 深圳广晟信源技术有限公司 Rate distortion optimization method and device, and video coding method and system
CN103581670A (en) * 2013-10-09 2014-02-12 合一网络技术(北京)有限公司 H.264 self-adaptation intra-frame mode selection code rate estimated rate-distortion optimization method and device thereof
CN103688540A (en) * 2011-07-18 2014-03-26 联发科技(新加坡)私人有限公司 Method and apparatus for compressing coding units in high-efficiency video coding
CN104639939A (en) * 2015-02-04 2015-05-20 四川虹电数字家庭产业技术研究院有限公司 Optimization method for intra-frame prediction MPM (Most Probable Mode) mechanism
CN104685874A (en) * 2012-07-27 2015-06-03 摩托罗拉移动有限责任公司 Apparatus and method for processing partition mode in high-efficiency video codec
CN104954787A (en) * 2014-03-27 2015-09-30 浙江大华技术股份有限公司 HEVC interframe prediction mode selection method and apparatus
CN104967849A (en) * 2010-08-17 2015-10-07 三星电子株式会社 Video decoding method
CN106034238A (en) * 2015-03-11 2016-10-19 杭州海康威视数字技术股份有限公司 Methods and systems for calculating coding distortion degree and coding mode control
CN106101701A (en) * 2016-08-08 2016-11-09 传线网络科技(上海)有限公司 Based on interframe encoding mode system of selection H.264 and device
CN110166780A (en) * 2018-06-06 2019-08-23 腾讯科技(深圳)有限公司 Bit rate control method, trans-coding treatment method, device and the machinery equipment of video
CN111327895A (en) * 2018-12-17 2020-06-23 深圳市中兴微电子技术有限公司 Data processing method and device
WO2020253728A1 (en) * 2019-06-20 2020-12-24 杭州海康威视数字技术股份有限公司 Encoding method and device
CN115442617A (en) * 2022-09-05 2022-12-06 安徽文香科技有限公司 A video processing method and device based on video coding

Cited By (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102484709B (en) * 2009-07-01 2015-06-10 汤姆森特许公司 Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
CN104853206A (en) * 2009-07-01 2015-08-19 汤姆森特许公司 Methods and apparatus for video encoders and decoders
CN102484709A (en) * 2009-07-01 2012-05-30 汤姆森特许公司 Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
US11082697B2 (en) 2009-07-01 2021-08-03 Interdigital Vc Holdings, Inc. Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
US11936876B2 (en) 2009-07-01 2024-03-19 Interdigital Vc Holdings, Inc. Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
CN104796717B (en) * 2009-07-01 2018-11-06 汤姆森特许公司 Method and apparatus for video encoder and decoder
CN104853204A (en) * 2009-07-01 2015-08-19 汤姆森特许公司 Methods and apparatus for video encoders and decoders
CN104853202A (en) * 2009-07-01 2015-08-19 汤姆森特许公司 Methods and apparatus for video encoders and decoders
US12120307B2 (en) 2009-07-01 2024-10-15 Interdigital Vc Holdings, Inc. Methods and apparatus for signaling intra prediction for large blocks for video encoders and decoders
CN104853205A (en) * 2009-07-01 2015-08-19 汤姆森特许公司 Methods and apparatus for video encoders and decoders
CN104796717A (en) * 2009-07-01 2015-07-22 汤姆森特许公司 Method and apparatus for video encoder and decoder
CN102111616B (en) * 2009-12-23 2013-01-16 凌阳科技股份有限公司 Method for compressing image in adaptively determined compression mode
CN101783951A (en) * 2010-03-02 2010-07-21 西安交通大学 Method for rapidly confirming video coding inter-frame predicting mode based on human vision system
CN104967849A (en) * 2010-08-17 2015-10-07 三星电子株式会社 Video decoding method
US10154287B2 (en) 2010-08-17 2018-12-11 Samsung Electronics Co., Ltd. Video encoding method and apparatus using transformation unit of variable tree structure, and video decoding method and apparatus
CN104967849B (en) * 2010-08-17 2018-07-10 三星电子株式会社 Video encoding/decoding method
CN103299634B (en) * 2010-11-22 2017-06-09 寰发股份有限公司 Method and device for high-efficiency video coding constrained partition size
CN103299634A (en) * 2010-11-22 2013-09-11 联发科技(新加坡)私人有限公司 Apparatus and method of constrained partition size for high efficiency video coding
WO2012068817A1 (en) * 2010-11-22 2012-05-31 Mediatek Singapore Pte. Ltd. Apparatus and method of constrained partition size for high efficiency video coding
CN102547264B (en) * 2010-12-28 2014-09-03 深圳市云宙多媒体技术有限公司 Motion prediction method and system of interframe coding
CN102572418A (en) * 2010-12-28 2012-07-11 深圳市融创天下科技股份有限公司 Motion prediction method and motion prediction system of interframe encoding
CN102547264A (en) * 2010-12-28 2012-07-04 深圳市融创天下科技股份有限公司 Motion prediction method and system of interframe coding
CN102572418B (en) * 2010-12-28 2014-09-03 深圳市云宙多媒体技术有限公司 Motion prediction method and motion prediction system of interframe encoding
WO2012088806A1 (en) * 2010-12-28 2012-07-05 深圳市融创天下科技股份有限公司 Motion predicting method and system for inter-frame coding
US9813726B2 (en) 2011-01-25 2017-11-07 Hfi Innovation Inc. Method and apparatus for compressing coding unit in high efficiency video coding
US9510012B2 (en) 2011-01-25 2016-11-29 Hfi Innovation Inc. Method and apparatus for compressing coding unit in high efficiency video coding
CN102088605A (en) * 2011-02-23 2011-06-08 浙江大学 Rapid interlayer prediction selection method for scalable video coding
CN102088605B (en) * 2011-02-23 2012-12-05 浙江大学 Rapid interlayer prediction selection method for scalable video coding
CN102790890A (en) * 2011-05-17 2012-11-21 佳能株式会社 Stereo image encoding apparatus, its method, and image pickup apparatus
CN102790890B (en) * 2011-05-17 2015-09-30 佳能株式会社 Stereo image coding Apparatus for () and method therefor and picture pick-up device
US8983217B2 (en) 2011-05-17 2015-03-17 Canon Kabushiki Kaisha Stereo image encoding apparatus, its method, and image pickup apparatus having stereo image encoding apparatus
CN102843556A (en) * 2011-06-20 2012-12-26 富士通株式会社 Video coding method and video coding system
CN102843556B (en) * 2011-06-20 2015-04-15 富士通株式会社 Video coding method and video coding system
CN103688540A (en) * 2011-07-18 2014-03-26 联发科技(新加坡)私人有限公司 Method and apparatus for compressing coding units in high-efficiency video coding
CN103688540B (en) * 2011-07-18 2018-04-27 寰发股份有限公司 Method and apparatus for decoding video bit stream and processing coding unit of video data
US10063875B2 (en) 2011-07-18 2018-08-28 Hfi Innovation Inc. Method and apparatus for compressing coding unit in high efficiency video coding
CN104685874B (en) * 2012-07-27 2018-11-16 谷歌技术控股有限责任公司 Apparatus and method for processing partition mode in high-efficiency video codec
CN104685874A (en) * 2012-07-27 2015-06-03 摩托罗拉移动有限责任公司 Apparatus and method for processing partition mode in high-efficiency video codec
CN102801976A (en) * 2012-08-03 2012-11-28 山东省科学院情报研究所 Inter-frame module selecting method based on three-dimensional wavelet video code
CN102801976B (en) * 2012-08-03 2014-10-22 山东省科学院情报研究所 Inter-frame module selecting method based on three-dimensional wavelet video code
CN103118262B (en) * 2013-02-04 2016-03-16 深圳广晟信源技术有限公司 Rate distortion optimization method and device, and video coding method and system
CN103118262A (en) * 2013-02-04 2013-05-22 深圳广晟信源技术有限公司 Rate distortion optimization method and device, and video coding method and system
CN103581670A (en) * 2013-10-09 2014-02-12 合一网络技术(北京)有限公司 H.264 self-adaptation intra-frame mode selection code rate estimated rate-distortion optimization method and device thereof
CN103581670B (en) * 2013-10-09 2015-05-20 合一网络技术(北京)有限公司 H264 self-adaptation intra-frame mode selection code rate estimated rate-distortion optimization method and device thereof
CN104954787B (en) * 2014-03-27 2018-03-23 浙江大华技术股份有限公司 HEVC inter-frame forecast mode selection methods and device
CN104954787A (en) * 2014-03-27 2015-09-30 浙江大华技术股份有限公司 HEVC interframe prediction mode selection method and apparatus
CN104639939B (en) * 2015-02-04 2018-02-06 四川虹电数字家庭产业技术研究院有限公司 A kind of optimization method of infra-frame prediction MPM mechanism
CN104639939A (en) * 2015-02-04 2015-05-20 四川虹电数字家庭产业技术研究院有限公司 Optimization method for intra-frame prediction MPM (Most Probable Mode) mechanism
CN106034238A (en) * 2015-03-11 2016-10-19 杭州海康威视数字技术股份有限公司 Methods and systems for calculating coding distortion degree and coding mode control
CN106034238B (en) * 2015-03-11 2019-04-02 杭州海康威视数字技术股份有限公司 Method and system for calculating coding distortion and coding mode control
CN106101701B (en) * 2016-08-08 2019-05-14 传线网络科技(上海)有限公司 Based on H.264 interframe encoding mode selection method and device
CN106101701A (en) * 2016-08-08 2016-11-09 传线网络科技(上海)有限公司 Based on interframe encoding mode system of selection H.264 and device
CN110166780A (en) * 2018-06-06 2019-08-23 腾讯科技(深圳)有限公司 Bit rate control method, trans-coding treatment method, device and the machinery equipment of video
WO2020125649A1 (en) * 2018-12-17 2020-06-25 深圳市中兴微电子技术有限公司 Data processing method and apparatus, and storage medium
CN111327895B (en) * 2018-12-17 2022-05-24 深圳市中兴微电子技术有限公司 A data processing method and device
CN111327895A (en) * 2018-12-17 2020-06-23 深圳市中兴微电子技术有限公司 Data processing method and device
WO2020253728A1 (en) * 2019-06-20 2020-12-24 杭州海康威视数字技术股份有限公司 Encoding method and device
CN115442617A (en) * 2022-09-05 2022-12-06 安徽文香科技有限公司 A video processing method and device based on video coding

Also Published As

Publication number Publication date
CN100571390C (en) 2009-12-16

Similar Documents

Publication Publication Date Title
CN101207810A (en) Method and apparatus for fast mode selecting of H264 video coding
CN101378504B (en) Method for estimating block matching motion of H.264 encode
CN101815215B (en) Method and apparatus for coding mode selection
CN104796694B (en) Optimization intraframe video coding method based on video texture information
CN101394566B (en) A Cross-Diamond Motion Estimation Search Method
CN101888546B (en) A kind of method of estimation and device
CN107087200A (en) Skip coding mode early decision method for high-efficiency video coding standards
CN102647598B (en) H.264 inter-frame mode optimization method based on maximum and minimum MV difference
CN105657420A (en) HEVC-oriented fast intra-frame prediction mode decision method and device
CN100525454C (en) Selecting method for predicting mode between frames
CN101304529A (en) Method and device for selecting macro block mode
CN103384327A (en) AVS fast mode selection algorithm based on adaptive threshold
CN102685497B (en) Rapid interframe mode selection method and device for AVS (Advanced Audio Video Coding Standard) coder
CN101867818B (en) Selection method and device of macroblock mode
CN101883275B (en) Video coding method
CN100444639C (en) Method of selecting H.264/AVC frame to frame motion estimation mode
CN100452878C (en) Motion image handling method in video coding
CN100579227C (en) A system and method for selecting an intra prediction mode
CN100586186C (en) A Fast Inter Prediction Mode Selection Method
Zhou et al. An interpolation method by predicting the direction of pixel texture changing trend for H. 264/AVC intra prediction
Hong-ye et al. Cross-Hexagon-based motion estimation algorithm using motion vector adaptive search technique
CN108632615A (en) A method of the HEVC based on motion vector analysis judges SKIP patterns in advance
CN102196257B (en) Method and device for pre-determining macroblock coding mode
CN100362869C (en) Adaptive Reference Frame Selection Method Based on Mode Inheritance in Multi-frame Motion Estimation
CN101291433A (en) Modular movement vector matching and evaluating method in video coding technique

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

Effective date of registration: 20170426

Address after: 100055 Beijing, Guang'an, No. 305 Xicheng District street, No. two, building 10, floor 9, floor 1112

Patentee after: New venture (Beijing) Consulting Service Co., Ltd.

Address before: 100085 Beijing, Haidian District information industry base on the road No. 6

Patentee before: Lenovo (Beijing) Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210128

Address after: Unit 3805-3815, 38 / F, building 8, yard 91, Jianguo Road, Chaoyang District, Beijing

Patentee after: CHEZHUBANG (BEIJING) TECHNOLOGY Co.,Ltd.

Address before: 100055 1112, 10th floor, building 9, zone 2, 305 guanganmenwai street, Xicheng District, Beijing

Patentee before: Lezhi Xinchuang (Beijing) Consulting Service 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: 20091216

Termination date: 20201221