This uses M_SQRT1_2, M_SQRT2 instead of the actual literals. Fixed point values remain unchanged. Patch tested with FATE on x86. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>