It is derived from the actual equations of the specs. In particular, it is closer to the inverse of what the encoder uses. fate tests accordingly updated. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>