|
|
@ -26,7 +26,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder |
|
|
private readonly int restartInterval; |
|
|
private readonly int restartInterval; |
|
|
|
|
|
|
|
|
// The number of interleaved components.
|
|
|
// The number of interleaved components.
|
|
|
private readonly int componentsLength; |
|
|
public int componentsLength; |
|
|
|
|
|
|
|
|
// The spectral selection start.
|
|
|
// The spectral selection start.
|
|
|
public int spectralStart; |
|
|
public int spectralStart; |
|
|
@ -72,7 +72,6 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder |
|
|
JpegFrame frame, |
|
|
JpegFrame frame, |
|
|
HuffmanTable[] dcHuffmanTables, |
|
|
HuffmanTable[] dcHuffmanTables, |
|
|
HuffmanTable[] acHuffmanTables, |
|
|
HuffmanTable[] acHuffmanTables, |
|
|
int componentsLength, |
|
|
|
|
|
int restartInterval, |
|
|
int restartInterval, |
|
|
CancellationToken cancellationToken) |
|
|
CancellationToken cancellationToken) |
|
|
{ |
|
|
{ |
|
|
@ -83,7 +82,6 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder |
|
|
this.dcHuffmanTables = dcHuffmanTables; |
|
|
this.dcHuffmanTables = dcHuffmanTables; |
|
|
this.acHuffmanTables = acHuffmanTables; |
|
|
this.acHuffmanTables = acHuffmanTables; |
|
|
this.components = frame.Components; |
|
|
this.components = frame.Components; |
|
|
this.componentsLength = componentsLength; |
|
|
|
|
|
this.restartInterval = restartInterval; |
|
|
this.restartInterval = restartInterval; |
|
|
this.todo = restartInterval; |
|
|
this.todo = restartInterval; |
|
|
this.cancellationToken = cancellationToken; |
|
|
this.cancellationToken = cancellationToken; |
|
|
|