Encoder, decoder, encoding method, and decoding method
View Patent ↗An encoder includes circuitry and memory connected to the circuitry. 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 upper left 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 parameter derived, when the current block has a size larger than the determined size.
1 . A bitstream transmission device, comprising:
circuitry; and
memory connected to the circuitry,
wherein, in operation, the circuitry:
determines whether a size of a current block is larger than a determined size, the determined size being a size of a pipeline processing unit;
when the size of the current block is not larger than the determined size, (i) derives a first correction parameter using neighboring reconstructed images that neighbor the current block, and (ii) performs correction of a prediction image for the whole current block using the first correction parameter derived using the neighboring reconstructed images;
when the size of the current block is larger than the determined size, (i) derives a second correction parameter using only portions of the neighboring reconstructed images that neighbor a leading processing unit included in the current block, and (ii) performs correction of the prediction image for the whole current block using the second correction parameter derived using only the portions of the neighboring reconstructed images; and
transmits a bitstream obtained by encoding the current block, and
wherein the leading processing unit is an upper-leftmost processing unit from among processing units obtained by splitting the current block into the processing units, each of the processing units having the determined size.