WO2020253728A1 - 编码方法及装置 - Google Patents
编码方法及装置 Download PDFInfo
- Publication number
- WO2020253728A1 WO2020253728A1 PCT/CN2020/096591 CN2020096591W WO2020253728A1 WO 2020253728 A1 WO2020253728 A1 WO 2020253728A1 CN 2020096591 W CN2020096591 W CN 2020096591W WO 2020253728 A1 WO2020253728 A1 WO 2020253728A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mode
- candidate sub
- selected candidate
- sub
- modes
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/146—Data rate or code amount at the encoder output
- H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/567—Motion estimation based on rate distortion criteria
Definitions
- This application relates to video coding and decoding technology, and in particular to a coding method and device.
- each mode there are multiple sub-modes. For example, there are two sub-blocks in the triangular prediction mode, and the two sub-blocks have 5 and 4 motion information candidates respectively. After the combination, there are up to 20 motion information combinations, and the two sub-blocks can be divided into 45 degrees and 135 degrees. Division method, so there are up to 40 sub-patterns.
- each coding block it is necessary to first determine the optimal sub-mode in each mode, and then select a sub-mode from the optimal sub-modes of all modes as the optimal mode of the coding block. If complex decision-making methods are used for screening in all processes, the coding complexity will be very high.
- this application provides an encoding method and device.
- an encoding method including:
- the rate-distortion cost of each rough-selected candidate sub-mode is estimated based on the predicted value of the luminance component of each rough-selected candidate sub-mode, and the fine-selected candidate sub-mode is roughly selected based on the rate-distortion cost of each rough-selected candidate sub-mode. Selecting candidate sub-modes; wherein the selected candidate sub-mode is a sub-mode of the current mode for selection;
- the optimal sub-mode of the current mode is determined.
- an encoding device including a processor and a machine-readable storage medium, the machine-readable storage medium stores machine-readable instructions that can be executed by the processor, and The processor is prompted by the machine-readable instructions:
- the rate-distortion cost of each rough-selected candidate sub-mode is estimated based on the predicted value of the luminance component of each rough-selected candidate sub-mode, and the fine-selected candidate sub-mode is roughly selected based on the rate-distortion cost of each rough-selected candidate sub-mode. Selecting candidate sub-modes; wherein the selected candidate sub-mode is a sub-mode of the current mode for selection;
- the optimal sub-mode of the current mode is determined.
- the encoding method of the embodiment of the present application determines and stores the prediction value of the brightness component of each rough selection candidate sub-mode by determining the rough selection candidate sub-mode of the current mode of the current image block, based on the brightness component of each rough selection candidate sub-mode
- the predicted value estimates the rate-distortion cost of each rough selection candidate sub-mode, and based on the rate-distortion cost of each rough selection candidate sub-mode, the selected candidate sub-mode is roughly selected from the rough selection candidate sub-modes; further, from the stored Obtain the predicted value of the brightness component of each selected candidate sub-mode from the predicted value of the brightness component of each selected candidate sub-mode, and determine the accuracy of each selected candidate sub-mode based on the predicted value of the brightness component of each selected candidate sub-mode Rate-distortion cost, and based on the precise rate-distortion cost of each selected candidate sub-mode, determine the optimal sub-mode of the current mode, and reuse the predicted value of the brightness component calculated in the sub-mode rough selection process in the sub
- Fig. 1 is a schematic flowchart of an encoding method shown in an exemplary embodiment of the present application
- FIG. 2 is a schematic flowchart of a rough selection of sub-modes according to an exemplary embodiment of the present application
- FIG. 3 is a schematic flowchart of a sub-mode selection shown in an exemplary embodiment of the present application
- FIG. 4 is a schematic flowchart of a sub-mode selection shown in another exemplary embodiment of the present application.
- FIG. 5 is a schematic flowchart of a sub-mode selection shown in another exemplary embodiment of the present application.
- Fig. 6 is a schematic diagram of the hardware structure of an encoding device according to an exemplary embodiment of the present application.
- Fig. 7 is a schematic structural diagram of an encoding device shown in an exemplary embodiment of the present application.
- Fig. 8 is a schematic structural diagram of an encoding device shown in another exemplary embodiment of the present application.
- Fig. 9 is a schematic structural diagram of an encoding device shown in another exemplary embodiment of the present application.
- Intra prediction refers to using the reconstructed pixel values of the spatial neighboring blocks of the current image block (in the same frame of image as the current image block) for predictive coding.
- Inter Prediction refers to the use of reconstructed pixel values of temporal neighboring blocks of the current image block (different from the current image block) for predictive coding.
- Motion Vector In inter prediction, MV is used to represent the relative displacement between the current image block and the best matching block in the reference image. Each divided block has a corresponding motion vector that needs to be transmitted to the decoding device. If the MV of each image block is independently encoded and transmitted, especially if it is divided into small-sized blocks, it needs to consume a lot of bits. In order to reduce the number of bits used to encode MV, the spatial correlation between adjacent image blocks is used in video encoding to predict the MV of the current image block based on the MV of the adjacent encoded block, and then encode the prediction difference. This effectively reduces the number of bits representing MV.
- the MV of the adjacent encoded block is generally used to predict the MV of the current image block, and then the MV prediction value (Motion Vector Prediction, referred to as MVP) and the true estimation of the MV are used.
- the difference between the values (Motion Vector Difference, MVD for short) is encoded, thereby effectively reducing the number of MV encoding bits.
- Motion Information Since MV represents the position offset between the current image block and a certain image block of a certain reference image, in order to accurately obtain the information pointing to the image block, in addition to the MV information, the index information of the reference image is also required to identify Reference image.
- a reference image list is usually established based on certain principles, and the reference image index information is used to identify which reference image in the reference image list is used by the current image block.
- many coding technologies also support multiple reference image lists, so an index value is also required to identify the reference image list, and this index value may be called a reference direction.
- coding information related to motion such as MV, reference frame index, and reference direction, is collectively called motion information.
- Rate-Distortion Optimized (Rate-Distortion Optimized, referred to as RDO):
- the index to evaluate coding efficiency includes: code rate and peak signal to noise ratio (Peak Signal to Noise Ratio, referred to as PSNR).
- PSNR Peak Signal to Noise Ratio
- the discriminant formula is essentially a comprehensive evaluation of the two.
- D distortion
- SSE Standard of Mean Squared Difference index
- ⁇ the Lagrangian multiplier
- R The actual number of bits required for image block encoding in this mode, including the sum of the number of bits required for encoding mode information, motion information, residuals, etc.
- the mode selection if the RDO principle is used to make a comparison decision on the coding mode, the best coding performance can usually be guaranteed.
- Accurate rate-distortion calculation method and fast rate-distortion calculation method In order to obtain the rate-distortion cost of a certain mode, it is necessary to obtain the distortion and bit number overhead of the mode. The acquisition of distortion and bit number overhead requires coding of all relevant information of the mode, especially the entropy coding of the residual, which is very time-consuming. Therefore, at the encoding end, two rate-distortion calculation methods are usually included: accurate rate-distortion calculation method (precise RDO) and fast rate-distortion calculation method (fast RDO).
- the accurate rate-distortion calculation method is to obtain the final distortion and bit number overhead after a complete encoding of all relevant information of the mode; while the fast rate-distortion calculation method skips the residual coding process of the mode and is only based on the prediction of the mode.
- the difference between the original value and the original value, as well as some simple mode information rate overhead estimation, to estimate the rate distortion cost of the mode its accuracy is not as good as the accurate rate distortion calculation, but the complexity is very low, which is beneficial to software and hardware implementation.
- Mode refers to the activation of a specific method or tool, such as triangular prediction mode, Regular Merge mode, Affine Merge mode, etc.
- some candidates are involved, which can be called candidate submodes or submodes.
- the Regular Merge mode refers to the method of directly multiplexing the surrounding motion information as the motion information of the current image block without additional coding of the motion information difference, and the surrounding motion information may have N candidates, and one of the candidates is used.
- a sub-mode that is, a mode is a collection of all sub-modes that use the mode method.
- Triangle Prediction Mode Divide an image block into two triangle sub-blocks (there are 45 degree angle division mode and 135 degree angle division mode), these two triangle sub-blocks have different unidirectional motion information , The one-way motion information can be obtained from the candidate motion information list. This mode is only used in Merge/Skip mode, and only used in the prediction process, and does not affect the subsequent transformation and quantization process.
- Regular Merge mode the traditional Merge mode, select one motion information from the candidate motion information list, and generate the prediction value of the current image block based on the motion information.
- the candidate motion information list includes: spatial neighboring block candidate motion information, temporal neighboring block candidate motion information, spatial non-neighboring block candidate motion information, motion information obtained by combining existing motion information, and default motion information (such as zero movement information) and so on.
- MMVD Merge mode with MVD, motion vector residual merging
- This mode selects a certain motion information in the candidate motion information list of the Regular Merge mode as the reference motion information, and then obtains the motion information difference through a table lookup method.
- the final motion information is acquired based on the difference between the reference motion information and the motion information, and the predicted value of the current image block is generated based on the final motion information.
- Affine Merge mode This mode selects a piece of motion information from the candidate motion information list, and generates a prediction value of the current image block based on the motion information.
- the motion information in the candidate motion information list of the Regular merge mode is a 2-parameter translation motion vector
- the motion information in the candidate motion information list of the Affine Merge mode is a 4-parameter or 6-parameter affine Sports information.
- IBC Merge (intra-frame block copy merge) mode This mode selects a block vector from the candidate block vector list, and generates the prediction value of the current image block based on the block vector.
- the block vector refers to the offset vector of the reference block and the current image block in the current frame.
- Merge mode refers to a type of prediction mode that directly selects a motion information from the candidate motion information list to generate the prediction value of the current image block, such as triangular prediction mode, Affine Merge mode, IBC Merge mode, regular merge mode or MMVD mode. These modes do not require a motion search process at the encoding end (that is, the encoding end selects motion information from the candidate motion information list, and does not need to search for other existing motion information to determine whether there is better motion information), except for the MMVD mode, Other modes do not need to encode the motion information difference, that is, directly multiplex a certain motion information in the candidate motion information list.
- FIG. 1 is a schematic flowchart of an encoding method provided by an embodiment of this application.
- the encoding method may be applied to an encoding terminal device. As shown in FIG. 1, the encoding method may include the following steps:
- Step S100 Determine a rough selection candidate sub-mode of the current mode of the current image block.
- the optimal sub-mode of the mode may be determined by a rough selection first and then a fine selection.
- the current mode For the coding mode (referred to herein as the current mode) that the current image block (coding block) is currently trying to use, in order to determine the optimal sub-mode of the current mode, you can first select the sub-modes of the current mode A sub-mode for rough selection (referred to as a rough selection candidate sub-mode herein).
- all sub-modes of the mode can be used as the candidate sub-modes for rough selection.
- the triangular prediction mode for the triangular prediction mode, it includes an angle division mode of 45 degrees and an angle division mode of 135 degrees.
- the number of candidate motion vectors can be called CandNum
- CandNum the number of sub-modes of the triangle prediction mode is 2*CandNum*(CandNum-1).
- CandNum is 5 by default, and the number of sub-patterns of the triangle sub-pattern is 40, and all the 40 sub-patterns can be used as the candidate sub-patterns for rough selection.
- the foregoing determination of the coarse selection candidate sub-modes of the current mode may include:
- the first number of sub-modes are selected from the sub-modes of the current mode of the current image block, and the first number of sub-modes are determined as the rough selection candidate sub-modes.
- the probability that each sub-mode of that mode is selected as the optimal sub-mode is related to the size of the current image block, therefore, when determining the rough selection candidate sub-mode, the current The size of the image block, remove some sub-modes from the sub-modes of the current mode (the sub-modes with lower probability of being selected as the optimal sub-mode), so as to reduce the number of candidate sub-modes for rough selection and improve the efficiency of rough selection of sub-modes .
- the sub-modes of the current mode can be filtered according to the aspect ratio of the current image block.
- each sub-mode of the current mode being selected as the optimal sub-mode is closer, otherwise, each sub-mode of the current mode is selected as the optimal sub-mode
- the probability of each sub-mode of the current mode is closer, otherwise, each sub-mode of the current mode is selected as the optimal sub-mode
- the greater the probability of the mode is, therefore, when the candidate sub-modes are roughly selected, the sub-modes of the current mode can be screened according to the aspect ratio of the current image block.
- the number of sub-modes excluded from the sub-modes of the current mode may be positively correlated with the aspect ratio of the current image block, that is, the larger the aspect ratio of the current image block is, the sub-mode is determined as a rough selection candidate sub-mode The smaller the number (which can be referred to as the first number in this article).
- Step S110 Determine and store the predicted value of the luminance component of each roughly selected candidate sub-mode.
- Step S120 Estimate the rate-distortion cost of each rough-selected candidate sub-mode based on the predicted value of the luminance component of each rough-selected candidate sub-mode, and roughly select from the rough-selected candidate sub-modes based on the rate-distortion cost of each rough-selected candidate sub-mode Featured candidate sub-modes.
- the prediction value of the luminance component of each rough selection candidate sub-mode of the current mode may be determined.
- the triangular sub-block division method of the rough selection candidate sub-mode and the motion information of each triangle sub-block can be used through motion compensation. Determine the predicted value of the luminance component of the roughly selected candidate sub-mode.
- the encoding end device determines the predicted value of the brightness component of each rough selection candidate sub-mode, on the one hand, it can estimate the rate distortion cost of each rough selection candidate sub-mode based on the predicted value of the brightness component of each rough selection candidate sub-mode, and based on each The rate-distortion cost of the rough selection of candidate sub-modes is to roughly select a sub-mode for selection from the rough selection of candidate sub-modes (referred to as the selected candidate sub-mode in this article).
- the encoding end device determines each rough selection When predicting the brightness component of the candidate sub-mode, the predicted value of the brightness component of each candidate sub-mode can be stored, so that the predicted value of the brightness component can be directly reused in the subsequent selection process to improve the efficiency of sub-mode selection .
- the encoding end device may estimate the rough selection candidate sub-mode based on the predicted value of the brightness component of the rough selection candidate sub-mode and the original value of the brightness component of the current image block. Distortion.
- the transformed pixel of the current image block After the Hadamard transform of the difference between the predicted value of the brightness component of the coarsely selected candidate sub-mode and the original value of the brightness component of the current image block, the transformed pixel of the current image block The sum of the values obtains the distortion of the roughly selected candidate sub-pattern.
- the encoding end device can estimate the number of bits required to encode the sub-mode information of the roughly selected candidate sub-mode (that is, the number of bits required to encode other sub-mode information except the residual).
- the encoding end device may determine the rough selection candidate based on the distortion of the rough selection candidate sub-mode and the number of bits required for encoding sub-mode information The rate-distortion cost of the mode.
- the encoding end device when the encoding end device determines the rate-distortion cost of each rough selection candidate sub-mode, it may roughly select the selected candidate sub-mode from the rough selection candidate sub-modes based on the rate-distortion cost of each rough selection candidate sub-mode .
- the encoding end device may select a preset number (which can be set according to requirements) of sub-modes as the selected candidate sub-modes in the descending order of the rate-distortion cost of each roughly selected candidate sub-mode.
- the foregoing rough selection of the selected candidate sub-modes from the rough selection of candidate sub-modes based on the rate-distortion cost of each rough selection of the candidate sub-modes may include:
- the top second number of rough selection candidate sub-modes are selected from the rough selection candidate sub-modes and determined as the candidate selection candidates Sub mode
- the selected candidate sub-mode is removed, and the remaining selected candidate sub-modes are selected Determined as a selected candidate sub-mode.
- the encoding end device can compare the rate-distortion cost of each candidate selection candidate sub-mode with the minimum rate-distortion cost, and the difference between the rate-distortion cost and the minimum rate-distortion cost is greater than a preset threshold
- the selected candidate sub-modes (which can be set according to the actual scene) are eliminated, and the remaining selected candidate sub-modes are determined as the selected candidate sub-modes.
- the aforementioned minimum rate-distortion cost may include the minimum rate-distortion cost of each coarse-selected candidate sub-mode of the current mode; or, the rate-distortion cost of each coarse-selected candidate sub-mode of other modes that the current image block has tried Minimum value.
- the number of selected candidate sub-patterns described above may be set according to the size of the current image block.
- the second number can be set according to the aspect ratio of the current image block.
- the foregoing second number may be positively correlated with the aspect ratio of the current image block, that is, the greater the aspect ratio of the current image block, the greater the foregoing second number.
- Step S130 Obtain the predicted value of the brightness component of each selected candidate sub-mode from the stored predicted value of the brightness component of each rough candidate sub-mode, and determine each based on the predicted value of the brightness component of each selected candidate sub-mode. Accurate rate-distortion cost of selected candidate sub-modes.
- step S110 the prediction of the brightness component of the rough-selected candidate sub-mode stored in step S110 may be reused. Therefore, the efficiency of sub-mode selection can be improved.
- the encoding end device may obtain the predicted value of the brightness component of each selected candidate sub-mode from the stored predicted value of the brightness component of each rough-selected candidate sub-mode, and based The predicted value of the luminance component of each selected candidate sub-mode determines the accuracy rate distortion cost of each selected candidate sub-mode.
- the coarse selection candidate sub-modes include sub-modes 1 to 30 (that is, the predicted values of the luminance components of sub-modes 1 to 30 are stored in step S110), and the selected candidate sub-modes include sub-modes 1 to 5, then it can be multiplexed
- the stored prediction values of the luminance components of sub-modes 1 to 5 do not need to be recalculated.
- the above-mentioned obtains the predicted value of the brightness component of each selected candidate sub-mode from the stored predicted values of the brightness components of each rough-selected candidate sub-mode, and obtains the predicted value of each selected candidate sub-mode based on the brightness of each selected candidate sub-mode.
- the predicted value of the component determines the accurate rate-distortion cost of each selected candidate sub-mode, which may include:
- any selected candidate sub-mode obtain the predicted value of the brightness component of the selected candidate sub-mode from the stored prediction values of the brightness components of each rough-selected candidate sub-mode, and calculate the chrominance component of the sub-mode Predictive value;
- the first accurate rate-distortion cost of the selected candidate sub-mode is determined.
- the stored prediction value of the brightness component of each rough-selected candidate sub-mode can be obtained.
- the predicted value of the luminance component; on the other hand, the predicted value of the chrominance component of the selected candidate sub-mode can be calculated, and the selected candidate can be determined based on the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode.
- the residual coding information of the sub-mode and the distortion of the selected candidate sub-mode can be obtained.
- determining the residual coding information of the selected candidate sub-mode based on the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode may include:
- the original residuals of the luminance and chrominance components of the selected candidate sub-mode are determined respectively.
- the foregoing target operation includes one or more of the following operations: transformation, quantization, and entropy coding.
- the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode when the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode are determined, it may be based on the predicted values of the luminance component and the current Determine the original residual value of the luminance component of the selected candidate sub-mode based on the original value of the luminance component of the image block; and, based on the predicted value of the chrominance component of the selected candidate sub-mode and the chrominance component of the current image block
- the original value determines the original residual value of the chrominance component of the selected candidate sub-mode, and further, the original residual values of the luminance component and the chrominance component of the selected candidate sub-mode can be transformed, quantized, and entropy coded
- One or more operations (referred to as the target operation in this document) among other operations to determine the number of bits required for residual encoding of the selected candidate sub-pattern (referred to as the first bit number in this document).
- determining the distortion of the selected candidate sub-mode based on the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode may include:
- the distortion of the selected candidate sub-mode is determined.
- the inverse operation of the target operation (such as inverse transformation, inverse quantization, etc.) can be used to determine the Select the reconstruction values of the luminance and chrominance components of the selected candidate sub-mode, and based on the reconstruction values of the luminance and chrominance components of the selected candidate sub-mode, and the original values of the luminance and chrominance components of the current image block, Determine the distortion of the selected candidate sub-mode.
- the SSE of the reconstructed values of the luminance component and the chrominance component and the original values of the luminance component and the chrominance component of the selected candidate sub-mode may be determined as the distortion of the selected candidate sub-mode.
- SSE can be obtained by the following formula:
- L 1 represents a reconstruction value of the luminance component of the sub-mode selection candidate
- L 1original represents the original value of the luminance component of the sub-mode selection candidate
- L 2 represents a chrominance component of the sub-mode selection candidate
- L 2original represents the original value of the chrominance component of the selected candidate sub-mode
- w1 and w2 respectively represent the weight coefficients.
- the values of w1 and w2 may be different.
- determining the final number of bits of the selected candidate sub-mode based on the mode coding information of the selected candidate sub-mode and the residual coding information of the selected candidate sub-mode may include:
- the final bit number of the selected candidate sub-mode is determined.
- the final number of bits of the selected candidate sub-pattern may be determined according to the number of bits required for residual coding (that is, the above-mentioned first number of bits) and the mode coding information (that is, the coding information for coding the sub-mode information).
- the selected candidate when the distortion of the selected candidate sub-mode and the final number of bits are determined, the selected candidate may be determined based on the distortion of the selected candidate sub-mode and the final number of bits
- the accuracy rate-distortion cost of the sub-mode (referred to herein as the first accuracy rate-distortion cost).
- the above-mentioned target operation is performed respectively on the original residual values of the luminance component and the chrominance component of the selected candidate sub-mode, and after the first number of bits required for residual coding is determined, the method may further include:
- the target operation includes a quantization operation, and the original residual values of the luminance component and the chrominance component of the selected candidate sub-mode are quantized, the reconstruction residual values of the luminance component and the chrominance component are all 0, then the refined The candidate sub-mode is determined as the optimal sub-mode of the current mode.
- the selected candidate sub-mode when the original residual values of the luminance component and the chrominance component of the selected candidate sub-mode are quantized, the reconstructed residual values of the luminance component and the chrominance component are both 0, that is, when there is no reconstruction residual in both the luminance component and the chrominance component, the selected candidate sub-mode can be determined as the optimal sub-mode of the current mode, and no other sub-modes of the current mode will be tried (ie It is not necessary to calculate the accuracy rate distortion cost of other sub-modes of the current mode in the above manner).
- the above-mentioned obtains the predicted value of the brightness component of each selected candidate sub-mode from the stored predicted values of the brightness components of each rough-selected candidate sub-mode, and obtains the predicted value of each selected candidate sub-mode based on the brightness of each selected candidate sub-mode.
- the predicted value of the component determines the accurate rate-distortion cost of each selected candidate sub-mode, which may include:
- For any selected candidate sub-mode obtain the predicted value of the brightness component of the selected candidate sub-mode from the stored prediction values of the brightness components of each rough-selected candidate sub-mode, and calculate the color of the selected candidate sub-mode.
- the predicted value of the degree component is the predicted value of the degree component
- the second accurate rate-distortion cost of the selected candidate sub-mode is determined.
- the stored luminance components of each rough-selected candidate sub-mode can be Obtain the predicted value of the luminance component of the selected candidate sub-mode from the predicted value, and calculate the predicted value of the chrominance component of the selected candidate sub-mode.
- the predicted values of the luminance component and the chrominance component can be used as the reconstructed values of the luminance component and the chrominance component, and further, it can be based on the luminance component and the chrominance component of the selected candidate sub-mode.
- the predicted value of the degree component and the original values of the luminance component and chrominance component of the current image block determine the distortion of the selected candidate sub-mode.
- the SSE of the predicted values of the luma and chroma components of the selected candidate sub-mode (reconstruction values in this example) and the original values of the luma and chroma components can be determined as the selected candidate sub-mode. distortion.
- the final bit number of the selected candidate sub-mode can be determined by the mode encoding information. Therefore, the selected candidate sub-mode can be determined by encoding the sub-mode information of the selected candidate sub-mode
- the mode coding information of the selected candidate sub-mode (the final number of bits in this example), and further, based on the distortion of the selected candidate sub-mode and the mode coding information, the accurate rate-distortion cost of the selected candidate sub-mode (referred to as the first 2. Rate distortion cost).
- the implementations that do not require coding residuals reduce the time consumption and bit consumption caused by residual coding, but the distortion is usually greater (for the reconstruction of luminance and chrominance components)
- the residual values are not all 0
- the above-mentioned obtains the predicted value of the brightness component of each selected candidate sub-mode from the stored predicted values of the brightness components of each rough-selected candidate sub-mode, and the prediction is based on the brightness component of each selected candidate sub-mode
- the value determines the accurate rate-distortion cost of each selected candidate sub-mode, and can also include:
- the target operation includes a quantization operation, and the original residual values of the luminance and chrominance components of the selected candidate sub-mode are quantized, the reconstruction of the luminance and chrominance components is obtained If the residual value is not all 0, then compare the first rate-distortion cost and the second rate-distortion cost of the selected candidate sub-modes, and the first rate-distortion cost and the second rate-distortion cost are The smaller value is determined as the accurate rate-distortion cost of the selected candidate sub-mode.
- the accuracy rate-distortion cost of the selected candidate sub-mode (that is, the above-mentioned first accuracy rate-distortion cost) can be determined according to the way that the residuals need to be encoded, and according to the need for encoding
- the residual method determines the accurate rate-distortion cost of the selected candidate sub-mode (that is, the above-mentioned second accurate rate-distortion cost).
- the first precision rate-distortion cost and the second precision rate-distortion cost of the selected candidate sub-mode can be compared, and the first precision rate-distortion cost and the second precision rate-distortion cost can be compared.
- the smaller of the two precision rate-distortion costs is determined as the precision rate-distortion cost of the selected candidate sub-mode.
- Step S140 Determine the optimal sub-mode of the current mode based on the accurate rate-distortion cost of the selected candidate sub-modes.
- the precision rate-distortion cost of the selected candidate sub-modes is determined, such as the aforementioned first precision rate-distortion cost, or the aforementioned second precision-rate-distortion cost, or the aforementioned first precision-rate-distortion cost and the second precision
- the smaller value of the rate-distortion cost can determine the optimal sub-mode of the current mode based on the accurate rate-distortion cost of the selected candidate sub-modes.
- the encoding end device can determine the mode used by the current image block (referred to as the target mode herein) based on the accuracy rate distortion cost of the optimal sub-mode of each mode of the current image block, and compare the current image block based on the target mode.
- the image block is encoded.
- the encoding end device may compare the accuracy rate-distortion costs of the optimal sub-modes of each mode, and determine the optimal sub-mode with the smallest accuracy rate-distortion cost as the target mode used by the current image block.
- each rough selection candidate sub-mode before estimating the rate-distortion cost of each rough selection candidate sub-mode based on the predicted value of the luminance component of each rough selection candidate sub-mode, it may further include:
- the value of the preset flag bit is the first value, it is determined to execute the step of estimating the rate distortion cost of each rough selection candidate sub-mode based on the predicted value of the luminance component of each rough selection candidate sub-mode;
- each rough selection candidate sub-mode is determined to be a selected candidate sub-mode; based on the stored prediction values of the brightness components of each rough selection candidate sub-mode, each selected candidate sub-mode is determined.
- the accurate rate-distortion cost of the candidate sub-modes; based on the accurate rate-distortion cost of each selected candidate sub-mode, the optimal sub-mode of the current mode is determined.
- a flag bit for identifying whether to skip rough selection (referred to as a preset flag bit in this article) can be preset, and based on the value of the flag bit, it can be determined Whether to skip the rough selection, that is, do not perform the rough selection of the sub-mode.
- the value of the preset flag bit is the first value, it indicates that rough selection is not skipped; if the value of the preset flag bit is the second value, it indicates that rough selection is skipped.
- the value of the preset flag bit may be read first.
- the value of the preset flag bit is the first value, it is determined not to skip the rough selection, and further, the rough selection of the sub-modes can be performed first, and then the selection of the sub-modes can be performed according to the method described in the foregoing embodiment.
- each rough selection candidate sub-pattern may be determined as the selected candidate sub-pattern, based on the stored brightness of each rough selection candidate sub-pattern
- the predicted value of the component determines the accurate rate-distortion cost of each selected candidate sub-mode, and determines the optimal sub-mode of the current mode based on the accurate rate-distortion cost of each selected candidate sub-mode.
- the above method may further include:
- the value of the preset flag bit is determined.
- the main difference between the rate-distortion cost calculated in the sub-mode rough selection and the sub-mode selection process is whether to consider the number of bits required for residual coding, therefore, whether the coding residual affects the sub-mode
- the necessity of rough selection, and the reconstruction residual value of the sub-mode can be used as a reference for whether the coding residual is required. Therefore, it can be based on other attempts that the current image block has tried.
- the reconstruction residual information of the mode information determines the value of the aforementioned preset flag bit.
- the foregoing determination of the value of the preset flag bit based on the reconstruction residual information of other modes that the current image block has tried may include:
- the reconstruction residual value of the sub-mode is 0 (that is, the reconstruction residual value of the luminance component and the chrominance component are both 0)
- the reconstruction residual value of the optimal mode among other tried modes of the current image block can be obtained;
- the reconstruction residual value of the optimal mode among the other tried modes of the image block is 0 (that is, the reconstruction residual value of the luminance component and the chrominance component are both 0), then it can be determined that the optimal mode of the current image block has a high probability of not being Residual coding is required.
- skipping the coarse selection can improve the efficiency of sub-mode optimization; if the reconstruction residual value of the optimal mode in the other modes of the current image block has been tried is not 0 (that is, the brightness component or/and If the reconstruction residual value of the chrominance component is not 0), it can be determined that the optimal mode of the current image block has a high probability of requiring residual coding. In this case, rough selection can improve the efficiency of sub-mode optimization.
- the above method may further include:
- the current mode is a specific mode, it is determined that the value of the preset flag bit is the first value.
- the specific mode includes any mode that reuses surrounding motion information, such as triangular prediction mode, Affine Merge (affine merge) mode, IBC Merge (intra block copy merge) mode, regular merge (normal merge) mode Or MMVD (Merge mode with MVD, motion vector residual merge) mode, etc.
- the following takes the current mode as the triangular prediction mode as an example to describe the preferred sub-mode solutions provided in the embodiments of the present application.
- the triangular prediction mode includes an angle division mode of 45 degrees and an angle division mode of 135 degrees.
- the total number of sub-modes of the triangular prediction mode is 2*CandNum*(CandNum-1).
- CandNum is 5 by default, so the total number of sub-modes of the triangle prediction mode is 40.
- the sub-modes of the triangular prediction mode may be determined as the coarse selection candidate sub-modes, or the sub-modes may be filtered based on the size of the current image block, and the remaining sub-modes may be determined as the coarse selection candidate sub-modes.
- N_rough the number of candidate sub-patterns for rough selection.
- N_accurate The number of selected candidate sub-modes of the triangular prediction mode.
- the number of selected candidate sub-modes may be set to a fixed value (such as 3), or set according to the size of the current image block.
- N_accurate selected candidate sub-patterns are roughly selected from N_rough rough-selected candidate sub-patterns.
- the implementation process may be as shown in Figure 2 and may include the following steps:
- Step S200 For any rough selection candidate sub-mode, based on the triangle sub-block division mode of the rough selection candidate sub-mode and the motion information of each triangle sub-block, determine the prediction value of the brightness component of the rough selection candidate sub-mode, and store The predicted value of the luminance component of the roughly selected candidate sub-mode.
- the prediction value of the luminance component of the roughly selected candidate sub-mode may be determined by means of motion compensation.
- Step S210 Determine the distortion of the rough selection candidate sub-mode based on the predicted value of the brightness component of the rough selection candidate sub-mode and the original value of the brightness component of the current image block.
- the distortion of the rough selection candidate submode (hereinafter referred to as D_rough(i)) can be calculated by calculating the difference between the predicted value of the brightness component of the rough selection candidate submode and the original value of the brightness component of the current image block. After the Hadamard transformation, sum up all the transformed values.
- Step S220 Estimate the number of bits required for encoding the sub-mode information of the roughly selected candidate sub-mode.
- the number of bits required for coding of sub-mode information can be estimated, regardless of the number of bits required for residual coding, that is, the sub-mode information other than the residual coding of the candidate sub-mode for coarse selection can be estimated
- the number of bits required for encoding hereinafter referred to as R_mode(i)).
- Step S230 Determine the rate-distortion cost of the roughly selected candidate sub-mode based on D_rough(i) and R_mode(i) (hereinafter referred to as J_rough(i)).
- Step S240 Based on the rate-distortion cost of each rough selection candidate sub-mode, a selected candidate sub-mode is roughly selected from the rough selection candidate sub-mode.
- N_accurate selected candidate sub-modes may be selected from N_rough rough selection candidate sub-modes according to the order of rate-distortion cost from small to large.
- the rate-distortion cost and the minimum rate-distortion cost of the N_accurate selected candidate sub-modes can be compared, and the minimum rate-distortion cost is compared with the minimum
- the selected candidate sub-modes whose rate-distortion cost difference is greater than the preset threshold are removed from the N_accurate selected candidate sub-modes (the removed selected candidate sub-modes no longer participate in the sub-mode selection).
- the minimum rate-distortion cost is the minimum rate-distortion cost of each rough selection candidate sub-mode of the current mode, or the minimum rate-distortion cost of each rough selection candidate sub-mode of other modes that the current image block has tried value.
- the difference between the rate-distortion cost of the selected candidate sub-mode and the minimum rate-distortion cost greater than the preset threshold may be: J_mode(i)>TH1*J_mode_min, that is, J_mode(i)-J_mode_min>(TH1-1) J_mode_min;
- TH1 can be set according to actual needs, such as 1.25.
- N_accurate the number of selected candidate sub-patterns.
- Step S300 For any selected candidate sub-mode, obtain the predicted value of the brightness component of the selected candidate sub-mode from the stored predicted value of the brightness component of the rough-selected candidate sub-mode.
- the predicted value of the brightness component calculated in the rough selection process can be reused, without the need to perform motion compensation again to obtain the predicted value of the brightness component, so as to improve the selection of the sub-mode. effectiveness.
- Step S310 Based on the predicted values of the luminance and chrominance components of the selected candidate sub-mode and the original values of the luminance and chrominance components of the current image block, determine the luminance and chrominance components of the selected candidate sub-mode, respectively The original residual value of.
- Step S320 Perform target operations on the original residual values of the luminance component and the chrominance component of the selected candidate sub-modes respectively, and determine the number of bits required for residual coding (hereinafter referred to as R1).
- the target operation may include one or more of operations such as transformation, quantization, and entropy encoding.
- Step S330 using the reverse operation of the target operation to determine the reconstruction values of the luminance component and the chrominance component of the selected candidate sub-mode respectively, and based on the reconstruction values of the luminance component and the chrominance component of the selected candidate sub-mode, and The original values of the luminance component and the chrominance component of the current image block determine the distortion of the selected candidate sub-mode.
- the SSE of the reconstructed value and the original value may be determined as the distortion of the selected candidate sub-mode (hereinafter referred to as D).
- Step S340 Encode the information of the selected candidate sub-mode, and determine the mode coding information of the selected candidate sub-mode (hereinafter referred to as R2).
- Step S350 Determine the final bit number of the selected candidate sub-pattern (hereinafter referred to as R) based on R1 and R2.
- Step S360 based on the distortion D of the selected candidate sub-mode and the final number of bits R, determine the accurate rate-distortion cost of the selected candidate sub-mode (hereinafter referred to as J).
- Step S370 Compare the precision rate-distortion cost with other selected candidate sub-modes that have been tried by the triangular prediction mode, and store the precision rate-distortion cost of the selected candidate sub-mode with the smallest precision rate-distortion cost.
- the selected candidate sub-mode with the smallest accuracy rate distortion cost may be determined as the optimal sub-mode of the triangular prediction mode.
- the accuracy rate-distortion cost of the optimal sub-mode can be stored, so as to compare the accuracy rate-distortion cost of the optimal sub-modes of different modes to determine the difference in the current image
- the optimal mode used for encoding the block can be stored, so as to compare the accuracy rate-distortion cost of the optimal sub-modes of different modes to determine the difference in the current image The optimal mode used for encoding the block.
- the triangular prediction mode includes an angle division mode of 45 degrees and an angle division mode of 135 degrees.
- the total number of sub-modes of the triangular prediction mode is 2*CandNum*(CandNum-1).
- CandNum is 5 by default, so the total number of sub-modes of the triangle prediction mode is 40.
- the sub-modes of the triangular prediction mode may be determined as the rough selection candidate sub-modes, or the sub-modes may be filtered based on the size of the current image block, and the remaining sub-modes may be determined as the rough selection candidate sub-modes.
- N_rough the number of candidate sub-patterns for rough selection.
- N_accurate The number of selected candidate sub-modes of the triangular prediction mode.
- the number of selected candidate sub-modes may be set to a fixed value (such as 3), or set according to the size of the current image block.
- N_accurate selected candidate sub-patterns are roughly selected from the N_rough rough-selected candidate sub-patterns.
- the implementation process may be as shown in FIG. 2 and this embodiment will not be repeated.
- the rate-distortion cost and the minimum rate-distortion cost of the N_accurate selected candidate sub-modes can be compared, and the minimum rate-distortion cost is compared with the minimum
- the selected candidate sub-modes whose rate-distortion cost difference is greater than the preset threshold are removed from the N_accurate selected candidate sub-modes (the removed selected candidate sub-modes no longer participate in the sub-mode selection).
- the minimum rate-distortion cost is the minimum rate-distortion cost of each rough selection candidate sub-mode of the current mode, or the minimum rate-distortion cost of each rough selection candidate sub-mode of other modes that the current image block has tried value.
- the difference between the rate-distortion cost of the selected candidate sub-mode and the minimum rate-distortion cost greater than the preset threshold may be: J_mode(i)>TH1*J_mode_min, that is, J_mode(i)-J_mode_min>(TH1-1) J_mode_min;
- TH1 can be set according to actual needs, such as 1.25.
- N_accurate the number of selected candidate sub-patterns.
- Step S361 Determine whether the reconstruction residual values of the luminance component and the chrominance component of the selected candidate sub-mode are both 0. If yes, go to step S380; otherwise, go to step S370.
- Step S380 Determine the selected candidate sub-mode as the optimal sub-mode of the triangular prediction mode, and store the precision rate-distortion cost of the selected candidate sub-mode.
- quantizing the original residual values of the luminance component and the chrominance component of the selected candidate sub-mode can obtain the reconstructed residual values of the luminance component and the chrominance component of the selected candidate sub-mode.
- the selected candidate sub-mode may not be subjected to residual coding.
- the selected candidate sub-mode can be determined for triangular prediction The optimal sub-mode of the mode, without the need to try selected candidate sub-modes of other triangulation prediction modes that have not been tried.
- the accuracy rate distortion cost of the selected candidate sub-mode may be stored, so as to compare the accuracy rates of the optimal sub-modes of different modes Distortion cost to determine the optimal mode for encoding the current image block.
- the triangular prediction mode includes an angle division mode of 45 degrees and an angle division mode of 135 degrees.
- the total number of sub-modes of the triangular prediction mode is 2*CandNum*(CandNum-1).
- CandNum is 5 by default, so the total number of sub-modes of the triangle prediction mode is 40.
- the sub-modes of the triangular prediction mode may be determined as the rough selection candidate sub-modes, or the sub-modes may be filtered based on the size of the current image block, and the remaining sub-modes may be determined as the rough selection candidate sub-modes.
- N_rough the number of candidate sub-patterns for rough selection.
- N_accurate The number of selected candidate sub-modes of the triangular prediction mode.
- the number of selected candidate sub-modes may be set to a fixed value (such as 3), or set according to the size of the current image block.
- N_accurate selected candidate sub-patterns are roughly selected from the N_rough rough-selected candidate sub-patterns.
- the implementation process may be as shown in FIG. 2 and this embodiment will not be repeated.
- the rate-distortion cost and the minimum rate-distortion cost of the N_accurate selected candidate sub-modes can be compared, and the minimum rate-distortion cost is compared with the minimum
- the selected candidate sub-modes whose rate-distortion cost difference is greater than the preset threshold are removed from the N_accurate selected candidate sub-modes (the removed selected candidate sub-modes no longer participate in the sub-mode selection).
- the minimum rate-distortion cost is the minimum rate-distortion cost of each rough selection candidate sub-mode of the current mode, or the minimum rate-distortion cost of each rough selection candidate sub-mode of other modes that the current image block has tried value.
- the difference between the rate-distortion cost of the selected candidate sub-mode and the minimum rate-distortion cost greater than the preset threshold may be: J_mode(i)>TH1*J_mode_min, that is, J_mode(i)-J_mode_min>(TH1-1) J_mode_min;
- TH1 can be set according to actual needs, such as 1.25.
- N_accurate the number of selected candidate sub-patterns.
- Step S500 For any selected candidate sub-mode, obtain the predicted value of the brightness component of the selected candidate sub-mode from the stored predicted value of the brightness component of the rough-selected candidate sub-mode.
- Step S510 Determine the distortion of the selected candidate sub-mode based on the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode, and the original values of the luminance component and the chrominance component of the current image block.
- the reconstructed values of the luminance component and the chrominance component of the selected candidate sub-mode are respectively equal to the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode.
- the SSE of the predicted value and the original value or the SSE with different weights may be determined as the distortion of the selected candidate sub-mode (hereinafter referred to as D).
- Step S520 Encode the information of the selected candidate sub-mode, and determine the mode coding information of the selected candidate sub-mode.
- Step S530 Determine the accurate rate-distortion cost of the selected candidate sub-mode based on the distortion of the selected candidate sub-mode and the mode coding information.
- Step S540 Compare the precision rate-distortion cost with other selected candidate sub-modes that the triangle prediction mode has tried, and store the precision rate-distortion cost of the selected candidate sub-mode with the smallest precision rate-distortion cost.
- the triangular prediction mode includes an angle division mode of 45 degrees and an angle division mode of 135 degrees.
- the total number of sub-modes of the triangular prediction mode is 2*CandNum*(CandNum-1).
- CandNum is 5 by default, so the total number of sub-modes of the triangle prediction mode is 40.
- the sub-modes of the triangular prediction mode may be determined as the rough selection candidate sub-modes, or the sub-modes may be filtered based on the size of the current image block, and the remaining sub-modes may be determined as the rough selection candidate sub-modes.
- N_rough the number of candidate sub-patterns for rough selection.
- N_accurate The number of selected candidate sub-modes of the triangular prediction mode.
- the number of selected candidate sub-modes may be set to a fixed value (such as 3), or set according to the size of the current image block.
- N_accurate selected candidate sub-patterns are roughly selected from the N_rough rough-selected candidate sub-patterns.
- the implementation process may be as shown in FIG. 2 and this embodiment will not be repeated.
- the rate-distortion cost and the minimum rate-distortion cost of the N_accurate selected candidate sub-modes can be compared, and the minimum rate-distortion cost is compared with the minimum
- the selected candidate sub-modes whose rate-distortion cost difference is greater than the preset threshold are removed from the N_accurate selected candidate sub-modes (the removed selected candidate sub-modes no longer participate in the sub-mode selection).
- the minimum rate-distortion cost is the minimum rate-distortion cost of each rough selection candidate sub-mode of the current mode, or the minimum rate-distortion cost of each rough selection candidate sub-mode of other modes that the current image block has tried value.
- the difference between the rate-distortion cost of the selected candidate sub-mode and the minimum rate-distortion cost greater than the preset threshold may be: J_mode(i)>TH1*J_mode_min, that is, J_mode(i)-J_mode_min>(TH1-1) J_mode_min;
- TH1 can be set according to actual needs, such as 1.25.
- N_accurate the number of selected candidate sub-patterns.
- the accurate rate-distortion cost of the selected candidate sub-mode (hereinafter referred to as accurate rate-distortion cost 1) can be calculated according to the method flow shown in FIG. 3 (step S300 to step S360). ), and calculate the precision rate-distortion cost of the selected candidate sub-mode (hereinafter referred to as precision rate-distortion cost 2) according to the method flow shown in FIG. 5 (steps S500 to step S530), and compare the precision rate-distortion cost 1 and precision Rate-distortion cost 2, the smaller of the two is determined as the accurate rate-distortion cost of the selected candidate sub-mode.
- the sub-mode with the smallest rate-distortion cost is determined more accurately as the optimal sub-mode, and the sub-mode preferred effect.
- step S300 to step S360 the method described in step S300 to step S360 is used to determine the selected candidate sub-mode in the case of residual coding. After the precision rate distortion cost, it can be judged whether the reconstruction residual values of the luminance component and the chrominance component of the selected candidate sub-mode are both 0; if so, the selected candidate sub-mode is determined as the optimal sub-mode of the triangular prediction mode.
- step S500 to step S530 the method described in step S500 to step S530 is no longer determined for the precision rate-distortion cost of the selected candidate sub-mode without residual coding, and the other unattended selected candidates of the triangular prediction mode are no longer determined Try the sub-mode; otherwise, determine the precision rate-distortion cost of the selected candidate sub-mode without residual coding in the manner described in steps S500 to S530, and perform the precision in the manner described in the fourth embodiment. Determination of the accurate rate-distortion cost for selecting candidate sub-modes.
- a flag bit for identifying whether to skip the rough selection can be preset, that is, the preset flag bit (hereinafter referred to as bestisSkip); if bestisSkip is 0, the flag does not skip the rough selection; if bestisSkip is 1, the flag skips rough selection.
- the value of bestisSkip may be determined based on the reconstruction residual information of other modes that the current image block has tried.
- the value of bestisSkip is determined to be 1; otherwise, the value of bestisSkip is determined to be 0.
- the value of bestisSkip can be determined based on the current mode.
- the sub-mode selection (including rough selection and selection) can be performed in the manner described in any one of Embodiment 1, Embodiment 2, and Embodiment 3.
- step 3 since the rough selection is skipped, in the sub-mode selection process, if the predicted value of the brightness component of each rough selection candidate sub-mode is not stored, it is necessary to calculate each selection The predicted value of the luminance component of the candidate sub-mode. If the predicted value of the brightness component of each rough selection candidate sub-mode is stored, the predicted value of the brightness component of each rough selection candidate sub-mode can be multiplexed.
- the first to sixth embodiments illustrate the implementation of sub-mode optimization by taking the current mode as the triangular prediction mode as an example, but the current mode is not limited to the triangular prediction mode, and the sub-mode optimization methods of the first to sixth embodiments can also be applied.
- a mode that multiplexes the motion information of surrounding blocks in Affine Merge mode, IBC Merge mode, regular merge mode and MMVD mode.
- the difference lies in the motion information type of the candidate sub-mode There is a difference between and the number (as shown in Table 1).
- the prediction value of the brightness component of each rough selection candidate sub-mode is determined and stored, based on the prediction value of the brightness component of each rough selection candidate sub-mode Estimate the rate-distortion cost of each rough selection candidate sub-mode, and roughly select the selected candidate sub-mode from the rough selection candidate sub-modes based on the rate-distortion cost of each rough selection candidate sub-mode; further, from the stored rough selection Obtain the predicted value of the brightness component of each selected candidate sub-mode from the predicted value of the brightness component of the selected candidate sub-mode, and determine the accuracy rate distortion of each selected candidate sub-mode based on the predicted value of the brightness component of each selected candidate sub-mode The cost, and based on the precision rate-distortion cost of the selected candidate sub-modes, determines the optimal sub-mode of the current mode.
- FIG. 6 is a schematic diagram of the hardware structure of an encoding device provided by an embodiment of this application.
- the encoding device may include a processor 601 and a machine-readable storage medium 602 storing machine-executable instructions.
- the processor 601 and the machine-readable storage medium 602 may communicate via a system bus 603. Furthermore, by reading and executing the machine executable instructions corresponding to the encoding control logic in the machine-readable storage medium 602, the processor 601 can execute the encoding method described above.
- the machine-readable storage medium 602 mentioned herein may be any electronic, magnetic, optical, or other physical storage device, and may contain or store information, such as executable instructions, data, and so on.
- the machine-readable storage medium can be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard drive), solid state hard drive, any type of storage disk (Such as CD, DVD, etc.), or similar storage media, or a combination of them.
- the coding control logic described above may include a first determination unit 710, a second determination unit 720, a storage unit 730, a rough selection unit 740, a selection unit 750, and a third determination unit 760 in terms of functions. :
- the first determining unit 710 is configured to determine a rough selection candidate sub-mode of the current mode of the current image block; wherein the rough selection candidate sub-mode is a sub-mode of the current mode for performing rough selection;
- the second determining unit 720 is configured to determine the predicted value of the luminance component of each roughly selected candidate sub-mode
- the storage unit 730 is configured to store the predicted value of the luminance component of each candidate sub-mode for rough selection
- the rough selection unit 740 is configured to estimate the rate-distortion cost of each rough-selected candidate sub-mode based on the predicted value of the luminance component of each rough-selected candidate sub-mode, and calculate the rate distortion cost of each rough-selected candidate sub-mode from the rough
- the selected candidate sub-mode is roughly selected from the selected candidate sub-modes; wherein the selected candidate sub-mode is a sub-mode of the current mode used for selection;
- the selection unit 750 is configured to obtain the predicted value of the brightness component of each selected candidate sub-mode from the stored prediction values of the brightness components of each rough selection candidate sub-mode, and based on the brightness of each selected candidate sub-mode The predicted value of the component determines the precision rate-distortion cost of each selected candidate sub-mode;
- the third determining unit 760 is configured to determine the optimal sub-mode of the current mode based on the precision rate-distortion cost of the selected candidate sub-mode.
- the first determining unit 710 is configured to select a first number of sub-modes from the sub-modes of the current mode of the current image block according to the size of the current image block, and The first number of sub-patterns are determined as the rough selection candidate sub-patterns.
- the rough selection unit 740 is configured to select from the rough selection candidate sub-patterns according to the rate-distortion cost of each rough selection candidate sub-pattern in descending order of the rate-distortion cost.
- the top-ranked second number of rough selection candidate sub-patterns are determined to be the candidate selection candidate sub-patterns; if there is a candidate selection candidate sub-pattern whose difference with the minimum rate-distortion cost is greater than the preset threshold In the sub-mode, the candidate selected candidate sub-mode is removed, and the remaining candidate selected candidate sub-modes are determined as the selected candidate sub-mode.
- the minimum rate-distortion cost is the minimum rate-distortion cost of each rough selection candidate sub-mode of the current mode, or each rough selection of other modes that the current image block has tried The minimum rate-distortion cost of the candidate sub-mode.
- the second number is set according to the size of the current image block.
- the selection unit 750 is configured to, for any selected candidate sub-mode, obtain the selected candidate sub-mode from the stored prediction values of the brightness components of each rough-selected candidate sub-mode The predicted value of the luminance component of and calculate the predicted value of the chrominance component of the selected candidate sub-mode;
- the first accurate rate-distortion cost of the selected candidate sub-mode is determined.
- the selection unit 750 is configured to be based on the predicted values of the luminance component and the chrominance component of the selected candidate sub-mode and the original values of the luminance component and the chrominance component of the current image block , Respectively determine the original residual values of the luminance component and the chrominance component of the selected candidate sub-mode;
- Target operations on the original residual values of the luminance component and the chrominance component of the selected candidate sub-modes to determine the first number of bits required for residual coding; wherein the target operation includes one or more of the following operations : Transformation, quantization and entropy coding.
- the selection unit 750 is configured to use the reverse operation of the target operation to respectively determine the reconstruction values of the luminance component and the chrominance component of the selected candidate sub-mode;
- the distortion of the selected candidate sub-mode is determined.
- the selection unit 750 is configured to encode the sub-mode information of the selected candidate sub-mode, and determine the mode coding information of the selected candidate sub-mode;
- the final bit number of the selected candidate sub-mode is determined.
- the selection unit 750 is configured to obtain the result obtained by quantizing the original residual values of the luminance component and the chrominance component of the selected candidate submode if the target operation includes a quantization operation
- the reconstruction residual values of the luminance component and the chrominance component are both 0, and the selected candidate sub-mode is determined as the optimal sub-mode of the current mode.
- the selection unit 750 is configured to, for any selected candidate sub-mode, obtain the selected candidate sub-mode from the stored prediction values of the brightness components of each rough-selected candidate sub-mode The predicted value of the luminance component of and calculate the predicted value of the chrominance component of the selected candidate sub-mode;
- the second accurate rate-distortion cost of the selected candidate sub-mode is determined.
- the selection unit 750 is configured to, for any selected candidate sub-mode, if the target operation includes a quantization operation, and the brightness and chroma components of the selected candidate sub-mode The reconstruction residual values of the luminance component and the chrominance component obtained after the quantization of the original residual value are not both 0, then the first precision rate distortion cost and the second precision rate distortion cost of the selected candidate sub-mode are compared, and the The smaller value of the first accurate rate-distortion cost and the second accurate rate-distortion cost is determined as the accurate rate-distortion cost of the selected candidate sub-mode.
- the foregoing encoding control logic may further include: a reading unit 770;
- the reading unit 770 is configured to read the value of a preset flag bit; wherein, the preset flag bit is used to identify whether to skip rough selection;
- the rough selection unit 740 is configured to estimate the rate distortion cost of each rough selection candidate sub-mode based on the predicted value of the brightness component of each rough selection candidate sub-mode if the value of the preset flag bit is the first value;
- the selection unit 750 is further configured to, if the value of the preset flag bit is the second value, determine each of the rough selection candidate sub-modes as the selected candidate sub-mode; based on the stored rough selection candidates
- the predicted value of the luminance component of the sub-mode determines the precision rate-distortion cost of each selected candidate sub-mode; based on the precision rate-distortion cost of each selected candidate sub-mode, the optimal sub-mode of the current mode is determined.
- the foregoing encoding control logic may further include: a fourth determining unit 780;
- the fourth determining unit 780 is configured to determine the value of the preset flag bit based on the reconstruction residual information of other modes that the current image block has tried.
- the fourth determining unit 780 is configured to determine the preset flag bit if the reconstruction residual value of the optimal mode among the tried other modes of the current image block is 0 The value of is the second value;
- the fourth determining unit 780 is further configured to determine that the value of the preset flag bit is the first value if the current mode is a specific mode;
- the specific mode includes any mode that multiplexes surrounding motion information.
- the rough selection unit 740 is configured to determine the rough selection candidate sub-mode based on the predicted value of the brightness component of the rough selection candidate sub-mode and the original value of the brightness component of the current image block Distortion
- the selected candidate sub-pattern is roughly selected from the rough-selected candidate sub-pattern based on the rate-distortion cost of each rough-selected candidate sub-pattern.
- the rough selection unit 750 is configured to select, for any selected candidate sub-mode, from the stored brightness components of each rough selection candidate sub-mode Obtain the predicted value of the luminance component of the selected candidate sub-mode from the predicted value of, and calculate the predicted value of the chrominance component of the selected candidate sub-mode;
- the values of the luminance and chrominance components of the selected candidate sub-mode are determined respectively.
- Original residual value
- target operations on the original residual values of the luminance components and chrominance components of the selected candidate sub-modes to determine the number of bits required for residual coding; wherein the target operations include one or more of the following operations: transform , Quantization and entropy coding;
- the accurate rate-distortion cost of the selected candidate sub-mode is determined.
- the embodiments of the present application also provide a machine-readable storage medium, which may store machine-executable instructions, which when executed by a processor, implement the code described in any embodiment of the present disclosure method.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (20)
- 一种编码方法,应用于编码端设备,所述方法包括:确定当前图像块的当前模式的粗选候选子模式;其中,所述粗选候选子模式为所述当前模式的用于进行粗选的子模式;确定并存储各所述粗选候选子模式的亮度分量的预测值;基于各所述粗选候选子模式的亮度分量的预测值估算各所述粗选候选子模式的率失真代价;基于各所述粗选候选子模式的率失真代价从所述粗选候选子模式中粗选出精选候选子模式;其中,所述精选候选子模式为所述当前模式的用于进行精选的子模式;从所存储的各所述粗选候选子模式的亮度分量的预测值中获取各所述精选候选子模式的亮度分量的预测值;基于各所述精选候选子模式的亮度分量的预测值确定各所述精选候选子模式的精确率失真代价;基于各所述精选候选子模式的精确率失真代价,确定所述当前模式的最优子模式。
- 根据权利要求1所述的方法,其特征在于,所述确定当前模式的粗选候选子模式,包括:根据所述当前图像块的尺寸,从所述当前图像块的当前模式的子模式中选择第一数量的子模式,并将所述第一数量的子模式确定为所述粗选候选子模式。
- 根据权利要求1或2所述的方法,其特征在于,所述基于各粗选候选子模式的率失真代价从所述粗选候选子模式中粗选出精选候选子模式,包括:基于各所述粗选候选子模式的率失真代价,按照率失真代价从小到大的顺序,从所述粗选候选子模式中选择出排名靠前的第二数量的粗选候选子模式确定为候选精选候选子模式;若所述候选精选候选子模式中存在与最小率失真代价的差值大于预设阈值的候选精选候选子模式时,移除该候选精选候选子模式,并将剩余的候选精选候选子模式确定为所述精选候选子模式。
- 根据权利要求3所述的方法,其特征在于,所述最小率失真代价为所述当前模式的各所述粗选候选子模式的率失真代价的最小值,或者,所述当前图像块已尝试的其他模式的各所述粗选候选子模式的率失真代价的最小值。
- 根据权利要求3或4所述的方法,其特征在于,所述第二数量根据所述当前图像块的尺寸设置。
- 根据权利要求1-5任一项所述的方法,其特征在于,所述从所存储的各粗选候选子模式的亮度分量的预测值中获取各精选候选子模式的亮度分量的预测值,并基于各精选候选子模式的亮度分量的预测值确定各精选候选子模式的精确率失真代价,包括:对于任一所述精选候选子模式,从所存储的各所述粗选候选子模式的亮度分量的预测值中获取该精选候选子模式的亮度分量的预测值,以及计算该精选候选子模式的色度分量的预测值;基于该精选候选子模式的亮度分量和色度分量的预测值,确定该精选候选子模式的残差编码信息以及该精选子候选模式的失真;基于该精选候选子模式的模式编码信息,以及该精选候选子模式的残差编码信息,确定该精选候选子模式的最终比特数;基于该精选候选子模式的失真以及最终比特数,确定该精选候选子模式的第一精确率失真代价。
- 根据权利要求6所述的方法,其特征在于,所述基于该精选候选子模式的亮度分量和色度分量的预测值,确定该精选候选子模式的残差编码信息,包括:基于该精选候选子模式的亮度分量和色度分量的预测值以及所述当前图像块的亮度分量和色度分量的原始值,分别确定该精选候选子模式的亮度分量和色度分量的原始残差值;分别对该精选候选子模式的亮度分量和色度分量的原始残差值进行目标操作,确定残差编码所需的第一比特数;其中,所述目标操作包括以下操作之一或多个:变换、量化以及熵编码。
- 根据权利要求7所述的方法,其特征在于,所述基于该精选候选子模式的亮度分量和色度分量的预测值,确定该精选候选子模式的失真,包括:利用所述目标操作的反向操作,分别确定该精选候选子模式的亮度分量和色度分量的重建值;基于该精选候选子模式的亮度分量和色度分量的重建值,以及所述当前图像块的亮度分量和色度分量的原始值,确定该精选候选子模式的失真。
- 根据权利要求7所述的方法,其特征在于,所述基于该精选候选子模式的模式编码信息,以及该精选候选子模式的残差编码信息,确定该精选候选子模式的最终比特数,包括:对该精选候选子模式的子模式信息进行编码,确定该精选候选子模式的模式编码信息;基于所述第一比特数以及该精选候选子模式的模式编码信息,确定该精选候选子模式的最终比特数。
- 根据权利要求7-9任一项所述的方法,其特征在于,所述分别对该精选候选子模式的亮度分量和色度分量的原始残差值进行目标操作,确定残差编码所需的第一比特数之后,还包括:若所述目标操作包括量化操作,且该精选候选子模式的亮度分量和色度分量的原始残差值进行量化后得到的亮度分量和色度分量的重建残差值均为0,则将该精选候选子模式确定为所述当前模式的最优子模式。
- 根据权利要求1-10任一项所述的方法,其特征在于,所述从所存储的各粗选候选子模式的亮度分量的预测值中获取各精选候选子模式的亮度分量的预测值,并基于各精选候选子模式的亮度分量的预测值确定各精选候选子模式的精确率失真代价,包括:对于任一所述精选候选子模式,从所存储的各所述粗选候选子模式的亮度分量的预测值中获取该精选候选子模式的亮度分量的预测值,以及计算该精选候选子模式的色度分量的预测值;基于该精选候选子模式的亮度分量和色度分量的预测值,以及所述当前图像块的亮度分量和色度分量的原始值,确定该精选候选子模式的失真;对该精选候选子模式的子模式信息进行编码,确定该精选候选子模式的模式编码信息;基于该精选候选子模式的失真以及模式编码信息,确定该精选候选子模式的第二精确率失真代价。
- 根据权利要求11所述的方法,其特征在于,所述从所存储的各粗选候选子模式的亮度分量的预测值中获取各精选候选子模式的亮度分量的预测值,并基于各精选候选子模式的亮度分量的预测值确定各精选候选子模式的精确率失真代价,还包括:对于任一所述精选候选子模式,若所述目标操作包括量化操作,且该精选候选子模式的亮度分量和色度分量的原始残差值进行量化后得到的亮度分量和色度分量的重建残差值不均为0,则比较该精选候选子模式的第一精确率失真代价和第二精确率失真代价,将该第一精确率失真代价和第二精确率失真代价二者中的较小值确定为该精选候选子模式的精确率失真代价。
- 根据权利要求1-12任一项所述的方法,其特征在于,所述基于各粗选候选子模式的亮度分量的预测值估算各粗选候选子模式的率失真代价之前,还包括:读取预设标志位的值;其中,所述预设标志位用于标识是否跳过粗选;若所述预设标志位的值为第一值,则基于各粗选候选子模式的亮度分量的预测值估算各粗选候选子模式的率失真代价;若所述预设标志位的值为第二值,则将各所述粗选候选子模式确定为精选候选子模式;基于所存储的各所述粗选候选子模式的亮度分量的预测值,确定各所述精选候选子模式的精确率失真代价;基于所述各精选候选子模式的精确率失真代价,确定所述当前模式的最优子模式。
- 根据权利要求13所述的方法,其特征在于,所述方法还包括:基于所述当前图像块已尝试的其他模式的重建残差信息,确定所述预设标志位的值。
- 根据权利要求14所述的方法,其特征在于,所述基于所述当前图像块已尝试的其他模式的重建残差信息,确定所述预设标志位的值,包括:若所述当前图像块的已尝试的其他模式中最优模式的重建残差值为0,则确定所述预设标志位的值为所述第二值;若所述当前图像块的已尝试的其他模式中最优模式的重建残差值不为0,则确定所述预设标志位的值为所述第一值。
- 根据权利要求13-15任一项所述的方法,其特征在于,所述方法还包括:若所述当前模式为特定模式,则确定所述预设标志位的值为所述第一值;其中,所述特定模式包括任一复用周围运动信息的模式。
- 根据权利要求1-16任一项所述的方法,其特征在于,所述基于各粗选候选子模式的亮度分量的预测值估算各粗选候选子模式的率失真代价,并基于各粗选候选子模式的率失真代价从所述粗选候选子模式中粗选出精选候选子模式,包括:基于该粗选候选子模式的亮度分量的预测值以及所述当前图像块的亮度分量的原始值,确定该粗选候选子模式的失真;估算该粗选候选子模式的子模式信息编码所需比特数;基于该粗选候选子模式的失真,以及子模式信息编码所需比特数,确定该粗选候选子模式的率失真代价;基于各所述粗选候选子模式的率失真代价从所述粗选候选子模式中粗选出精选候选子模式。
- 根据权利要求1-17任一项所述的方法,其特征在于,当所述当前模式为三角预测模式时,所述从所存储的各粗选候选子模式的亮度分量的预测值中获取各精选候选子模式的亮度分量的预测值,并基于各精选候选子模式的亮度分量的预测值确定各精选候选子模式的精确率失真代价,包括:对于任一所述精选候选子模式,从所存储的各所述粗选候选子模式的亮度分量的预测值中获取该精选候选子模式的亮度分量的预测值,以及计算该精选候选子模式的色度分量的预测值;基于该精选候选子模式的亮度分量和色度分量的预测值以及所述当前图像块的亮度分量和色度分量的原始值,分别确定该精选候选子模式的亮度分量和色度分量的原始残差值;分别对该精选候选子模式的亮度分量和色度分量的原始残差值进行目标操作,确定残差编码所需的比特数;其中,所述目标操作包括以下操作之一或多个:变换、量化以及熵编码;利用所述目标操作的反向操作,分别确定该精选候选子模式的亮度分量和色度分量的重建值;基于该精选候选子模式的亮度分量和色度分量的重建值,以及所述当前图像块的亮度分量和色度分量的原始值,确定该精选候选子模式的失真;对该精选候选子模式的子模式信息进行编码,确定该精选候选子模式的模式编码信息;基于该精选候选子模式残差编码所需的比特数以及模式编码信息,确定该精选候选子模式的最终比特数;基于该精选候选子模式的失真以及最终比特数,确定该精选候选子模式的精确率失真代价。
- 一种编码装置,包括处理器和机器可读存储介质,所述机器可读存储介质存储有能够被所述处理器执行的机器可读指令,所述处理器被所述机器可读指令促使执行权利要求1-18任一所述的方法。
- 一种机器可读存储介质,所述机器可读存储介质上存储有机器可执行指令,所述机器可执行指令被处理器执行时实现权利要求1-18任一所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910539426.7 | 2019-06-20 | ||
CN201910539426.7A CN112118444B (zh) | 2019-06-20 | 2019-06-20 | 编码方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020253728A1 true WO2020253728A1 (zh) | 2020-12-24 |
Family
ID=73796152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/096591 WO2020253728A1 (zh) | 2019-06-20 | 2020-06-17 | 编码方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112118444B (zh) |
WO (1) | WO2020253728A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114710666B (zh) * | 2022-06-01 | 2022-09-02 | 深圳比特微电子科技有限公司 | 一种编码模式的选择方法、装置 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207810A (zh) * | 2006-12-21 | 2008-06-25 | 联想(北京)有限公司 | 一种h264视频编码快速模式选择方法和装置 |
CN103929652A (zh) * | 2014-04-30 | 2014-07-16 | 西安电子科技大学 | 视频标准中基于自回归模型的帧内预测快速模式选择方法 |
CN103997646A (zh) * | 2014-05-13 | 2014-08-20 | 北京航空航天大学 | 一种高清视频编码中快速帧内预测模式选择方法 |
CN104052994A (zh) * | 2014-04-14 | 2014-09-17 | 嘉兴职业技术学院 | 分级自适应的hevc帧内预测模式快速决策方法 |
CN104602019A (zh) * | 2014-12-31 | 2015-05-06 | 乐视网信息技术(北京)股份有限公司 | 一种视频编码方法及装置 |
US20150245068A1 (en) * | 2014-02-21 | 2015-08-27 | Industry-Academic Cooperation Foundation, Yonsei University | Tsm rate-distortion optimizing method, encoding method and device using the same, and apparatus for processing picture |
CN106231302A (zh) * | 2016-07-28 | 2016-12-14 | 同观科技(深圳)有限公司 | 一种最优帧内预测模式的确定方法和系统 |
CN106454349A (zh) * | 2016-10-18 | 2017-02-22 | 哈尔滨工业大学 | 一种基于h.265视频编码的运动估计块匹配方法 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1206864C (zh) * | 2002-07-22 | 2005-06-15 | 中国科学院计算技术研究所 | 结合率失真优化的码率控制的方法及其装置 |
CN100455021C (zh) * | 2004-09-30 | 2009-01-21 | 华为技术有限公司 | 帧内预测模式的选择方法 |
EP2343901B1 (en) * | 2010-01-08 | 2017-11-29 | BlackBerry Limited | Method and device for video encoding using predicted residuals |
CN104954787B (zh) * | 2014-03-27 | 2018-03-23 | 浙江大华技术股份有限公司 | Hevc帧间预测模式选择方法及装置 |
CN103905818B (zh) * | 2014-04-13 | 2017-02-15 | 浙江师范大学 | 基于霍夫变换的hevc标准中帧内预测模式快速确定方法 |
US10142626B2 (en) * | 2014-10-31 | 2018-11-27 | Ecole De Technologie Superieure | Method and system for fast mode decision for high efficiency video coding |
CN104320657B (zh) * | 2014-10-31 | 2017-11-03 | 中国科学技术大学 | Hevc无损视频编码的预测模式选择方法及相应的编码方法 |
CN104581152A (zh) * | 2014-12-25 | 2015-04-29 | 同济大学 | 一种hevc帧内预测模式选择加速方法 |
CN104639940B (zh) * | 2015-03-06 | 2017-10-10 | 宁波大学 | 一种快速hevc帧内预测模式选择方法 |
US9807423B1 (en) * | 2015-11-24 | 2017-10-31 | Google Inc. | Hybrid transform scheme for video coding |
CN105657420B (zh) * | 2015-12-30 | 2018-03-20 | 邦彦技术股份有限公司 | 一种面向hevc的快速帧内预测模式判决方法和装置 |
CN106131547B (zh) * | 2016-07-12 | 2018-07-03 | 北京大学深圳研究生院 | 视频编码中帧内预测模式的快速决策方法 |
JP2018078545A (ja) * | 2016-10-07 | 2018-05-17 | 財團法人工業技術研究院Industrial Technology Research Institute | 画面内予測の予測モードを選択する方法、ビデオ符号化デバイス及び画像処理装置 |
US20180103251A1 (en) * | 2016-10-07 | 2018-04-12 | Industrial Technology Research Institute | Method for selecting prediction mode of intra prediction, video encoding device and image processing apparatus |
-
2019
- 2019-06-20 CN CN201910539426.7A patent/CN112118444B/zh active Active
-
2020
- 2020-06-17 WO PCT/CN2020/096591 patent/WO2020253728A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207810A (zh) * | 2006-12-21 | 2008-06-25 | 联想(北京)有限公司 | 一种h264视频编码快速模式选择方法和装置 |
US20150245068A1 (en) * | 2014-02-21 | 2015-08-27 | Industry-Academic Cooperation Foundation, Yonsei University | Tsm rate-distortion optimizing method, encoding method and device using the same, and apparatus for processing picture |
CN104052994A (zh) * | 2014-04-14 | 2014-09-17 | 嘉兴职业技术学院 | 分级自适应的hevc帧内预测模式快速决策方法 |
CN103929652A (zh) * | 2014-04-30 | 2014-07-16 | 西安电子科技大学 | 视频标准中基于自回归模型的帧内预测快速模式选择方法 |
CN103997646A (zh) * | 2014-05-13 | 2014-08-20 | 北京航空航天大学 | 一种高清视频编码中快速帧内预测模式选择方法 |
CN104602019A (zh) * | 2014-12-31 | 2015-05-06 | 乐视网信息技术(北京)股份有限公司 | 一种视频编码方法及装置 |
CN106231302A (zh) * | 2016-07-28 | 2016-12-14 | 同观科技(深圳)有限公司 | 一种最优帧内预测模式的确定方法和系统 |
CN106454349A (zh) * | 2016-10-18 | 2017-02-22 | 哈尔滨工业大学 | 一种基于h.265视频编码的运动估计块匹配方法 |
Also Published As
Publication number | Publication date |
---|---|
CN112118444B (zh) | 2022-11-25 |
CN112118444A (zh) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112584173B (zh) | 一种编解码方法及其设备 | |
CN107277546B (zh) | 编码装置和方法、解码装置和方法以及存储介质 | |
WO2017005146A1 (zh) | 视频编码和解码方法、视频编码和解码装置 | |
US20060039476A1 (en) | Methods for efficient implementation of skip/direct modes in digital video compression algorithms | |
CN110933426B (zh) | 一种解码、编码方法及其设备 | |
US8228985B2 (en) | Method and apparatus for encoding and decoding based on intra prediction | |
WO2022194103A1 (zh) | 解码方法、编码方法、装置、设备及存储介质 | |
WO2020253728A1 (zh) | 编码方法及装置 | |
WO2020001591A1 (zh) | 一种解码、编码方法及其设备 | |
CN110662074B (zh) | 一种运动矢量确定方法和设备 | |
WO2018184411A1 (zh) | 一种预测模式的判决方法、装置及存储介质 | |
CN112449180A (zh) | 一种编解码方法、装置及其设备 | |
JP4281667B2 (ja) | 画像符号化装置 | |
CN110691247B (zh) | 一种解码、编码方法和设备 | |
CN117242479A (zh) | 用于视频处理的方法、装置和介质 | |
KR20130105402A (ko) | 추가의 비트 레이트 오버헤드 없이 참조 블록의 로컬 조명 및 콘트라스트 보상에 기초한 멀티 뷰 비디오 코딩 및 디코딩 방법 | |
Po et al. | Compensated sum of absolute difference for fast H. 264 inter mode selection | |
WO2012114561A1 (ja) | 動画像符号化装置及び動画像符号化方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20827060 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20827060 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20827060 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16/09/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20827060 Country of ref document: EP Kind code of ref document: A1 |