CN103581682A - Fast mode decision algorithm for HEVC intra-frame coding and application thereof - Google Patents
Fast mode decision algorithm for HEVC intra-frame coding and application thereof Download PDFInfo
- Publication number
- CN103581682A CN103581682A CN201310353998.9A CN201310353998A CN103581682A CN 103581682 A CN103581682 A CN 103581682A CN 201310353998 A CN201310353998 A CN 201310353998A CN 103581682 A CN103581682 A CN 103581682A
- Authority
- CN
- China
- Prior art keywords
- shad
- pattern
- mode decision
- coding
- value
- 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
Links
Images
Abstract
The invention discloses a fast mode decision algorithm for HEVC intra-frame coding and application thereof. 35 intra-frame prediction modes are defined in HEVC. According to the result of rough mode decision, a filtering method for predictive coding is designed and achieved in order to reduce the number of candidate patterns in the rate distortion optimization mode decision process and reduce the complexity of the intra-frame coding. The fast mode decision algorithm effectively shortens coding time on the condition that coding efficiency is not reduced.
Description
Technical field
The present invention relates to technical field of video coding, particularly fast mode decision algorithm and the application thereof of the intraframe coding of a kind of efficient video coding standard HEVC.
Background technology
The common video encoding standard of new generation of formulating of efficient video coding mark standard (High Efficiency Video Coding, HEVC) Shi You International Telecommunications Union telecommunication standardsization tissue (ITU-T) Video coding expert group (VCEG) and moving images expert group of International Standards Organization/International Electrotechnical Commission (ISO/IEC) (MPEG).VCEG and MPEG have set up joint video coding work group (Joint Collaborative Team on Video Coding in January, 2010, JCTVC), and through discussion, research and the improvement of repeatedly JCTVC meeting, final ITU-T and ISO/IEC have formally issued HEVC standard in January, 2013, ITU-T H.265 with MPEG-H Part2.Under the prerequisite of same application condition and video quality, code check reduces half than previous H.264/MPEG-4AVC video encoding standard.
HEVC has adopted and the previous video encoding standard basic framework of the same hybrid coding H.264/MEPG-4AVC.During coding, first an encoding block passes through infra-frame prediction in conducting frame, and then prediction residual is carried out entropy coding after by change quantization and joined in bit stream.In HEVC, defined altogether 35 kinds of intra prediction modes, comprised Intra_Planar, Intra_DC and 33 kinds of directivity predictive mode Intra_Angular[i], i=2 ..., 34, as shown in Figure 1.How to select rapidly optimum pattern very important to the computation complexity of reduction intraframe coding.
The reference software HM of HEVC has adopted a kind of scheme of two step search.First, choose J in 35 kinds of intra prediction modes
sHADthe m of value minimum as candidate pattern; Secondly, choose J in m candidate pattern
rDa predictive mode that conduct is optimum of value minimum, that is: the mode decision of rate-distortion optimization.Wherein,
d
sHADfor the absolute value of prediction residual after Hadamard transform (Hadamard transform) and, R
modefor the needed bit number of coded prediction mode index, λ is Lagrange multiplier; J
rD=D+ λ R, the image block that distortion D is reconstruct and the variance of original picture block and, R is coding current block needed total bit number, comprises the index, residual error coefficient of predictive mode etc.Owing to calculating J
rDneed to carry out the operations such as transform and quantization, than calculating J
sHADmuch complicated, therefore, adopt the scheme of two step search more effective fast than the mode decision method of full rate-distortion optimization.Meanwhile, due to J
sHADj
rDeffectively approximate, the scheme of two steps search very approaches the method for full rate-distortion optimization in distortion performance.
Summary of the invention
The object of the invention is for the problems referred to above, a kind of fast mode decision algorithm of HEVC intraframe coding is provided.The present invention can reduce encoder complexity effectively in the situation that does not reduce code efficiency.
For achieving the above object, the technical solution adopted in the present invention is:
In the reference software of HEVC, by calculating J
sHADthe quantity of the candidate pattern of choosing is that 8 * 8 and 4 * 4 are fixed as respectively 3,3,8 and 8 according to the size 32 * 32,16 * 16 of prediction piece.In the present invention, the quantity of candidate pattern is according to 8 of minimum J
sHADmean value determine.8 the minimum J that obtain in the note first step
sHADmean value be μ, only have J
sHADvalue be less than μ pattern just as candidate pattern, that is: by average value mu, filter out some J
sHADlarger pattern.This side's ratio juris is J
sHADthe pattern that is greater than average value mu is not optimum conventionally, or its distortion performance and J
sHADthe pattern that is less than μ is similar.The quantity of the pattern that note is selected by μ is m', experiment showed, general m'≤4.Therefore, the present invention can reduce more amount of calculation than the scheme of two original step search, keeps identical distortion performance simultaneously.If m'≤m is set, the complexity of coding can access further and be reduced.
Beneficial effect
The present invention realizes in HEVC reference software HM8.2, and adopt intra-frame encoding mode to 5 of HEVC classifications totally 20 cycle testss test.Encoder is set to acquiescence, and the quantization parameter of selection (QP) has 22,27,32 and 37.Compare with intra prediction mode decision making algorithm original in HM8.2, the percentage that the present invention saves on the scramble time and distortion performance are as shown in Table 1.Can see, the present invention can reach the saving of the scramble time of 18% left and right, only has average 0.25% code check increase simultaneously in code efficiency.
The when increase of average bit rate of percentage that table 1 scramble time is saved
Accompanying drawing explanation
Fig. 1 is the directivity predictive mode in HEVC.
Embodiment
Embodiment 1
1) a given encoding block, calculates J to all intra prediction modes
sHAD;
2) according to the J obtaining in previous step
sHAD8 patterns finding out its intermediate value minimum, are designated as Cand
i, i=0,1 ..., 8;
3) calculate J
sHAD(Cand
i) mean value, be designated as μ;
To pattern Cand
i, i ∈ { i|J
sHAD(Cand
i)≤μ, i<m}, calculates J
rD, select a pattern of its intermediate value minimum to be set to the intra prediction mode of this encoding block.
Finally it should be noted that: obviously, above-described embodiment is only for example of the present invention is clearly described, and the not restriction to execution mode.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without also giving all execution modes.And the apparent variation of being amplified out thus or change are still among protection scope of the present invention.
Claims (6)
1. a fast mode decision algorithm for HEVC intraframe coding, is characterized in that: during the decision-making of conducting frame internal schema, first by coarse mode decision-making, calculated the cost function J of 35 kinds of patterns
sHAD, and to them by sequence from small to large, front m' pattern after sequence be as candidate pattern, 0 < m'≤35.
2. algorithm according to claim 1, is characterized in that: the quantity m' of described candidate pattern is according to 8 of minimum J
sHADmean value determine.
3. algorithm according to claim 2, is characterized in that: minimum front 8 J that obtain
sHADmean value be μ, J
sHADvalue be less than μ pattern just as candidate pattern, that is: by average value mu, filter out some J
sHADlarger pattern.
4. algorithm according to claim 3, is characterized in that: the quantity of the pattern of selecting by μ is m', m'≤4.
5. algorithm according to claim 4, is characterized in that: m'≤m, and the complexity of coding can access further and be reduced, and prediction piece is of a size of 32 * 32, and 16 * 16,8 * 8 and 4 * 4 o'clock, the value of m was respectively 3,3, and 8 and 8.
6. the application of method described in claim 5, is characterized in that, step is as follows:
1) a given encoding block, calculates J to all intra prediction modes
sHAD;
2) according to the J obtaining in previous step
sHAD8 patterns finding out its intermediate value minimum, are designated as Cand
i, i=0,1 ..., 8;
3) calculate J
sHAD(Cand
i) mean value, be designated as μ;
To pattern Cand
i, i ∈ { i|J
sHAD(Cand
i)≤μ, i<m}, calculates J
rD, select a pattern of its intermediate value minimum to be set to the intra prediction mode of this encoding block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310353998.9A CN103581682B (en) | 2013-08-14 | 2013-08-14 | A kind of fast mode decision algorithm of HEVC intraframe codings and its application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310353998.9A CN103581682B (en) | 2013-08-14 | 2013-08-14 | A kind of fast mode decision algorithm of HEVC intraframe codings and its application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103581682A true CN103581682A (en) | 2014-02-12 |
CN103581682B CN103581682B (en) | 2017-08-01 |
Family
ID=50052457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310353998.9A Active CN103581682B (en) | 2013-08-14 | 2013-08-14 | A kind of fast mode decision algorithm of HEVC intraframe codings and its application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103581682B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954788A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | HEVC (High Efficiency Video Coding) intra-frame prediction mode selection method and device |
WO2017113456A1 (en) * | 2015-12-30 | 2017-07-06 | 邦彦技术股份有限公司 | Hevc-oriented fast intra-frame prediction mode decision method and device |
CN111447438A (en) * | 2020-04-24 | 2020-07-24 | 西安理工大学 | Rapid intra-frame prediction mode judgment method for general video coding |
CN111918058A (en) * | 2020-07-02 | 2020-11-10 | 北京大学深圳研究生院 | Hardware-friendly intra prediction mode fast determination method, device and storage medium |
CN112565752A (en) * | 2020-11-13 | 2021-03-26 | 北京百度网讯科技有限公司 | Method, apparatus, device and medium for encoding video data |
WO2023131298A1 (en) * | 2022-01-07 | 2023-07-13 | Mediatek Inc. | Boundary matching for video coding |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100401789C (en) * | 2004-06-11 | 2008-07-09 | 上海大学 | Quick selection of prediction modes in H.264/AVC frame |
CN102595140B (en) * | 2012-03-09 | 2014-05-28 | 北京邮电大学 | Intra-frame prediction video coding method based on image inpainting and vector prediction operators |
CN102932642B (en) * | 2012-11-13 | 2015-06-24 | 北京大学 | Interframe coding quick mode selection method |
-
2013
- 2013-08-14 CN CN201310353998.9A patent/CN103581682B/en active Active
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954788A (en) * | 2014-03-27 | 2015-09-30 | 浙江大华技术股份有限公司 | HEVC (High Efficiency Video Coding) intra-frame prediction mode selection method and device |
CN104954788B (en) * | 2014-03-27 | 2018-09-04 | 浙江大华技术股份有限公司 | HEVC method for choosing frame inner forecast mode and device |
WO2017113456A1 (en) * | 2015-12-30 | 2017-07-06 | 邦彦技术股份有限公司 | Hevc-oriented fast intra-frame prediction mode decision method and device |
CN111447438A (en) * | 2020-04-24 | 2020-07-24 | 西安理工大学 | Rapid intra-frame prediction mode judgment method for general video coding |
CN111918058A (en) * | 2020-07-02 | 2020-11-10 | 北京大学深圳研究生院 | Hardware-friendly intra prediction mode fast determination method, device and storage medium |
CN111918058B (en) * | 2020-07-02 | 2022-10-28 | 北京大学深圳研究生院 | Hardware-friendly intra prediction mode fast determination method, device and storage medium |
CN112565752A (en) * | 2020-11-13 | 2021-03-26 | 北京百度网讯科技有限公司 | Method, apparatus, device and medium for encoding video data |
CN112565752B (en) * | 2020-11-13 | 2023-04-14 | 北京百度网讯科技有限公司 | Method, apparatus, device and medium for encoding video data |
WO2023131298A1 (en) * | 2022-01-07 | 2023-07-13 | Mediatek Inc. | Boundary matching for video coding |
Also Published As
Publication number | Publication date |
---|---|
CN103581682B (en) | 2017-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108184129B (en) | Video coding and decoding method and device and neural network for image filtering | |
CN105532007B (en) | It is filtered in video coding for the adaptive de-blocking of non-luminance component | |
CN104054344B (en) | Chroma data is deblocked for video coding | |
CN103248893B (en) | From H.264/AVC standard to code-transferring method and transcoder thereof the fast frame of HEVC standard | |
CN104205836B (en) | The method and product for offseting and deblocking for colourity slicing layer level quantized parameter in Video coding | |
KR102227411B1 (en) | Distance weighted bi-directional intra prediction | |
CN103581682A (en) | Fast mode decision algorithm for HEVC intra-frame coding and application thereof | |
CN105284112B (en) | Method and apparatus for the value for determining quantization parameter | |
CN107439013A (en) | The dynamic range adjustment decoded for HDR and wide color gamut video | |
CN109076237A (en) | The method and apparatus of the intra prediction mode of intra-frame prediction filtering device are used in video and compression of images | |
CN107079164A (en) | Method for the adaptive motion vector resolution ratio of Video coding | |
EP2805496A1 (en) | Reference pixel reduction for intra lm prediction | |
CN104247434A (en) | Loop filtering around slice boundaries or tile boundaries in video coding | |
Ruiz-Coll et al. | Fast partitioning algorithm for HEVC Intra frame coding using machine learning | |
MX2014012311A (en) | Moving image encoding device, moving image decoding device, moving image encoding method and moving image decoding method. | |
CN107888919A (en) | For exporting the device of reconstruction image | |
CN110099191A (en) | The method for removing deblocking man-made noise | |
CN101984665A (en) | Video transmission quality evaluating method and system | |
CN104662902A (en) | Restricted intra deblocking filtering for video coding | |
CN115426491A (en) | Encoder, decoder and corresponding methods using history-based motion vector prediction | |
CN113454997A (en) | Video encoding apparatus, method, computer storage medium, and removable platform | |
CN115243048A (en) | Video image decoding and encoding method and device | |
Wödlinger et al. | Sasic: Stereo image compression with latent shifts and stereo attention | |
CN103442229A (en) | Bit rate estimation method of SAO mode decision applied to encoder of HEVC standard | |
Ma et al. | A cross channel context model for latents in deep image compression |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |