Skip to content
Snippets Groups Projects
Commit caa16d7e authored by Vadim Seregin's avatar Vadim Seregin
Browse files

Merge branch 'ECM10_FIX_BIF_BUFFER' into 'master'

Fix: use picture level reconstructed buffer for SBT sub-TUs in BIF

See merge request !512
parents 9cf3763f e7f925c1
No related branches found
No related tags found
1 merge request!512Fix: use picture level reconstructed buffer for SBT sub-TUs in BIF
Pipeline #10938 passed
......@@ -530,9 +530,7 @@ void BilateralFilter::bilateralFilterRDOdiamond5x5(const ComponentID compID, Pel
}
else if (subTuHor)
{
CPelBuf currRecoBuf = currTU.cs->getRecoBuf( area );
const int currRecoBufStride = currRecoBuf.stride;
const Pel *neighborPel = currRecoBuf.buf - currRecoBufStride;
const Pel *neighborPel = recIPredBuf.buf - uiRecIPredStride;
std::copy( neighborPel, neighborPel + area.width, tmp );
......@@ -565,13 +563,11 @@ void BilateralFilter::bilateralFilterRDOdiamond5x5(const ComponentID compID, Pel
}
else if( subTuVer )
{
CPelBuf currRecoBuf = currTU.cs->getRecoBuf( area );
const int currRecoBufStride = currRecoBuf.stride;
const Pel *neighborPel = currRecoBuf.buf - 1;
const Pel *neighborPel = recIPredBuf.buf - 1;
for (int yy = 0; yy < area.height; yy++)
{
tmp[yy * iWidthExtSIMD] = *( neighborPel + yy * currRecoBufStride );
tmp[yy * iWidthExtSIMD] = *( neighborPel + yy * uiRecIPredStride );
}
if( doReshape )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment