Patent attributes
Aspects of the disclosure provide method and apparatus for video coding. The processing circuitry in the apparatus decodes prediction information of a first block from a coded video bitstream. The first block is a non-square block and the prediction information for the first block is indicative of a first intra prediction mode in a first set of intra prediction modes for a square block. Then, the processing circuitry determines that the first intra prediction mode is within a subset of disabled intra prediction modes for the non-square block in the first set of intra prediction modes for the square block, remaps the first intra prediction mode to a second intra prediction mode in a second set of intra prediction modes that is used for the non-square block. Further, the processing circuitry reconstructs at least one sample of the first block according to the second intra prediction mode.