|
spandsp 0.0.6
|
#include <inttypes.h>#include <stdlib.h>#include <stdio.h>#include <fcntl.h>#include <string.h>#include <float.h>#include "floating_fudge.h"#include <assert.h>#include "math_fixed_tables.h"#include "spandsp/telephony.h"#include "spandsp/bit_operations.h"#include "spandsp/math_fixed.h"Functions | |
| uint16_t | fixed_reciprocal16 (uint16_t x, int *shift) |
| uint16_t | fixed_divide16 (uint16_t y, uint16_t x) |
| uint16_t | fixed_divide32 (uint32_t y, uint16_t x) |
| int16_t | fixed_log10_16 (uint16_t x) |
| int32_t | fixed_log10_32 (uint32_t x) |
| uint16_t | fixed_sqrt16 (uint16_t x) |
| uint16_t | fixed_sqrt32 (uint32_t x) |
| int16_t | fixed_sin (uint16_t x) |
| Evaluate an approximate 16 bit fixed point sine. | |
| int16_t | fixed_cos (uint16_t x) |
| Evaluate an approximate 16 bit fixed point cosine. | |
| uint16_t | fixed_atan2 (int16_t y, int16_t x) |
| Evaluate an approximate 16 bit fixed point sine. | |
| uint16_t fixed_atan2 | ( | int16_t | y, |
| int16_t | x | ||
| ) |
Evaluate an approximate 16 bit fixed point sine.
Evaluate an approximate 16 bit fixed point sine.
| y | . |
| x | . |
| int16_t fixed_cos | ( | uint16_t | x | ) |
Evaluate an approximate 16 bit fixed point cosine.
Evaluate an approximate 16 bit fixed point cosine.
| x | A 16 bit unsigned angle, in 360/65536 degree steps. |
| int16_t fixed_sin | ( | uint16_t | x | ) |
Evaluate an approximate 16 bit fixed point sine.
Evaluate an approximate 16 bit fixed point sine.
| x | A 16 bit unsigned angle, in 360/65536 degree steps. |