Patent ID: 7876827
Filing Date: 2011-01-25
Classification: H04N

Abstract:
1. A prediction image generation apparatus of generating a prediction image from encoded data obtained by subjecting a video image to prediction encoding, the video image having a luminance component and first and second color difference components, the apparatus comprising: a receiver configured to receive an input of encoded data obtained by encoding, for a to-be-decoded block, an index indicating (1) a reference image and (2) a combination comprising (A) a first weighting factor for the luminance component, (B) a second weighting factor for the first color difference component, (C) a third weighting factor for the second color difference component, (D) a first offset for the luminance component, (E) a second offset for the first color difference component, and (F) a third offset for the second color difference component, wherein two values of indexes corresponding to different reference images indicate respectively an identical combination of the weighting factor and the offset, and a value obtained by subjecting one of the two values to a right arithmetic shift by one bit is identical to a value obtained by subjecting the other of the two values to a right arithmetic shift by one bit; a deriving module configured to derive, for the to-be-decoded block, the reference image, the weighting factors and the offsets from the index; and a generator configured to generate a prediction image by multiplying the luminance component and the first and second color difference components of the reference image by the weighting factors, respectively, and adding the offsets, respectively, to results of the multiplying.