CN104104947B - A kind of method for video coding and device - Google Patents

A kind of method for video coding and device Download PDF

Info

Publication number
CN104104947B
CN104104947B CN201310112441.6A CN201310112441A CN104104947B CN 104104947 B CN104104947 B CN 104104947B CN 201310112441 A CN201310112441 A CN 201310112441A CN 104104947 B CN104104947 B CN 104104947B
Authority
CN
China
Prior art keywords
piecemeal
frame
similarity
predictive mode
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310112441.6A
Other languages
Chinese (zh)
Other versions
CN104104947A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310112441.6A priority Critical patent/CN104104947B/en
Priority to PCT/CN2013/086498 priority patent/WO2014161302A1/en
Publication of CN104104947A publication Critical patent/CN104104947A/en
Application granted granted Critical
Publication of CN104104947B publication Critical patent/CN104104947B/en
Active 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques

Abstract

The embodiment of the invention discloses a kind of method for video coding, described method includes: the current coded unit of target frame is divided at least two piecemeal of formed objects;Calculate in described at least two piecemeal the similarity between piecemeal two-by-two respectively;According in described at least two piecemeal two-by-two similarity between piecemeal carry out intra prediction mode screening, and be predicted model selection according to intra prediction mode the selection result;Select result that described coding unit is encoded according to described predictive mode.The embodiment of the invention also discloses a kind of video coding apparatus.Use the present invention, can effectively reduce Intra prediction mode selection number of times, thus significantly increase Video coding speed.

Description

A kind of method for video coding and device
Technical field
The present invention relates to a kind of field of video encoding, particularly relate to the predictive mode in a kind of video coding process System of selection and device.
Background technology
Along with developing rapidly of multimedia technology, the present computer technology particularly mass data storage and transmission The maturation of technology, video as a kind of main medium type people life, educate, the aspect such as amusement It is increasingly becoming indispensable information carrier.In existing technology of video compressing encoding, higher in order to obtain Compression efficiency, begin with the separate coded system of the elementary cell encoding, predicting, convert, Predicting unit and converter unit can equal to or less than coding unit, by the separation of these three elementary cells, Be conducive to respective function to reach optimal effectiveness, and then obtain higher compression efficiency, such as HEVC (High Efficient Video Coding, high-performance video coding) standard.But, flexile CU (Coding Unit, coding unit), PU (Prediction Unit, it was predicted that unit), TU(transform Unit, conversion is single Unit) mode combinations, bring great computational burden to the model selection of encoder.In order to obtain optimum volume Pattern, needs at inter-frame forecast mode and Intra prediction mode selection in video coding process, and for Infra-frame prediction, it is often necessary to carry out the predictive coding of M × M and N × N and the transition coding of correspondence thereof, its Middle M × M and N × N is respectively optional predicting unit size, and M is more than N and the width of no more than CU Degree, owing to the amount of calculation of intra prediction mode is very big, causes significantly increasing the fortune that predictive mode selects Calculate complexity.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of method for video coding and device, The selection number of times of intra prediction mode can be reduced.
In order to solve above-mentioned technical problem, embodiments provide a kind of method for video coding, described side Method includes:
The current coded unit of target frame is divided at least two piecemeal of formed objects;
Calculate in described at least two piecemeal the similarity between piecemeal two-by-two respectively;
According in described at least two piecemeal two-by-two similarity between piecemeal carry out intra prediction mode screening, And it is predicted model selection according to intra prediction mode the selection result;
Select result that described coding unit is encoded according to described predictive mode.
Correspondingly, the embodiment of the present invention additionally provides a kind of video coding apparatus, described video coding apparatus bag Include:
Prediction divides module, for the current coding unit of target frame is divided at least the two of formed objects Individual piecemeal;
Similarity calculation module, similar for calculate in described at least two piecemeal between piecemeal two-by-two respectively Degree;
Predictive mode selects module, for according to similarity between piecemeal two-by-two in described at least two piecemeal Carry out intra prediction mode screening, and be predicted model selection according to intra prediction mode the selection result;
Coding module, for selecting result to encode described coding unit according to described predictive mode.
The embodiment of the present invention is by judging that coding unit divides the similarity two-by-two of at least two piecemeal obtained in fact The most reasonably skip Intra prediction mode selection, 80% can be reduced on the premise of not reducing coding quality Above Intra prediction mode selection number of times, thus significantly increase Video coding speed.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of method for video coding in the embodiment of the present invention;
Fig. 2 is the detailed process schematic diagram of the predicting mode selecting method in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of video coding apparatus in the embodiment of the present invention;
Fig. 4 be the embodiment of the present invention video coding apparatus in predictive mode select module structural representation.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of a kind of method for video coding in the embodiment of the present invention, as shown in the figure this Bright method for video coding at least may include that
S101, is divided at least two piecemeal of formed objects by the current coded unit of target frame.
In implementing, as a example by the coding unit of 2N × 2N size, this coding unit can be divided into 2 Individual or the piecemeal of the formed objects of more than 2, as being divided into 2 piecemeals then obtaining two 2N × N, draws It is divided into 4 piecemeals then obtaining 4 N × N, by that analogy.
S102, calculates in described at least two piecemeal the similarity between piecemeal two-by-two respectively.
In implementing, residual error parameter can be used to represent in described at least two piecemeal two-by-two between piecemeal Similarity, described residual error parameter can include HAD (Hadamard absolute difference: Hadamard transform Difference and), SAD (Sum of Absolute Difference: absolute error and), SATD (Sum of Absolute Transformed Difference: through conversion absolute value error and) and MAD (Mean Absolute Difference: mean absolute difference) in any one.
S103, according in described at least two piecemeal two-by-two similarity between piecemeal carry out intra prediction mode Screening, and it is predicted model selection according to intra prediction mode the selection result.
Concrete, according in described at least two piecemeal two-by-two similarity between piecemeal carry out infra-frame prediction mould Formula screening may include that according in described at least two piecemeal two-by-two similarity between piecemeal judge described volume Code unit divides between the piecemeal obtained content difference the biggest, if difference compared with big, content is unsmooth, Represent that current coded unit is not suitable for doing large-sized infra-frame prediction, and then can also divide according to stating at least two In block, similarity between piecemeal judges that the content dividing between the piecemeal obtained in described coding unit becomes two-by-two Change the mildest, if then representing that current coded unit, without Further Division, can skip undersized Infra-frame prediction.Further, if intra prediction mode screening result judge described coding unit need not into The infra-frame prediction of row one of them or part, then can be at remaining optional intra prediction mode and inter prediction Model selection is carried out, until confirming optimum predictive mode within pattern;If the knot of intra prediction mode screening Fruit judges that described coding unit is made without all Intra prediction mode selections, then can be directly this coding Unit selection inter-frame forecast mode.
S104, selects result to encode described coding unit, i.e. according to S103 according to described predictive mode Corresponding the predicting the outcome of predictive mode selected carries out follow-up conversion, quantization and coding process.
Fig. 2 is the detailed process schematic diagram of the intra prediction mode screening technique in the embodiment of the present invention, passes through Specifically illustrating the intra prediction mode screening mode of the present invention, the coding unit in the present embodiment is set to 2N × 2N, through dividing the piecemeal obtaining 4 N × N, remembers that these 4 piecemeals are respectively A, B, C and D. Intra prediction mode screening process in the embodiment of the present invention may include that as shown in the figure
S201, obtains in described at least two piecemeal the similarity between piecemeal two-by-two.In implementing, this Can use in inventive embodiments that residual error parameter represents in described at least two piecemeal between piecemeal two-by-two is similar Degree, owing to HAD is the residual absolute value sum through Hadamard transform, more can than directly calculating residual error sum Reflect similarity between two image blocks, and computational complexity be the lowest, with in this present embodiment as example, Calculate A and B, HAD between C and D, A and C and B and D respectively and summation be designated as sumHAD, In order to represent the similarity divided in 4 piecemeals obtaining between piecemeal two-by-two.
S202, it is judged that target frame be non-I frame and two-by-two similarity between piecemeal to meet first pre-conditioned. Concrete, if target frame is I frame, can give tacit consent to current coded unit needs to carry out all intra prediction modes Model selection or acquiescence need in the model selection carrying out including presetting intra prediction mode, such as acquiescence I frame Coding unit needs to carry out the infra-frame prediction of M × M and carry out follow-up predictive mode selecting, N < M≤2N; If target frame is non-I frame, such as P frame or B frame, then determine whether in current coded unit piecemeal two-by-two Between similarity whether to meet first pre-conditioned.Sequence of frames of video in the embodiment of the present invention is divided into multiple Continuous print image sets (Group of Pictures, GOP) encodes, and comprises at least one in each image sets The individual I frame only with intraframe coding and at least one non-I frame, I frame (I frame) is referred to as Intra pictures (intra picture) or key frame, I frame is typically first frame of each GOP, and non-I frame can include P frame (predictive-frame, forward-predictive-coded frames) and B frame (bi-directional interpolated prediction Frame, bi-directional predicted interpolation coding frame), P frame and B frame can use intraframe coding and interframe encode two ways, P frame only has forward prediction mode, i.e. can only be to come the I frame before present frame by playing sequence in video sequence It is predicted coding as reference frame, and B frame has forward, backward and bi-predictive mode.And then described One pre-conditioned can according to two-by-two similarity between piecemeal judge the whether difference of the content between piecemeal relatively The condition that need to meet greatly, uses sumHAD to represent in 4 piecemeals that division obtains and divides two-by-two in the present embodiment Similarity between block, and then can be previously according to the quantization parameter set and the size of described coding unit I.e. 2N × 2N determines the first predetermined threshold value, assumes to determine that obtaining the first predetermined threshold value is 1 in the present embodiment, if Calculated sumHAD is more than the first predetermined threshold value 1, then judge in current coded unit two-by-two piecemeal it Between similarity meet first pre-conditioned, i.e. represent in current coded unit and divide between the piecemeal obtained Content difference is relatively big, and then performs S203, otherwise performs S204.
S203, determines and does not selects M × M predictive mode in frame.
Concrete, if S201 judge target frame be non-I frame and two-by-two similarity between piecemeal meet first Pre-conditioned, then it represents that the current coded unit in non-I frame to divide the content difference between the piecemeal obtained relatively Greatly, can confirm that and do not select large-sized intra prediction mode, for confirming current coded unit in the present embodiment Not selecting the infra-frame prediction of M × M, M is the size of optional predicting unit, N < M≤2N.
S204, carries out M × M infra-frame prediction.
S205, it is judged that whether to meet second pre-conditioned for the similarity between piecemeal two-by-two.Described second presets Condition can according to two-by-two similarity between piecemeal judge that the content change between piecemeal is the mildest The condition that need to meet, in implementing, the present embodiment employing sumHAD represents in described 4 piecemeals and divides two-by-two Similarity between block, and then can be previously according to the quantization parameter set and the size of described coding unit I.e. 2N × 2N determines the second predetermined threshold value, assumes to determine that obtaining the second predetermined threshold value is 2 in the present embodiment, if Calculated sumHAD is less than the second predetermined threshold value 2, then judge in current coded unit two-by-two piecemeal it Between similarity meet second pre-conditioned, represent divide between the piecemeal obtained in current coded unit interior Hold change the mildest.And if then judge target frame be non-I frame and two-by-two similarity between piecemeal meet One is pre-conditioned, then perform S205, otherwise perform S206.
S206, determines and does not selects N × N predictive mode in frame.
Concrete, if to judge that the similarity between piecemeal two-by-two meets second pre-conditioned for S205, then it represents that non- Current coded unit in I frame divides the content change between the piecemeal obtained more mild, can confirm that not The infra-frame prediction of more junior unit need to be carried out, the present embodiment i.e. can select with N × N predictive mode in skipped frame. If that flow performing is S203 before, i.e. determines and do not select in frame M × M predictive mode and determining not select N × N predictive mode in frame, at this moment can select interframe encoding mode to sequel after carrying out current coded unit Code processes;If that flow performing is S204 before, i.e. determines and do not select N × N predictive mode in frame but needs In carrying out frame, M × M predictive mode selects, then can be at M × M intra prediction mode and inter-frame forecast mode In carry out model selection further.
S207, carries out N × N infra-frame prediction.
Concrete, if before flow performing be S203, i.e. determine and do not select M × M predictive mode in frame, Follow-up can carry out model selection in N × N intra prediction mode and inter-frame forecast mode further;And If that flow performing is S204 before, i.e. determines and need to carry out M × M and the selection of N × N predictive mode in frame, Then can determine optimal frames inner estimation mode in above two intra prediction mode, then with inter-frame forecast mode In carry out model selection further, with the final predictive mode confirming and current coded unit being selected.
Fig. 3 is the structural representation of a kind of video coding apparatus in the embodiment of the present invention, as shown in the figure this The video coding apparatus of bright embodiment can at least include:
Prediction divides module 310, for the current coding unit of target frame is divided into formed objects at least Two piecemeals.In implementing, as a example by the coding unit of 2N × 2N size, it was predicted that divide module 310 This coding unit can be divided into the piecemeal of the formed objects of 2 or more than 2, as being divided into 2 then Obtain the piecemeal of two 2N × N, be divided into 4 piecemeals then obtaining 4 N × N, by that analogy.
Similarity calculation module 320, for calculating in described at least two piecemeal the phase between piecemeal two-by-two respectively Like degree.In implementing, residual error parameter can be used to represent in described at least two piecemeal two-by-two between piecemeal Similarity, described residual error parameter can include HAD (Hadamard absolute difference: Hadamard become The difference changed and), SAD (Sum of Absolute Difference: absolute error and), SATD (Sum of Absolute Transformed Difference: through conversion absolute value error and) and MAD (Mean Absolute Difference: mean absolute difference) in any one.Owing to HAD is through Hadamard transform Residual absolute value sum, calculate residual error sum than directly and more can reflect similarity between two image blocks, and Computational complexity is the lowest, with in this present embodiment as example, similarity calculation module 320 can be distinguished Calculate A and B, HAD between C and D, A and C and B and D and summation be designated as sumHAD, In order to represent the similarity divided in 4 piecemeals obtaining between piecemeal two-by-two.
Predictive mode selects module 330, for according to similar between piecemeal two-by-two in described at least two piecemeal Degree carries out intra prediction mode screening, and is predicted model selection according to intra prediction mode the selection result. In implementing, it was predicted that mode selection module 330 can according in described at least two piecemeal two-by-two piecemeal it Between similarity to judge to divide in described coding unit between the piecemeal obtained content difference the biggest, if poor Not compared with big, content is unsmooth, represents that current coded unit is not suitable for doing large-sized infra-frame prediction, in frame M × M infra-frame prediction, wherein M × M is the size of optional predicting unit, and M is more than N and not More than the width i.e. 2N of coding unit, wherein N × N is the size dividing the piecemeal obtained;And then prediction mould Formula selects described in module 330 can also judge according to the similarity stated at least two piecemeal between piecemeal two-by-two Coding unit divides the content change between the piecemeal obtained the mildest, if then representing current volume Code unit, without Further Division, can confirm that and skips undersized infra-frame prediction, such as N × N prediction in frame. Further, it was predicted that if mode selection module 330 is according in described at least two piecemeal two-by-two between piecemeal The intra prediction mode the selection result that similarity obtains is for judge that described coding unit is made without one of them Or the Intra prediction mode selection of part, then predictive mode selection module 330 can be in remaining optional frame Model selection is carried out, until confirming optimum predictive mode within predictive mode and inter-frame forecast mode;If root Sentence according to the intra prediction mode the selection result that in described at least two piecemeal, similarity between piecemeal obtains two-by-two Disconnected described coding unit is made without all Intra prediction mode selections, then predictive mode selects module 330 Directly can select inter-frame forecast mode for this coding unit.
Further, the predictive mode in the embodiment of the present invention selects module 330 to may include that as shown in Figure 4 First judging unit the 331, second judging unit 332 and threshold value determination unit 333, wherein:
First judging unit 331 is for judging in described at least two piecemeal that the similarity between piecemeal two-by-two is No meet first pre-conditioned, if M × M predicts mould in the most described predictive mode selects module not select frame Formula, wherein M is more than N and the natural number of the width of the most described coding unit, and the present embodiment encodes Cell width is 2N, N < M≤2N.In implementing, described first pre-conditioned can according to two Similarity between two piecemeals judges the condition whether bigger need of difference meet of the content between piecemeal, this enforcement Example use calculated sumHAD represent divide in 4 piecemeals obtaining between piecemeal two-by-two similar Degree, and then may determine that calculated sumHAD, ought if then judging whether more than the first predetermined threshold value In front coding unit, similarity between piecemeal meets first pre-conditioned two-by-two, i.e. represents current coded unit Content difference between the piecemeal that middle division obtains is bigger, it was predicted that mode selection module 330 whereby it was confirmed that Do not select large-sized infra-frame prediction, for confirming that current coded unit does not select the frame of M × M in the present embodiment Interior prediction, N < M≤2N.
Second judging unit 332, for judging in described at least two piecemeal that the similarity between piecemeal two-by-two is No meet second pre-conditioned, if N × N predicts mould in the most described predictive mode selects module not select frame Formula.Concrete, described second pre-conditioned can according to two-by-two similarity between piecemeal judge piecemeal it Between the condition that need to meet the most gently of content change, the present embodiment uses calculated sumHAD Represent in described 4 piecemeals the similarity between piecemeal two-by-two, if calculated sumHAD is pre-less than second If threshold value, then judge in current coded unit that the similarity between piecemeal two-by-two meets second pre-conditioned, table Show that the content change divided in current coded unit between the piecemeal obtained is the mildest.And if then judging target Frame be non-I frame and two-by-two similarity between piecemeal to meet second pre-conditioned, it was predicted that mode selection module 330 whereby it was confirmed that be not required to carry out the infra-frame prediction of more junior unit, i.e. can predict mould with N × N in skipped frame Formula selects.
Threshold value determination unit 333, for according to quantization parameter set in advance and the size of described coding unit Determine described first predetermined threshold value and/or the second predetermined threshold value.
Coding module 340, for selecting result to encode described coding unit according to described predictive mode., Corresponding the predicting the outcome of predictive mode i.e. selecting module 330 to confirm according to predictive mode carry out follow-up conversion, Quantify and coding process.
Optionally, the video coding apparatus in the embodiment of the present invention can also include further:
Non-I frame acknowledgment module 350, is used for judging whether described target frame is non-I frame, and described predictive mode selects Select module 330 according in the judged result of non-I frame acknowledgment module and described at least two piecemeal two-by-two piecemeal it Between similarity be predicted model selection.In implementing, concrete, if target frame is I frame, described pre- Survey mode selection module 330 can give tacit consent to current coded unit needs to carry out the pattern of all intra prediction modes Select or give tacit consent to the coding in the model selection needing to carry out including presetting intra prediction mode, such as acquiescence I frame Unit needs to carry out the infra-frame prediction of M × M and carry out follow-up predictive mode selecting;If target frame is non-I Frame, such as P frame or B frame, the most described predictive mode selects the first judging unit 331 in module 330 to enter It is pre-conditioned, if working as that one step judges in current coded unit whether the similarity between piecemeal two-by-two meets first Front frame is that in non-I frame and current coded unit, whether similarity between piecemeal meets first and preset bar two-by-two Part then can confirm that the infra-frame prediction not selecting M × M.
The embodiment of the present invention is by judging that coding unit divides the similarity two-by-two of at least two piecemeal obtained in fact The most reasonably skip Intra prediction mode selection, 80% can be reduced on the premise of not reducing coding quality Above Intra prediction mode selection number of times, thus significantly increase Video coding speed.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OMly Memory, Or random store-memory body (RaMdom Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (10)

1. a method for video coding, it is characterised in that described method includes:
The current coded unit of target frame is divided at least two piecemeal of formed objects;
Calculate in described at least two piecemeal the similarity between piecemeal two-by-two respectively;
If target frame is non-I frame, according in described at least two piecemeal two-by-two similarity between piecemeal carry out frame Inner estimation mode screens, and is predicted model selection according to intra prediction mode the selection result;
Select result that described coding unit is encoded according to described predictive mode.
2. method for video coding as claimed in claim 1, it is characterised in that described piecemeal size be N × N, N are natural number, described according in described at least two piecemeal two-by-two similarity between piecemeal carry out in frame Predictive mode screening includes:
Judge in described at least two piecemeal whether the similarity between piecemeal two-by-two meets first pre-conditioned, If M × M predictive mode in the most not selecting frame, wherein M is more than N and the most described coding unit The natural number of width;And/or
Judge in described at least two piecemeal whether the similarity between piecemeal two-by-two meets second pre-conditioned, If N × N predictive mode in the most not selecting frame.
3. method for video coding as claimed in claim 2, it is characterised in that described first pre-conditioned bag Include: in described at least two piecemeal two-by-two residual error parameter between piecemeal more than the first predetermined threshold value;
Described second pre-conditioned includes: in described at least two piecemeal, residual error parameter between piecemeal is little two-by-two In the second predetermined threshold value, wherein said second predetermined threshold value is more than the first predetermined threshold value.
4. method for video coding as claimed in claim 3, it is characterised in that described method also includes:
Size according to quantization parameter set in advance and described coding unit determines described first predetermined threshold value And/or second predetermined threshold value.
5. the method for video coding as according to any one of claim 2~4, it is characterised in that described basis Intra prediction mode the selection result is predicted model selection and includes:
If M × M predictive mode and N × N predictive mode in not selecting frame, then select frame in not selecting frame Between coding mode.
6. a video coding apparatus, it is characterised in that described video coding apparatus includes:
Non-I frame acknowledgment module, is used for judging whether target frame is non-I frame;
Prediction divides module, for the current coding unit of target frame is divided at least the two of formed objects Individual piecemeal;
Similarity calculation module, similar for calculate in described at least two piecemeal between piecemeal two-by-two respectively Degree;
Predictive mode select module, if for target frame be non-I frame, according in described at least two piecemeal two-by-two Similarity between piecemeal carries out intra prediction mode screening, and carries out according to intra prediction mode the selection result Predictive mode selects;
Coding module, for selecting result to encode described coding unit according to described predictive mode.
7. video coding apparatus as claimed in claim 6, it is characterised in that described piecemeal size be N × N, N are natural number, and described predictive mode selects module to include:
First judging unit, for judging in described at least two piecemeal similarity between piecemeal two-by-two whether Meet first pre-conditioned, if the most described predictive mode selects module not select M × M predictive mode in frame, Wherein M is more than N and the natural number of the width of the most described coding unit;And/or
Second judging unit, for judging in described at least two piecemeal similarity between piecemeal two-by-two whether Meet second pre-conditioned, if the most described predictive mode selects module not select N × N predictive mode in frame.
8. video coding apparatus as claimed in claim 7, it is characterised in that described first pre-conditioned bag Include: in described at least two piecemeal two-by-two residual error parameter between piecemeal more than the first predetermined threshold value;
Described second pre-conditioned includes: in described at least two piecemeal, residual error parameter between piecemeal is little two-by-two In the second predetermined threshold value, wherein said second predetermined threshold value is more than the first predetermined threshold value.
9. video coding apparatus as claimed in claim 8, it is characterised in that described predictive mode selects mould Block also includes:
Threshold value determination unit, true for the size according to quantization parameter set in advance and described coding unit Fixed described first predetermined threshold value and/or the second predetermined threshold value.
10. the video coding apparatus as according to any one of claim 6~9, it is characterised in that described pre- Survey mode selection module is predicted model selection according to intra prediction mode the selection result and specifically includes:
If M × M predictive mode and N × N predictive mode in not selecting frame, the most described pre-in not selecting frame Survey mode selection module and select interframe encoding mode.
CN201310112441.6A 2013-04-02 2013-04-02 A kind of method for video coding and device Active CN104104947B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310112441.6A CN104104947B (en) 2013-04-02 2013-04-02 A kind of method for video coding and device
PCT/CN2013/086498 WO2014161302A1 (en) 2013-04-02 2013-11-04 Video coding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310112441.6A CN104104947B (en) 2013-04-02 2013-04-02 A kind of method for video coding and device

Publications (2)

Publication Number Publication Date
CN104104947A CN104104947A (en) 2014-10-15
CN104104947B true CN104104947B (en) 2016-10-19

Family

ID=51657492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310112441.6A Active CN104104947B (en) 2013-04-02 2013-04-02 A kind of method for video coding and device

Country Status (2)

Country Link
CN (1) CN104104947B (en)
WO (1) WO2014161302A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113600B (en) * 2018-02-01 2022-08-26 腾讯科技(深圳)有限公司 Video encoding method, video encoding device, computer-readable storage medium, and computer apparatus
CN108777794B (en) * 2018-06-25 2022-02-08 腾讯科技(深圳)有限公司 Image encoding method and apparatus, storage medium, and electronic apparatus
WO2020118222A1 (en) 2018-12-07 2020-06-11 Futurewei Technologies, Inc. Constrained prediction mode for video coding
CN117294861B (en) * 2023-11-24 2024-03-22 淘宝(中国)软件有限公司 Coding block dividing method based on inter-frame prediction and coder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087427A (en) * 2006-06-06 2007-12-12 北京大学深圳研究生院 A H.264 standard in-frame prediction mode selection method
CN102413323A (en) * 2010-01-13 2012-04-11 中国移动通信集团广东有限公司中山分公司 H.264-based video compression method
CN102438148A (en) * 2011-12-23 2012-05-02 上海交通大学 Fast mode selection method based on DVS for H.264 intra prediction coding

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100474932C (en) * 2003-12-30 2009-04-01 中国科学院计算技术研究所 Video frequency frame image fast coding method based on optimal prediction mode probability
JP2009290498A (en) * 2008-05-29 2009-12-10 Renesas Technology Corp Image encoder and image encoding method
CN101895739B (en) * 2009-05-20 2012-12-19 深圳市融创天下科技股份有限公司 Block statistical characteristic-based block encoding method
ES2681209T3 (en) * 2009-09-10 2018-09-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Acceleration techniques for optimized distortion rate quantification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087427A (en) * 2006-06-06 2007-12-12 北京大学深圳研究生院 A H.264 standard in-frame prediction mode selection method
CN102413323A (en) * 2010-01-13 2012-04-11 中国移动通信集团广东有限公司中山分公司 H.264-based video compression method
CN102438148A (en) * 2011-12-23 2012-05-02 上海交通大学 Fast mode selection method based on DVS for H.264 intra prediction coding

Also Published As

Publication number Publication date
WO2014161302A1 (en) 2014-10-09
CN104104947A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
CN100579224C (en) Method and apparatus for lossless video encoding and decoding
CN100534194C (en) Methods and apparatus for video intraprediction encoding and decoding
CN101584219B (en) Method and apparatus for encoding and decoding based on intra prediction
CN102835111B (en) The motion vector of previous block is used as the motion vector of current block, image to be carried out to the method and apparatus of coding/decoding
CN101584218B (en) Method and apparatus for encoding and decoding based on intra prediction
CN100593955C (en) Method and device for coding a video picture in inter or intra mode
TWI722842B (en) Image prediction decoding method
CN105359511A (en) Systems and methods of encoding multiple video streams with adaptive quantization for adaptive bitrate streaming
CN106028037A (en) Equipment for decoding images
CN106105191A (en) For the method and apparatus processing multiview video signal
CN102090065A (en) Image encoding device, image decoding device, image encoding method, and image decoding method
CN106170092A (en) Fast encoding method for lossless coding
US20120207219A1 (en) Picture encoding apparatus, picture encoding method, and program
CN103067704B (en) A kind of method for video coding of skipping in advance based on coding unit level and system
CN103329534A (en) Image coding device and image decoding device
CN102595130B (en) Image coding device and image decoding device
CN101610417A (en) A kind of image filling method, device and equipment
CN104104947B (en) A kind of method for video coding and device
CN104811729B (en) A kind of video multi-reference frame coding method
JP2007189276A (en) Image compression apparatus and image compression program
CN101554058B (en) Method and apparatus for encoding and decoding based on intra prediction
CN105898308A (en) Resolution-variable coding mode prediction method and device
CN104811728A (en) Video content self-adaptation motion search method
CN102215392B (en) Intra-frame predicting method or device for estimating pixel value
CN102265615B (en) Use the image prediction of the subregion again in reference cause and effect district and use the Code And Decode of such prediction

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: 20240117

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518057, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.