def jpeg.sample.channels
import gralha-jpeg-decode@0.1.0.1/jpeg.bend as Jpegimport Base
690def jpeg.sample.channels(xs: List<&2, JPEGComponent>, +w: U32, +h: U32, +hm: U32, +vm: U32, +x: U32, +y: U32) -> List<&2, F32>:
691 match xs:
692 case Nil{}: Nil{}
693 case Con{c, rest}: Con{jpeg.sample(c, w, h, hm, vm, x, y), jpeg.sample.channels(rest, w, h, hm, vm, x, y)}