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:
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.