代理机构 |
Oblon, McClelland, Maier & Neustadt, L.L.P. |
代理人 |
Oblon, McClelland, Maier & Neustadt, L.L.P. |
主权项 |
1. A video decoding apparatus of decoding encoded data obtained by subjecting a video having a luminance and two color differences to motion compensation prediction encoding, the video decoding apparatus comprising:
a receiver configured to receive, as an input, encoded data comprising a combination; a decoder configured to reproduce one or more indices from the received encoded data; a generator configured to: (1) if the one or more indices indicate the combination comprising (a) a first weighting factor for a luminance component, (b) a second weighting factor for a first color difference component, (c) a third weighting factor for a 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, generate a prediction image for a to-be-decoded block by multiplying a first reference image by the first weighting factor, the second weighting factor and the third weighting factor and adding the first offset, the second offset and the third offset, wherein the first weighting factor, the second weighting factor, the third weighting factor, the first offset, the second offset and the third offset are derived based on the one or more indices; (2) if the one or more indices indicate the combination comprising (a-1) a fourth weighting factor for the luminance component for a second reference image, (a-2) a fifth weighting factor for the luminance component for a third reference image, (b-1) a sixth weighting factor for the first color difference component for the second reference image, (b-2) a seventh weighting factor for the first color difference component for the third reference image, (c-1) an eighth weighting factor for the second color difference component for the second reference image, (c-2) a ninth weighting factor for the second color difference component for the third reference image, (d) a fourth offset for the luminance component, (e) a fifth offset for the first color difference component, and (f) a sixth offset for the second color difference component, to generate a prediction image for the to-be-decoded block by adding (A) a result of multiplying the second reference image by the fourth weighting factor, the sixth weighting factor and the eighth weighting factor, (B) a result of multiplying the third reference image by the fifth weighting factor, the seventh weighting factor and the ninth weighting factor, and (C) the fourth offset, the fifth offset and the sixth offset, wherein the fourth weighting factor, the fifth weighting factor, the sixth weighting factor, the seventh weighting factor, the eighth weighting factor, the ninth weighting factor, the fourth offset, the fifth offset, and the sixth offset are derived based on the one or more indices; and generate a decoded image for the to-be-decoded block by using a prediction error and the prediction image. |