Patent ID: 11870981
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A video decoding method comprising:
obtaining, from a bitstream, intra prediction mode information indicating an intra prediction mode of a current block from among a plurality of intra prediction modes including a first lower-left direction and a first upper-right direction;
when a width of the current block is greater than a height of the current block and the intra prediction mode indicates the first lower-left direction, replacing the intra prediction mode with a second intra prediction mode indicating a second upper-right direction;
when the height of the current block is greater than the width of the current block and first intra prediction mode indicates the first upper-right direction, replacing the intra prediction mode with a second intra prediction mode indicating a second lower-left direction; and
obtaining a prediction sample of pixel comprised in the current block by performing intra prediction using the second intra prediction mode,
wherein, when a value of the intra prediction mode is A (where A is an integer), the second intra prediction mode is obtained by adding a predetermined value to A or subtracting a predetermined value from A.