From c53ea8830dee2a6fba18cb9eb68ce4ebca03f80f Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Fri, 22 Sep 2017 00:28:24 +1000 Subject: [PATCH] Rename methods --- .../Formats/Jpeg/GolangPort/OrigJpegDecoderCore.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ImageSharp/Formats/Jpeg/GolangPort/OrigJpegDecoderCore.cs b/src/ImageSharp/Formats/Jpeg/GolangPort/OrigJpegDecoderCore.cs index 98cc742df..add4984e8 100644 --- a/src/ImageSharp/Formats/Jpeg/GolangPort/OrigJpegDecoderCore.cs +++ b/src/ImageSharp/Formats/Jpeg/GolangPort/OrigJpegDecoderCore.cs @@ -329,7 +329,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.GolangPort } else { - this.ProcessDqt(remaining); + this.ProcessDefineQuantizationTablesMarker(remaining); } break; @@ -341,7 +341,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.GolangPort // when this is a progressive image this gets called a number of times // need to know how many times this should be called in total. - this.ProcessStartOfScan(remaining); + this.ProcessStartOfScanMarker(remaining); if (this.InputProcessor.ReachedEOF || !this.IsProgressive) { // if unexpeced EOF reached or this is not a progressive image we can stop processing bytes as we now have the image data. @@ -403,7 +403,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.GolangPort /// Missing SOF Marker /// SOS has wrong length /// - private void ProcessStartOfScan(int remaining) + private void ProcessStartOfScanMarker(int remaining) { var scan = default(OrigJpegScanDecoder); OrigJpegScanDecoder.InitStreamReading(&scan, this, remaining); @@ -645,7 +645,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.GolangPort /// /// Thrown if the tables do not match the header /// - private void ProcessDqt(int remaining) + private void ProcessDefineQuantizationTablesMarker(int remaining) { while (remaining > 0) {