Ticket #191: JVET_M0427_INIT_FIX.patch
File JVET_M0427_INIT_FIX.patch, 1.8 KB (added by tobias.hinz, 5 years ago) |
---|
-
source/Lib/CommonLib/RdCost.cpp
177 177 m_motionLambda = 0; 178 178 m_iCostScale = 0; 179 179 #if JVET_M0427_INLOOP_RESHAPER 180 #if ! JVET_M0427_INIT_FIX 180 181 m_signalType = RESHAPE_SIGNAL_NULL; 181 182 m_chromaWeight = 1.0; 182 183 m_lumaBD = 10; 183 184 #endif 185 #endif 184 186 } 185 187 186 188 … … 2868 2870 2869 2871 #if WCG_EXT 2870 2872 #if JVET_M0427_INLOOP_RESHAPER 2873 #if JVET_M0427_INIT_FIX 2874 uint32_t RdCost::m_signalType = RESHAPE_SIGNAL_NULL; 2875 double RdCost::m_chromaWeight = 1.0; 2876 int RdCost::m_lumaBD = 10; 2877 #else 2871 2878 uint32_t RdCost::m_signalType; 2872 2879 double RdCost::m_chromaWeight; 2873 2880 int RdCost::m_lumaBD; 2881 #endif 2874 2882 std::vector<double> RdCost::m_reshapeLumaLevelToWeightPLUT; 2875 2883 std::vector<double> RdCost::m_lumaLevelToWeightPLUT; 2876 2884 #else … … 2928 2936 m_lumaLevelToWeightPLUT[i] = m_reshapeLumaLevelToWeightPLUT[i]; 2929 2937 } 2930 2938 } 2939 m_chromaWeight = 1.0; 2931 2940 } 2932 2941 2933 2942 void RdCost::updateReshapeLumaLevelToWeightTableChromaMD(std::vector<Pel>& ILUT) -
source/Lib/CommonLib/TypeDef.h
50 50 #include <assert.h> 51 51 #include <cassert> 52 52 53 #define JVET_M0427_INIT_FIX 1 54 53 55 #define JVET_M0055_DEBUG_CTU 1 // DebugCTU encoder debug option 54 56 55 57 #define JVET_M0297_32PT_MTS_ZERO_OUT 1 // 32 point MTS based on skipping high frequency coefficients