摘要 |
FIELD: information technology.SUBSTANCE: invention relates to encoding and decoding of data. Video coding 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, wherein chrominance samples have 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 from 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.EFFECT: technical result is to provide lower compression ratio in chromatic channels.33 cl, 45 dwg |