def jpeg.progressive.ac.bits
gralha-jpeg-decode@0.1.0.1 · jpeg.bend:266
import gralha-jpeg-decode@0.1.0.1/jpeg.bend as Jpeg
import Base
import gralha-bytes@0.1.0.1/bytes.bend as Bin
266def jpeg.progressive.ac.bits(read: JPEGRead, count: U32, coefficients: Bin.Bytes, predictor: U32, offset: U32, index: U32, low: U32) -> JPEGBlock:
267 JPEGRead{word, stream} = read
268 JPEGBlock{stream, Bin.bytes.set(coefficients, (offset + jpeg.zigzag(index) : U32), U32.shln(jpeg.extend(word, count), U32.to_nat(low))), predictor}