Patent ID: 9491478
Filing Date: 2016-11-08
CPC Classification: H04N

Claim Text:
1. A method for decoding in an intra prediction mode, comprising: restoring a first intra prediction mode group indicator and a prediction mode index of a current prediction unit; generating a first intra prediction mode group using available intra prediction modes of a left prediction unit and an above prediction unit neighboring the current prediction unit, wherein the number of intra prediction modes belonging to the first intra prediction mode group is fixed to three; determining an intra prediction mode which is included in the first intra prediction mode group and indicated by the intra prediction mode index as the intra prediction mode of the current prediction unit when the intra prediction mode group indicator indicates that the intra prediction mode of the current prediction unit belongs to the first intra prediction mode group; and determining an intra prediction mode which is included in a second intra prediction mode group and indicated by the intra prediction mode index as the intra prediction mode of the current prediction unit when the intra prediction mode group indicator indicates that the intra prediction mode of the current prediction unit does not belong to the first intra prediction mode group, wherein, when only one intra prediction mode out of the intra prediction modes of the left prediction unit and the above prediction unit is available, the first intra prediction mode group includes the one available intra prediction mode of the respective prediction units and two additional prediction modes that are determined such that when the one available intra prediction mode is a non-directional intra prediction mode, the two additional intra prediction modes include another non-directional intra prediction mode and a vertical mode.