Abstract:
A video data inter prediction method is provided, which includes: determining a candidate motion information list of a current picture block, where the candidate motion information list includes at least one first candidate motion information group, at least one second candidate motion information group, the first candidate motion information group is a motion information group determined based on motion information of preset locations on a first neighboring picture block of the current picture block and a motion model of the first neighboring picture block, the second candidate motion information group is a set of motion information of at least two sample locations that are respectively neighboring to at least two preset locations on the current picture block; determining target motion information from the candidate motion information list; and performing inter prediction on the current picture block based on the target motion information.
Abstract:
A video picture prediction method and apparatus are provided, to provide a manner of determining a maximum length of a candidate motion vector list corresponding to a subblock merge mode. The method comprises: parsing a first indicator from a bitstream; if the first indicator indicates that a candidate mode used to inter predict the to-be-processed block comprises an affine mode, parsing a second indicator from the bitstream, where the second indicator is used to indicate a maximum length of a first candidate motion vector list, and the first candidate motion vector list is constructed for the to-be-processed block, a subblock merge prediction mode is used for the to-be-processed block; and determining the maximum length of the first candidate motion vector list based on the second indicator.
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.