Commit 75fb27d8 authored by Karsten Suehring's avatar Karsten Suehring

remove macro JVET_L0553_FIX_INITQP

parent 80690cc5
......@@ -62,7 +62,6 @@
#define JVET_L0553_FIX_INITQP 1
#define JVET_L0053_L0272_DM 1 // use center position of luma block to derive DM
#define JVET_L0147_ALF_SUBSAMPLED_LAPLACIAN 1 // Subsampled Laplacian calculation
......
......@@ -1287,11 +1287,7 @@ void EncLib::xInitPPS(PPS &pps, const SPS &sps)
{
baseQp = getBaseQP()-26;
}
#if JVET_L0553_FIX_INITQP
const int maxDQP = 37;
#else
const int maxDQP = 25;
#endif
const int minDQP = -26 + sps.getQpBDOffset(CHANNEL_TYPE_LUMA);
pps.setPicInitQPMinus26( std::min( maxDQP, std::max( minDQP, baseQp ) ));
......
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