Commit 97e73d31 authored by Xiang Li's avatar Xiang Li

Merge branch 'Bugfix117' into 'master'

Fix ticket #117 on redundant memory copy in predInterSearch()

See merge request jvet/VVCSoftware_VTM!110
parents 27d9d67d 5fb629f9
......@@ -1783,14 +1783,13 @@ void InterSearch::predInterSearch(CodingUnit& cu, Partitioner& partitioner)
if (cu.Y().width > 8 && cu.Y().height > 8 && cu.partSize == SIZE_2Nx2N && cu.slice->getSPS()->getSpsNext().getUseAffine()
&& cu.imv == 0
#if JVET_L0646_GBI
&& (gbiIdx == GBI_DEFAULT || m_affineModeSelected || !m_pcEncCfg->getUseGBiFast())
#endif
)
{
::memcpy( cMvHevcTemp, cMvTemp, sizeof( cMvTemp ) );
}
if ( cu.Y().width > 8 && cu.Y().height > 8 && cu.partSize == SIZE_2Nx2N && cu.slice->getSPS()->getSpsNext().getUseAffine() )
{
::memcpy( cMvHevcTemp, cMvTemp, sizeof( cMvTemp ) );
}
// Bi-predictive Motion estimation
if( ( cs.slice->isInterB() ) && ( PU::isBipredRestriction( pu ) == false )
#if JVET_L0646_GBI
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment