diff --git a/src/ImageSharp/Formats/Jpg/Components/Bits.cs b/src/ImageSharp/Formats/Jpg/Components/Bits.cs index c2cad1794..0eebef132 100644 --- a/src/ImageSharp/Formats/Jpg/Components/Bits.cs +++ b/src/ImageSharp/Formats/Jpg/Components/Bits.cs @@ -73,7 +73,7 @@ namespace ImageSharp.Formats /// /// Receive extend /// - /// byte + /// Byte /// Jpeg decoder /// Read bits value internal int ReceiveExtend(byte t, JpegDecoderCore decoder) diff --git a/src/ImageSharp/Formats/Jpg/Components/Block8x8F.cs b/src/ImageSharp/Formats/Jpg/Components/Block8x8F.cs index d6ca7f38c..33b73cdd1 100644 --- a/src/ImageSharp/Formats/Jpg/Components/Block8x8F.cs +++ b/src/ImageSharp/Formats/Jpg/Components/Block8x8F.cs @@ -85,8 +85,8 @@ namespace ImageSharp.Formats /// /// Load raw 32bit floating point data from source /// - /// block pointer - /// source + /// Block pointer + /// Source [MethodImpl(MethodImplOptions.AggressiveInlining)] public static unsafe void LoadFrom(Block8x8F* blockPtr, MutableSpan source) { @@ -96,8 +96,8 @@ namespace ImageSharp.Formats /// /// Copy raw 32bit floating point data to dest /// - /// block pointer - /// destination + /// Block pointer + /// Destination [MethodImpl(MethodImplOptions.AggressiveInlining)] public static unsafe void CopyTo(Block8x8F* blockPtr, MutableSpan dest) { @@ -107,7 +107,7 @@ namespace ImageSharp.Formats /// /// Load raw 32bit floating point data from source /// - /// source + /// Source [MethodImpl(MethodImplOptions.AggressiveInlining)] public unsafe void LoadFrom(MutableSpan source) { @@ -120,7 +120,7 @@ namespace ImageSharp.Formats /// /// Copy raw 32bit floating point data to dest /// - /// destination + /// Destination [MethodImpl(MethodImplOptions.AggressiveInlining)] public unsafe void CopyTo(MutableSpan dest) { @@ -133,7 +133,7 @@ namespace ImageSharp.Formats /// /// Copy raw 32bit floating point data to dest /// - /// destination + /// Destination [MethodImpl(MethodImplOptions.AggressiveInlining)] public unsafe void CopyTo(float[] dest) { @@ -186,9 +186,9 @@ namespace ImageSharp.Formats /// /// Pointer-based "Indexer" (getter part) /// - /// block pointer - /// index - /// the scalar value at the specified index + /// Block pointer + /// Index + /// The scalar value at the specified index [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static unsafe float GetScalarAt(Block8x8F* blockPtr, int idx) { @@ -199,9 +199,9 @@ namespace ImageSharp.Formats /// /// Pointer-based "Indexer" (setter part) /// - /// block pointer - /// index - /// value + /// Block pointer + /// Index + /// Value [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static unsafe void SetScalarAt(Block8x8F* blockPtr, int idx, float value) { @@ -212,9 +212,9 @@ namespace ImageSharp.Formats /// /// Un-zig /// - /// block pointer - /// qt pointer - /// unzig pointer + /// Block pointer + /// Qt pointer + /// Unzig pointer [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static unsafe void UnZig(Block8x8F* blockPtr, Block8x8F* qtPtr, int* unzigPtr) { @@ -232,7 +232,7 @@ namespace ImageSharp.Formats /// /// Copy raw 32bit floating point data to dest /// - /// destination + /// Destination internal unsafe void CopyTo(MutableSpan dest) { fixed (Vector4* ptr = &this.V0L) @@ -248,7 +248,7 @@ namespace ImageSharp.Formats /// /// Load raw 32bit floating point data from source /// - /// source + /// Source internal unsafe void LoadFrom(MutableSpan source) { fixed (Vector4* ptr = &this.V0L) @@ -322,7 +322,7 @@ namespace ImageSharp.Formats /// Original source: /// https://github.com/norishigefukushima/dct_simd/blob/master/dct/dct8x8_simd.cpp#L261 /// - /// destination block pointer + /// Destination Block pointer [MethodImpl(MethodImplOptions.AggressiveInlining)] internal void IDCT8x4_RightPart(ref Block8x8F destBlockPtr) { @@ -387,7 +387,7 @@ namespace ImageSharp.Formats /// /// TODO: Should be removed when BlockF goes away /// - /// legacy block + /// Legacy block internal void LoadFrom(ref BlockF legacyBlock) { this.LoadFrom(legacyBlock.Data); @@ -396,7 +396,7 @@ namespace ImageSharp.Formats /// /// TODO: Should be removed when BlockF goes away /// - /// legacy block + /// Legacy block internal void CopyTo(ref BlockF legacyBlock) { this.CopyTo(legacyBlock.Data); @@ -405,9 +405,9 @@ namespace ImageSharp.Formats /// /// Level shift by +128, clip to [0, 255], and write to buffer. /// - /// color buffer - /// stride offset - /// temp block pointer + /// Color buffer + /// Stride offset + /// Temp Block pointer [MethodImpl(MethodImplOptions.AggressiveInlining)] internal unsafe void CopyColorsTo(MutableSpan buffer, int stride, Block8x8F* tempBlockPtr) { diff --git a/src/ImageSharp/Formats/Jpg/Components/Bytes.cs b/src/ImageSharp/Formats/Jpg/Components/Bytes.cs index efb9660e3..f848439a0 100644 --- a/src/ImageSharp/Formats/Jpg/Components/Bytes.cs +++ b/src/ImageSharp/Formats/Jpg/Components/Bytes.cs @@ -38,7 +38,7 @@ namespace ImageSharp.Formats /// /// Creates a new instance of the , and initializes it's buffer. /// - /// the bytes created + /// The bytes created public static Bytes Create() { return new Bytes { Buffer = ArrayPool.Rent(4096) }; @@ -57,8 +57,8 @@ namespace ImageSharp.Formats /// /// ReadByteStuffedByte is like ReadByte but is for byte-stuffed Huffman data. /// - /// input stream - /// error code + /// Input stream + /// Error code /// The internal byte ReadByteStuffedByte(Stream inputStream, out JpegDecoderCore.ErrorCodes errorCode) { @@ -115,7 +115,7 @@ namespace ImageSharp.Formats /// /// Returns the next byte, whether buffered or not buffered. It does not care about byte stuffing. /// - /// input stream + /// Input stream /// The [MethodImpl(MethodImplOptions.AggressiveInlining)] internal byte ReadByte(Stream inputStream) @@ -135,7 +135,7 @@ namespace ImageSharp.Formats /// Fills up the bytes buffer from the underlying stream. /// It should only be called when there are no unread bytes in bytes. /// - /// input stream + /// Input stream [MethodImpl(MethodImplOptions.AggressiveInlining)] internal void Fill(Stream inputStream) {