Patent ID: 11889086
Assignee: TENCENT AMERICA LLC
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method of video coding by a video encoder, comprising:
determining, by a device comprising a memory storing instructions and a processor in communication with the memory, whether to apply a prediction refinement with optical flow (PROF) to an affine coded block; and
in response to determining to apply the PROF to the affine coded block:
generating, by the device, spatial gradients gx(i,j) and gy(i,j) at a sample location (i,j) in the affine coded block,
generating, by the device, a prediction refinement ΔI(i,j) based on the spatial gradients gx(i,j) and gy(i,j), and
adding, by the device, the prediction refinement ΔI(i,j) to a prediction sample I(i,j) to generate a refined prediction sample.