CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11); H04N 19/196 (2014.11)] | 22 Claims |
18. An encoding apparatus comprising one or more processors and at least one memory coupled to the one or more processors, wherein the one or more processors are configured to perform:
identifying valid and non-valid samples among neighboring reconstructed samples on a left of a current block and among neighboring reconstructed samples on top of the current block;
replacing at least one non-valid sample by another valid sample such that a number of valid samples on the left of the current block and a number of valid samples on the top the current block are both larger than or equal to N;
determining local illumination compensation parameters from a first set of N valid samples on the left of the current block and a second set of N valid samples on the top of the current block and their corresponding reference samples neighboring a reference block; and
encoding the current block from a prediction block obtained by applying local illumination compensation with the local illumination compensation parameters on the reference block.
|