A code rate estimation method and a fast mode decision method based on code rate estimation

A code rate and mode technology, applied in the field of rapid mode decision-making and code rate estimation based on code rate estimation, can solve problems such as the inability to consider the correlation between coefficients and coefficient blocks, the lack of consideration of coefficients, and rough parameter descriptions, etc., to achieve fast Accurately predict the bit rate, avoid the entropy coding process, and reduce the effect of video coding burden

Active Publication Date: 2021-07-27
HANGZHOU DIANZI UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The above code rate estimation technology uses parameters such as the sum of quantized coefficients (SQC), the number of coefficients greater than one (NG1) and the number of non-zero coefficients (NZ) to perform classification fitting after HDQ quantization. The larger the coefficient, the more code rate consumption, so these parameters can intuitively reflect the code rate information, but the disadvantage of this type of method is that the description of the parameters is too rough and does not take into account the correlation between the code rates between the coefficients. Because the code rate of the coefficient is correlated, the code rate of the previous coefficient will have an impact on the code rate of the next coefficient. If it is not considered, it will lead to performance degradation
[0014] The above code rate estimation technology is to obtain the transform coefficients after performing discrete cosine transform (DCT) on the residual coefficients before HDQ, and process and fit the transform coefficients to predict the code rate. This method uses a threshold to imitate HDQ The process, that is, the transformation coefficient judges whether the coefficient is quantized to non-zero through a threshold, and the transformation coefficient is proportional to the quantization coefficient, so the transformation coefficient can also reflect the code rate to a certain extent, but the disadvantage of this technique is that : Because the quantization process is omitted, the use of transform coefficients to describe the bit rate will be more ambiguous, and the context has a tendency to affect the bit rate during the encoding process, while CABAC is encoded based on accurate quantization coefficients, so the use of residual coefficients means Therefore, the correlation between coefficients and coefficient blocks cannot be considered, resulting in serious performance degradation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A code rate estimation method and a fast mode decision method based on code rate estimation
  • A code rate estimation method and a fast mode decision method based on code rate estimation
  • A code rate estimation method and a fast mode decision method based on code rate estimation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following is combined with the accompanying drawings in the manual Figure 1 to Figure 8 , to further illustrate the technical solution of the present invention.

[0062] S1: Calculate the sum of weighted quantization coefficients SQC for code rate estimation;

[0063] In the latest video coding standard (HEVC), the code rate of entropy coding consists of two parts

[0064]

[0065] where R hdr is the head bit rate, R hdr Generally describe the prediction mode, TU block division mode, etc. Since the calculation is relatively simple, the present invention uses the original HEVC algorithm to calculate the header bits.

[0066] The header bit mainly contains the following syntax elements:

[0067] Cu_transquant_bypass_flag: Indicates whether to perform scaling and loop filtering on the CU;

[0068] Cu_skip_flag: whether to skip the current CU;

[0069] Pred_mode_flag: A value of 0 indicates that the current CU prediction mode is MODE_INTER; a value of 1 indica...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a coding rate estimation method and a fast mode decision-making method based on the coding rate estimation. The code rate calculation formula is as follows: R ori = R hdr +R e where R hdr is the head bit rate, R e is the TU code rate; the calculation of the TU code rate includes: S1) predicting the code rate by the weighted quantization coefficient sum SQC, expressed as R sqc ; S2) Determine the location information Z based on the CG level pos ; S3) Determine the context model inversion parameter M turn ; S4) Determine whether to use the last non-zero coefficient position information Z of the TU level tlp ; S5) Calculate the final code rate of each TU: where R zpos =a 1 Z pos , R turn =a 2 m turn , R tlp =a 3 Z tlp , the R zpos , R turn , R tlp into the formula R e , the calculated code rate is fitted to obtain the coefficient a 1 、a 2 、a 3 . The present invention predicts the code rate quickly and accurately, so as to ensure that the purpose of reducing video encoding burden and saving encoding time is achieved within the range of acceptable performance loss.

Description

technical field [0001] The invention relates to the field of video coding, in particular to a code rate estimation method and a fast mode decision method based on code rate estimation. Background technique [0002] In the video coding process, the mode decision has a huge time consumption. First of all, in the H.265 video codec standard, there is a very flexible block division, such as the quadtree-based coding unit (CU), transformation unit (TU) As well as the prediction unit (PU), all CU / PU / TU need to undergo rate-distortion optimization to obtain the optimal division method. As far as CU is concerned, there are three sizes: 64x64, 32x32, and 16x16. The division is based on the code rate ( The overall performance of R) and distortion (D), which describes the coding quality of the video, the code rate needs to traverse each coefficient to obtain the syntax elements at the coefficient level, in order to complete the entropy coding to obtain the code rate, this process is acc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/105H04N19/124H04N19/13H04N19/184H04N19/61H04N19/70
CPCH04N19/105H04N19/124H04N19/13H04N19/184H04N19/61H04N19/70
Inventor 殷海兵孟翔黄晓峰
Owner HANGZHOU DIANZI UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products