Image module

jpeg_component_row

procedure · 1 overloadsince 0.28.0Source

A full-resolution row of component c: the plane itself, or the upsampled neighbours. Chroma that is halved horizontally (and vertically) gets the triangle filter, other ratios repeat samples.

jpeg_component_row :: (
    d: *Jpeg_Decoder,
    rows: *Jpeg_Rows,
    c: s32,
    y: s32
) -> *u8

A full-resolution row of component c: the plane itself, or the upsampled neighbours. Chroma that is halved horizontally (and vertically) gets the triangle filter, other ratios repeat samples.

Parameters

rows: *Jpeg_Rows
c: s32
y: s32

Returns

*u8

See also