Patent ID: 7738557

Claim:
A video encoding apparatus for subjecting an input video image having a luminance and two color differences to motion compensation prediction encoding, comprising: means for determining either a frame block or a field block for a to-be-encoded block; means for determining a combination comprising (A) a reference image, (B) a weighting factor for every luminance and two color differences and (C) an offset every luminance and two color differences for the to-be-encoded block; means for determining index information indicating the determined combination, each value of the index information for the frame block indicating a different combination of the weighting factor and the offset, and two values of the index information for field block which correspond to different reference images indicating an identical combination of the weighting factor and the offset respectively; means for generating a motion compensation prediction image for the to-be-encoded block by multiplying the reference image by the weighting factor and adding the offset, based on a motion vector; 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 (1) the quantized orthogonal transform coefficient, (2) information of the motion vector and (3) the index information.