From 698b536f3b34a7cfc41a80e1034cc359456bdd66 Mon Sep 17 00:00:00 2001 From: Dave Burke Date: Sat, 12 May 2012 13:17:25 -0700 Subject: Update to 2012_05_11 version. Fixes: - Don't throw error for invalid bitrate but limit to functional value - More robust ASC parsing - More robust handling of corrupt bitstreams - Handle multiple raw access units Change-Id: Ib49fe2545ff4185fe924126da702fe84ac5c2d87 --- libFDK/include/fixpoint_math.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libFDK/include/fixpoint_math.h') diff --git a/libFDK/include/fixpoint_math.h b/libFDK/include/fixpoint_math.h index 0d0a059..2552be6 100644 --- a/libFDK/include/fixpoint_math.h +++ b/libFDK/include/fixpoint_math.h @@ -206,6 +206,18 @@ FIXP_DBL fMultNorm( INT *result_e ); +inline FIXP_DBL fMultNorm(FIXP_DBL f1, FIXP_DBL f2) +{ + FIXP_DBL m; + INT e; + + m = fMultNorm(f1, f2, &e); + + m = scaleValueSaturate(m, e); + + return m; +} + /** * \brief Divide 2 FIXP_DBL values with normalization of input values. * \param num numerator -- cgit v1.2.3