We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84908d0 commit 9d027e5Copy full SHA for 9d027e5
Tiles.c
@@ -64,7 +64,10 @@ static inline void ConvertToTiles(
64
//! I have no idea why this is the case, though.
65
float Norm = Mean.b;
66
if(Norm) {
67
- float InvNorm = 1.0f / sqrtf(Norm);
+ //! NOTE: Chroma values are scaled by 0.1 relative to luma and
68
+ //! alpha; this is to give 10x more importance to the latter,
69
+ //! and is used to fixe some edge cases with subtle details.
70
+ float InvNorm = 0.1f / sqrtf(Norm);
71
Mean.g *= InvNorm;
72
Mean.r *= InvNorm;
73
}
0 commit comments