摘要 |
Video coding / decoding in which 4:2:2 luminance and chrominance samples are predicted according to a prediction direction (1-34) comprises detecting a direction in respect of a current block (1220) to be predicted. A predicted block of chrominance samples is generated according to other chrominance samples defined by the direction. If the direction is vertical, the left column of samples in the predicted block of chrominance samples is filtered e.g. using a horizontal filter. If the direction is horizontal, the top row of samples in the predicted block of chrominance samples is filtered, e.g. using a vertical filter. The difference between the filtered predicted chrominance block and the actual chrominance block is encoded, or a decoded difference is applied to the filtered predicted chrominance block, to encode or decode the block. Also disclosed is indicating whether luminance difference data is to be included in an output bitstream losslessly, and independently indicating whether chrominance difference data is to be included in the bitstream losslessly. Further disclosed is selecting, for a particular coding unit, a size and shape of one or more prediction units, detecting a prediction direction for each prediction unit, and generating a predicted block of samples according to other samples defined by the direction. |