Function exr::compression::b44::pack

source ยท
fn pack(
    s: [u16; 16],
    b: &mut [u8],
    optimize_flat_fields: bool,
    exact_max: bool,
) -> usize
Expand description

Pack a block of 4 by 4 16-bit pixels (32 bytes, the array s) into either 14 or 3 bytes.