Patent ID: 7649942

Claim:
A video encoding apparatus of subjecting an input video image having a luminance and two color differences to motion compensation prediction encoding, comprising: means for determining a combination from 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, for a to-be-encoded block of the input video image; means for determining index information indicating the determined combination; means for generating a motion compensation prediction image for the to-be-encoded block by multiplying a reference image by the weighting factor and adding the offset, based on a motion vector for the to-be-encoded block; means for generating a prediction error signal for the to-be-encoded block by calculating an error between the input video image and the motion compensation prediction image; means for generating a quantized orthogonal transform coefficient for the to-be-encoded block by subjecting the prediction error signal to orthogonal-transform and quantization; and means for encoding for the to-be-encoded block (1) the quantized orthogonal transform coefficient, (2) information of the motion vector and (3) the index information, and encoding the plurality of combinations for one or more to-be-encoded blocks.