# 1 "../../spandsp-0.0.4/src/gsm0610_decode.c" # 1 "/DEVEL/embedded/blackfin-sources/uclinux-dist/user/eworldcom-stuff/spandsp/build/src//" # 1 "" # 1 "" # 1 "../../spandsp-0.0.4/src/gsm0610_decode.c" # 34 "../../spandsp-0.0.4/src/gsm0610_decode.c" # 1 "./config.h" 1 # 35 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4 # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 1 3 4 # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_config.h" 1 3 4 # 36 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_arch_features.h" 1 3 4 # 38 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4 # 356 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/cdefs.h" 1 3 4 # 357 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4 # 33 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 2 3 4 # 38 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 1 3 4 # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 1 3 4 # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4 # 31 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 2 3 4 # 39 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; __extension__ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 128 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 140 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 2 3 4 # 276 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 # 290 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 typedef struct { long long int quot; long long int rem; } imaxdiv_t; extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern intmax_t strtoimax (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); extern uintmax_t strtoumax (__const char *__restrict __nptr, char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); # 326 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/inttypes.h" 3 4 # 39 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 1 3 4 # 27 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 1 3 4 # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/huge_val.h" 1 3 4 # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/huge_valf.h" 1 3 4 # 37 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/huge_vall.h" 1 3 4 # 38 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/inf.h" 1 3 4 # 41 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/nan.h" 1 3 4 # 44 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathdef.h" 1 3 4 # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathdef.h" 3 4 typedef double float_t; typedef double double_t; # 48 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 71 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); # 87 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); # 127 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__)); extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__)); extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__)); extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__)); extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__)); extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__)); extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__)); extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); # 72 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 94 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); # 87 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); # 127 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathcalls.h" 3 4 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__)); extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__)); extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__)); extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__)); extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__)); extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); # 95 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 2 3 4 # 157 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 extern int signgam; # 198 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 enum { FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL }; # 284 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 309 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 struct exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct exception *__exc); # 465 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/math.h" 3 4 # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 1 3 4 # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/mathdef.h" 1 3 4 # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 # 67 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 1 3 4 # 54 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 extern double _Complex cacos (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cacos (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex casin (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __casin (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex catan (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __catan (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex ccos (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ccos (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex csin (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __csin (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex ctan (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ctan (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex cacosh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cacosh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex casinh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __casinh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex catanh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __catanh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex ccosh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ccosh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex csinh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __csinh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex ctanh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __ctanh (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex cexp (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cexp (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex clog (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __clog (double _Complex __z) __attribute__ ((__nothrow__)); # 102 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 extern double _Complex cpow (double _Complex __x, double _Complex __y) __attribute__ ((__nothrow__)); extern double _Complex __cpow (double _Complex __x, double _Complex __y) __attribute__ ((__nothrow__)); extern double _Complex csqrt (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __csqrt (double _Complex __z) __attribute__ ((__nothrow__)); extern double cabs (double _Complex __z) __attribute__ ((__nothrow__)); extern double __cabs (double _Complex __z) __attribute__ ((__nothrow__)); extern double carg (double _Complex __z) __attribute__ ((__nothrow__)); extern double __carg (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex conj (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __conj (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex cproj (double _Complex __z) __attribute__ ((__nothrow__)); extern double _Complex __cproj (double _Complex __z) __attribute__ ((__nothrow__)); extern double cimag (double _Complex __z) __attribute__ ((__nothrow__)); extern double __cimag (double _Complex __z) __attribute__ ((__nothrow__)); extern double creal (double _Complex __z) __attribute__ ((__nothrow__)); extern double __creal (double _Complex __z) __attribute__ ((__nothrow__)); # 68 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 # 81 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 1 3 4 # 54 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 extern float _Complex cacosf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cacosf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex casinf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __casinf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex catanf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __catanf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex ccosf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ccosf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex csinf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __csinf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex ctanf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ctanf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex cacoshf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cacoshf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex casinhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __casinhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex catanhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __catanhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex ccoshf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ccoshf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex csinhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __csinhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex ctanhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __ctanhf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex cexpf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cexpf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex clogf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __clogf (float _Complex __z) __attribute__ ((__nothrow__)); # 102 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 extern float _Complex cpowf (float _Complex __x, float _Complex __y) __attribute__ ((__nothrow__)); extern float _Complex __cpowf (float _Complex __x, float _Complex __y) __attribute__ ((__nothrow__)); extern float _Complex csqrtf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __csqrtf (float _Complex __z) __attribute__ ((__nothrow__)); extern float cabsf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __cabsf (float _Complex __z) __attribute__ ((__nothrow__)); extern float cargf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __cargf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex conjf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __conjf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex cprojf (float _Complex __z) __attribute__ ((__nothrow__)); extern float _Complex __cprojf (float _Complex __z) __attribute__ ((__nothrow__)); extern float cimagf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __cimagf (float _Complex __z) __attribute__ ((__nothrow__)); extern float crealf (float _Complex __z) __attribute__ ((__nothrow__)); extern float __crealf (float _Complex __z) __attribute__ ((__nothrow__)); # 82 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 # 97 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 1 3 4 # 54 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 extern long double _Complex cacosl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cacosl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex casinl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __casinl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex catanl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __catanl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex ccosl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ccosl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex csinl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __csinl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex ctanl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ctanl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex cacoshl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cacoshl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex casinhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __casinhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex catanhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __catanhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex ccoshl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ccoshl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex csinhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __csinhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex ctanhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __ctanhl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex cexpl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cexpl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex clogl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __clogl (long double _Complex __z) __attribute__ ((__nothrow__)); # 102 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/cmathcalls.h" 3 4 extern long double _Complex cpowl (long double _Complex __x, long double _Complex __y) __attribute__ ((__nothrow__)); extern long double _Complex __cpowl (long double _Complex __x, long double _Complex __y) __attribute__ ((__nothrow__)); extern long double _Complex csqrtl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __csqrtl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double cabsl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __cabsl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double cargl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __cargl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex conjl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __conjl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex cprojl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double _Complex __cprojl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double cimagl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __cimagl (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double creall (long double _Complex __z) __attribute__ ((__nothrow__)); extern long double __creall (long double _Complex __z) __attribute__ ((__nothrow__)); # 98 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/complex.h" 2 3 4 # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/tgmath.h" 2 3 4 # 41 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 1 3 4 # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 # 214 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 3 4 typedef long unsigned int size_t; # 36 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4 # 98 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 151 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 297 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 1 3 4 # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 1 3 4 # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4 # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 1 3 4 # 10 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 3 4 typedef unsigned short __kernel_dev_t; typedef unsigned long __kernel_ino_t; typedef unsigned short __kernel_mode_t; typedef unsigned short __kernel_nlink_t; typedef long __kernel_off_t; typedef int __kernel_pid_t; typedef unsigned int __kernel_ipc_pid_t; typedef unsigned int __kernel_uid_t; typedef unsigned int __kernel_gid_t; typedef unsigned int __kernel_size_t; typedef int __kernel_ssize_t; typedef int __kernel_ptrdiff_t; typedef long __kernel_time_t; typedef long __kernel_suseconds_t; typedef long __kernel_clock_t; typedef int __kernel_daddr_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; typedef long long __kernel_loff_t; typedef __kernel_dev_t __kernel_old_dev_t; typedef struct { int __val[2]; } __kernel_fsid_t; # 33 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 135 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/typesizes.h" 1 3 4 # 136 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; typedef __kernel_ipc_pid_t __ipc_pid_t; # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 1 3 4 # 91 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4 struct __sched_param { int __sched_priority; }; # 24 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 2 3 4 struct _pthread_fastlock { long int __status; int __spinlock; }; typedef struct _pthread_descr_struct *_pthread_descr; typedef struct __pthread_attr_s { int __detachstate; int __schedpolicy; struct __sched_param __schedparam; int __inheritsched; int __scope; size_t __guardsize; int __stackaddr_set; void *__stackaddr; size_t __stacksize; } pthread_attr_t; typedef struct { struct _pthread_fastlock __c_lock; _pthread_descr __c_waiting; } pthread_cond_t; typedef struct { int __dummy; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef struct { int __m_reserved; int __m_count; _pthread_descr __m_owner; int __m_kind; struct _pthread_fastlock __m_lock; } pthread_mutex_t; typedef struct { int __mutexkind; } pthread_mutexattr_t; typedef int pthread_once_t; # 140 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; # 207 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4 # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4 # 75 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 typedef __time_t time_t; # 93 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 105 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 # 147 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 # 148 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 201 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 1 3 4 # 37 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/endian.h" 1 3 4 # 38 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 2 3 4 # 218 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 1 3 4 # 31 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/select.h" 1 3 4 # 32 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 1 3 4 # 23 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4 # 121 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 1 3 4 # 73 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 # 109 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 128 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4 # 221 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/sysmacros.h" 1 3 4 # 29 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/sysmacros.h" 3 4 __extension__ static __inline unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ static __inline unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ static __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); __extension__ static __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ static __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ static __inline unsigned long long int __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 224 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 # 235 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4 # 271 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4 # 307 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); # 382 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 1 3 4 # 25 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 # 26 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 485 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; # 498 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); # 570 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern int clearenv (void) __attribute__ ((__nothrow__)); # 579 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 590 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 610 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int system (__const char *__command) ; # 639 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); typedef int (*__compar_fn_t) (__const void *, __const void *); extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; # 720 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; # 786 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 863 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4 # 46 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/memory.h" 1 3 4 # 30 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/memory.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 1 3 4 # 28 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 # 1 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4 # 34 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 82 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 130 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 165 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 181 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 212 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 244 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 258 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 285 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char * strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("_" "__glibc_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 306 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 339 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 352 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 375 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 429 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4 extern size_t strlcat(char *__restrict dst, const char *__restrict src, size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlcpy(char *__restrict dst, const char *__restrict src, size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 31 "/DEVEL/embedded/blackfin-sources/build/out-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/memory.h" 2 3 4 # 47 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "../../spandsp-0.0.4/src/spandsp/telephony.h" 1 # 41 "../../spandsp-0.0.4/src/spandsp/telephony.h" typedef int (span_rx_handler_t)(void *s, const int16_t amp[], int len); typedef int (span_mod_handler_t)(void *s, int16_t amp[], int len); typedef int (span_tx_handler_t)(void *s, int16_t amp[], int max_len); # 49 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "../../spandsp-0.0.4/src/spandsp/bitstream.h" 1 # 39 "../../spandsp-0.0.4/src/spandsp/bitstream.h" typedef struct { unsigned int bitstream; unsigned int residue; } bitstream_state_t; # 56 "../../spandsp-0.0.4/src/spandsp/bitstream.h" void bitstream_put(bitstream_state_t *s, uint8_t **c, unsigned int value, int bits); void bitstream_put2(bitstream_state_t *s, uint8_t **c, unsigned int value, int bits); unsigned int bitstream_get(bitstream_state_t *s, const uint8_t **c, int bits); unsigned int bitstream_get2(bitstream_state_t *s, const uint8_t **c, int bits); void bitstream_flush(bitstream_state_t *s, uint8_t **c); void bitstream_flush2(bitstream_state_t *s, uint8_t **c); bitstream_state_t *bitstream_init(bitstream_state_t *s); # 50 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "../../spandsp-0.0.4/src/spandsp/dc_restore.h" 1 # 59 "../../spandsp-0.0.4/src/spandsp/dc_restore.h" typedef struct { int32_t state; } dc_restore_state_t; static __inline__ void dc_restore_init(dc_restore_state_t *dc) { dc->state = 0; } static __inline__ int16_t dc_restore(dc_restore_state_t *dc, int16_t sample) { dc->state += ((((int32_t) sample << 15) - dc->state) >> 14); return (int16_t) (sample - (dc->state >> 15)); } static __inline__ int16_t dc_restore_estimate(dc_restore_state_t *dc) { return (int16_t) (dc->state >> 15); } static __inline__ int16_t saturate(int32_t amp) { int16_t amp16; amp16 = (int16_t) amp; if (amp == amp16) return amp16; if (amp > (32767)) return (32767); return (-32767-1); } static __inline__ int16_t fsaturatef(float famp) { if (famp > 32767.0) return (32767); if (famp < -32768.0) return (-32767-1); return (int16_t) rintf(famp); } static __inline__ int16_t fsaturate(double damp) { if (damp > 32767.0) return (32767); if (damp < -32768.0) return (-32767-1); return (int16_t) (__extension__ ({ __typeof__(*(0 ? (__typeof__ (0 ? (double *) 0 : (void *) ((((__typeof__(damp)) 0.25) && ((__typeof__(damp)) 0.25 - 1))))) 0 : (__typeof__ (0 ? (__typeof__(damp) *) 0 : (void *) (!((((__typeof__(damp)) 0.25) && ((__typeof__(damp)) 0.25 - 1)))))) 0)) __tgmres; if (sizeof (damp) == sizeof (double) || __builtin_classify_type (damp) != 8) __tgmres = rint (damp); else if (sizeof (damp) == sizeof (float)) __tgmres = rintf (damp); else __tgmres = rint (damp); __tgmres; })); } # 51 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "../../spandsp-0.0.4/src/spandsp/gsm0610.h" 1 # 51 "../../spandsp-0.0.4/src/spandsp/gsm0610.h" enum { GSM0610_PACKING_NONE, GSM0610_PACKING_WAV49, GSM0610_PACKING_VOIP }; typedef struct { int16_t LARc[8]; int16_t Nc[4]; int16_t bc[4]; int16_t Mc[4]; int16_t xmaxc[4]; int16_t xMc[4][13]; } gsm0610_frame_t; typedef struct { int packing; int16_t dp0[280]; int16_t z1; int32_t L_z2; int16_t mp; int16_t u[8]; int16_t LARpp[2][8]; int16_t j; int16_t nrp; int16_t v[9]; int16_t msr; int16_t e[50]; } gsm0610_state_t; # 113 "../../spandsp-0.0.4/src/spandsp/gsm0610.h" gsm0610_state_t *gsm0610_init(gsm0610_state_t *s, int packing); int gsm0610_release(gsm0610_state_t *s); int gsm0610_set_packing(gsm0610_state_t *s, int packing); int gsm0610_encode(gsm0610_state_t *s, uint8_t code[], const int16_t amp[], int quant); int gsm0610_decode(gsm0610_state_t *s, int16_t amp[], const uint8_t code[], int quant); int gsm0610_pack_none(uint8_t c[], const gsm0610_frame_t *s); int gsm0610_pack_wav49(uint8_t c[], const gsm0610_frame_t *s); int gsm0610_pack_voip(uint8_t c[], const gsm0610_frame_t *s); int gsm0610_unpack_none(gsm0610_frame_t *s, const uint8_t c[]); int gsm0610_unpack_wav49(gsm0610_frame_t *s, const uint8_t c[]); int gsm0610_unpack_voip(gsm0610_frame_t *s, const uint8_t c[]); # 52 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 # 1 "../../spandsp-0.0.4/src/gsm0610_local.h" 1 # 38 "../../spandsp-0.0.4/src/gsm0610_local.h" static __inline__ int16_t gsm_add(int16_t a, int16_t b) { # 53 "../../spandsp-0.0.4/src/gsm0610_local.h" int32_t sum; sum = (int32_t) a + (int32_t) b; return saturate(sum); } static __inline__ int32_t gsm_l_add(int32_t a, int32_t b) { # 76 "../../spandsp-0.0.4/src/gsm0610_local.h" uint32_t A; if (a < 0) { if (b >= 0) return a + b; A = (uint32_t) -(a + 1) + (uint32_t) -(b + 1); return (A >= (2147483647)) ? (-2147483647-1) : -(int32_t) A - 2; } if (b <= 0) return a + b; A = (uint32_t) a + (uint32_t) b; return (A > (2147483647)) ? (2147483647) : A; } static __inline__ int16_t gsm_sub(int16_t a, int16_t b) { int32_t diff; diff = (int32_t) a - (int32_t) b; return saturate(diff); } static __inline__ int16_t gsm_mult(int16_t a, int16_t b) { if (a == (-32767-1) && b == (-32767-1)) return (32767); return (int16_t) (((int32_t) a * (int32_t) b) >> 15); } static __inline__ int32_t gsm_l_mult(int16_t a, int16_t b) { ((void) (0)); return ((int32_t) a * (int32_t) b) << 1; } static __inline__ int16_t gsm_mult_r(int16_t a, int16_t b) { int32_t prod; if (b == (-32767-1) && a == (-32767-1)) return (32767); prod = (int32_t) a * (int32_t) b + 16384; prod >>= 15; return (int16_t) (prod & 0xFFFF); } static __inline__ int16_t gsm_abs(int16_t a) { return (a == (-32767-1)) ? (32767) : (int16_t) abs(a); } static __inline__ int16_t gsm_asr(int16_t a, int n) { if (n >= 16) return -(a < 0); if (n <= -16) return 0; if (n < 0) return a << -n; return a >> n; } static __inline__ int16_t gsm_asl(int16_t a, int n) { if (n >= 16) return 0; if (n <= -16) return -(a < 0); if (n < 0) return gsm_asr(a, -n); return a << n; } extern void gsm0610_long_term_predictor(gsm0610_state_t *s, int16_t d[40], int16_t *dp, int16_t e[40], int16_t dpp[40], int16_t *Nc, int16_t *bc); extern void gsm0610_lpc_analysis(gsm0610_state_t *s, int16_t amp[160], int16_t LARc[8]); extern void gsm0610_preprocess(gsm0610_state_t *s, const int16_t amp[], int16_t so[]); extern void gsm0610_short_term_analysis_filter(gsm0610_state_t *s, int16_t LARc[8], int16_t amp[160]); extern void gsm0610_long_term_synthesis_filtering(gsm0610_state_t *s, int16_t Ncr, int16_t bcr, int16_t erp[40], int16_t *drp); extern void gsm0610_rpe_decoding(gsm0610_state_t *s, int16_t xmaxcr, int16_t Mcr, int16_t *xMcr, int16_t erp[40]); extern void gsm0610_rpe_encoding(gsm0610_state_t *s, int16_t *e, int16_t *xmaxc, int16_t *Mc, int16_t xMc[13]); extern void gsm0610_short_term_synthesis_filter(gsm0610_state_t *s, int16_t LARcr[8], int16_t drp[40], int16_t amp[160]); extern int16_t gsm0610_norm(int32_t a); # 54 "../../spandsp-0.0.4/src/gsm0610_decode.c" 2 static void postprocessing(gsm0610_state_t *s, int16_t amp[]) { int k; int16_t msr; int16_t tmp; msr = s->msr; for (k = 0; k < 160; k++) { tmp = gsm_mult_r(msr, 28180); msr = gsm_add(amp[k], tmp); amp[k] = (int16_t) (gsm_add(msr, msr) & 0xFFF8); } s->msr = msr; } static void decode_a_frame(gsm0610_state_t *s, int16_t amp[160], gsm0610_frame_t *f) { int j; int k; int16_t erp[40]; int16_t wt[160]; int16_t *drp; drp = s->dp0 + 120; for (j = 0; j < 4; j++) { gsm0610_rpe_decoding(s, f->xmaxc[j], f->Mc[j], f->xMc[j], erp); gsm0610_long_term_synthesis_filtering(s, f->Nc[j], f->bc[j], erp, drp); for (k = 0; k < 40; k++) wt[j*40 + k] = drp[k]; } gsm0610_short_term_synthesis_filter(s, f->LARc, wt, amp); postprocessing(s, amp); } int gsm0610_unpack_none(gsm0610_frame_t *s, const uint8_t c[]) { int i; int j; int k; i = 0; for (j = 0; j < 8; j++) s->LARc[j] = c[i++]; for (j = 0; j < 4; j++) { s->Nc[j] = c[i++]; s->bc[j] = c[i++]; s->Mc[j] = c[i++]; s->xmaxc[j] = c[i++]; for (k = 0; k < 13; k++) s->xMc[j][k] = c[i++]; } return 76; } int gsm0610_unpack_wav49(gsm0610_frame_t *s, const uint8_t c[]) { uint16_t sr; int i; sr = *c++; s->LARc[0] = sr & 0x3F; sr >>= 6; sr |= (uint16_t) *c++ << 2; s->LARc[1] = sr & 0x3F; sr >>= 6; sr |= (uint16_t) *c++ << 4; s->LARc[2] = sr & 0x1F; sr >>= 5; s->LARc[3] = sr & 0x1F; sr >>= 5; sr |= (uint16_t) *c++ << 2; s->LARc[4] = sr & 0xF; sr >>= 4; s->LARc[5] = sr & 0xF; sr >>= 4; sr |= (uint16_t) *c++ << 2; s->LARc[6] = sr & 0x7; sr >>= 3; s->LARc[7] = sr & 0x7; sr >>= 3; for (i = 0; i < 4; i++) { sr |= (uint16_t) *c++ << 4; s->Nc[i] = sr & 0x7F; sr >>= 7; s->bc[i] = sr & 0x3; sr >>= 2; s->Mc[i] = sr & 0x3; sr >>= 2; sr |= (uint16_t) *c++ << 1; s->xmaxc[i] = sr & 0x3F; sr >>= 6; s->xMc[i][0] = sr & 0x7; sr >>= 3; sr = *c++; s->xMc[i][1] = sr & 0x7; sr >>= 3; s->xMc[i][2] = sr & 0x7; sr >>= 3; sr |= (uint16_t) *c++ << 2; s->xMc[i][3] = sr & 0x7; sr >>= 3; s->xMc[i][4] = sr & 0x7; sr >>= 3; s->xMc[i][5] = sr & 0x7; sr >>= 3; sr |= (uint16_t) *c++ << 1; s->xMc[i][6] = sr & 0x7; sr >>= 3; s->xMc[i][7] = sr & 0x7; sr >>= 3; s->xMc[i][8] = sr & 0x7; sr >>= 3; sr = *c++; s->xMc[i][9] = sr & 0x7; sr >>= 3; s->xMc[i][10] = sr & 0x7; sr >>= 3; sr |= (uint16_t) *c++ << 2; s->xMc[i][11] = sr & 0x7; sr >>= 3; s->xMc[i][12] = sr & 0x7; sr >>= 3; } s++; sr |= (uint16_t) *c++ << 4; s->LARc[0] = sr & 0x3F; sr >>= 6; s->LARc[1] = sr & 0x3F; sr >>= 6; sr = *c++; s->LARc[2] = sr & 0x1F; sr >>= 5; sr |= (uint16_t) *c++ << 3; s->LARc[3] = sr & 0x1F; sr >>= 5; s->LARc[4] = sr & 0xF; sr >>= 4; sr |= (uint16_t) *c++ << 2; s->LARc[5] = sr & 0xF; sr >>= 4; s->LARc[6] = sr & 0x7; sr >>= 3; s->LARc[7] = sr & 0x7; sr >>= 3; for (i = 0; i < 4; i++) { sr = *c++; s->Nc[i] = sr & 0x7F; sr >>= 7; sr |= (uint16_t) *c++ << 1; s->bc[i] = sr & 0x3; sr >>= 2; s->Mc[i] = sr & 0x3; sr >>= 2; sr |= (uint16_t) *c++ << 5; s->xmaxc[i] = sr & 0x3F; sr >>= 6; s->xMc[i][0] = sr & 0x7; sr >>= 3; s->xMc[i][1] = sr & 0x7; sr >>= 3; sr |= (uint16_t) *c++ << 1; s->xMc[i][2] = sr & 0x7; sr >>= 3; s->xMc[i][3] = sr & 0x7; sr >>= 3; s->xMc[i][4] = sr & 0x7; sr >>= 3; sr = *c++; s->xMc[i][5] = sr & 0x7; sr >>= 3; s->xMc[i][6] = sr & 0x7; sr >>= 3; sr |= (uint16_t) *c++ << 2; s->xMc[i][7] = sr & 0x7; sr >>= 3; s->xMc[i][8] = sr & 0x7; sr >>= 3; s->xMc[i][9] = sr & 0x7; sr >>= 3; sr |= (uint16_t) *c++ << 1; s->xMc[i][10] = sr & 0x7; sr >>= 3; s->xMc[i][11] = sr & 0x7; sr >>= 3; s->xMc[i][12] = sr & 0x7; sr >>= 3; } return 65; } int gsm0610_unpack_voip(gsm0610_frame_t *s, const uint8_t c[33]) { int i; s->LARc[0] = (*c++ & 0xF) << 2; s->LARc[0] |= (*c >> 6) & 0x3; s->LARc[1] = *c++ & 0x3F; s->LARc[2] = (*c >> 3) & 0x1F; s->LARc[3] = (*c++ & 0x7) << 2; s->LARc[3] |= (*c >> 6) & 0x3; s->LARc[4] = (*c >> 2) & 0xF; s->LARc[5] = (*c++ & 0x3) << 2; s->LARc[5] |= (*c >> 6) & 0x3; s->LARc[6] = (*c >> 3) & 0x7; s->LARc[7] = *c++ & 0x7; for (i = 0; i < 4; i++) { s->Nc[i] = (*c >> 1) & 0x7F; s->bc[i] = (*c++ & 0x1) << 1; s->bc[i] |= (*c >> 7) & 0x1; s->Mc[i] = (*c >> 5) & 0x3; s->xmaxc[i] = (*c++ & 0x1F) << 1; s->xmaxc[i] |= (*c >> 7) & 0x1; s->xMc[i][0] = (*c >> 4) & 0x7; s->xMc[i][1] = (*c >> 1) & 0x7; s->xMc[i][2] = (*c++ & 0x1) << 2; s->xMc[i][2] |= (*c >> 6) & 0x3; s->xMc[i][3] = (*c >> 3) & 0x7; s->xMc[i][4] = *c++ & 0x7; s->xMc[i][5] = (*c >> 5) & 0x7; s->xMc[i][6] = (*c >> 2) & 0x7; s->xMc[i][7] = (*c++ & 0x3) << 1; s->xMc[i][7] |= (*c >> 7) & 0x1; s->xMc[i][8] = (*c >> 4) & 0x7; s->xMc[i][9] = (*c >> 1) & 0x7; s->xMc[i][10] = (*c++ & 0x1) << 2; s->xMc[i][10] |= (*c >> 6) & 0x3; s->xMc[i][11] = (*c >> 3) & 0x7; s->xMc[i][12] = *c++ & 0x7; } return 33; } int gsm0610_decode(gsm0610_state_t *s, int16_t amp[], const uint8_t code[], int quant) { gsm0610_frame_t frame[2]; const uint8_t *c; int bytes; int i; c = code; for (i = 0; i < quant; i++) { switch (s->packing) { default: case GSM0610_PACKING_NONE: if ((bytes = gsm0610_unpack_none(frame, c)) >= 0) { decode_a_frame(s, amp, frame); amp += 160; } break; case GSM0610_PACKING_WAV49: if ((bytes = gsm0610_unpack_wav49(frame, c)) >= 0) { decode_a_frame(s, amp, frame); amp += 160; decode_a_frame(s, amp, frame + 1); amp += 160; } break; case GSM0610_PACKING_VOIP: if ((bytes = gsm0610_unpack_voip(frame, c)) >= 0) { decode_a_frame(s, amp, frame); amp += 160; } break; } if (bytes < 0) return 0; c += bytes; } return quant*160; }