Skip to content

Commit a95ab17

Browse files
committed
Removed unnecessary comments
1 parent f746e68 commit a95ab17

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/ImageSharp/Formats/Jpeg/Components/Decoder/ComponentProcessors/DownScalingComponentProcessor2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public override void CopyBlocksToColorBuffer(int spectralStep)
2525
Buffer2D<Block8x8> spectralBuffer = this.Component.SpectralBlocks;
2626

2727
float maximumValue = this.Frame.MaxColorChannelValue;
28-
float normalizationValue = MathF.Ceiling(maximumValue * 0.5F); // /2
28+
float normalizationValue = MathF.Ceiling(maximumValue * 0.5F);
2929

3030
int destAreaStride = this.ColorBuffer.Width;
3131

src/ImageSharp/Formats/Jpeg/Components/Decoder/ComponentProcessors/DownScalingComponentProcessor4.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public override void CopyBlocksToColorBuffer(int spectralStep)
2525
Buffer2D<Block8x8> spectralBuffer = this.Component.SpectralBlocks;
2626

2727
float maximumValue = this.Frame.MaxColorChannelValue;
28-
float normalizationValue = MathF.Ceiling(maximumValue * 0.5F); // /2
28+
float normalizationValue = MathF.Ceiling(maximumValue * 0.5F);
2929

3030
int destAreaStride = this.ColorBuffer.Width;
3131

src/ImageSharp/Formats/Jpeg/Components/Decoder/ComponentProcessors/DownScalingComponentProcessor8.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public override void CopyBlocksToColorBuffer(int spectralStep)
2222
Buffer2D<Block8x8> spectralBuffer = this.Component.SpectralBlocks;
2323

2424
float maximumValue = this.Frame.MaxColorChannelValue;
25-
float normalizationValue = MathF.Ceiling(maximumValue * 0.5F); // /2
25+
float normalizationValue = MathF.Ceiling(maximumValue * 0.5F);
2626

2727
int destAreaStride = this.ColorBuffer.Width;
2828

src/ImageSharp/Formats/Jpeg/Components/ScaledFloatingPointDCT.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ public static void TransformIDCT_2x2(ref Block8x8F block, ref Block8x8F dequantT
183183
// temporal result is saved to +2 shifted indices
184184
// because result is saved into the top left 2x2 region of the
185185
// input block
186-
block[(ctr * 8) + 2] = (tmp10 + tmp0) * 0.25F; // /4
187-
block[(ctr * 8) + 3] = (tmp10 - tmp0) * 0.25F; // /4
186+
block[(ctr * 8) + 2] = (tmp10 + tmp0) * 0.25F;
187+
block[(ctr * 8) + 3] = (tmp10 - tmp0) * 0.25F;
188188
}
189189

190190
for (int ctr = 0; ctr < 2; ctr++)

0 commit comments

Comments
 (0)