Patent ID: 11936904
Assignee: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 1:
2. The method of claim 1, further comprising:
for each bidirectional-predicted inter coding block, determining a first prediction block using a first motion vector and a second prediction block using a second motion vector;
for each of the prediction blocks, determining a first horizontal gradient block and a first vertical gradient block for the first prediction block and a second horizontal gradient block and a second vertical gradient block for the second prediction block;
determining a prediction sample difference block between the first prediction block and the second prediction block;
determining each of a horizontal gradient summation block and a vertical gradient summation block, wherein the horizontal gradient summation block is determined by summing the first horizontal gradient block and the second horizontal gradient block and the vertical summation gradient block is determined by summing the first vertical gradient block and the second vertical gradient block;
for each subblock within each bidirectional-predicted inter coding block, determining a set of BDOF correlation parameters using a most significant bit of the horizontal gradient summation block, a most significant bit of the vertical gradient summation block, and a most significant bit and a least significant bit of the prediction sample difference block;
determining the first refinement parameter and the second refinement parameter using the set of BDOF correlation parameters;
clipping a value of each of the first refinement parameter and the second refinement parameter to be within a defined value range; and
performing prediction of luma sample values in each bidirectional-predicted inter coding block using a prediction sample value for each sample in each subblock within each bidirectional-predicted inter coding block by using the BDOF offset, the first prediction block, and the first horizontal gradient block.