| CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/186 (2014.11); H04N 19/80 (2014.11)] | 3 Claims |

|
1. A prediction image generation apparatus for generating a prediction image based on an intra prediction parameter including a Cross-Component Linear Model (CCLM) prediction mode, the prediction image generation apparatus comprising:
a CCLM prediction parameter derivation circuitry that derives (i) a first Cross-Component Linear Model (CCLM) prediction parameter and (ii) a second Cross-Component Linear Model (CCLM) prediction parameter; and
a CCLM prediction filter circuitry that derives the prediction image by adding a value of the second CCLM prediction parameter to a value obtained by right-shifting a product of a luminance value and a value of the first CCLM prediction parameter by a first shift value,
wherein
the first CCLM prediction parameter is derived by right shifting a first variable by a second shift value,
the first variable is a sum of (i) a second variable and (ii) a value of a rounding parameter,
the rounding parameter is a value obtained by right shifting a value based on a chrominance difference value to one bit,
the second variable is a product of (i) the chrominance difference value and (ii) a result of a bit-wise “or” of (a) a value in a reference table defined by using an index and (b) an offset value equal to 8,
the second shift value is a value obtained by converting a logarithmic value of the chrominance difference value into an integer, and is derived without being based on a luminance value,
the first shift value is a value obtained by adjusting an initial value by (i) the second shift value and (ii) a value obtained by adjusting a logarithmic value of a luminance difference value by the index, and
the index is an index for referring to the reference table, and is a value obtained by shifting the luminance difference value by the logarithmic value.
|