﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
779	A bug for combination of IBC and WP	chujoh		"There is a bug for combination of IBC and WP.
When IBC and WeihgtedPredB or WeihgtedPredP are set to 1, the results between encoder and decoder are not identical.
The following changes should be introduced.


{{{
In /source/Lib/CommonLib/InterPrediction.cpp,
void InterPrediction::motionCompensation( PredictionUnit &pu, PelUnitBuf &predBuf, const RefPicList &eRefPicList
  , const bool luma, const bool chroma
  , PelUnitBuf* predBufWOBIO /*= NULL*/
)

  if( eRefPicList != REF_PIC_LIST_X )
  {
    CHECK(predBufWOBIO != NULL, ""the case should not happen!"");
    if( ( ( sliceType == P_SLICE && pps.getUseWP() ) || ( sliceType == B_SLICE && pps.getWPBiPred() ) ) )

->

    if( ((CU::isIBC(*pu.cu)==false) && ( ( sliceType == P_SLICE && pps.getUseWP() ) || ( sliceType == B_SLICE && pps.getWPBiPred() ) ) )


}}}

"	defect	closed	minor	VTM-7.2	VTM	VTM-7.0	fixed		jvet@… ksuehring XiangLi fbossen
