摘要 |
A video coding or decoding method in which luminance and chrominance samples are predicted from other respective reference samples according to a prediction direction associated with a current sample to be predicted, the chrominance samples having a lower horizontal and/or vertical sampling rate than the luminance samples so that the ratio of luminance horizontal resolution to chrominance horizontal resolution is different to the ratio of luminance vertical resolution to chrominance vertical resolution so that a block of luminance samples has a different aspect ratio to a corresponding block of chrominance samples, comprises detecting a first prediction direction defined in relation to a first grid of a first aspect ratio in respect of a set of current samples to be predicted; and applying a direction mapping to the prediction direction so as to generate a second prediction direction defined in relation to a second grid of a different aspect ratio. |