Patent ID: 7684485

Claim:
A video decoding apparatus of decoding encoded data obtained by encoding a video image having a luminance and two color differences to obtain the video image, comprising: means for receiving encoded data obtained by encoding for one or more to-be-decoded blocks a plurality of combinations comprising (A) a weighting factor every luminance and two color differences and (B) an offset every luminance and two color differences and encoding for a to-be-decoded block (1) a quantized orthogonal transform coefficient of a prediction error signal concerning the luminance and two color differences and (2) index information indicating (a) one combination of the plurality of combinations and (b) a reference image; means for deriving a combination of the weighting factor and the offset for the to-be-decoded block from the index information and the plurality of combinations; means for generating a prediction image for the to-be-decoded block by multiplying the reference image by the weighting factor and adding the offset; means for generating the prediction error signal for the to-be-decoded block by subjecting the quantized orthogonal transform coefficient to inverse quantization and inverse orthogonal transform; and means for generating a decoded image signal for the to-be-decoded block by calculating a sum of the prediction error signal and the prediction image.