﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1257	Chroma subsampling directions are transposed in weighted prediction	jackh		"I'm surprised that this one is not on the bug tracker as it's clearly been spotted already. In HM-13.0+RExt-6.0, TComWeightPrediction.cpp, there are two pairs of lines like this:

{{{
    const Int  iHeight     = uiHeight>>csx; // TODO: RExt - fix this bug
    const Int  iWidth      = uiWidth>>csy;  // TODO: RExt - fix this bug
}}}

The shifts are transposed. The correct code would be:

{{{
    const Int  iHeight     = uiHeight>>csy;
    const Int  iWidth      = uiWidth>>csx;
}}}

This occurs in both TComWeightPrediction::addWeightBi() and Void TComWeightPrediction::addWeightUni(). I'm slightly confused as to why such a simple fix was marked as a TODO!"	defect	closed	minor	HM+RExt-4.2	HM RExt	RExt-4.1 (HM-12.0)	fixed		davidf karlsharman jct-vc@…
