Patent ID: 11936871
Assignee: INTERDIGITAL MADISON PATENT HOLDINGS, SAS
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 11:
12. A video encoding apparatus comprising a processor configured to:
determine, for a block of samples of a picture of a video, from a set of neighboring reconstructed samples, a set of N valid samples, N being an integer, wherein a neighboring reconstructed sample is considered as a valid sample on the condition that the sample has not been coded with a mode amongst a set of coding modes and/or with a parameter amongst a set of parameters values, wherein to determine the set of N valid samples comprises:
when a block height is greater than or equal to a block width or a number of valid neighboring samples at a left of the block is greater than or equal to a number of valid neighboring samples at a top of the block, first adding all valid neighboring samples at the left of the block in the set of N valid samples and adding valid neighboring samples at the top of the block only to complete the set up to N valid samples; and
when the block height is smaller than the block width or the number of valid neighboring samples at the left of the block is smaller than the number of valid neighboring samples at the top of the block, first adding all valid neighboring samples at the top of the block in the set of N valid samples and adding valid neighboring samples at the left of the block only to complete the set up to N valid samples;

determine local illumination compensation parameters from the determined set of N valid samples and corresponding reference samples in a reference block; and
encode the block from a prediction block obtained by applying local illumination compensation with the determined parameters on the reference block.