Abstract:
The present invention provides a video picture coding method, a video picture decoding method, a coding device, and a decoding device. The method includes: determining a motion vector difference of an affine picture block; determining motion vector precision of the affine picture block; determining a size of an affine motion compensation picture subblock in the affine picture block according to the motion vector difference, the motion vector precision, and a distance between control points in the affine picture block, where the control points are pixels used to determine the motion vector difference; and performing coding processing on the affine picture block according to the size of the affine motion compensation picture subblock. In this way, a picture subblock of an appropriate size is selected, so that coding complexity can be reduced, and coding efficiency can be improved.
Abstract:
An encoding and decoding method, where the decoding method includes obtaining first information of a coding tree unit (CTU) in a to-be-decoded picture from a bitstream, where the first information indicates an allowed value range of a width-to-height ratio of a coding unit (CU) obtained by dividing the CTU, obtaining division information of the CTU from the bitstream, dividing the CTU into one or more CUs based on the first information and the division information, where a width-to-height ratio of the one or more CUs falls within the value range indicated by the first information, and the plurality of CUs do not overlap each other, and decoding the one or more CUs to obtain a reconstructed pixel of the one or more CUs.
Abstract:
An adaptive dequantization method and apparatus in video coding includes, a statistical feature of a background area in which a current transform block is located is estimated using spatial neighborhood information, or temporal neighborhood information, or spatial neighborhood information and temporal neighborhood information of the transform block, a quantization adjustment factor for dequantization is adaptively derived, and dequantization processing is flexibly adjusted. Hence quantization adjustment information is transmitted in a bitstream, according to the method and the apparatus, and extra bit overheads are not required to transmit the quantization adjustment information, thereby further improving coding efficiency.
Abstract:
Embodiments of the present invention provide an encoding or decoding method and apparatus. The method includes: extracting first information in a bitstream; determining a chroma component intra prediction mode according to the first information; when the chroma component intra prediction mode cannot be determined according to the first information, extracting second information in the bitstream; and determining the chroma component intra prediction mode according to the second information, where the first information includes information for indicating whether the chroma component intra prediction mode is a DM mode or an LM mode, the second information is used to indicate a remaining mode as the chroma component intra prediction mode, and the remaining mode is one of available chroma component intra prediction modes other than a mode that may be determined according to the first information.
Abstract:
A picture prediction method and a related apparatus are disclosed, which includes: determining N templates whose degrees of matching with a current template meet a preset condition, where the current template is a template corresponding to a current picture block, and the M templates are obtained by searching reference pictures of the current picture block; determining a weight of a pixel area in a picture block corresponding to each template in the N templates, where weights of at least two pixel areas in a picture block corresponding to at least one template in the N templates are different; and calculating a predicted pixel value of a pixel area in the current picture block based on the weight and a pixel value of the pixel area in the picture block corresponding to each template in the N templates, where the pixel area includes at least one pixel.
Abstract:
Embodiments of the present invention provide an intra-frame decoding method and apparatus for a signal component sampling point of an image block. The method includes: obtaining prediction mode information about a first signal component of a current block from a video code stream; determining a prediction mode for the first signal component of the current block, where the prediction mode for the first signal component of the current block is one of a DM mode and an LM mode; obtaining a prediction value of a first signal component sampling point of the current block according to the prediction mode for the first signal component of the current block; and obtaining a reconstruction value of the first signal component sampling point of the current block. The technical solutions provided by the embodiments of the present invention reduce complexity of implementing a decoding end.
Abstract:
An adaptive dequantization method and apparatus in video coding includes, a statistical feature of a background area in which a current transform block is located is estimated using spatial neighborhood information, or temporal neighborhood information, or spatial neighborhood information and temporal neighborhood information of the transform block, a quantization adjustment factor for dequantization is adaptively derived, and dequantization processing is flexibly adjusted. Hence quantization adjustment information is transmitted in a bitstream, according to the method and the apparatus, and extra bit overheads are not required to transmit the quantization adjustment information, thereby further improving coding efficiency.
Abstract:
Embodiments of the present invention provide an encoding or decoding method and apparatus. The method includes: extracting first information in a bitstream; determining a chroma component intra prediction mode according to the first information; when the chroma component intra prediction mode cannot be determined according to the first information, extracting second information in the bitstream; and determining the chroma component intra prediction mode according to the second information, where the first information includes information for indicating whether the chroma component intra prediction mode is a DM mode or an LM mode, the second information is used to indicate a remaining mode as the chroma component intra prediction mode, and the remaining mode is one of available chroma component intra prediction modes other than a mode that may be determined according to the first information.
Abstract:
An intra-frame decoding method is provided. The method includes: obtaining, from a video code stream, prediction mode information of a first signal component of a current block; determining a prediction mode of the first signal component of the current block from a prediction mode set of the first signal component of the current block according to the prediction mode information of the first signal component of the current block, where the prediction mode set of the first signal component of the current block includes at least one of a linear model above (LMA) mode and a linear model left (LML) mode; obtaining a predicted value of a first signal component sampling point of the current block; and obtaining a reconstructed value of the first signal component sampling point of the current block according to the predicted value of the first signal component sampling point of the current block.
Abstract:
An intra-frame decoding method is provided. The method includes: obtaining, from a video code stream, prediction mode information of a first signal component of a current block; determining a prediction mode of the first signal component of the current block from a prediction mode set of the first signal component of the current block according to the prediction mode information of the first signal component of the current block, where the prediction mode set of the first signal component of the current block includes at least one of a linear model above (LMA) mode and a linear model left (LML) mode; obtaining a predicted value of a first signal component sampling point of the current block; and obtaining a reconstructed value of the first signal component sampling point of the current block according to the predicted value of the first signal component sampling point of the current block.