diff --git a/source/Lib/CommonLib/SEIFilmGrainAnalyzer.h b/source/Lib/CommonLib/SEIFilmGrainAnalyzer.h index 8c9452a2bf79a51f90f22ae0b98236edfecffa2f..d0d4ce490a2f7eade94967efb444287b5d5b8e83 100644 --- a/source/Lib/CommonLib/SEIFilmGrainAnalyzer.h +++ b/source/Lib/CommonLib/SEIFilmGrainAnalyzer.h @@ -101,7 +101,6 @@ private: static const int m_gauss5x5[5][5]; // Gauss 5x5 kernel, integer approximation unsigned int m_convWidthS = 3, m_convHeightS = 3; // Pixel's row and col positions for Sobel filtering - double m_sigma = 1.0; // Gaussian filter sigma double m_lowThresholdRatio = 0.1; // low threshold rato int m_highThresholdRatio = 3; // high threshold rato diff --git a/source/Lib/CommonLib/SEIFilmGrainSynthesizer.cpp b/source/Lib/CommonLib/SEIFilmGrainSynthesizer.cpp index 39dd1576650e4fc2b40982bc5ba04840052d7674..72cc0f2a482e0e6cfe1d2db0f5e4bf7f18739252 100644 --- a/source/Lib/CommonLib/SEIFilmGrainSynthesizer.cpp +++ b/source/Lib/CommonLib/SEIFilmGrainSynthesizer.cpp @@ -413,7 +413,7 @@ void SEIFilmGrainSynthesizer::grainSynthesizeAndBlend(PelStorage* pGrainBuf, boo uint8_t SEIFilmGrainSynthesizer::grainValidateParams() { uint8_t numComp = MAX_NUM_COMPONENT; /* number of color components */ - uint8_t compCtr, intensityCtr, multiGrainCheck[MAX_NUM_COMPONENT][MAX_NUM_INTENSITIES] = { 0 }; + uint8_t compCtr, intensityCtr, multiGrainCheck[MAX_NUM_COMPONENT][MAX_NUM_INTENSITIES] = { { 0 } }; uint16_t multiGrainCtr; uint8_t limitCompModelVal1[10] = { 0 }, limitCompModelVal2[10] = { 0 }; uint8_t num_comp_model_pairs = 0, limitCompModelCtr, compPairMatch; @@ -1265,4 +1265,4 @@ uint32_t SEIFilmGrainSynthesizer::fgsSimulationBlending_32x32(fgsProcessArgs *in return FGS_SUCCESS; } -#endif \ No newline at end of file +#endif