Patent ID: 7680183

Claim:
A video encoding method performed by a video encoder for subjecting an input video image having a luminance and two color differences to motion compensation prediction encoding, comprising: determining a combination from a plurality of combinations each comprising (A) a weighting factor every luminance and two color differences and (B) an offset every luminance and two color differences, for each to-be-encoded block of the input video image; determining index information indicating the determined combination; generating a motion compensated 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; 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; generating a quantized orthogonal transform coefficient for the to-be-encoded block by subjecting the prediction error signal to orthogonal-transform and quantization; and using the video encoder, 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.