Patent ID: 11889110
Assignee: BEIJING DAJIA INTERNET INFORMATION TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method of local illumination compensation (LIC) and prediction refinement with optical flow (PROF) for decoding a video signal, comprising:
obtaining, at a decoder, a first reference picture I associated with a video block that is coded by affine mode within the video signal;
obtaining, at the decoder, control point motion vectors (CPMVs) of an affine coding block based on the video block;
obtaining, at the decoder, prediction samples I(i, j) of the affine coding block from reference samples in the first reference picture I based on the CPMVs, wherein i and j represent a coordinate of one sample within the video block;
deriving, at the decoder, PROF prediction sample refinements of the affine coding block based on the PROF;
receiving, at the decoder, an LIC flag that indicates whether the LIC is applied to the affine coding block;
deriving, at the decoder and in response to determining that the LIC is applied, LIC weight and offset based on neighboring reconstructed samples of the affine coding block and their corresponding reference samples in the first reference picture; and
obtaining, at the decoder, final prediction samples of the affine coding block based on the PROF prediction sample refinements and the LIC weight and offset.