@std/image/jpeg_tables.ms#
Import each required symbol with import Name from "@std/image/jpeg_tables.ms".
jpeg_clamp Function#
Clamps value to 0 through high.
Manuscript
fn jpeg_clamp(value Int, high Int) Int { ... }jpeg_dct_matrix Constant#
Fixed-point (scaled by 4096) 8-point DCT matrix: the entry at row x, column u is c(u)/2 * cos((2x+1)u*pi/16), where c(0) is 1/sqrt(2) and c(u) is 1 otherwise.
Manuscript
jpeg_dct_matrix jpeg_zeros Function#
Returns count zero integers.
Manuscript
fn jpeg_zeros(count Int) List[Int] { ... }jpeg_zigzag Constant#
Zigzag scan order of the 64 coefficients in an 8x8 block.
Manuscript
jpeg_zigzag