The actual float and double data types are defined in C89 and are usable as such without any extra typedefs. Removing the extra typedefs simplifies the compatibility typedef headers, simplifies portability and makes the code base easier to work with for people new to the library.
Showing the changes to codec/processing/src/denoise (1 of 4 files). Show all
Unified · Split
| @@ -96,7 +96,7 @@ class CDenoiser : public IStrategy { · 95 unmodified lines | |||
| 96 | void WaverageDenoiseChroma (uint8_t* pSrcUV, int32_t width, int32_t height, int32_t stride); | 96 | void WaverageDenoiseChroma (uint8_t* pSrcUV, int32_t width, int32_t height, int32_t stride); |
| 97 | 97 | ||
| 98 | private: | 98 | private: |
| 99 | float_t m_fSigmaGrey; //sigma for grey scale similarity, suggestion 2.5-3 | 99 | float m_fSigmaGrey; //sigma for grey scale similarity, suggestion 2.5-3 |
| 100 | uint32_t m_uiFilterWindow; //filter window diameter | 100 | uint32_t m_uiFilterWindow; //filter window diameter |
| 101 | uint16_t m_uiSpaceRadius; //filter windows radius: 1-3x3, 2-5x5,3-7x7. Larger size, slower speed | 101 | uint16_t m_uiSpaceRadius; //filter windows radius: 1-3x3, 2-5x5,3-7x7. Larger size, slower speed |
| 102 | uint16_t m_uiType; //do denoising on which component 1-Y, 2-U, 4-V; 7-YUV, 3-YU, 5-YV, 6-UV | 102 | uint16_t m_uiType; //do denoising on which component 1-Y, 2-U, 4-V; 7-YUV, 3-YU, 5-YV, 6-UV |