This commit is contained in:
Ryan Oldenburg 2022-05-25 19:39:22 -05:00
parent d49ef8be19
commit 403a2b95a8

View file

@ -69,24 +69,23 @@ type
len, pos: int len, pos: int
bitsBuffered: int bitsBuffered: int
bitBuffer: uint32 bitBuffer: uint32
imageHeight, imageWidth: int imageHeight, imageWidth: int
progressive: bool
quantizationTables: array[4, array[64, uint8]] quantizationTables: array[4, array[64, uint8]]
huffmanTables: array[2, array[4, Huffman]] # 0 = DC, 1 = AC huffmanTables: array[2, array[4, Huffman]] # 0 = DC, 1 = AC
components: seq[Component] components: seq[Component]
maxYScale, maxXScale: int maxYScale, maxXScale: int
mcuWidth, mcuHeight, numMcuWide, numMcuHigh: int mcuWidth, mcuHeight, numMcuWide, numMcuHigh: int
orientation: int
scanComponents: int scanComponents: int
spectralStart, spectralEnd: int spectralStart, spectralEnd: int
successiveApproxLow, successiveApproxHigh: int successiveApproxLow, successiveApproxHigh: int
componentOrder: seq[int] componentOrder: seq[int]
progressive: bool
restartInterval: int restartInterval: int
todoBeforeRestart: int todoBeforeRestart: int
eobRun: int eobRun: int
hitEnd: bool hitEnd: bool
orientation: int
when defined(release): when defined(release):
{.push checks: off.} {.push checks: off.}