diff --git a/source/App/EncoderApp/EncAppCfg.h b/source/App/EncoderApp/EncAppCfg.h index 690174f38e0c1069f36406ba60289e8f93ce84fc..518bd9e199935190bf36b32dd51ab627270447f8 100644 --- a/source/App/EncoderApp/EncAppCfg.h +++ b/source/App/EncoderApp/EncAppCfg.h @@ -706,7 +706,7 @@ protected: ScalingListMode m_useScalingListId; ///< using quantization matrix std::string m_scalingListFileName; ///< quantization matrix file name bool m_disableScalingMatrixForLfnstBlks; - bool m_disableScalingMatrixForAlternativeColourSpace; + bool m_disableScalingMatrixForAlternativeColourSpace=false; bool m_scalingMatrixDesignatedColourSpace; CostMode m_costMode; ///< Cost mode to use bool m_TSRCdisableLL; ///< disable TSRC for lossless diff --git a/source/Lib/CommonLib/NNFilterUnified.h b/source/Lib/CommonLib/NNFilterUnified.h index a27f2e930a7564b09d1cb91d4bfc14bf827ece9d..18a9862777e75ca520c231e58b7c0443cd9b99d8 100644 --- a/source/Lib/CommonLib/NNFilterUnified.h +++ b/source/Lib/CommonLib/NNFilterUnified.h @@ -156,7 +156,7 @@ public: void nnlfTransInput(bool b) { m_nnlfTransInput = b; } #endif private: - int m_blocksize[2]; // current inputs size + int m_blocksize[2]={0,0}; // current inputs size #if JVET_AH0096_CONTENT_ADAPTIVE_LOP std::vector<int> m_input_quantizer; void resizeInputs(int width, int height, bool modelChange = false, bool useInputMultiplierSwitch = false); diff --git a/source/Lib/EncoderLib/EncCfg.h b/source/Lib/EncoderLib/EncCfg.h index bc7c37c4a1679010cbc0b3f8f0494d953f1def5f..9331bf39e3d00bf517bebdb6ceb70f5d0b6f0464 100644 --- a/source/Lib/EncoderLib/EncCfg.h +++ b/source/Lib/EncoderLib/EncCfg.h @@ -530,7 +530,7 @@ protected: HashType m_decodedPictureHashSEIType; HashType m_subpicDecodedPictureHashType; bool m_bufferingPeriodSEIEnabled; - bool m_pictureTimingSEIEnabled; + bool m_pictureTimingSEIEnabled=false; bool m_frameFieldInfoSEIEnabled; bool m_dependentRAPIndicationSEIEnabled; bool m_framePackingSEIEnabled; @@ -541,7 +541,7 @@ protected: bool m_parameterSetsInclusionIndicationSEIEnabled; bool m_selfContainedClvsFlag; bool m_bpDeltasGOPStructure; - bool m_decodingUnitInfoSEIEnabled; + bool m_decodingUnitInfoSEIEnabled=false; bool m_scalableNestingSEIEnabled; @@ -716,7 +716,7 @@ protected: uint32_t m_maxNumIBCMergeCand; ///< Max number of IBC merge candidates ScalingListMode m_useScalingListId; ///< Using quantization matrix i.e. 0=off, 1=default, 2=file. std::string m_scalingListFileName; ///< quantization matrix file name - bool m_disableScalingMatrixForAlternativeColourSpace; + bool m_disableScalingMatrixForAlternativeColourSpace=false; bool m_scalingMatrixDesignatedColourSpace; bool m_sliceLevelRpl; ///< code reference picture lists in slice headers rather than picture header bool m_sliceLevelDblk; ///< code deblocking filter parameters in slice headers rather than picture header @@ -744,7 +744,7 @@ protected: int m_RCInitialQP; bool m_RCForceIntraQP; #if U0132_TARGET_BITS_SATURATION - bool m_RCCpbSaturationEnabled; + bool m_RCCpbSaturationEnabled=false; uint32_t m_RCCpbSize; double m_RCInitialCpbFullness; #endif diff --git a/source/Lib/EncoderLib/EncLib.h b/source/Lib/EncoderLib/EncLib.h index 9a4da4ba3d8389f47306cb740889d1a4942b23e5..ecf44fb8710b34a762ba83f9c609c0b704d4ceec 100644 --- a/source/Lib/EncoderLib/EncLib.h +++ b/source/Lib/EncoderLib/EncLib.h @@ -182,7 +182,7 @@ public: Ctx m_entropyCodingSyncContextState; ///< leave in addition to vector for compatibility PLTBuf m_palettePredictorSyncState; #if ADAPTIVE_RPR - int m_iGOPRprPpsId; + int m_iGOPRprPpsId=0; #endif protected: