| CPC H04N 19/577 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/139 (2014.11); H04N 19/149 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11); H04N 19/196 (2014.11); H04N 19/44 (2014.11); H04N 19/513 (2014.11)] | 20 Claims |

|
1. A method of local illumination compensation (LIC) and prediction refinement with optical flow (PROF) for encoding a video signal, comprising:
partitioning a video frame of the video signal into a plurality of video blocks;
determing a first reference picture/associated with a video block that is coded by affine mode within the video signal;
obtaining control point motion vectors (CPMVs) of an affine coding block based on the video block;
determining prediction samples I (i, j) of the affine coding block from reference samples in the first reference picture/based on the CPMVs, wherein i and j represent a coordinate of one sample within the video block;
deriving PROF prediction sample refinements of the affine coding block based on the PROF;
determining whether to apply the LIC and generating an LIC flag that indicates whether the LIC is applied to the affine coding block;
deriving, 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 final prediction samples of the affine coding block based on the PROF prediction sample refinements and the LIC weight and offset.
|