Patent attributes
A method for video coding in an encoder is provided. A first intra prediction mode in a first set of intra prediction modes for a non-square block is determined. The first set of intra prediction modes includes a specific number of wide angle intra prediction modes that are not in a second set of intra prediction modes for a square block, and the first set of intra prediction modes does not include a specific number of missing intra prediction modes that are in the second set of intra prediction modes. A first block is coded according to the first intra prediction mode. The specific numbers of the wide angle intra prediction modes and the missing intra prediction modes are a function of an aspect ratio of the first block, the second set of intra prediction modes includes directional modes from a bottom-left diagonal mode to a top-right diagonal mode.