﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
488	Clipping issue in interpolation process	wzeng		"In JVET-O2001-vE 8.5.6.3.2,
The luma locations in full-sample units are further modified as follows for i = 0..7:
xInti = Clip3( xSbIntL − 3, xSbIntL + sbWidth + 4, xInti )	(8-775)
yInti = Clip3( ySbIntL − 3, ySbIntL + sbHeight + 4, yInti )	(8-776)

When RPR is enabled, xInti/yInti is scaled while xSbIntL/ySbIntL and sbWidth/sbHeight are not scaled.
The purpose of this clipping operation is to ensure the same amount of reference data is used when DMVR is on. As DMVR is turned off when reference picture has different resolution with current picture, this clipping operation should not be performed when resolution is changed.
In addition, when sps_ref_wraparound_enabled_flag=1, this clipping operation seems not correct either.

The similar issue happens for chroma at 8.5.6.3.4,
The chroma locations in full-sample units ( xInti, yInti ) are further modified as follows for i = 0..3:
xInti = Clip3( xSbIntC − 1, xSbIntC + sbWidth + 2, xInti )	(8-789)
yInti = Clip3( ySbIntC − 1, ySbIntC + sbHeight + 2, yInti )	(8-790)
"	defect	closed	minor		spec	VVC D7 vE	fixed		ksuehring bbross XiangLi fbossen jvet@…
