Patent ID: 7864862
Filing Date: 2011-01-04
Classification: H04N

Abstract:
1. A video encoding apparatus of subjecting an input video image to motion compensation prediction encoding, the input video image having a luminance component and first and second color difference components, the apparatus comprising: a first determining module configured to determine, for a to-be-encoded block, a combination comprising (A) a reference image, (B) a first weighting factor for the luminance component, (C) a second weighting factor for the first color difference component, (D) a third weighting factor for the second color difference component, (E) a first offset for the luminance component, (F) a second offset for the first color difference component, and (G) a third offset for the second color difference component; a second determining module configured to determine an index indicating the determined combination, wherein two values of the index which correspond to different reference images indicate an identical combination of the weighting factor and the offset; a first generator configured to generate, for the to-be-encoded block, a motion compensation prediction image by multiplying the luminance component and first and second color difference components of the reference image respectively by the weighting factors and adding the offsets, respectively, to results of the multiplying, based on a motion vector; a second generator configured to generate, for the to-be-encoded block, a prediction error signal by calculating an error between the input video image and the motion compensation prediction image; a third generator configured to generate, for the to-be-encoded block, a quantized orthogonal transform coefficient by subjecting the prediction error signal to orthogonal transform and quantization; and an encoder configured to encode (1) the quantized orthogonal transform coefficient, (2) information of the motion vector and (3) the index.