CN106131546A - A kind of method determining that HEVC merges and skips coding mode in advance - Google Patents

A kind of method determining that HEVC merges and skips coding mode in advance Download PDF

Info

Publication number
CN106131546A
CN106131546A CN201610593144.1A CN201610593144A CN106131546A CN 106131546 A CN106131546 A CN 106131546A CN 201610593144 A CN201610593144 A CN 201610593144A CN 106131546 A CN106131546 A CN 106131546A
Authority
CN
China
Prior art keywords
coding
skip
prediction residual
coding unit
merge
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
CN201610593144.1A
Other languages
Chinese (zh)
Other versions
CN106131546B (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.)
Hangzhou Shuyi Technology Co.,Ltd.
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610593144.1A priority Critical patent/CN106131546B/en
Publication of CN106131546A publication Critical patent/CN106131546A/en
Application granted granted Critical
Publication of CN106131546B publication Critical patent/CN106131546B/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/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a kind of method determining that HEVC merges and skips coding mode in advance, the method test coding unit with Skip and Merge pattern-coding after, if the encoding block residual absolute value sum that preferably pattern is corresponding is less than a default threshold value, then ignore Inter and the Intra pattern that HEVC standard is follow-up, and predicting unit partition process, the coding mode determining encoding block in advance is the relatively the superior in Skip and Merge, it is thus possible to exchange the very big reduction of HEVC encoder computation complexity for less performance loss.

Description

A kind of method determining that HEVC merges and skips coding mode in advance
Technical field
The invention belongs to video image compression coding technical field, be specifically related to one and determine that HEVC merges and skips in advance The method of coding mode.
Background technology
High efficiency Video coding (High Efficiency Video Coding, HEVC) is with code tree unit (Coding Tree Unit, CTU) be basic processing unit, CTU can only comprise a coding unit (Coding Unit, CU) or Person is divided into downwards four equal-sized CU with the form of quaternary tree.Further, each size be 2N × 2N (N can be 8, 16,32) CU can continue to be divided into the CU that four sizes are all N × N.In the CTU partition structure of whole quaternary tree form, CU as leaf node gives the predictive mode of certain square area in CTU, it may be assumed that (Intra), interframe in frame (Inter), skip over (Skip) or merge (Merge) pattern.Depend on predictive mode, CU can be divided into one, two or Four predicting unit (Prediction Unit, PU).To intraframe coding, there are two kinds of optional PU dividing mode;Interframe is compiled Code, has eight kinds of optional PU dividing mode;It is combined pattern, then a kind of PU dividing mode.
Merging patterns are a kind of patterns that HEVC is newly introduced, when a predicting unit is encoded into merging patterns, then it and Share identical movable information with its space or temporally adjacent block, spend in encoded motion information side it is thus possible to efficiently reduce Code check cost needed for face.Skip pattern is regarded as a special case of Merge pattern, in such a mode, only Skip by HEVC Mark and the corresponding block index that merges are encoded.
HEVC encoder determines CU partition structure, predictive mode and PU dividing mode in the way of exhaustive, compiles for interframe Code CU, encoder is tested Skip/Merge pattern successively by default order, is not made PU and divide, up and down or the situation such as left and right division Under rate distortion costs, determine above-mentioned project for target minimizing rate distortion costs function.
HEVC can obtain than H.264 etc. the previous more preferable code efficiency of video compression standard and performance, and main cause exists Have employed the coding unit of above-mentioned complexity, predicting unit and converter unit partition structure in it, and solve in the way of exhaustive Rate distortion function optimal solution when different demarcation structure and coding mode.But, " test all of probability, select Excellent " such a coding framework has been simultaneously introduced the biggest calculation cost.According to aforesaid testing sequence, for certain Eventually with the CU of Skip or Merge pattern-coding, if can after the rate distortion costs under completing Skip/Merge pattern calculates i.e. The Skip/Merge pattern forced coding pattern as this coding unit can be judged ahead of time, follow-up inter-frame mode, frame mode Can omit with CU recurrence partition process etc., thus greatly reduce the computation complexity of encoder.
In order to reduce the calculation cost that encoder spends on mode decision, document [1] " Early Merge Mode Decision Based on Motion Estimation and Hierarchical Depth Correlation for HEVC " (Pan etc., IEEE Trans.Broadcasting, 2014.2) disclose a kind of coding mould determining coding unit ahead of time Formula is the method for merging patterns, and coding unit is divided into two big classes: the level degree of depth be 0 root coding unit and level more than 0 Sub-coding unit.To root coding unit, decide whether to determine that it is ahead of time according to stand growth model information and motion estimation information Merging patterns, then utilize the dependency between root coding unit and sub-coding unit to determine merging mould ahead of time for sub-coding unit Whether formula is optimization model.Document [2] " A Novel Fast CU Encoding Scheme Based on Spatiotemporal Encoding Parameters for HEVC Inter Coding " (Ahn etc., IEEE Trans.Circuits Syst.Video Technol., 2015.3) disclosing one determines that coding unit is Skip mould ahead of time Formula and quickly determine that current coded unit is the need of the method continuing to divide downwards.
Summary of the invention
The invention provides a kind of method determining that HEVC merges and skips coding mode in advance, in order to reduce HEVC coding Device spends in the calculation cost determined on the partition structure of code tree unit and coding mode, thus reduces the meter of HEVC encoder Calculate complexity.
A kind of method determining that HEVC merges and skips coding mode in advance is as follows:
For current coded unit, determine its optimal candidate kinematic parameter under merging patterns, and record by calculating Rate distortion costs J that this optimal candidate kinematic parameter is correspondingmergeAnd prediction residual absolute value sum Smerge;In like manner by meter Calculate and determine its optimal candidate kinematic parameter under skip mode, and record the rate distortion generation that this optimal candidate kinematic parameter is corresponding Valency JskipAnd prediction residual absolute value sum Sskip
Judge following condition: Jskip< JmergeAnd Sskip< Tskip, TskipThreshold value for current QP and N of correspondence;
If setting up, judge the most in advance the coding mode of current coded unit as skip mode, and it is follow-up pre-to make it skip Survey the rate distortion costs test of dividing elements and other coding mode;
If being false, then determine whether following condition: Smerge< Tmerge, TmergeThreshold value for current QP and N of correspondence; QP is quantization parameter, and N is the size of coding unit;
Judge that the coding mode of current coded unit, as merging patterns, and makes it skip follow-up prediction the most in advance The rate distortion costs test of dividing elements and other coding mode;
If it is not, then make current coded unit continue HEVC coding standard specify that follow-up predicting unit divides and other is compiled The rate distortion costs test of pattern.
The process that implements of described step (1) is: first determine current coded unit candidate's fortune under merging patterns Dynamic parameter sets, this candidate motion parameter set close by with current coded unit space or temporally adjacent and encoded respectively predict list The kinematic parameter composition of unit;Then under merging patterns, calculate motion compensated image corresponding to each candidate motion parameter and prediction is residual Difference, and calculate, by prediction residual being carried out two-dimension discrete cosine transform, the rate that each candidate motion parameter is corresponding with quantification treatment Distortion cost and prediction residual absolute value sum, with minimize rate distortion costs for criterion from candidate motion parameter set close choose Optimal candidate motion parameter, and record rate distortion costs J that this optimal candidate kinematic parameter is correspondingmergeAnd prediction residual is exhausted To value sum Smerge
In like manner determining that current coded unit candidate motion parameter set under skip mode is closed, this candidate motion parameter set is closed It is made up of the kinematic parameter with current coded unit space or temporally adjacent and encoded each predicting unit;Then mould is being skipped Calculate motion compensated image corresponding to each candidate motion parameter and prediction residual under formula, and by prediction residual is carried out two dimension from Dissipate cosine transform and calculate rate distortion costs corresponding to each candidate motion parameter and prediction residual absolute value sum with quantification treatment, From candidate motion parameter set is closed, choose optimal candidate motion parameter for criterion minimizing rate distortion costs, and record this Rate distortion costs J that good candidate motion parameter is correspondingskipAnd prediction residual absolute value sum Sskip
Described threshold value TskipDetermination method as follows:
First with the quantization parameter QP set, HEVC encoder is used to encode, the test video of input for institute Have a coding unit of N × N size, record wherein with prediction residual absolute value corresponding to the coding unit of skip mode coding it With, form observation sample set { K+};The prediction residual that coding unit that record wherein encodes with non-skip mode is corresponding is absolute Value sum, forms observation sample set { K-};
Take and meet prediction residual absolute value sum S under following condition premiseiMinima as threshold value Tskip
p(Si| K-) P (K-) > p (Si|K+)P(K+)
Wherein: SiFor the prediction residual absolute value sum that i-th coding unit is corresponding, p (Si| K+) represent SiRelative to sight Survey sample set { distribution density of K+}, p (Si| K-) represent SiRelative to observation sample set { distribution density of K-}, P (K+) For the ratio that the coding unit encoded with skip mode is shared in the coding unit of all N × N sizes, P (K-) is with non-jumping Crossing the coding unit of pattern-coding ratio shared in the coding unit of all N × N sizes and P (K-)=1-P (K+), i is Natural number and 1≤i≤m, m is the coding unit quantity of all N × N sizes;
According to above-mentioned, travel through all possible quantization parameter QP and size N, obtain each group of QP with N determined corresponding Threshold value Tskip
Described threshold value TmergeDetermination method as follows:
First with the quantization parameter QP set, HEVC encoder is used to encode, the test video of input for institute Have a coding unit of N × N size, record wherein with prediction residual absolute value corresponding to the coding unit of merging patterns coding it With, form observation sample set { M+};Record is wherein absolute with prediction residual that the coding unit of unconsolidated pattern-coding is corresponding Value sum, forms observation sample set { M-};
Take and meet prediction residual absolute value sum S under following condition premiseiMinima as threshold value Tmerge
p(Si| M-) P (M-) > p (Si|M+)P(M+)
Wherein: SiFor the prediction residual absolute value sum that i-th coding unit is corresponding, p (Si| M+) represent SiRelative to sight Survey sample set { distribution density of M+}, p (Si| M-) represent SiRelative to observation sample set { distribution density of M-}, P (M+) For the ratio that the coding unit encoded with merging patterns is shared in the coding unit of all N × N sizes, P (M-) is with non-conjunction And the ratio shared in the coding unit of all N × N sizes of the coding unit of pattern-coding and P (M-)=1-P (M+), i is Natural number and 1≤i≤m, m is the coding unit quantity of all N × N sizes;
According to above-mentioned, travel through all possible quantization parameter QP and size N, obtain each group of QP with N determined corresponding Threshold value Tmerge
Described prediction residual absolute value sum SiRelative to the observation sample set { distribution density p (S of L}i| L) calculating Method is as follows, wherein L=K+, K-, M+ or M-;
First, observation sample set { each separation A of L} is determined0,A1,…,Am+1, wherein A0=0, Ai-Ai-1=d, Am+1 More than or equal to observation sample set { maximum in L} and less than this maximum+d;D be default group away from;
Then, distribution density p (S is calculated according to below equationi| L):
p ( S i | L ) = C i Σ i = 1 m C i
Wherein: CiFor observation sample set, { L} declines at interval [Ai,Ai+1) number of samples.
The integer that span is 0~51 of described quantization parameter QP, size N=8 of described coding unit, 16,32 or 64。
The present invention test coding unit with Skip and Merge pattern-coding after, if the volume that preferably pattern is corresponding Code block residual absolute value sum is less than a default threshold value, then ignore Inter and the Intra pattern that HEVC standard is follow-up, with And predicting unit partition process, determine that the coding mode of encoding block is the relatively the superior in Skip and Merge in advance, it is thus possible to relatively Few performance loss exchanges the very big reduction of HEVC encoder computation complexity for.
Accompanying drawing explanation
Fig. 1 is that the present invention determines that HEVC merges and skips the method flow schematic diagram of coding mode in advance.
Fig. 2 is the conditional probability density distribution schematic diagram of the prediction residual absolute value sum of 16 × 16 encoding blocks.
Detailed description of the invention
In order to more specifically describe the present invention, below in conjunction with the accompanying drawings and detailed description of the invention is to technical scheme It is described in detail.
May include that as it is shown in figure 1, the present invention determines that HEVC merges and skips the method flow of coding mode in advance
Step 101, for the coding unit of input, calculates current coded unit corresponding optimal candidate fortune under merging patterns The rate distortion costs of dynamic parameter, the residual absolute value sum of record coding unit.Specifically, the kinematic parameter of candidate respectively from In the predicting unit adjacent in room and time territory with current prediction unit, encoder calculates corresponding each Candidate Motion ginseng respectively The motion compensated image of number and prediction residual, carry out two-dimension discrete cosine transform and quantification treatment to prediction residual, be calculated as follows Rate distortion costs:
J=D+ λ R
Wherein: D is the coding distortion represented with the error between original image and reconstruction image, and R is to represent present encoding Bit number needed for block, λ is the multiplier determined by quantization parameter QP.Encoder to minimize rate distortion costs function J as criterion, Choosing optimal kinematic parameter from candidate collection, the rate distortion costs of note correspondence is the rate distortion costs under merging patterns Jmerge, and the prediction residual absolute value sum after corresponding motion-compensated of record is Smerge
Step 102, calculates current coded unit rate distortion costs J under SKIP patternskip, and calculate corresponding with record Prediction residual absolute value sum Sskip
Step 103, it is judged that Jskip< Jmerge?The most then perform step 104, otherwise go to step 105.
Step 104, it is judged that residual absolute value sum S in blockskipWhether less than default threshold value Tskip, Sskip< Tskip?If so, go to step 106, otherwise continue the condition test of step 105.
Step 105, it is judged that residual absolute value sum S in blockmergeWhether less than default threshold value Tmerge, Smerge< Tmerge?The most then go to step 107, otherwise turn 108.
Step 106, is judged to eligible S to by step 104skip< TskipCoding unit, skip follow-up PU and divide Test with the rate distortion costs of other coding mode, judge that the coding mode of this coding unit is as SKIP in advance.
Step 107, is judged to eligible S to by step 105merge< TmergeCoding unit, skip follow-up PU and draw Point and the rate distortion costs test of other coding mode, judge that the coding mode of this coding unit is as MERGE ahead of time.
Step 108, for not meeting step 104 and the encoding block of 105 conditions, carry out follow-up PU block divide and INTER, Rate distortion costs test under INTRA pattern, determines the rate distortion costs of optimal PU partition structure, coding mode and correspondence.
Threshold value T in said method, described in step 105mergeDetermine with the method for study, specifically, the volume of N × N size Code unit, has a corresponding threshold value to the QP value that each is possible, and these threshold values are saved in one with N and QP value for index In form.
The method of a list item in computation sheet is: with corresponding QP value, uses the test to input of the HEVC encoder Video encodes, and the coding mode of the coding unit of N × N size regards as random event, and is set by the sample space of event For: {, with MERGE pattern-coding, CU is with non-MERGE pattern-coding for CU }.CU is with MERGE pattern-coding for event M+ for note, and CU is with non- MERGE pattern-coding is event M-.The block of those CU with MERGE pattern-coding it is readily obtained in the cataloged procedure of encoder The distribution of interior residual absolute value sum, and with in the block of those CU of non-MERGE pattern-coding residual absolute value sum point Cloth, remembers the conditional probability density that p (S | M+) and p (S | M-) is above-mentioned two class event S values respectively;Calculate S value relative to overall Conditional probability density is as follows:
First, to sample set, { observation sample in L} is ranked up, and determines the separation often organized away from d with default group A0,A1,...,AK, wherein A0=0, Ai-Ai-1=d, AKAdd more than or equal to the maximum in sample set and less than this maximum Group away from and value;
{ L} declines at every class interval [A in statistical sample seti,Ai+1) number of samples, be denoted as Ci
It is calculated as follows the corresponding overall Density Distribution of sample:
p ( S i | L ) = C i / Σ i C i
Wherein: L represents one in classification M+ and M-;Fig. 2 is shown, and a large amount of tests are regarded by HEVC reference model encoder The conditional probability density of the S value of 16 × 16 encoding blocks of frequency experiment gained.
By Bayesian formula, two states M+ of encoding block and the posterior probability of M-it is:
P ( M + | S ) = p ( S | M + ) P ( M + ) P ( S )
P ( M - | S ) = p ( S | M - ) P ( M - ) P ( S )
Wherein: P (M+) and P (M-) is the prior probability of state M+ and M-respectively, P (S) be one for normalized because of Son;P is calculated with the ratio that the coding unit of merging patterns coding is shared in the coding unit of all N × N sizes by statistics (M+) P (M-), it is calculated as follows:
P (M-)=1-P (M+)
Use Bayes decision rule based on minimal error rate: if following formula is set up, then prediction residual absolute value it It is MERGE with the coding mode decision of the encoding block for S.
P (S | M+) P (M+) > p (S | M-) P (M-)
By reference model encoder, test video is tested N × N encoding block of gained with MERGE pattern and non-MERGE mould The conditional probability density of the S value of the encoding block of formula coding, and prior probability P (M+) and P (M-), take the minimum S meeting following formula Value is as threshold value Tmerge
p(Si| M-) P (M-) > p (Si|M+)P(M+)
With TmergeAsk for be similar to, threshold value T can be obtainedskip
The span of quantization parameter QP is the integer of 0 to 51, and N can be 8,16,32 or 64.To each possible QP value, N Corresponding two threshold values T of the coding unit of × N sizeskipAnd Tmerge, these threshold values are stored in two forms, they respectively with N and QP is index, and one preserves corresponding Tskip, another preserves corresponding Tmerge
The above-mentioned description to embodiment is to be understood that for ease of those skilled in the art and apply the present invention. Above-described embodiment obviously easily can be made various amendment by person skilled in the art, and described herein typically Principle is applied in other embodiments without through performing creative labour.Therefore, the invention is not restricted to above-described embodiment, ability Field technique personnel should be in protection scope of the present invention according to the announcement of the present invention, the improvement made for the present invention and amendment Within.

Claims (6)

1. the method determining that HEVC merges and skips coding mode in advance, it is characterised in that:
For current coded unit, determine its optimal candidate kinematic parameter under merging patterns by calculating, and record this Rate distortion costs J that good candidate motion parameter is correspondingmergeAnd prediction residual absolute value sum Smerge;In like manner by calculating really Its optimal candidate kinematic parameter under skip mode fixed, and record the rate distortion costs that this optimal candidate kinematic parameter is corresponding JskipAnd prediction residual absolute value sum Sskip
Judge following condition: Jskip< JmergeAnd Sskip< Tskip, TskipThreshold value for current QP and N of correspondence;
If setting up, judge that the coding mode of current coded unit, as skip mode, and makes it skip follow-up prediction list the most in advance Unit divides and the rate distortion costs test of other coding mode;
If being false, then determine whether following condition: Smerge< Tmerge, TmergeThreshold value for current QP and N of correspondence;QP is Quantization parameter, N is the size of coding unit;
Judge that the coding mode of current coded unit, as merging patterns, and makes it skip follow-up predicting unit the most in advance Divide and the rate distortion costs test of other coding mode;
If it is not, then make current coded unit continue HEVC coding standard specify that follow-up predicting unit divides and other coding mould The rate distortion costs test of formula.
Method the most according to claim 1, it is characterised in that: the process that implements of described step (1) is: first determine Current coded unit candidate motion parameter set under merging patterns is closed, this candidate motion parameter set close by with current coded unit The kinematic parameter composition of space or temporally adjacent and encoded each predicting unit;Then under merging patterns, calculate each candidate fortune Move motion compensated image corresponding to parameter and prediction residual, and by prediction residual is carried out two-dimension discrete cosine transform and quantization Process and calculate rate distortion costs corresponding to each candidate motion parameter and prediction residual absolute value sum, with minimum rate distortion generation Valency is that criterion chooses optimal candidate motion parameter from candidate motion parameter set is closed, and records this optimal candidate kinematic parameter pair Rate distortion costs J answeredmergeAnd prediction residual absolute value sum Smerge
In like manner determine that current coded unit candidate motion parameter set under skip mode is closed, this candidate motion parameter set close by with The kinematic parameter composition of current coded unit space or temporally adjacent and encoded each predicting unit;Then under skip mode Calculate motion compensated image corresponding to each candidate motion parameter and prediction residual, and by prediction residual being carried out more than two-dimensional discrete String transform and quantization processes and calculates rate distortion costs corresponding to each candidate motion parameter and prediction residual absolute value sum, with Little rate distortion cost is criterion chooses optimal candidate motion parameter from candidate motion parameter set is closed, and records this and most preferably wait Select rate distortion costs J that kinematic parameter is correspondingskipAnd prediction residual absolute value sum Sskip
Method the most according to claim 1, it is characterised in that: described threshold value TskipDetermination method as follows:
First with set quantization parameter QP, use HEVC encoder to input test video encode, for all N × The coding unit of N size, record is wherein with the prediction residual absolute value sum that the coding unit of skip mode coding is corresponding, composition Observation sample set { K+};The prediction residual absolute value sum that coding unit that record wherein encodes with non-skip mode is corresponding, Composition observation sample set { K-};
Take and meet prediction residual absolute value sum S under following condition premiseiMinima as threshold value Tskip
p(Si| K-) P (K-) > p (Si|K+)P(K+)
Wherein: SiFor the prediction residual absolute value sum that i-th coding unit is corresponding, p (Si| K+) represent SiRelative to observation sample This set { distribution density of K+}, p (Si| K-) represent SiRelative to observation sample set the distribution density of K-}, and P (K+) be with The coding unit of skip mode coding ratio shared by the coding unit of all N × N sizes, P (K-) is for skip mould with non- Ratio that the coding unit of formula coding is shared in the coding unit of all N × N sizes and P (K-)=1-P (K+), i is nature Number and the coding unit quantity that 1≤i≤m, m are all N × N sizes;
According to above-mentioned, travel through all possible quantization parameter QP and size N, obtain each group of threshold corresponding for QP with N determined Value Tskip
Method the most according to claim 1, it is characterised in that: described threshold value TmergeDetermination method as follows:
First with set quantization parameter QP, use HEVC encoder to input test video encode, for all N × The coding unit of N size, record is wherein with the prediction residual absolute value sum that the coding unit of merging patterns coding is corresponding, composition Observation sample set { M+};Record wherein with the prediction residual absolute value sum that the coding unit of unconsolidated pattern-coding is corresponding, Composition observation sample set { M-};
Take and meet prediction residual absolute value sum S under following condition premiseiMinima as threshold value Tmerge
p(Si| M-) P (M-) > p (Si|M+)P(M+)
Wherein: SiFor the prediction residual absolute value sum that i-th coding unit is corresponding, p (Si| M+) represent SiRelative to observation sample This set { distribution density of M+}, p (Si| M-) represent SiRelative to observation sample set the distribution density of M-}, and P (M+) be with The coding unit of merging patterns coding ratio shared by the coding unit of all N × N sizes, P (M-) is with unconsolidated mould Ratio that the coding unit of formula coding is shared in the coding unit of all N × N sizes and P (M-)=1-P (M+), i is nature Number and the coding unit quantity that 1≤i≤m, m are all N × N sizes;
According to above-mentioned, travel through all possible quantization parameter QP and size N, obtain each group of threshold corresponding for QP with N determined Value Tmerge
5. according to the method described in claim 3 or 4, it is characterised in that: described prediction residual absolute value sum SiRelative to sight Survey the sample set { distribution density p (S of L}i| L) computational methods as follows, wherein L=K+, K-, M+ or M-;
First, observation sample set { each separation A of L} is determined0,A1,...,Am+1, wherein A0=0, Ai-Ai-1=d, Am+1It is more than Equal to observation sample set { maximum in L} and less than this maximum+d;D be default group away from;
Then, distribution density p (S is calculated according to below equationi| L):
p ( S i | L ) = C i Σ i = 1 m C i
Wherein: CiFor observation sample set, { L} declines at interval [Ai,Ai+1) number of samples.
6. according to the method described in claim 3 or 4, it is characterised in that: the span of described quantization parameter QP is 0~51 Integer, size N=8 of described coding unit, 16,32 or 64.
CN201610593144.1A 2016-07-26 2016-07-26 A method of determining that HEVC merges and skip coding mode in advance Active CN106131546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610593144.1A CN106131546B (en) 2016-07-26 2016-07-26 A method of determining that HEVC merges and skip coding mode in advance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610593144.1A CN106131546B (en) 2016-07-26 2016-07-26 A method of determining that HEVC merges and skip coding mode in advance

Publications (2)

Publication Number Publication Date
CN106131546A true CN106131546A (en) 2016-11-16
CN106131546B CN106131546B (en) 2018-12-18

Family

ID=57290833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610593144.1A Active CN106131546B (en) 2016-07-26 2016-07-26 A method of determining that HEVC merges and skip coding mode in advance

Country Status (1)

Country Link
CN (1) CN106131546B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534849A (en) * 2016-12-30 2017-03-22 杭州当虹科技有限公司 Fast HEVC interframe coding method
CN107197251A (en) * 2017-06-27 2017-09-22 中南大学 A kind of inter-frame mode fast selecting method and device based on hierarchical B-frame of new video coding standard
CN108632615A (en) * 2018-04-09 2018-10-09 首都师范大学 A method of the HEVC based on motion vector analysis judges SKIP patterns in advance
CN108924551A (en) * 2018-08-29 2018-11-30 腾讯科技(深圳)有限公司 The prediction technique and relevant device of video image coding pattern
CN109040758A (en) * 2017-06-09 2018-12-18 晨星半导体股份有限公司 Video-frequency compression method and video compress device
CN111031303A (en) * 2019-11-21 2020-04-17 郑州轻工业大学 3D-HEVC (high efficiency video coding) rapid depth coding method based on Bayesian decision theorem
CN112714312A (en) * 2019-10-24 2021-04-27 腾讯科技(深圳)有限公司 Encoding mode selection method, device and readable storage medium
CN113170166A (en) * 2018-12-30 2021-07-23 北京字节跳动网络技术有限公司 Conditional application of inter-prediction with geometric partitioning in video processing
US11570450B2 (en) 2018-11-06 2023-01-31 Beijing Bytedance Network Technology Co., Ltd. Using inter prediction with geometric partitioning for video processing
CN117376551A (en) * 2023-12-04 2024-01-09 淘宝(中国)软件有限公司 Video coding acceleration method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448159A (en) * 2009-01-08 2009-06-03 北京航空航天大学 Rapid interframe mode selection method based on rate-distortion cost and mode frequency
WO2013060471A1 (en) * 2011-10-28 2013-05-02 Canon Kabushiki Kaisha Method and device for determining parameters for encoding or decoding of an image of a video sequence
CN104023233A (en) * 2014-06-24 2014-09-03 华侨大学 Fast inter-frame prediction method of HEVC (High Efficiency Video Coding)
CN104168480A (en) * 2014-09-09 2014-11-26 西安电子科技大学 Fast selecting method for intra-frame prediction encoding modes based on HEVC standard
CN104639940A (en) * 2015-03-06 2015-05-20 宁波大学 Quick HEVC (High Efficiency Video Coding) inter-frame prediction mode selection method
CN104796693A (en) * 2015-04-01 2015-07-22 南京邮电大学 Rapid HEVC CU deep partition coding method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448159A (en) * 2009-01-08 2009-06-03 北京航空航天大学 Rapid interframe mode selection method based on rate-distortion cost and mode frequency
WO2013060471A1 (en) * 2011-10-28 2013-05-02 Canon Kabushiki Kaisha Method and device for determining parameters for encoding or decoding of an image of a video sequence
CN104023233A (en) * 2014-06-24 2014-09-03 华侨大学 Fast inter-frame prediction method of HEVC (High Efficiency Video Coding)
CN104168480A (en) * 2014-09-09 2014-11-26 西安电子科技大学 Fast selecting method for intra-frame prediction encoding modes based on HEVC standard
CN104639940A (en) * 2015-03-06 2015-05-20 宁波大学 Quick HEVC (High Efficiency Video Coding) inter-frame prediction mode selection method
CN104796693A (en) * 2015-04-01 2015-07-22 南京邮电大学 Rapid HEVC CU deep partition coding method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SANGSOO AHN ET AL.: "A Novel Fast CU Encoding Scheme Based on Spatiotemporal Encoding Parameters for HEVC Inter Coding", 《IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY》 *
ZHAOQING PAN ET AL.: "Early MERGE Mode Decision Based on Motion Estimation and Hierarchical Depth Correlation for HEVC", 《IEEE TRANSACTIONS ON BROADCASTING》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534849B (en) * 2016-12-30 2019-07-16 杭州当虹科技股份有限公司 A kind of quick HEVC inter-frame encoding methods
CN106534849A (en) * 2016-12-30 2017-03-22 杭州当虹科技有限公司 Fast HEVC interframe coding method
CN109040758A (en) * 2017-06-09 2018-12-18 晨星半导体股份有限公司 Video-frequency compression method and video compress device
CN107197251A (en) * 2017-06-27 2017-09-22 中南大学 A kind of inter-frame mode fast selecting method and device based on hierarchical B-frame of new video coding standard
CN107197251B (en) * 2017-06-27 2019-08-13 中南大学 A kind of inter-frame mode fast selecting method and device based on hierarchical B-frame of new video coding standard
CN108632615A (en) * 2018-04-09 2018-10-09 首都师范大学 A method of the HEVC based on motion vector analysis judges SKIP patterns in advance
CN108924551B (en) * 2018-08-29 2022-01-07 腾讯科技(深圳)有限公司 Method for predicting video image coding mode and related equipment
CN108924551A (en) * 2018-08-29 2018-11-30 腾讯科技(深圳)有限公司 The prediction technique and relevant device of video image coding pattern
US11570450B2 (en) 2018-11-06 2023-01-31 Beijing Bytedance Network Technology Co., Ltd. Using inter prediction with geometric partitioning for video processing
US11611763B2 (en) 2018-11-06 2023-03-21 Beijing Bytedance Network Technology Co., Ltd. Extensions of inter prediction with geometric partitioning
CN113170166A (en) * 2018-12-30 2021-07-23 北京字节跳动网络技术有限公司 Conditional application of inter-prediction with geometric partitioning in video processing
CN113170166B (en) * 2018-12-30 2023-06-09 北京字节跳动网络技术有限公司 Use of inter prediction with geometric partitioning in video processing
US11956431B2 (en) 2018-12-30 2024-04-09 Beijing Bytedance Network Technology Co., Ltd Conditional application of inter prediction with geometric partitioning in video processing
CN112714312A (en) * 2019-10-24 2021-04-27 腾讯科技(深圳)有限公司 Encoding mode selection method, device and readable storage medium
CN112714312B (en) * 2019-10-24 2023-07-18 腾讯科技(深圳)有限公司 Coding mode selection method, device and readable storage medium
CN111031303B (en) * 2019-11-21 2021-01-26 郑州轻工业大学 3D-HEVC (high efficiency video coding) rapid depth coding method based on Bayesian decision theorem
CN111031303A (en) * 2019-11-21 2020-04-17 郑州轻工业大学 3D-HEVC (high efficiency video coding) rapid depth coding method based on Bayesian decision theorem
CN117376551A (en) * 2023-12-04 2024-01-09 淘宝(中国)软件有限公司 Video coding acceleration method and electronic equipment
CN117376551B (en) * 2023-12-04 2024-02-23 淘宝(中国)软件有限公司 Video coding acceleration method and electronic equipment

Also Published As

Publication number Publication date
CN106131546B (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN106131546A (en) A kind of method determining that HEVC merges and skips coding mode in advance
CN102845060B (en) Data compression for video
CN102137263B (en) Distributed video coding and decoding methods based on classification of key frames of correlation noise model (CNM)
CN102970526B (en) A kind of method obtaining transform block size and module
CN103517069B (en) A kind of HEVC intra-frame prediction quick mode selection method based on texture analysis
CN102025995B (en) Spatial enhancement layer rapid mode selection method of scalable video coding
CN102301716B (en) Method for decoding a stream representative of a sequence of pictures, method for coding a sequence of pictures and coded data structure
CN102474609B (en) Method and apparatus for encoding images and method and apparatus for decoding images
CN104754357A (en) Intraframe coding optimization method and device based on convolutional neural network
CN100473168C (en) Motion vector space prediction method for video coding
CN103546749B (en) Method for optimizing HEVC (high efficiency video coding) residual coding by using residual coefficient distribution features and bayes theorem
CN107277506B (en) Motion vector accuracy selection method and device based on adaptive motion vector precision
CN107846593B (en) Rate distortion optimization method and device
CN104883565A (en) Decision-making method and device for intra-frame prediction mode of high efficiency video coding
CN102187656A (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
CN101404774A (en) Macro-block partition mode selection method in movement search
CN108989799B (en) Method and device for selecting reference frame of coding unit and electronic equipment
CN107318016A (en) A kind of HEVC inter-frame forecast mode method for rapidly judging based on zero piece of distribution
CN102801976A (en) Inter-frame module selecting method based on three-dimensional wavelet video code
CN101605262A (en) The predicting size motion of variable block method and apparatus
CN101888546A (en) Motion estimation method and device
CN107360433A (en) A kind of interframe prediction encoding method and device
CN106331700A (en) Coding and decoding methods of reference image, coding device, and decoding device
CN103702131B (en) Pattern-preprocessing-based intraframe coding optimization method and system
CN106131573B (en) A kind of HEVC spatial resolutions code-transferring method

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

Effective date of registration: 20230814

Address after: Room 111-6, Building 3, No. 1 Lvting Road, Cangqian Street, Yuhang District, Hangzhou City, Zhejiang Province, 311121

Patentee after: Hangzhou Shuyi Technology Co.,Ltd.

Address before: Room 1201, Building 15, Qinya Garden, No. 111 Wensan West Road, Hangzhou City, Zhejiang Province, 310012

Patentee before: Wang Jingtao

TR01 Transfer of patent right