From f0c07be6491c850f948e2029f27f06437d128f3a Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Thu, 18 Oct 2012 17:59:13 +0100 Subject: celp_math: rename ff_log2 to ff_log2_q15 This name is more descriptive as the function returns a fixed-point value with 15 fraction bits. Signed-off-by: Mans Rullgard --- libavcodec/celp_math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/celp_math.c') diff --git a/libavcodec/celp_math.c b/libavcodec/celp_math.c index c3d12e982e..a9ebef697c 100644 --- a/libavcodec/celp_math.c +++ b/libavcodec/celp_math.c @@ -67,7 +67,7 @@ static const uint16_t tab_log2[33] = 26457, 27294, 28116, 28924, 29719, 30500, 31269, 32025, 32769, }; -int ff_log2(uint32_t value) +int ff_log2_q15(uint32_t value) { uint8_t power_int; uint8_t frac_x0; -- cgit v1.2.3