1. A method of encoding video data, the method comprising: determining a first intra-prediction mode in a first set of intra-prediction modes for a block of video data; determining a second intra-prediction mode from a second set of intra-prediction modes, smaller than the first set of intra-prediction modes, to which the first intra-prediction mode is mapped, wherein the second intra-prediction mode is different than the first intra-prediction mode, and wherein the second set of intra-prediction modes comprises intra-prediction modes defined according to ITU-T H.264; determining a directional transform to which the second intra-prediction mode is mapped; generating a predicted block using the first intra-prediction mode; calculating residual data based on a difference between the block of video data and the predicted block; applying the directional transform to the residual data of the block to form an intermediate transformed block; determining a rotational transform to which at least one of the second intra-prediction mode or the directional transform is mapped; applying the rotational transform to the intermediate transformed block to form a transformed residual block; determining a scan pattern, comprising a fixed scan pattern of a plurality of fixed scan patterns, to which at least one of the second intra-prediction mode or the directional transform is mapped; and scanning the transformed residual block using the determined scan pattern.