Skip to content
Snippets Groups Projects
Commit 6d1de3b1 authored by Xiang Li's avatar Xiang Li
Browse files

Merge branch 'm0238' into 'master'

JVET-M0238: Nearest neighbor instead of linear interpolation in PDPC

See merge request jvet/VVCSoftware_VTM!204
parents 26854798 dc8b04e5
No related branches found
No related tags found
No related merge requests found
......@@ -770,7 +770,11 @@ void IntraPrediction::xPredIntraAng( const CPelBuf &pSrc, PelBuf &pDst, const Ch
if (wL == 0) break;
Pel *p = refSide + deltay;
#if JVET_M0238_PDPC_NO_INTERPOLATION
Pel left = p[deltaFrac0 >> 5];
#else
Pel left = (((64 - deltaFrac0) * p[0] + deltaFrac0 * p[1] + 32) >> 6);
#endif
pDsty[x] = ClipPel((wL * left + (64 - wL) * pDsty[x] + 32) >> 6, clpRng);
}
}
......
......@@ -121,6 +121,7 @@ typedef std::pair<int, int> TrCost;
// clang-format off
#define JVET_M0453_CABAC_ENGINE 1
#define JVET_M0512_MOTION_BUFFER_COMPRESSION 1
#define JVET_M0238_PDPC_NO_INTERPOLATION 1
#define JVET_M0409_ATMVP_FIX 1
......
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