Patent attributes
Aspects of the disclosure provide method and apparatus for video coding. In some examples, an apparatus includes processing circuitry. The processing circuitry decodes prediction information of a first block from a coded video bitstream. The first block is a non-square block and the prediction information of the first block is indicative of a first intra prediction mode in a first set of intra prediction modes for the non-square block. The first set of intra prediction modes includes a specific number of additional 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 the specific number of missing intra prediction modes that are in the second set of intra prediction modes, and the specific number is a function of an aspect ratio of the first block. The processing circuitry then reconstructs at least one sample of the first block according to the first intra prediction mode.