Commit 22f91487 authored by Xiang Li's avatar Xiang Li

Integration of JVET-L0553 on the fix of initial QP signaling

parent 8598dd55
......@@ -50,6 +50,8 @@
#include <assert.h>
#include <cassert>
#define JVET_L0553_FIX_INITQP 1
#define JVET_L0147_ALF_SUBSAMPLED_LAPLACIAN 1 // Subsampled Laplacian calculation
#define JVET_L0191_LM_WO_LMS 1 // NO LMS regression. min/max are used instead
......
......@@ -1234,7 +1234,11 @@ 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