Opened 6 years ago
Closed 6 years ago
#234 closed defect (fixed)
N0196 – Six tap interpolation filter for affine prediction
Reported by: | bheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | VTM-5.0 |
Component: | VTM | Version: | VTM-4.2 |
Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description
N0196 changes the interpolation filter to 6-tap for affine blocks.
However, the following non-normative optimization skips the affine prediction process and treats a PU as regular inter prediction if all the control point vectors are identical. Unfortunately, this optimization now changes from the new 6-tap affine filter back to the standard 8-tap filter, and therefore the behavior is no longer equivalent.
The following optimization could just be removed. Or if it is desired to keep this optimization, the N0196 code should be modified to handle this non-normative optimization case as well.
if ( (pu.cu->affineType == AFFINEMODEL_6PARAM && _mv[0] == _mv[1] && _mv[0] == _mv[2])
(pu.cu->affineType == AFFINEMODEL_4PARAM && _mv[0] == _mv[1]) )
{
Mv mvTemp = _mv[0];
clipMv( mvTemp, pu.cu->lumaPos(),
pu.cu->lumaSize(),
*pu.cs->sps );
xPredInterBlk( compID, pu, refPic, mvTemp, dstPic, bi, clpRng
, false
, false
);
return;
}
Change history (1)
comment:1 Changed 6 years ago by XiangLi
- Milestone set to VTM-5.0
- Resolution set to fixed
- Status changed from new to closed
Fixed in https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/merge_requests/511