pub fn decode(
data: &[u8],
width: usize,
height: usize,
white_level: u32,
phase: CfaPhase,
out: &mut [u16],
parallel: bool,
) -> Result<()>Expand description
Decode a VC-5 bitstream (starting at the “VC-5” signature) into a width x height
Bayer mosaic (out, row-major). white_level selects the output bit depth of the
inverse-log curve (e.g. 4095 → 12-bit samples).