arch.h File Reference

Various architecture definitions Speex. More...

#include "speex/speex_types.h"
#include "fixed_generic.h"

Include dependency graph for arch.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#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 SPEEX_EXTRA_VERSION   ""
#define SPEEX_MAJOR_VERSION   1
#define SPEEX_MICRO_VERSION   15
#define SPEEX_MINOR_VERSION   1
#define SPEEX_VERSION   "speex-1.2beta3"
#define VERY_LARGE16   ((spx_word16_t)32767)
#define VERY_LARGE32   ((spx_word32_t)2147483647)
#define VERY_SMALL   0

Typedefs

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


Detailed Description

Various architecture definitions Speex.

Definition in file arch.h.


Define Documentation

#define ABS (  )     ((x) < 0 ? (-(x)) : (x))

Absolute integer value.

Definition at line 83 of file arch.h.

#define ABS16 (  )     ((x) < 0 ? (-(x)) : (x))

Absolute 16-bit value.

Definition at line 84 of file arch.h.

#define ABS32 (  )     ((x) < 0 ? (-(x)) : (x))

Absolute 32-bit value.

Definition at line 87 of file arch.h.

#define BITS_PER_CHAR   8

Definition at line 229 of file arch.h.

#define BYTES_PER_CHAR   1

Definition at line 228 of file arch.h.

#define FIXED_POINT

Definition at line 46 of file arch.h.

Referenced by speex_resampler_process_float().

#define GAIN_SCALING   64

Definition at line 106 of file arch.h.

#define GAIN_SCALING_1   0.015625

Definition at line 107 of file arch.h.

#define GAIN_SHIFT   6

Definition at line 112 of file arch.h.

#define GAMMA_SCALING   32768.

Definition at line 105 of file arch.h.

#define LOG2_BITS_PER_CHAR   3

Definition at line 230 of file arch.h.

#define LPC_SCALING   8192

Definition at line 102 of file arch.h.

#define LPC_SHIFT   13

Definition at line 109 of file arch.h.

#define LSP_SCALING   8192.

Definition at line 104 of file arch.h.

#define LSP_SHIFT   13

Definition at line 110 of file arch.h.

#define MAX16 ( a,
b   )     ((a) > (b) ? (a) : (b))

Maximum 16-bit value.

Definition at line 86 of file arch.h.

#define MAX32 ( a,
b   )     ((a) > (b) ? (a) : (b))

Maximum 32-bit value.

Definition at line 89 of file arch.h.

#define MIN16 ( a,
b   )     ((a) < (b) ? (a) : (b))

Maximum 16-bit value.

Definition at line 85 of file arch.h.

#define MIN32 ( a,
b   )     ((a) < (b) ? (a) : (b))

Maximum 32-bit value.

Definition at line 88 of file arch.h.

#define Q15_ONE   ((spx_word16_t)32767)

Definition at line 117 of file arch.h.

Referenced by cubic_coef().

#define Q15ONE   32767

Definition at line 100 of file arch.h.

#define SIG_SCALING   16384

Definition at line 103 of file arch.h.

#define SIG_SHIFT   14

Definition at line 111 of file arch.h.

#define SPEEX_EXTRA_VERSION   ""

Extra Speex version.

Definition at line 42 of file arch.h.

#define SPEEX_MAJOR_VERSION   1

Major Speex version.

Definition at line 39 of file arch.h.

#define SPEEX_MICRO_VERSION   15

Micro Speex version.

Definition at line 41 of file arch.h.

#define SPEEX_MINOR_VERSION   1

Minor Speex version.

Definition at line 40 of file arch.h.

#define SPEEX_VERSION   "speex-1.2beta3"

Speex version string.

Definition at line 43 of file arch.h.

#define VERY_LARGE16   ((spx_word16_t)32767)

Definition at line 116 of file arch.h.

#define VERY_LARGE32   ((spx_word32_t)2147483647)

Definition at line 115 of file arch.h.

#define VERY_SMALL   0

Definition at line 114 of file arch.h.


Typedef Documentation

Definition at line 96 of file arch.h.

Definition at line 97 of file arch.h.

Definition at line 95 of file arch.h.

Definition at line 98 of file arch.h.

typedef spx_int16_t spx_word16_t

Definition at line 93 of file arch.h.

typedef spx_int32_t spx_word32_t

Definition at line 94 of file arch.h.


Generated on Thu Apr 16 06:28:52 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6