aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/celp_math.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-18 17:59:13 +0100
committerMans Rullgard <mans@mansr.com>2012-10-20 12:28:45 +0100
commitf0c07be6491c850f948e2029f27f06437d128f3a (patch)
treeba12184ed220cb5591293c368f81989c27e115ca /libavcodec/celp_math.h
parent79042ab37619a234d5fe0f680885a392e966ea6b (diff)
downloadffmpeg-f0c07be6491c850f948e2029f27f06437d128f3a.tar.gz
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 <mans@mansr.com>
Diffstat (limited to 'libavcodec/celp_math.h')
-rw-r--r--libavcodec/celp_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/celp_math.h b/libavcodec/celp_math.h
index 2fad31258e..ed3f8c0fe2 100644
--- a/libavcodec/celp_math.h
+++ b/libavcodec/celp_math.h
@@ -40,7 +40,7 @@ int ff_exp2(uint16_t power);
*
* @return value of (1<<15) * log2(value)
*/
-int ff_log2(uint32_t value);
+int ff_log2_q15(uint32_t value);
/**
* Shift value left or right depending on sign of offset parameter.