Patent ID: 11930212
Assignee: KT CORPORATION
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 5:
6. A method of encoding an image, comprising:
determining a reference sample line index of a current block in the image, the reference sample line index indicating one of a plurality of reference sample lines pre-defined in an encoding apparatus;
determining an intra prediction mode of the current block;
obtaining a residual block of the current block based on an original block of the current block and a prediction block of the current block, the prediction block being obtained by performing intra prediction on the current block based on the intra prediction mode and at least one of reference samples in a reference sample line indicated by the reference sample line index; and
encoding the residual block of the current block to generate a bitstream,
wherein an MPM flag equal to a first value is encoded into the bitstream in response to a case where the intra prediction mode of the current block is derived from the MPM candidates or a default mode,
wherein the MPM flag equal to a second value is encoded into the bitstream in response to a case where the intra prediction mode of the current block is not derived from the MPM candidates and the default mode,
wherein, in response to the MPM flag being equal to the first value, a default mode flag is further encoded into the bitstream, the default mode flag indicating whether the intra prediction mode of the current block is set equal to the default mode,
wherein the default mode is representative of a Planar mode, and
wherein, in response to the reference sample line index being greater than a pre-defined value, the MPM flag is not encoded into the bitstream and a value of the MPM flag is inferred to the first value.