Skip to content
Snippets Groups Projects
Commit 62bf74eb authored by Adarsh Krishnan Ramasubramonian's avatar Adarsh Krishnan Ramasubramonian
Browse files

Fix-443: Fix to the merged version of JVET-O0919 and JVET-O0650 to use joint Cb-Cr table

parent 46bcda0a
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,12 @@ QpParam::QpParam(const TransformUnit& tu, const ComponentID &compIDX, const int
#if JVET_O0919_TS_MIN_QP
#if JVET_O0650_SIGNAL_CHROMAQP_MAPPING_TABLE
*this = QpParam(QP <= -MAX_INT ? tu.cu->qp : QP, compID, tu.cs->sps->getQpBDOffset(toChannelType(compID)), tu.cs->sps->getMinQpPrimeTsMinus4(toChannelType(compID)), chromaQpOffset, tu.chromaFormat, dqp, tu.cs->sps);
#if JVET_O0105_ICT
const bool useJQP = isChroma(compID) && (abs(TU::getICTMode(tu)) == 2);
#else
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)), tu.cs->sps->getMinQpPrimeTsMinus4(toChannelType(compID)), chromaQpOffset, tu.chromaFormat, dqp, tu.cs->sps);
#else
*this = QpParam(QP <= -MAX_INT ? tu.cu->qp : QP, toChannelType(compID), tu.cs->sps->getQpBDOffset(toChannelType(compID)), tu.cs->sps->getMinQpPrimeTsMinus4(toChannelType(compID)), chromaQpOffset, tu.chromaFormat, dqp);
#endif
......
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