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:
Image encoding and decoding methods and related devices are provided. An image encoding and decoding method includes: for a sub-image block obtained by partitioning an image block, determining at least two position parameters, in which the at least two position parameters include a first position parameter and a second position parameter, the first position parameter identifies whether the sub-image block is a rectangle or not a rectangle, and the second position parameter identifies endpoint information of the sub-image block; determining an encoding sequence of the first position parameter and the second position parameter according to a partition manner of the image block; and encoding the at least two position parameters according to the determined encoding sequence.
Abstract:
A scanning method and device, and a reverse scanning method and device in coding and decoding technologies are provided. The scanning method includes: receiving quantized transformed coefficients of a current block; obtaining a prediction direction of the current block; finding, according to the prediction direction, a scanning order corresponding to the prediction direction of the current block from a mapping relationship table of the prediction direction and the scanning order, wherein at least one scanning order in the mapping relationship table of the prediction direction and the scanning order corresponds to at least two prediction directions; and performing scanning processing on the coefficients by using the scanning order corresponding to the prediction direction of the current block. With the solutions of the present invention, the number of the scanning orders used in coding and decoding is decreased, and system complexity of a codec system is reduced.
Abstract:
A method and device for generating a predicted value of image that are mostly used to generate a predicted value of a current block during image encoding or decoding. The method includes: determining a searching scope, wherein multiple motion vectors are included in the searching scope; performing up-sampling interpolations on first reference blocks, corresponding to the motion vector in the searching scope, in a reference image of the current block by using a first filter to obtain up-sampled first reference blocks; by using the up-sampled first reference blocks, obtaining at least one candidate motion vector corresponding to the current block; performing up-sampling interpolations on second reference blocks, corresponding to the at least one candidate motion vector, in the reference image of the current block by using a second filter to obtain up-sampled second reference blocks; combining the up-sampled second reference blocks to obtain a predicted value of the current block.