diff --git a/source/App/EncoderApp/EncAppCfg.cpp b/source/App/EncoderApp/EncAppCfg.cpp index 170a940c9bc221153dea7b0bb16f54f1817dd499..d4be2f88c13084993cc1b8b3b26605353368d407 100644 --- a/source/App/EncoderApp/EncAppCfg.cpp +++ b/source/App/EncoderApp/EncAppCfg.cpp @@ -715,10 +715,8 @@ bool EncAppCfg::parseCfg( int argc, char* argv[] ) uint32_t lumaLevelToDeltaQPMode; #endif #if JVET_O0650_SIGNAL_CHROMAQP_MAPPING_TABLE - //const int qpInVals[] = { 25, 33, 43 }; // Without incorporating CQP offset of 1 - //const int qpOutVals[] = { 25, 32, 37 }; // Without incorporating CQP offset of 1 - const int qpInVals[] = { 8, 25, 33, 43 }; - const int qpOutVals[] = { 8, 26, 33, 38 }; + const int qpInVals[] = { 25, 33, 43 }; + const int qpOutVals[] = { 25, 32, 37 }; SMultiValueInput<int> cfg_qpInValCb(-48, 63, 0, 112, qpInVals, sizeof(qpInVals)/sizeof(int)); SMultiValueInput<int> cfg_qpOutValCb(-48, 63, 0, 112, qpOutVals, sizeof(qpOutVals) / sizeof(int)); const int zeroVector[] = { 0 }; diff --git a/source/Lib/CommonLib/Quant.cpp b/source/Lib/CommonLib/Quant.cpp index f6cbab85395010f809e81d0cbbecd4c326ba7a1b..dce99ed7417a72b4e43a97beac1591137c993877 100644 --- a/source/Lib/CommonLib/Quant.cpp +++ b/source/Lib/CommonLib/Quant.cpp @@ -174,7 +174,7 @@ QpParam::QpParam(const TransformUnit& tu, const ComponentID &compIDX, const int #if JVET_O0105_ICT const bool useJQP = isChroma(compID) && (abs(TU::getICTMode(tu)) == 2); #else - const bool useJQP = tu.jointCbCr; + const bool useJQP = isChroma(compID) && tu.jointCbCr; #endif *this = QpParam(QP <= -MAX_INT ? tu.cu->qp : QP, useJQP ? JOINT_CbCr : compID, tu.cs->sps->getQpBDOffset(toChannelType(compID)), chromaQpOffset, tu.chromaFormat, dqp, tu.cs->sps); #else