def jpeg.ycbcr

gralha-jpeg-decode@0.1.0.1 · jpeg.bend:698

import gralha-jpeg-decode@0.1.0.1/jpeg.bend as Jpeg
import Base
import gralha-image@0.1.0.1/image.bend as Img

698def jpeg.ycbcr(+y: F32, +cb: F32, +cr: F32) -> Img.Color:
699  Img.Color{jpeg.channel((y + 1.402 * (cr - 128.0) : F32)), jpeg.channel((y - 0.344136 * (cb - 128.0) - 0.714136 * (cr - 128.0) : F32)), jpeg.channel((y + 1.772 * (cb - 128.0) : F32)), 1.0}

Uses (6)

Used by (1)