Abstract:
The disclosure relates to a method of coding implemented by a decoding device, comprising: obtaining a value of a maximum number of merging motion vector prediction, MVP, candidates for a current block, wherein the current block is predicted using intra block copy, IBC mode; setting a value of a MVP index to zero, when the value of the maximum number of MVP candidates for the current block is equal to one; obtaining a motion vector of the current block according to the MVP index and a candidate list; obtaining prediction samples values of the current block according to the motion vector of the current block.
Abstract:
An image prediction method, apparatus, and system, a device, and a storage medium are provided. The method includes: (401) obtaining a split mode of a current node, where the current node is an image block in a coding tree unit in a current image; (402) determining, based on the split mode of the current node and a size of the current node, whether the current node satisfies a first condition; and (403) when it is determined that the current node satisfies the first condition, performing intra prediction on all coding blocks belonging to the current node, to obtain predictors of all the coding blocks belonging to the current node.
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:
An intra prediction method using a cross component liner prediction mode (CCLM), includes: obtaining neighboring luma samples of a luma block; obtaining a mean luma value of the neighboring luma samples; obtaining neighboring chroma samples of a current chroma block, wherein the current chroma block corresponds to the luma block; obtaining a mean chroma value of the neighboring chroma samples; calculating a second linear model coefficient based on a first linear model coefficient, the mean luma value, and the mean chroma value; and obtaining a predictor for the current chroma block based on the first linear model coefficient and the second linear model coefficient. The method can increase the accuracy of the second linear model coefficient, and correspondingly increase the accuracy of the predictor for the current chroma block.
Abstract:
A motion information candidate list construction method includes: performing a first processing process on all neighboring image blocks of a current image block until a quantity of candidate motion information sets in a candidate motion information list is equal to a first preset value or all the neighboring image blocks are traversed; then traversing at least two extra to be selected motion information sets, and storing, in the candidate motion information list, an extra to be selected motion information set that satisfies a preset condition, until the quantity of candidate motion information sets in the candidate motion information list is equal to a preset quantity value or the extra to be selected motion information sets are traversedextra to be selected motion.
Abstract:
This disclosure discloses a method for obtaining a candidate motion vector list, an apparatus, an encoder, and a decoder. The method for obtaining a candidate motion vector list comprises: when a first candidate picture block is encoded/decoded and an inter prediction mode is used, determining whether a reference picture of the first candidate picture block is the same as a reference picture of a current block; and constructing a candidate motion vector list of the current block based on a determining result; when the reference picture of the first candidate picture block is different from the reference picture of the current block, the MV of the first candidate picture block is not used to construct the list. Implementing this disclosure can reduce complexity of a motion information derivation process, and improve coding efficiency.
Abstract:
The present disclosure provides a reference image encoding method, including: encoding sequence, to obtain a reconstructed image of a first and second reference images; determining whether a local area in the second reference image is suitable for updating first reference image; determining whether the first reference image is updated; when the first reference image is not updated, and it is determined the second reference image is suitable for updating the first reference image, replacing a pixel value of a corresponding area or a related area in the first reference image with a pixel value of the local area in the second reference image; and compiling, into the bitstream.
Abstract:
The present disclosure provide a deblocking filtering method and a deblocking filter. The method includes: determining, according to a current pixel value of a to-be-filtered pixel in a picture block and pixel values of pixels in a first neighbouring partition of the to-be-filtered pixel, a first filtering offset value of the to-be-filtered pixel; performing prediction on the pixel value of the to-be-filtered pixel according to pixel values of pixels in a second neighbouring partition of the to-be-filtered pixel to obtain a prediction value of filtered value of the to-be-filtered pixel; and determining an actual filtered value of the to-be-filtered pixel according to the current pixel value, the first filtering offset value, and the prediction value of filtered value. disclosure
Abstract:
According to intra-frame predictive coding and decoding methods based on template matching, an array scanning method and apparatus, and an apparatus that are disclosed in embodiments of the present disclosure, templates of at least two shapes are used to calculate predicted pixel values of a to-be-predicted unit. Templates of different shapes can represent different textures; when a correlation between a texture of a template of a shape and a texture of a to-be-predicted unit is low, a template of another shape may be selected and used, and a matching degree between a texture of a template and a texture of a to-be-predicted unit can be increased. In this way, an optimal predicted pixel value is determined from at least two predicted pixel values, and accuracy of the optimal predicted pixel value is higher than accuracy of a predicted pixel value determined by using a template of a single shape.
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.