Opened 5 years ago
Closed 5 years ago
#569 closed defect (fixed)
RPR - Clipping unscaled MVs
Reported by: | bheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | VTM-7.0 |
Component: | VTM | Version: | VTM-6.1 |
Keywords: | Cc: | vzakharc, yuwenhe, jvet@… |
Description
The normal MV clipping clipMv( ) function should not be applied to RPR vectors that will later be scaled and clipped within the xPredInterBlkRPR( ) function. Clipping unscaled RPR vectors at just outside the unscaled picture boundary can end up referencing some pixels from inside the scaled picture border after MV scaling is applied.
Specifically, I believe the clipping applied in xPredInterUni( ) at the following line:
clipMv( mv[0], pu.cu->lumaPos(), pu.cu->lumaSize(), sps, *pu.cs->pps );
should be changed to something like this instead:
if( pu.cu->slice->getScalingRatio( eRefPicList, iRefIdx ) == SCALE_1X ) {
clipMv( mv[0], pu.cu->lumaPos(), pu.cu->lumaSize(), sps, *pu.cs->pps );
}
Change history (3)
comment:1 Changed 5 years ago by bheng
- Component changed from 360Lib to VTM
- Version set to VTM-6.1
comment:2 Changed 5 years ago by bheng
comment:3 Changed 5 years ago by XiangLi
- Milestone set to VTM-7.0
- Resolution set to fixed
- Status changed from new to closed
Potential fixes for this issue are available in the following merge request:
https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/merge_requests/997