Ticket #1422: ticket_1422.patch
File ticket_1422.patch, 1.0 KB (added by Vadim, 9 years ago) |
---|
-
Lib/TLibCommon/TypeDef.h
45 45 #include <vector> 46 46 #include <cstdlib> 47 47 48 #define FIX_PLT_CHROMA_ADJ 1 49 48 50 //! \ingroup TLibCommon 49 51 //! \{ 50 52 -
Lib/TLibEncoder/TEncCu.cpp
3233 3233 rpcTempCU->setPredModeSubParts( MODE_INTRA, 0, uiDepth ); 3234 3234 rpcTempCU->setTrIdxSubParts ( 0, 0, uiDepth ); 3235 3235 rpcTempCU->setPLTModeFlagSubParts(true, 0, rpcTempCU->getDepth(0)); 3236 #if FIX_PLT_CHROMA_ADJ 3237 rpcTempCU->setChromaQpAdjSubParts( rpcTempCU->getCUTransquantBypass(0) ? 0 : m_cuChromaQpOffsetIdxPlus1, 0, uiDepth ); 3238 #endif 3236 3239 3237 3240 #if SCM_U0096_PLT_ENCODER_IMPROVEMENT 3238 3241 UInt testedModes=m_pcPredSearch->PLTSearch(rpcTempCU, m_ppcOrigYuv[uiDepth], m_ppcPredYuvTemp[uiDepth], m_ppcResiYuvTemp[uiDepth],