Jpeg.jpeg.idct.horizontal: def of gralha-jpeg-decode@0.1.0.1 Import: import gralha-jpeg-decode@0.1.0.1/jpeg.bend as Jpeg Lines 627-632 of gralha-jpeg-decode@0.1.0.1/jpeg.bend: https://jend.leeeet.dev/read.txt?path=gralha-jpeg-decode@0.1.0.1/jpeg.bend&start_line=627&end_line=632 import Base import gralha-bytes@0.1.0.1/bytes.bend as Bin def jpeg.idct.horizontal(n: Nat, +u: U32, +x: U32, +row: U32, +offset: U32, +coefficients: Bin.Bytes, +quant: Bin.Bytes, acc: F32) -> F32: match n: case 0n: acc case 1n+d: +i = (row * 8 + u : U32) jpeg.idct.horizontal(d, U32.inc(u), x, row, offset, coefficients, quant, (acc + jpeg.signed(Bin.bytes.get(coefficients, (offset + i : U32))) * U32.to_f32(Bin.bytes.get(quant, i)) * jpeg.idct.basis(x, u) : F32)) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.inc https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_f32 https://jend.leeeet.dev/definition.txt?path=gralha-bytes@0.1.0.1/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=gralha-bytes@0.1.0.1/bytes.bend&name=bytes.get https://jend.leeeet.dev/definition.txt?path=gralha-jpeg-decode@0.1.0.1/jpeg.bend&name=jpeg.idct.basis https://jend.leeeet.dev/definition.txt?path=gralha-jpeg-decode@0.1.0.1/jpeg.bend&name=jpeg.signed