Encoding and Decoding Method and Electronic Device
Dossier Overview
Applicant
Huawei Technologies Co., Ltd.
Inventor
Danni Wang; Haitao Yang; Yi Luo; Junkai Feng
IPC Classification
CPC Classification
A decoding method includes receiving a bitstream; parsing a block vector (BV) of a current subblock from the bitstream, where a prediction mode of a coding unit (CU) of the current subblock is an intra block copy (IBC) mode; determining, for the current subblock based on the BV, whether to use a first intra prediction mode to replace the IBC mode; performing an intra prediction on the current subblock to obtain a predicted value of the current subblock when the first intra prediction mode is to be used to replace the IBC mode; performing an IBC prediction on the current subblock based on the BV to obtain the predicted value when the first intra prediction mode is not to be used to replace the IBC mode; and reconstructing the current subblock based on the predicted value to obtain a reconstructed block of the current subblock.
Original (Chinese)
A decoding method includes receiving a bitstream; parsing a block vector (BV) of a current subblock from the bitstream, where a prediction mode of a coding unit (CU) of the current subblock is an intra block copy (IBC) mode; determining, for the current subblock based on the BV, whether to use a first intra prediction mode to replace the IBC mode; performing an intra prediction on the current subblock to obtain a predicted value of the current subblock when the first intra prediction mode is to be used to replace the IBC mode; performing an IBC prediction on the current subblock based on the BV to obtain the predicted value when the first intra prediction mode is not to be used to replace the IBC mode; and reconstructing the current subblock based on the predicted value to obtain a reconstructed block of the current subblock.
External Resources