Abstract:
An image prediction method and apparatus is disclosed. The image prediction method includes: determining, according to information about adjacent image units adjacent to a to-be-processed image unit, whether a set of candidate prediction modes for the to-be-processed image unit includes an affine merge mode, where the affine merge mode indicates that respective predicted images of the to-be-processed image unit and the adjacent image units of the to-be-processed image unit are obtained by using a same affine model; parsing a bitstream to obtain first indication information; determining, in the set of candidate prediction modes, a prediction mode for the to-be-processed image unit according to the first indication information; and determining a predicted image of the to-be-processed image unit according to the prediction mode. The method reduces a bit rate of encoding a prediction mode, thereby improving encoding efficiency.
Abstract:
A picture prediction method includes: determining two pixel samples in a current picture block, and determining a candidate motion information unit set corresponding to each of the two pixel samples; determining a merged motion information unit set i including two motion information units; and predicting a pixel value of the current picture block by using an atone motion model and the merged motion information unit set i.
Abstract:
The present disclosure provides a video image decoding method in which a size of an affine motion compensation image sub-block in an affine image block is determined based on a motion vector difference, motion vector precision, a distance between control points in the affine image block, and a size of the affine image block, where the size includes a length in a horizontal direction and a length in a vertical direction, so that a length of the affine image block in a horizontal/vertical direction is an integer multiple of the length of the affine motion compensation image sub-block in the horizontal/vertical direction.
Abstract:
Embodiments of the present application relate to a video image encoding method, a video image decoding method, an encoding device, and a decoding device. The method includes: determining a motion vector group of a current encoding block; determining prediction values of a first component set of a motion model initialization vector; determining values of the first component set according to the prediction values of the first component set; and encoding the values of the first component set, and transmitting encoded values of the first component set. According to the video image encoding method in the embodiments of the present application, a motion model initialization vector is determined according to a motion vector group; values of a motion model are determined according to the motion model initialization vector. In this way, a volume of data and a quantity of occupied bits in encoding and decoding transmission can be reduced.
Abstract:
A method for determining a block partition manner in video encoding including: acquiring processing information of N related blocks of a current block; and determining a block partition manner of the current block according to the processing information of the N related blocks; where the processing information is block partition depth information and/or block encoding mode information, N is a positive integer, and the N related blocks include at least one of the following picture blocks: at least one neighboring block of the current block, a reference block of the current block, and at least one neighboring block of the reference block.
Abstract:
Technologies for inter prediction for a block in a video are provided. In one example, a method includes: when a size of a current block satisfies a preset condition, parsing a bitstream to obtain a syntax element, where the syntax element includes at least an index of optimal candidate motion information of the current block; determining, based on the syntax element, to construct a first list or a second list for the current block, where the first list is a block-based candidate motion information list, and the second list is a subblock-based candidate motion information list; determining optimal motion information from the first list or the second list based on the index; and predicting the current block based on the optimal motion information. In this method, the block-based candidate motion information list and the subblock-based candidate motion information list are distinguished from each other. This effectively reduces transmission costs of the optimal candidate motion information.
Abstract:
This application discloses an inter prediction method and apparatus. The method includes: determining a plurality of first picture blocks in a to-be-processed picture block based on a preset picture split width, a preset picture split height, and a width and a height of the to-be-processed picture block; separately performing bi-directional optical flow prediction on the plurality of first picture blocks to obtain a predictor of each first picture block; and obtaining a predictor of the to-be-processed picture block with a combination of the predictors of the plurality of first picture blocks. The apparatus includes a determining module, a prediction module, and a combination module. In this application, complexity of implementing inter prediction can be reduced, and processing efficiency can be improved.
Abstract:
Technologies for inter prediction for a block in a video are provided. In one example, a method includes: parsing a bitstream to obtain a syntax element, where the syntax element includes at least an index of optimal candidate motion information of a current block; determining, based on the syntax element, to construct a first list or a second list for the current block, where the first list is a block-based candidate motion information list, and the second list is a subblock-based candidate motion information list; determining optimal motion information from the first list or the second list based on the index; and predicting the current block based on the optimal motion information. In this method, the block-based candidate motion information list and the subblock-based candidate motion information list are distinguished from each other. This effectively reduces transmission costs of the optimal candidate motion information.
Abstract:
A method of coding is described. The method can include obtaining a bitstream for a current picture, obtaining a value of a first indicator for the current picture according to the bitstream indicating a slice type, and obtaining a value of a second indicator for the current picture according to the bitstream indicating whether a weighted prediction parameter is present in a picture header or slice header of the bitstream. The method can also include parsing a value of the weighted prediction parameter for a current block of a current slice of the current picture from the bitstream. Furthermore, the method can include predicting the current block according to the value of the weighted prediction parameter.
Abstract:
Disclosed is a mechanism for selecting an interpolation filter for use in conjunction with an affine block in video coding. A motion vector is determined for a sub-block of the affine block based on control points. A sub-block size of the sub-block is also determined. The interpolation filter is selected for application to a reference block corresponding to the sub-block. The interpolation filter is selected based on the sub-block size. The motion vector of the sub-block and an offset of a current sample of the sub-block are employed to determine a reference sample at the reference block. This includes applying the interpolation filter to the reference block to determine the reference sample when the motion vector at the offset points to a fractional position at the reference block. The reference samples are employed to determine residual information in order to encode the affine block.