jpeg.bend relies on unsafe/foreign
raw source on the hub · import gralha-jpeg-decode@0.1.0.1/jpeg.bend as Jpeg
JPEG decoder: baseline and progressive Huffman, subsampling, color transforms.
4 imports
import Base import gralha-text-scan@0.1.0.1/scan.bend as U import gralha-bytes@0.1.0.1/bytes.bend as Bin import gralha-image@0.1.0.1/image.bend as Img
Types
type JPEGSpectral source · line 8 · raw
Data
JPEG entropy bytes are MSB-first and escape FF as FF 00.
JPEGSpectral@start:U32 -> @end:U32 -> @high:U32 -> @low:U32 -> @eob:U32 -> JPEGSpectral
type JPEGStream source · line 18 · raw
Data
JPEGStream@data:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @position:U32 -> @word:U32 -> @count:U32 -> @scan:JPEGSpectral -> @valid:Bool -> JPEGStream
type JPEGRead source · line 21 · raw
Data
JPEGRead@value:U32 -> @stream:JPEGStream -> JPEGRead
type JPEGMarker source · line 84 · raw
Data
JPEGMarker@code:U32 -> @position:U32 -> @valid:Bool -> JPEGMarker
type JPEGQuant source · line 103 · raw
Data
JPEGQuant@id:U32 -> @values:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> JPEGQuant
type JPEGHuff source · line 106 · raw
Data
JPEGHuff@id:U32 -> @ac:Bool -> @node:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> JPEGHuff
type JPEGComponent source · line 109 · raw
Data
JPEGComponent@id:U32 -> @h:U32 -> @v:U32 -> @quant:U32 -> @dc:U32 -> @ac:U32 -> @predictor:U32 -> @bw:U32 -> @bh:U32 -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @samples:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> JPEGComponent
type JPEGFrame source · line 112 · raw
Data
JPEGFrame@w:U32 -> @h:U32 -> @hm:U32 -> @vm:U32 -> @progressive:Bool -> @components:List<&2, JPEGComponent> -> @quants:List<&2, JPEGQuant> -> @huffs:List<&2, JPEGHuff> -> @restart:U32 -> @adobe:U32 -> @valid:Bool -> JPEGFrame
type JPEGCoding source · line 151 · raw
Data
JPEGCoding@node:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @code:U32 -> @at:U32 -> @valid:Bool -> JPEGCoding
type JPEGBlock source · line 244 · raw
Data
JPEGBlock@stream:JPEGStream -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> JPEGBlock
type JPEGRefined source · line 274 · raw
Data
JPEGRefined@index:U32 -> @block:JPEGBlock -> JPEGRefined
type JPEGPart source · line 408 · raw
Data
JPEGPart@component:JPEGComponent -> @stream:JPEGStream -> JPEGPart
type JPEGScan source · line 429 · raw
Data
JPEGScan@components:List<&2, JPEGComponent> -> @stream:JPEGStream -> JPEGScan
type JPEGDecoded source · line 522 · raw
Data
JPEGDecoded@frame:JPEGFrame -> @at:U32 -> JPEGDecoded
Definitions
def jpeg.spectral.default source · line 11 · raw
JPEGSpectral
def jpeg.spectral.eob source · line 14 · raw
@scan:JPEGSpectral -> @eob:U32 -> JPEGSpectral
def jpeg.stream.valid source · line 24 · raw
@stream:JPEGStream -> Bool
def jpeg.stream.invalid source · line 28 · raw
@stream:JPEGStream -> JPEGStream
def jpeg.stream.position source · line 32 · raw
@stream:JPEGStream -> U32
def jpeg.stream.fill source · line 36 · raw
@+stream:JPEGStream -> JPEGStream
def jpeg.stream.take source · line 44 · raw
@+stream:JPEGStream -> JPEGRead
def jpeg.bits.next source · line 50 · raw
@read:JPEGRead -> @acc:U32 -> @next:(@_:JPEGStream -> @_:U32 -> JPEGRead) -> JPEGRead
def jpeg.bits source · line 60 · raw
@stream:JPEGStream -> @count:U32 -> JPEGRead
def jpeg.huff.next source · line 63 · raw
@read:JPEGRead -> @zero:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @one:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @next:(@_:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @_:JPEGStream -> JPEGRead) -> JPEGRead
def jpeg.signed source · line 77 · raw
@+value:U32 -> F32
Quantized coefficients use two's-complement U32 storage, with explicit signed conversion before floating-point reconstruction.
def jpeg.extend source · line 80 · raw
@+value:U32 -> @+count:U32 -> U32
def jpeg.marker source · line 93 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> JPEGMarker
def jpeg.zigzag source · line 96 · raw
@index:U32 -> U32
def jpeg.stream.eob source · line 99 · raw
@stream:JPEGStream -> @eob:U32 -> JPEGStream
def jpeg.frame.empty source · line 115 · raw
JPEGFrame
def jpeg.frame.invalid source · line 118 · raw
@frame:JPEGFrame -> JPEGFrame
def jpeg.frame.valid source · line 122 · raw
@frame:JPEGFrame -> Bool
def jpeg.quant.find source · line 126 · raw
@xs:List<&2, JPEGQuant> -> @+id:U32 -> 0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes
def jpeg.huff.find source · line 131 · raw
@xs:List<&2, JPEGHuff> -> @+id:U32 -> @+ac:Bool -> 0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman
def jpeg.quant.read source · line 136 · raw
@n:Nat -> @+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+stride:U32 -> @+index:U32 -> @out:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> 0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes
def jpeg.huff.symbols source · line 154 · raw
@n:Nat -> @+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+bits:U32 -> @+coding:JPEGCoding -> JPEGCoding
def jpeg.huff.shift source · line 162 · raw
@coding:JPEGCoding -> JPEGCoding
def jpeg.huff.lengths source · line 166 · raw
@n:Nat -> @+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+counts:U32 -> @+bits:U32 -> @+coding:JPEGCoding -> JPEGCoding
def jpeg.huff.install source · line 171 · raw
@coding:JPEGCoding -> @+frame:JPEGFrame -> @spec:U32 -> @end:U32 -> @next:(@_:U32 -> @_:JPEGFrame -> JPEGFrame) -> JPEGFrame
def jpeg.ceil source · line 185 · raw
@+n:U32 -> @+d:U32 -> U32
def jpeg.components.read source · line 188 · raw
@n:Nat -> @+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> List<&2, JPEGComponent>
def jpeg.components.max source · line 195 · raw
@xs:List<&2, JPEGComponent> -> @+vertical:Bool -> @+acc:U32 -> U32
def jpeg.components.has source · line 202 · raw
@xs:List<&2, JPEGComponent> -> @+key:U32 -> Bool
def jpeg.components.units source · line 207 · raw
@xs:List<&2, JPEGComponent> -> U32
def jpeg.components.valid source · line 212 · raw
@+xs:List<&2, JPEGComponent> -> Bool
def jpeg.components.allocate source · line 220 · raw
@xs:List<&2, JPEGComponent> -> @+cols:U32 -> @+rows:U32 -> List<&2, JPEGComponent>
def jpeg.frame.start source · line 228 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+end:U32 -> @+frame:JPEGFrame -> @+kind:U32 -> JPEGFrame
def jpeg.quant.valid source · line 239 · raw
@n:Nat -> @+index:U32 -> @+quant:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> Bool
def jpeg.block.invalid source · line 247 · raw
@block:JPEGBlock -> JPEGBlock
def jpeg.progressive.dc.bits source · line 251 · raw
@read:JPEGRead -> @count:U32 -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @offset:U32 -> @low:U32 -> JPEGBlock
def jpeg.progressive.dc.first source · line 256 · raw
@+read:JPEGRead -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @offset:U32 -> @low:U32 -> JPEGBlock
def jpeg.progressive.dc.refine source · line 262 · raw
@read:JPEGRead -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @+offset:U32 -> @low:U32 -> JPEGBlock
def jpeg.progressive.ac.bits source · line 266 · raw
@read:JPEGRead -> @count:U32 -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @offset:U32 -> @index:U32 -> @low:U32 -> JPEGBlock
def jpeg.progressive.eob source · line 270 · raw
@read:JPEGRead -> @run:U32 -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @decrement:U32 -> JPEGBlock
def jpeg.progressive.first.symbol source · line 277 · raw
@read:JPEGRead -> @+index:U32 -> @+end:U32 -> @+offset:U32 -> @+low:U32 -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+predictor:U32 -> JPEGRefined
def jpeg.refined.next source · line 292 · raw
@refined:JPEGRefined -> @next:(@_:U32 -> @_:JPEGBlock -> JPEGBlock) -> JPEGBlock
def jpeg.progressive.refine.bit source · line 302 · raw
@read:JPEGRead -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @+at:U32 -> @+p1:U32 -> JPEGBlock
def jpeg.progressive.refine.fresh source · line 324 · raw
@read:JPEGRead -> @index:U32 -> @end:U32 -> @run:U32 -> @offset:U32 -> @+p1:U32 -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> JPEGRefined
def jpeg.progressive.refine.eob source · line 328 · raw
@block:JPEGBlock -> @index:U32 -> @end:U32 -> @offset:U32 -> @p1:U32 -> JPEGRefined
def jpeg.progressive.refine.symbol source · line 331 · raw
@read:JPEGRead -> @+index:U32 -> @+end:U32 -> @+offset:U32 -> @+p1:U32 -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+predictor:U32 -> JPEGRefined
def jpeg.refined.block source · line 349 · raw
@refined:JPEGRefined -> JPEGBlock
def jpeg.progressive.decode source · line 353 · raw
@+component:JPEGComponent -> @+tables:List<&2, JPEGHuff> -> @+offset:U32 -> @+stream:JPEGStream -> JPEGBlock
def jpeg.block.dc.bits source · line 365 · raw
@read:JPEGRead -> @+count:U32 -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @+offset:U32 -> JPEGBlock
def jpeg.block.dc source · line 370 · raw
@+read:JPEGRead -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @offset:U32 -> JPEGBlock
def jpeg.block.ac.bits source · line 376 · raw
@read:JPEGRead -> @count:U32 -> @coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @predictor:U32 -> @offset:U32 -> @+index:U32 -> @next:(@_:U32 -> @_:JPEGBlock -> JPEGBlock) -> JPEGBlock
def jpeg.block.ac.symbol source · line 380 · raw
@read:JPEGRead -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+predictor:U32 -> @+offset:U32 -> @+index:U32 -> @next:(@_:U32 -> @_:JPEGBlock -> JPEGBlock) -> JPEGBlock
def jpeg.block.decode source · line 400 · raw
@+component:JPEGComponent -> @+tables:List<&2, JPEGHuff> -> @offset:U32 -> @+stream:JPEGStream -> JPEGBlock
def jpeg.component.block source · line 411 · raw
@block:JPEGBlock -> @component:JPEGComponent -> JPEGPart
def jpeg.part.next source · line 416 · raw
@part:JPEGPart -> @next:(@_:JPEGComponent -> @_:JPEGStream -> JPEGPart) -> JPEGPart
def jpeg.scan.prepend source · line 432 · raw
@scan:JPEGScan -> @component:JPEGComponent -> JPEGScan
def jpeg.scan.part source · line 436 · raw
@part:JPEGPart -> @next:(@_:JPEGStream -> JPEGScan) -> JPEGScan
def jpeg.components.reset source · line 451 · raw
@xs:List<&2, JPEGComponent> -> List<&2, JPEGComponent>
def jpeg.restart.marker source · line 457 · raw
@marker:JPEGMarker -> @scan:JPEGScan -> @expected:U32 -> JPEGScan
def jpeg.restart source · line 462 · raw
@+scan:JPEGScan -> @expected:U32 -> JPEGScan
def jpeg.scan.next source · line 466 · raw
@scan:JPEGScan -> @next:(@_:List<&2, JPEGComponent> -> @_:JPEGStream -> JPEGScan) -> JPEGScan
def jpeg.scan.active source · line 470 · raw
@+scan:JPEGScan -> @next:(@_:List<&2, JPEGComponent> -> @_:JPEGStream -> JPEGScan) -> JPEGScan
def jpeg.component.find source · line 483 · raw
@+xs:List<&2, JPEGComponent> -> @+id:U32 -> Maybe<&2, JPEGComponent>
def jpeg.component.tables source · line 491 · raw
@found:Maybe<&2, JPEGComponent> -> @spec:U32 -> JPEGComponent
def jpeg.scan.select source · line 498 · raw
@n:Nat -> @+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+xs:List<&2, JPEGComponent> -> List<&2, JPEGComponent>
def jpeg.component.or source · line 503 · raw
@found:Maybe<&2, JPEGComponent> -> @fallback:JPEGComponent -> JPEGComponent
def jpeg.components.merge source · line 508 · raw
@+xs:List<&2, JPEGComponent> -> @+updated:List<&2, JPEGComponent> -> List<&2, JPEGComponent>
def jpeg.scan.extent source · line 516 · raw
@xs:List<&2, JPEGComponent> -> @w:U32 -> @h:U32 -> @hm:U32 -> @vm:U32 -> @+vertical:Bool -> U32
def jpeg.scan.complete source · line 525 · raw
@stream:JPEGStream -> Bool
def jpeg.scan.finish source · line 529 · raw
@scan:JPEGScan -> @frame:JPEGFrame -> JPEGDecoded
def jpeg.history.valid source · line 537 · raw
@n:Nat -> @+index:U32 -> @+history:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+high:U32 -> Bool
The sample buffer holds approximation history until IDCT replaces it. Zero means unseen; low+1 records the last transmitted coefficient bit.
def jpeg.history.set source · line 542 · raw
@n:Nat -> @+index:U32 -> @+low:U32 -> @history:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> 0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes
def jpeg.scan.ready source · line 547 · raw
@+xs:List<&2, JPEGComponent> -> @+start:U32 -> @+end:U32 -> @+high:U32 -> @+quants:List<&2, JPEGQuant> -> Bool
def jpeg.scan.histories source · line 553 · raw
@xs:List<&2, JPEGComponent> -> @+start:U32 -> @+end:U32 -> @+low:U32 -> List<&2, JPEGComponent>
def jpeg.scan.decode source · line 559 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+end:U32 -> @+frame:JPEGFrame -> JPEGDecoded
def jpeg.frame.misc source · line 576 · raw
@+frame:JPEGFrame -> @+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+end:U32 -> @+tag:U32 -> JPEGFrame
def jpeg.file.segment source · line 582 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+end:U32 -> @+tag:U32 -> @+frame:JPEGFrame -> JPEGDecoded
def jpeg.file.next source · line 589 · raw
@decoded:JPEGDecoded -> @next:(@_:U32 -> @_:JPEGFrame -> JPEGFrame) -> JPEGFrame
def jpeg.file.continue source · line 593 · raw
@+decoded:JPEGDecoded -> @stop:Bool -> @seen:Bool -> @next:(@_:U32 -> @_:JPEGFrame -> @_:Bool -> JPEGFrame) -> JPEGFrame
def jpeg.file.marker source · line 597 · raw
@marker:JPEGMarker -> @+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+frame:JPEGFrame -> @+seen:Bool -> @next:(@_:U32 -> @_:JPEGFrame -> @_:Bool -> JPEGFrame) -> JPEGFrame
def jpeg.info source · line 614 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> JPEGFrame
def jpeg.idct.basis source · line 619 · raw
@+x:U32 -> @+u:U32 -> F32
Separable, normalized 8x8 inverse DCT. Coefficients remain quantized until every sequential scan has been decoded; each component has a padded plane.
def jpeg.idct.horizontal source · line 627 · raw
@n:Nat -> @+u:U32 -> @+x:U32 -> @+row:U32 -> @+offset:U32 -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+quant:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @acc:F32 -> F32
def jpeg.idct.rows source · line 634 · raw
@n:Nat -> @+index:U32 -> @+offset:U32 -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+quant:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> List<&2, F32>
def jpeg.idct.vertical source · line 639 · raw
@n:Nat -> @+v:U32 -> @+x:U32 -> @+y:U32 -> @+rows:List<&2, F32> -> @acc:F32 -> F32
def jpeg.idct.pixels source · line 644 · raw
@n:Nat -> @+index:U32 -> @+x:U32 -> @+y:U32 -> @+stride:U32 -> @+rows:List<&2, F32> -> @out:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> 0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes
def jpeg.idct.blocks source · line 652 · raw
@n:Nat -> @+index:U32 -> @+cols:U32 -> @+coefficients:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+quant:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @out:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> 0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes
def jpeg.idct.components source · line 657 · raw
@xs:List<&2, JPEGComponent> -> @+quants:List<&2, JPEGQuant> -> List<&2, JPEGComponent>
def jpeg.sample.byte source · line 667 · raw
@+samples:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+stride:U32 -> @+x:U32 -> @+y:U32 -> F32
def jpeg.sample source · line 670 · raw
@component:JPEGComponent -> @+w:U32 -> @+h:U32 -> @+hm:U32 -> @+vm:U32 -> @+x:U32 -> @+y:U32 -> F32
def jpeg.sample.channels source · line 690 · raw
@xs:List<&2, JPEGComponent> -> @+w:U32 -> @+h:U32 -> @+hm:U32 -> @+vm:U32 -> @+x:U32 -> @+y:U32 -> List<&2, F32>
def jpeg.channel source · line 695 · raw
@x:F32 -> F32
def jpeg.ycbcr source · line 698 · raw
@+y:F32 -> @+cb:F32 -> @+cr:F32 -> 0x2c63b99c875a43494881cedcbf2f440f/image.Color
def jpeg.ycck source · line 701 · raw
@c:0x2c63b99c875a43494881cedcbf2f440f/image.Color -> @+k:F32 -> 0x2c63b99c875a43494881cedcbf2f440f/image.Color
def jpeg.rgb.ids source · line 705 · raw
@xs:List<&2, JPEGComponent> -> Bool
def jpeg.color source · line 710 · raw
@xs:List<&2, F32> -> @+adobe:U32 -> 0x2c63b99c875a43494881cedcbf2f440f/image.Color
def jpeg.paint source · line 729 · raw
@n:Nat -> @+index:U32 -> @+w:U32 -> @+h:U32 -> @+hm:U32 -> @+vm:U32 -> @+components:List<&2, JPEGComponent> -> @+adobe:U32 -> @+depth:Nat -> @out:0x2c63b99c875a43494881cedcbf2f440f/image.Pixels -> 0x2c63b99c875a43494881cedcbf2f440f/image.Pixels
def jpeg.components.complete source · line 737 · raw
@xs:List<&2, JPEGComponent> -> Bool
def jpeg.decode.frame source · line 742 · raw
@+frame:JPEGFrame -> 0x2c63b99c875a43494881cedcbf2f440f/image.Picture
def jpeg.decode source · line 748 · raw
@src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> 0x2c63b99c875a43494881cedcbf2f440f/image.Picture
Unsafe
unsafe jpeg.bits.loop source · line 55 · raw
@n:Nat -> @stream:JPEGStream -> @acc:U32 -> JPEGRead
unsafe jpeg.huff.read source · line 68 · raw
@node:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @stream:JPEGStream -> JPEGRead
unsafe jpeg.marker.byte source · line 88 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> JPEGMarker
unsafe jpeg.quant.segment source · line 142 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+end:U32 -> @+frame:JPEGFrame -> JPEGFrame
unsafe jpeg.huff.segment source · line 179 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @+end:U32 -> @+frame:JPEGFrame -> JPEGFrame
unsafe jpeg.progressive.first source · line 297 · raw
@+index:U32 -> @+end:U32 -> @+offset:U32 -> @+low:U32 -> @+table:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @+block:JPEGBlock -> JPEGBlock
unsafe jpeg.progressive.walk source · line 313 · raw
@+index:U32 -> @+end:U32 -> @+run:U32 -> @+fresh:U32 -> @+offset:U32 -> @+p1:U32 -> @+block:JPEGBlock -> JPEGRefined
Walk over zero positions while refining the previously nonzero coefficients. A new coefficient is inserted only after the requested zero run is consumed.
unsafe jpeg.progressive.refine source · line 344 · raw
@+index:U32 -> @+end:U32 -> @+offset:U32 -> @+p1:U32 -> @+table:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @+block:JPEGBlock -> JPEGBlock
unsafe jpeg.block.ac source · line 395 · raw
@+index:U32 -> @+table:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Huffman -> @+offset:U32 -> @+block:JPEGBlock -> JPEGBlock
unsafe jpeg.component.blocks source · line 421 · raw
@n:Nat -> @+index:U32 -> @+cols:U32 -> @+x:U32 -> @+y:U32 -> @+tables:List<&2, JPEGHuff> -> @+component:JPEGComponent -> @stream:JPEGStream -> JPEGPart
unsafe jpeg.mcu source · line 441 · raw
@+xs:List<&2, JPEGComponent> -> @+tables:List<&2, JPEGHuff> -> @+single:Bool -> @+x:U32 -> @+y:U32 -> @stream:JPEGStream -> JPEGScan
unsafe jpeg.mcus source · line 475 · raw
@n:Nat -> @+index:U32 -> @+cols:U32 -> @+single:Bool -> @+tables:List<&2, JPEGHuff> -> @+interval:U32 -> @+scan:JPEGScan -> JPEGScan
unsafe jpeg.file source · line 611 · raw
@+src:0xb55e70f19b053017c63b38dc937ac6e6/bytes.Bytes -> @+at:U32 -> @frame:JPEGFrame -> @seen:Bool -> JPEGFrame