fn encode_14bit(a: u16, b: u16) -> (u16, u16)
Untransformed data values should be less than (1 << 14).