Patent ID: 9686547
Date: 2017-06-20
CPC Classifications: H04N

Claim:
1. Apparatus for decoding video data in which differences between predicted and original samples are frequency-separated and encoded, comprising: a predictor configured to predict luminance and chrominance samples of an image from other respective reference samples derived from the same image according to a prediction mode associated with a sample to be predicted, the prediction mode being selected for each of a plurality of blocks of samples, from a set of two or more candidate prediction modes; a selector configured to select a scan pattern from a set of two or more candidate scan patterns, each scan pattern defining an order of encoding the set of frequency-separated coefficients, in dependence upon the prediction mode for that block of samples using a mapping between scan pattern and prediction mode, the mapping being different, as between chrominance and luminance samples; and a decoder configured to decode frequency-separated difference data representing a frequency-separated version of data indicative of differences between the samples to be decoded and respective predicted samples, in an order of frequency-separated coefficients according to the selected scan pattern, wherein the video data comprises 4:2:2 and 4:4:4 video data and the mapping is different for 4:2:2 luminance and 4:2:2 chrominance data, wherein the mapping is different for 4:2:2 and 4:4:4 video data, and wherein a filter is used on the other respective reference samples when predicting the luminance and chrominance samples.