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>
This commit is contained in:
Mans Rullgard
2012-10-18 17:59:13 +01:00
parent 79042ab376
commit f0c07be649
3 changed files with 3 additions and 3 deletions

View File

@@ -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.