Various architecture definitions Speex.
More...
#include "speex/speexdsp_types.h"
#include "fixed_generic.h"
Go to the source code of this file.
|
#define | ABS(x) ((x) < 0 ? (-(x)) : (x)) |
|
#define | ABS16(x) ((x) < 0 ? (-(x)) : (x)) |
|
#define | ABS32(x) ((x) < 0 ? (-(x)) : (x)) |
|
#define | BITS_PER_CHAR 8 |
|
#define | BYTES_PER_CHAR 1 |
|
#define | FIXED_POINT |
|
#define | GAIN_SCALING 64 |
|
#define | GAIN_SCALING_1 0.015625 |
|
#define | GAIN_SHIFT 6 |
|
#define | GAMMA_SCALING 32768. |
|
#define | LOG2_BITS_PER_CHAR 3 |
|
#define | LPC_SCALING 8192 |
|
#define | LPC_SHIFT 13 |
|
#define | LSP_SCALING 8192. |
|
#define | LSP_SHIFT 13 |
|
#define | MAX16(a, b) ((a) > (b) ? (a) : (b)) |
|
#define | MAX32(a, b) ((a) > (b) ? (a) : (b)) |
|
#define | MIN16(a, b) ((a) < (b) ? (a) : (b)) |
|
#define | MIN32(a, b) ((a) < (b) ? (a) : (b)) |
|
#define | Q15_ONE ((spx_word16_t)32767) |
|
#define | Q15ONE 32767 |
|
#define | SIG_SCALING 16384 |
|
#define | SIG_SHIFT 14 |
|
#define | VERY_LARGE16 ((spx_word16_t)32767) |
|
#define | VERY_LARGE32 ((spx_word32_t)2147483647) |
|
#define | VERY_SMALL 0 |
|
|
typedef spx_word16_t | spx_coef_t |
|
typedef spx_word16_t | spx_lsp_t |
|
typedef spx_word32_t | spx_mem_t |
|
typedef spx_word32_t | spx_sig_t |
|
typedef spx_int16_t | spx_word16_t |
|
typedef spx_int32_t | spx_word32_t |
|
Various architecture definitions Speex.
Definition in file arch.h.
#define ABS |
( |
|
x | ) |
((x) < 0 ? (-(x)) : (x)) |
Absolute integer value.
Definition at line 75 of file arch.h.
#define ABS16 |
( |
|
x | ) |
((x) < 0 ? (-(x)) : (x)) |
Absolute 16-bit value.
Definition at line 76 of file arch.h.
#define ABS32 |
( |
|
x | ) |
((x) < 0 ? (-(x)) : (x)) |
Absolute 32-bit value.
Definition at line 79 of file arch.h.
#define MAX16 |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) > (b) ? (a) : (b)) |
Maximum 16-bit value.
Definition at line 78 of file arch.h.
#define MAX32 |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) > (b) ? (a) : (b)) |
Maximum 32-bit value.
Definition at line 81 of file arch.h.
#define MIN16 |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
Maximum 16-bit value.
Definition at line 77 of file arch.h.
#define MIN32 |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
Maximum 32-bit value.
Definition at line 80 of file arch.h.