`
`1. An encoder, comprising:
`
`circuitry; and
`
`memory connected to the circuitry,
`
`wherein, in operation, the circuitry:
`
`derives a correction parameter using only a neighboring reconstructed
`
`image that neighbors a processing unit which has a determined size and is
`
`located at an upperleft of a current block to be processed in an image, among
`
`neighboring reconstructed images that neighbor
`
`the current block, and
`
`10
`
`performs correction processing of the current block based on the correction
`
`parameter derived, when the current block has a size larger than the
`
`determined size.
`
`2. The encoder according to claim 1,
`
`15
`
`wherein, when the size of the current block is larger than the
`
`determined size, the circuitry splits the current block into processing units each
`
`having the determined size, derives the correction parameter for the processing
`
`unit located at the upperleft of the current block, and performs the correction
`
`processing of each of the processing units in the current block commonly using
`
`20
`
`the correction parameterderived for the processing unit.
`
`3. The encoder according to claim 1,
`
`wherein, when the size of the current block is larger than the
`
`determined size in local illumination compensation (LIC) processing in inter
`
`25
`
`prediction,
`
`the circuitry derives an LIC correction parameter using a
`
`neighboring reconstructed image that neighbors the processing unit located at
`
`the upperleft of the current block and a neighboring reconstructed block that
`
`124
`
`
`
`neighbors a reference block corresponding to the processing unit located at the
`
`upperleft, and performs correction processing by LIC processing of a prediction
`
`image for the current block using the LIC correction parameter derived.
`
`A, The encoder according to claim 1,
`
`wherein the determined size is a size of a pipeline processing unit.
`
`5. The encoder according to claim 1,
`
`wherein the determined size is 64 = 64 pixels.
`
`10
`
`6. A decoder, comprising:
`
`circuitry; and
`
`memory connected to the circuitry,
`
`wherein, in operation, the circuitry:
`
`15
`
`derives a correction parameter using only a neighboring reconstructed
`
`image that neighbors a processing unit which has a determined size and is
`
`located at an upperleft of a current block to be processed in an image, among
`
`neighboring reconstructed images that neighbor
`
`the current block, and
`
`performs correction processing of the current block based on the correction
`
`20
`
`parameter derived, when the current block has a size larger than the
`
`determined size.
`
`7. The decoderaccording to claim 6,
`
`wherein, when the size of the current block is larger than the
`
`25
`
`determined size, the circuitry splits the current block into processing units each
`
`having the determined size, derives the correction parameter for the processing
`
`unit located at the upperleft of the current block, and performs the correction
`
`125
`
`
`
`processing of each of the processing units in the current block commonly using
`
`the correction parameter derived for the processing unit.
`
`8. The decoder accordingto claim 6,
`
`wherein, when the size of the current block is larger than the
`
`determined size in local illumination compensation (LIC) processing in inter
`
`prediction,
`
`the circuitry derives an LIC correction parameter using a
`
`neighboring reconstructed imagethat neighbors the processing unit located at
`
`the upperleft of the current block and a neighboring reconstructed block that
`
`10
`
`neighbors a reference block corresponding to the processing unit located at the
`
`upperleft, and performs correction processing by LIC processing of a prediction
`
`imagefor the current block using the LIC correction parameter derived.
`
`9. The decoder according to claim 6,
`
`15
`
`wherein the determined size is a size of a pipeline processing unit.
`
`10. The decoder according to claim 6,
`
`wherein the determined size is 64 =< 64 pixels.
`
`20
`
`11. An encoding method, comprising:
`
`deriving a correction parameter using only a neighboring reconstructed
`
`image that neighbors a processing unit which has a determined size and is
`
`located at an upperleft of a current block to be processed in an image, among
`
`neighboring reconstructed images that neighbor
`
`the current block, and
`
`25
`
`performing correction processing of the current block based on the correction
`
`parameter derived, when the current block has a size larger than the
`
`determined size.
`
`126
`
`
`
`12. A decoding method, comprising:
`
`deriving a correction parameter using only a neighboring reconstructed
`
`image that neighbors a processing unit which has a determined size and is
`
`located at an upperleft of a current block to be processed in an image, among
`
`neighboring reconstructed images that neighbor
`
`the current block, and
`
`performing correction processing of the current block based on the correction
`
`parameter derived, when the current block has a size larger than the
`
`determined size.
`
`127
`
`