Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 600831 Details for
Bug 843923
GCC internal compiler error: Segmentation fault (program cc1) (ICE) on libopus
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Input to reproduce the crash
preprocessed_test.c (text/x-csrc), 151.75 KB, created by
Gregory Maxwell
on 2012-07-27 16:40:45 UTC
(
hide
)
Description:
Input to reproduce the crash
Filename:
MIME Type:
Creator:
Gregory Maxwell
Created:
2012-07-27 16:40:45 UTC
Size:
151.75 KB
patch
obsolete
># 1 "silk/fixed/noise_shape_analysis_FIX.c" ># 1 "/home/gmaxwell/src/opus//" ># 1 "<command-line>" ># 1 "silk/fixed/noise_shape_analysis_FIX.c" ># 32 "silk/fixed/noise_shape_analysis_FIX.c" ># 1 "silk/fixed/main_FIX.h" 1 ># 31 "silk/fixed/main_FIX.h" ># 1 "./silk/SigProc_FIX.h" 1 ># 40 "./silk/SigProc_FIX.h" ># 1 "/usr/include/string.h" 1 3 4 ># 27 "/usr/include/string.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 362 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 390 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 391 "/usr/include/sys/cdefs.h" 2 3 4 ># 363 "/usr/include/features.h" 2 3 4 ># 386 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 ># 10 "/usr/include/gnu/stubs.h" 2 3 4 ># 387 "/usr/include/features.h" 2 3 4 ># 28 "/usr/include/string.h" 2 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 35 "/usr/include/string.h" 2 3 4 > > > > > > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 95 "/usr/include/string.h" 3 4 >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 126 "/usr/include/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct __locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; > > >typedef __locale_t locale_t; ># 163 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > > > > > >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 210 "/usr/include/string.h" 3 4 > ># 235 "/usr/include/string.h" 3 4 >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 262 "/usr/include/string.h" 3 4 >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 281 "/usr/include/string.h" 3 4 > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 314 "/usr/include/string.h" 3 4 >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 342 "/usr/include/string.h" 3 4 >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); ># 397 "/usr/include/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); > ># 427 "/usr/include/string.h" 3 4 >extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); ># 445 "/usr/include/string.h" 3 4 >extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 489 "/usr/include/string.h" 3 4 >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 517 "/usr/include/string.h" 3 4 >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); ># 536 "/usr/include/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 559 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); ># 634 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 635 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 52 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 61 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 28 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/byteswap.h" 2 3 4 ># 62 "/usr/include/endian.h" 2 3 4 ># 53 "/usr/include/bits/string2.h" 2 3 4 ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/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; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 131 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 132 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef long int __swblk_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > >typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; ># 54 "/usr/include/bits/string2.h" 2 3 4 ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline __attribute__ ((__gnu_inline__)) size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline __attribute__ ((__gnu_inline__)) char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1172 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > } > *__nextp = __s; > return __result; >} ># 1204 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1222 "/usr/include/bits/string2.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_1c (char **__s, char __reject); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline __attribute__ ((__gnu_inline__)) char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1298 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 469 "/usr/include/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; > ># 964 "/usr/include/stdlib.h" 3 4 > ># 1299 "/usr/include/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 1322 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 638 "/usr/include/string.h" 2 3 4 ># 646 "/usr/include/string.h" 3 4 > ># 41 "./silk/SigProc_FIX.h" 2 ># 1 "./silk/typedef.h" 1 ># 31 "./silk/typedef.h" ># 1 "./include/opus_types.h" 1 ># 38 "./include/opus_types.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stdint.h" 1 3 4 > > ># 1 "/usr/include/stdint.h" 1 3 4 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 37 "/usr/include/stdint.h" 3 4 >typedef signed char int8_t; >typedef short int int16_t; >typedef int int32_t; > >typedef long int int64_t; > > > > > > > >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > >typedef unsigned long int uint64_t; ># 66 "/usr/include/stdint.h" 3 4 >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > >typedef long int int_least64_t; > > > > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > >typedef unsigned long int uint_least64_t; ># 91 "/usr/include/stdint.h" 3 4 >typedef signed char int_fast8_t; > >typedef long int int_fast16_t; >typedef long int int_fast32_t; >typedef long int int_fast64_t; ># 104 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint_fast8_t; > >typedef unsigned long int uint_fast16_t; >typedef unsigned long int uint_fast32_t; >typedef unsigned long int uint_fast64_t; ># 120 "/usr/include/stdint.h" 3 4 >typedef long int intptr_t; > > >typedef unsigned long int uintptr_t; ># 135 "/usr/include/stdint.h" 3 4 >typedef long int intmax_t; >typedef unsigned long int uintmax_t; ># 4 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stdint.h" 2 3 4 ># 39 "./include/opus_types.h" 2 > > typedef int16_t opus_int16; > typedef uint16_t opus_uint16; > typedef int32_t opus_int32; > typedef uint32_t opus_uint32; ># 32 "./silk/typedef.h" 2 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/float.h" 1 3 4 ># 35 "./silk/typedef.h" 2 ># 42 "./silk/SigProc_FIX.h" 2 ># 1 "./silk/resampler_structs.h" 1 ># 38 "./silk/resampler_structs.h" >typedef struct _silk_resampler_state_struct{ > opus_int32 sIIR[ 6 ]; > opus_int32 sFIR[ 36 ]; > opus_int16 delayBuf[ 48 ]; > int resampler_function; > int batchSize; > opus_int32 invRatio_Q16; > int FIR_Order; > int FIR_Fracs; > int Fs_in_kHz; > int Fs_out_kHz; > int inputDelay; > const opus_int16 *Coefs; >} silk_resampler_state_struct; ># 43 "./silk/SigProc_FIX.h" 2 ># 1 "./silk/macros.h" 1 ># 79 "./silk/macros.h" >static inline opus_int32 silk_CLZ16(opus_int16 in16) >{ > opus_int32 out32 = 0; > if( in16 == 0 ) { > return 16; > } > > if( in16 & 0xFF00 ) { > if( in16 & 0xF000 ) { > in16 >>= 12; > } else { > out32 += 4; > in16 >>= 8; > } > } else { > if( in16 & 0xFFF0 ) { > out32 += 8; > in16 >>= 4; > } else { > out32 += 12; > } > } > > if( in16 & 0xC ) { > if( in16 & 0x8 ) > return out32 + 0; > else > return out32 + 1; > } else { > if( in16 & 0xE ) > return out32 + 2; > else > return out32 + 3; > } >} > >static inline opus_int32 silk_CLZ32(opus_int32 in32) >{ > > if( in32 & 0xFFFF0000 ) { > return silk_CLZ16((opus_int16)(in32 >> 16)); > } else { > return silk_CLZ16((opus_int16)in32) + 16; > } >} ># 44 "./silk/SigProc_FIX.h" 2 ># 53 "./silk/SigProc_FIX.h" >int silk_resampler_init( > silk_resampler_state_struct *S, > opus_int32 Fs_Hz_in, > opus_int32 Fs_Hz_out, > int forEnc >); > > > > >int silk_resampler( > silk_resampler_state_struct *S, > opus_int16 out[], > const opus_int16 in[], > opus_int32 inLen >); > > > > >void silk_resampler_down2( > opus_int32 *S, > opus_int16 *out, > const opus_int16 *in, > opus_int32 inLen >); > > > > >void silk_resampler_down2_3( > opus_int32 *S, > opus_int16 *out, > const opus_int16 *in, > opus_int32 inLen >); > > > > > > >void silk_biquad_alt( > const opus_int16 *in, > const opus_int32 *B_Q28, > const opus_int32 *A_Q28, > opus_int32 *S, > opus_int16 *out, > const opus_int32 len, > int stride >); > > >void silk_LPC_analysis_filter( > opus_int16 *out, > const opus_int16 *in, > const opus_int16 *B, > const opus_int32 len, > const opus_int32 d >); > > >void silk_bwexpander( > opus_int16 *ar, > const int d, > opus_int32 chirp_Q16 >); > > >void silk_bwexpander_32( > opus_int32 *ar, > const int d, > opus_int32 chirp_Q16 >); > > > >opus_int32 silk_LPC_inverse_pred_gain( > const opus_int16 *A_Q12, > const int order >); > > >opus_int32 silk_LPC_inverse_pred_gain_Q24( > const opus_int32 *A_Q24, > const int order >); > > >void silk_ana_filt_bank_1( > const opus_int16 *in, > opus_int32 *S, > opus_int16 *outL, > opus_int16 *outH, > const opus_int32 N >); > > > > > > > >opus_int32 silk_lin2log( > const opus_int32 inLin >); > > >int silk_sigm_Q15( > int in_Q5 >); > > > >opus_int32 silk_log2lin( > const opus_int32 inLog_Q7 >); > > >opus_int16 silk_int16_array_maxabs( > const opus_int16 *vec, > const opus_int32 len >); > > > >void silk_sum_sqr_shift( > opus_int32 *energy, > int *shift, > const opus_int16 *x, > int len >); > > > > >opus_int32 silk_schur( > opus_int16 *rc_Q15, > const opus_int32 *c, > const opus_int32 order >); > > > > >opus_int32 silk_schur64( > opus_int32 rc_Q16[], > const opus_int32 c[], > opus_int32 order >); > > >void silk_k2a( > opus_int32 *A_Q24, > const opus_int16 *rc_Q15, > const opus_int32 order >); > > >void silk_k2a_Q16( > opus_int32 *A_Q24, > const opus_int32 *rc_Q16, > const opus_int32 order >); > > > > > > >void silk_apply_sine_window( > opus_int16 px_win[], > const opus_int16 px[], > const int win_type, > const int length >); > > >void silk_autocorr( > opus_int32 *results, > int *scale, > const opus_int16 *inputData, > const int inputDataSize, > const int correlationCount >); > >void silk_decode_pitch( > opus_int16 lagIndex, > signed char contourIndex, > int pitch_lags[], > const int Fs_kHz, > const int nb_subfr >); > >int silk_pitch_analysis_core( > const opus_int16 *frame, > int *pitch_out, > opus_int16 *lagIndex, > signed char *contourIndex, > int *LTPCorr_Q15, > int prevLag, > const opus_int32 search_thres1_Q16, > const int search_thres2_Q15, > const int Fs_kHz, > const int complexity, > const int nb_subfr >); > > > >void silk_A2NLSF( > opus_int16 *NLSF, > opus_int32 *a_Q16, > const int d >); > > >void silk_NLSF2A( > opus_int16 *a_Q12, > const opus_int16 *NLSF, > const int d >); > >void silk_insertion_sort_increasing( > opus_int32 *a, > int *idx, > const int L, > const int K >); > >void silk_insertion_sort_decreasing_int16( > opus_int16 *a, > int *idx, > const int L, > const int K >); > >void silk_insertion_sort_increasing_all_values_int16( > opus_int16 *a, > const int L >); > > >void silk_NLSF_stabilize( > opus_int16 *NLSF_Q15, > const opus_int16 *NDeltaMin_Q15, > const int L >); > > >void silk_NLSF_VQ_weights_laroia( > opus_int16 *pNLSFW_Q_OUT, > const opus_int16 *pNLSF_Q15, > const int D >); > > >void silk_burg_modified( > opus_int32 *res_nrg, > int *res_nrg_Q, > opus_int32 A_Q16[], > const opus_int16 x[], > const opus_int32 minInvGain_Q30, > const int subfr_length, > const int nb_subfr, > const int D >); > > >void silk_scale_copy_vector16( > opus_int16 *data_out, > const opus_int16 *data_in, > opus_int32 gain_Q16, > const int dataSize >); > > >void silk_scale_vector32_Q26_lshift_18( > opus_int32 *data1, > opus_int32 gain_Q26, > int dataSize >); > > > > > > >opus_int32 silk_inner_prod_aligned( > const opus_int16 *const inVec1, > const opus_int16 *const inVec2, > const int len >); > >opus_int32 silk_inner_prod_aligned_scale( > const opus_int16 *const inVec1, > const opus_int16 *const inVec2, > const int scale, > const int len >); > >long long silk_inner_prod16_aligned_64( > const opus_int16 *inVec1, > const opus_int16 *inVec2, > const int len >); ># 368 "./silk/SigProc_FIX.h" >static inline opus_int32 silk_ROR32( opus_int32 a32, int rot ) >{ > opus_uint32 x = (opus_uint32) a32; > opus_uint32 r = (opus_uint32) rot; > opus_uint32 m = (opus_uint32) -rot; > if( rot == 0 ) { > return a32; > } else if( rot < 0 ) { > return (opus_int32) ((x << m) | (x >> (32 - m))); > } else { > return (opus_int32) ((x << (32 - r)) | (x >> r)); > } >} ># 517 "./silk/SigProc_FIX.h" >static inline int silk_min_int(int a, int b) >{ > return (((a) < (b)) ? (a) : (b)); >} >static inline opus_int16 silk_min_16(opus_int16 a, opus_int16 b) >{ > return (((a) < (b)) ? (a) : (b)); >} >static inline opus_int32 silk_min_32(opus_int32 a, opus_int32 b) >{ > return (((a) < (b)) ? (a) : (b)); >} >static inline long long silk_min_64(long long a, long long b) >{ > return (((a) < (b)) ? (a) : (b)); >} > > >static inline int silk_max_int(int a, int b) >{ > return (((a) > (b)) ? (a) : (b)); >} >static inline opus_int16 silk_max_16(opus_int16 a, opus_int16 b) >{ > return (((a) > (b)) ? (a) : (b)); >} >static inline opus_int32 silk_max_32(opus_int32 a, opus_int32 b) >{ > return (((a) > (b)) ? (a) : (b)); >} >static inline long long silk_max_64(long long a, long long b) >{ > return (((a) > (b)) ? (a) : (b)); >} ># 581 "./silk/SigProc_FIX.h" ># 1 "./silk/Inlines.h" 1 ># 41 "./silk/Inlines.h" >static inline opus_int32 silk_CLZ64( long long in ) >{ > opus_int32 in_upper; > > in_upper = (opus_int32)((in)>>(32)); > if (in_upper == 0) { > > return 32 + silk_CLZ32( (opus_int32) in ); > } else { > > return silk_CLZ32( in_upper ); > } >} > > >static inline void silk_CLZ_FRAC( > opus_int32 in, > opus_int32 *lz, > opus_int32 *frac_Q7 >) >{ > opus_int32 lzeros = silk_CLZ32(in); > > * lz = lzeros; > * frac_Q7 = silk_ROR32(in, 24 - lzeros) & 0x7f; >} > > > > >static inline opus_int32 silk_SQRT_APPROX( opus_int32 x ) >{ > opus_int32 y, lz, frac_Q7; > > if( x <= 0 ) { > return 0; > } > > silk_CLZ_FRAC(x, &lz, &frac_Q7); > > if( lz & 1 ) { > y = 32768; > } else { > y = 46214; > } > > > y >>= ((lz)>>(1)); > > > y = ((y) + ((((y) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((opus_int16)(213)) * (opus_int32)((opus_int16)(frac_Q7)))))) + ((((y) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((opus_int16)(213)) * (opus_int32)((opus_int16)(frac_Q7)))))) >> 16))); > > return y; >} > > >static inline opus_int32 silk_DIV32_varQ( > const opus_int32 a32, > const opus_int32 b32, > const int Qres >) >{ > int a_headrm, b_headrm, lshift; > opus_int32 b32_inv, a32_nrm, b32_nrm, result; > > ; > ; > > > a_headrm = silk_CLZ32( (((a32) > 0) ? (a32) : -(a32)) ) - 1; > a32_nrm = ((opus_int32)((opus_uint32)(a32)<<(a_headrm))); > b_headrm = silk_CLZ32( (((b32) > 0) ? (b32) : -(b32)) ) - 1; > b32_nrm = ((opus_int32)((opus_uint32)(b32)<<(b_headrm))); > > > b32_inv = ((opus_int32)((0x7FFFFFFF >> 2) / (((b32_nrm)>>(16))))); > > > result = ((((a32_nrm) >> 16) * (opus_int32)((opus_int16)(b32_inv))) + ((((a32_nrm) & 0x0000FFFF) * (opus_int32)((opus_int16)(b32_inv))) >> 16)); > > > > a32_nrm = ((opus_int32)((opus_uint32)(a32_nrm) - (opus_uint32)(((opus_int32)((opus_uint32)((opus_int32)((((long long)((b32_nrm)) * ((result))))>>(32))) << (3)))))); > > > result = ((result) + ((((a32_nrm) >> 16) * (opus_int32)((opus_int16)(b32_inv))) + ((((a32_nrm) & 0x0000FFFF) * (opus_int32)((opus_int16)(b32_inv))) >> 16))); > > > lshift = 29 + a_headrm - b_headrm - Qres; > if( lshift < 0 ) { > return (((opus_int32)((opus_uint32)(((((((opus_int32)0x80000000))>>((-lshift)))) > (((0x7FFFFFFF)>>((-lshift)))) ? (((result)) > (((((opus_int32)0x80000000))>>((-lshift)))) ? (((((opus_int32)0x80000000))>>((-lshift)))) : (((result)) < (((0x7FFFFFFF)>>((-lshift)))) ? (((0x7FFFFFFF)>>((-lshift)))) : ((result)))) : (((result)) > (((0x7FFFFFFF)>>((-lshift)))) ? (((0x7FFFFFFF)>>((-lshift)))) : (((result)) < (((((opus_int32)0x80000000))>>((-lshift)))) ? (((((opus_int32)0x80000000))>>((-lshift)))) : ((result))))))<<((-lshift))))); > } else { > if( lshift < 32){ > return ((result)>>(lshift)); > } else { > > return 0; > } > } >} > > >static inline opus_int32 silk_INVERSE32_varQ( > const opus_int32 b32, > const int Qres >) >{ > int b_headrm, lshift; > opus_int32 b32_inv, b32_nrm, err_Q32, result; > > ; > ; > > > b_headrm = silk_CLZ32( (((b32) > 0) ? (b32) : -(b32)) ) - 1; > b32_nrm = ((opus_int32)((opus_uint32)(b32)<<(b_headrm))); > > > b32_inv = ((opus_int32)((0x7FFFFFFF >> 2) / (((b32_nrm)>>(16))))); > > > result = ((opus_int32)((opus_uint32)(b32_inv)<<(16))); > > > err_Q32 = ((opus_int32)((opus_uint32)(((opus_int32)1<<29) - ((((b32_nrm) >> 16) * (opus_int32)((opus_int16)(b32_inv))) + ((((b32_nrm) & 0x0000FFFF) * (opus_int32)((opus_int16)(b32_inv))) >> 16)))<<(3))); > > > result = ((((((result)) + (((((err_Q32)) >> 16) * (opus_int32)((opus_int16)((b32_inv)))) + (((((err_Q32)) & 0x0000FFFF) * (opus_int32)((opus_int16)((b32_inv)))) >> 16))))) + ((((err_Q32)) * (((16) == 1 ? (((b32_inv)) >> 1) + (((b32_inv)) & 1) : ((((b32_inv)) >> ((16) - 1)) + 1) >> 1))))); > > > lshift = 61 - b_headrm - Qres; > if( lshift <= 0 ) { > return (((opus_int32)((opus_uint32)(((((((opus_int32)0x80000000))>>((-lshift)))) > (((0x7FFFFFFF)>>((-lshift)))) ? (((result)) > (((((opus_int32)0x80000000))>>((-lshift)))) ? (((((opus_int32)0x80000000))>>((-lshift)))) : (((result)) < (((0x7FFFFFFF)>>((-lshift)))) ? (((0x7FFFFFFF)>>((-lshift)))) : ((result)))) : (((result)) > (((0x7FFFFFFF)>>((-lshift)))) ? (((0x7FFFFFFF)>>((-lshift)))) : (((result)) < (((((opus_int32)0x80000000))>>((-lshift)))) ? (((((opus_int32)0x80000000))>>((-lshift)))) : ((result))))))<<((-lshift))))); > } else { > if( lshift < 32){ > return ((result)>>(lshift)); > }else{ > > return 0; > } > } >} ># 582 "./silk/SigProc_FIX.h" 2 ># 1 "./silk/MacroCount.h" 1 ># 30 "./silk/MacroCount.h" ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 45 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 65 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 75 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 83 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 21 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 53 "/usr/include/_G_config.h" 3 4 >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stdarg.h" 1 3 4 ># 40 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 172 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 182 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 205 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 273 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 321 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 330 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 366 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 418 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 462 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); ># 492 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); ># 76 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 91 "/usr/include/stdio.h" 3 4 >typedef __off_t off_t; ># 103 "/usr/include/stdio.h" 3 4 >typedef __ssize_t ssize_t; > > > > > > > >typedef _G_fpos_t fpos_t; > > > > ># 165 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 166 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int renameat (int __oldfd, __const char *__old, int __newfd, > __const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern FILE *tmpfile (void) ; ># 212 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; ># 230 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 255 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 269 "/usr/include/stdio.h" 3 4 > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes) ; > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream) ; ># 298 "/usr/include/stdio.h" 3 4 > ># 309 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; ># 322 "/usr/include/stdio.h" 3 4 >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) > __attribute__ ((__nothrow__ , __leaf__)) ; > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > ># 420 "/usr/include/stdio.h" 3 4 >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) ; > > > > >extern int scanf (__const char *__restrict __format, ...) ; > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); ># 451 "/usr/include/stdio.h" 3 4 >extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") > > ; >extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") > ; >extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) > > ; ># 471 "/usr/include/stdio.h" 3 4 > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) ; > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) ; > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); ># 502 "/usr/include/stdio.h" 3 4 >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") > > > > __attribute__ ((__format__ (__scanf__, 2, 0))) ; >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") > > __attribute__ ((__format__ (__scanf__, 1, 0))) ; >extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__ ((__format__ (__scanf__, 2, 0))); ># 530 "/usr/include/stdio.h" 3 4 > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 558 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 569 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 602 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ; > > > > > > >extern char *gets (char *__s) ; > ># 664 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) ; > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) ; > > > > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) ; > ># 736 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) ; > > > > >extern void rewind (FILE *__stream); > ># 772 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) ; ># 791 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 814 "/usr/include/stdio.h" 3 4 > ># 823 "/usr/include/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 853 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; ># 872 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) ; > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); ># 912 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); ># 933 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 36 "/usr/include/bits/stdio.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > > >extern __inline __attribute__ ((__gnu_inline__)) int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline __attribute__ ((__gnu_inline__)) int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 125 "/usr/include/bits/stdio.h" 3 4 >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline __attribute__ ((__gnu_inline__)) int >__attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 934 "/usr/include/stdio.h" 2 3 4 ># 942 "/usr/include/stdio.h" 3 4 > ># 31 "./silk/MacroCount.h" 2 ># 583 "./silk/SigProc_FIX.h" 2 ># 1 "./silk/MacroDebug.h" 1 ># 584 "./silk/SigProc_FIX.h" 2 ># 32 "silk/fixed/main_FIX.h" 2 ># 1 "silk/fixed/structs_FIX.h" 1 ># 31 "silk/fixed/structs_FIX.h" ># 1 "./silk/typedef.h" 1 ># 32 "silk/fixed/structs_FIX.h" 2 ># 1 "./silk/main.h" 1 ># 31 "./silk/main.h" ># 1 "./silk/SigProc_FIX.h" 1 ># 32 "./silk/main.h" 2 ># 1 "./silk/define.h" 1 ># 31 "./silk/define.h" ># 1 "./silk/errors.h" 1 ># 32 "./silk/define.h" 2 ># 33 "./silk/main.h" 2 ># 1 "./silk/structs.h" 1 ># 34 "./silk/structs.h" ># 1 "./celt/entenc.h" 1 ># 30 "./celt/entenc.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 150 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 3 4 >typedef long int ptrdiff_t; ># 325 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 3 4 >typedef int wchar_t; ># 31 "./celt/entenc.h" 2 ># 1 "./celt/entcode.h" 1 ># 32 "./celt/entcode.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 1 3 4 ># 34 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 1 3 4 ># 169 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 145 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 157 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 39 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 40 "/usr/include/bits/local_lim.h" 2 3 4 ># 158 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 146 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 150 "/usr/include/limits.h" 2 3 4 ># 170 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/syslimits.h" 2 3 4 ># 35 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 2 3 4 ># 33 "./celt/entcode.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 34 "./celt/entcode.h" 2 ># 1 "./celt/ecintrin.h" 1 ># 30 "./celt/ecintrin.h" ># 1 "/usr/include/math.h" 1 3 4 ># 30 "/usr/include/math.h" 3 4 > > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 35 "/usr/include/math.h" 2 3 4 > ># 1 "/usr/include/bits/huge_valf.h" 1 3 4 ># 37 "/usr/include/math.h" 2 3 4 ># 1 "/usr/include/bits/huge_vall.h" 1 3 4 ># 38 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/inf.h" 1 3 4 ># 41 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 44 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 26 "/usr/include/bits/mathdef.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/mathdef.h" 2 3 4 > > > > >typedef float float_t; >typedef double double_t; ># 48 "/usr/include/math.h" 2 3 4 ># 71 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern double cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (2))); > ># 128 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern double pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int __isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int __finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > > >extern double nan (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern int isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j0 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j1 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); >extern double y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y0 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y1 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erf (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erfc (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern double gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __gamma (double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern double trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long int lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long int lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __fpclassify (double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > >extern int __signbit (double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern double scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); ># 72 "/usr/include/math.h" 2 3 4 ># 94 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern float coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern float expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (2))); > ># 128 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern float powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern float ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int __isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int __finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > > >extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern int isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j0f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j1f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); >extern float y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y0f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y1f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erff (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern float gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern float rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern float truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long int lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long int lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); ># 95 "/usr/include/math.h" 2 3 4 ># 143 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern long double coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern long double expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (2))); > ># 128 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern long double ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int __isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int __finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > > >extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int __isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern long double gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern long double rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > >extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern long double truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long int lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long int lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > >extern int __signbitl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > > >extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); ># 144 "/usr/include/math.h" 2 3 4 ># 159 "/usr/include/math.h" 3 4 >extern int signgam; ># 200 "/usr/include/math.h" 3 4 >enum > { > FP_NAN, > > FP_INFINITE, > > FP_ZERO, > > FP_SUBNORMAL, > > FP_NORMAL > > }; ># 293 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 318 "/usr/include/math.h" 3 4 >struct exception > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > > > >extern int matherr (struct exception *__exc); ># 418 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 24 "/usr/include/bits/mathinline.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/mathinline.h" 2 3 4 ># 36 "/usr/include/bits/mathinline.h" 3 4 > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) __signbitf (float __x) >{ > > > > > int __m; > __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); > return __m & 0x8; > >} >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) __signbit (double __x) >{ > > > > > int __m; > __asm ("pmovmskb %1, %0" : "=r" (__m) : "x" (__x)); > return __m & 0x80; > >} >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) __signbitl (long double __x) >{ > __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; > return (__u.__i[2] & 0x8000) != 0; >} > > > > > > > > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) long int >__attribute__ ((__nothrow__ , __leaf__)) lrintf (float __x) >{ > long int __res; > __asm ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x)); > return __res; >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) long int >__attribute__ ((__nothrow__ , __leaf__)) lrint (double __x) >{ > long int __res; > __asm ("cvtsd2si %1, %0" : "=r" (__res) : "xm" (__x)); > return __res; >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) long long int >__attribute__ ((__nothrow__ , __leaf__)) llrintf (float __x) >{ > long long int __res; > __asm ("cvtss2si %1, %0" : "=r" (__res) : "xm" (__x)); > return __res; >} >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) long long int >__attribute__ ((__nothrow__ , __leaf__)) llrint (double __x) >{ > long long int __res; > __asm ("cvtsd2si %1, %0" : "=r" (__res) : "xm" (__x)); > return __res; >} ># 147 "/usr/include/bits/mathinline.h" 3 4 > ># 419 "/usr/include/math.h" 2 3 4 ># 480 "/usr/include/math.h" 3 4 > ># 31 "./celt/ecintrin.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 1 3 4 ># 32 "./celt/ecintrin.h" 2 ># 1 "./celt/arch.h" 1 ># 131 "./celt/arch.h" >typedef float opus_val16; >typedef float opus_val32; > >typedef float celt_sig; >typedef float celt_norm; >typedef float celt_ener; ># 33 "./celt/ecintrin.h" 2 ># 35 "./celt/entcode.h" 2 > > > >typedef opus_uint32 ec_window; >typedef struct ec_ctx ec_ctx; >typedef struct ec_ctx ec_enc; >typedef struct ec_ctx ec_dec; ># 55 "./celt/entcode.h" >struct ec_ctx{ > > unsigned char *buf; > > opus_uint32 storage; > > opus_uint32 end_offs; > > ec_window end_window; > > int nend_bits; > > > int nbits_total; > > opus_uint32 offs; > > opus_uint32 rng; > > > > opus_uint32 val; > > > opus_uint32 ext; > > int rem; > > int error; >}; > >static inline opus_uint32 ec_range_bytes(ec_ctx *_this){ > return _this->offs; >} > >static inline unsigned char *ec_get_buffer(ec_ctx *_this){ > return _this->buf; >} > >static inline int ec_get_error(ec_ctx *_this){ > return _this->error; >} > > > > > > > >static inline int ec_tell(ec_ctx *_this){ > return _this->nbits_total-(((int)sizeof(unsigned)*8)-(__builtin_clz(_this->rng))); >} > > > > > > > >opus_uint32 ec_tell_frac(ec_ctx *_this); ># 32 "./celt/entenc.h" 2 > > > > >void ec_enc_init(ec_enc *_this,unsigned char *_buf,opus_uint32 _size); ># 50 "./celt/entenc.h" >void ec_encode(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _ft); > > >void ec_encode_bin(ec_enc *_this,unsigned _fl,unsigned _fh,unsigned _bits); > > >void ec_enc_bit_logp(ec_enc *_this,int _val,unsigned _logp); ># 65 "./celt/entenc.h" >void ec_enc_icdf(ec_enc *_this,int _s,const unsigned char *_icdf,unsigned _ftb); > > > > > >void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft); > > > > > >void ec_enc_bits(ec_enc *_this,opus_uint32 _fl,unsigned _ftb); ># 93 "./celt/entenc.h" >void ec_enc_patch_initial_bits(ec_enc *_this,unsigned _val,unsigned _nbits); ># 103 "./celt/entenc.h" >void ec_enc_shrink(ec_enc *_this,opus_uint32 _size); > > > > >void ec_enc_done(ec_enc *_this); ># 35 "./silk/structs.h" 2 ># 1 "./celt/entdec.h" 1 ># 30 "./celt/entdec.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h" 1 3 4 ># 31 "./celt/entdec.h" 2 ># 1 "./celt/entcode.h" 1 ># 32 "./celt/entdec.h" 2 > > > > >void ec_dec_init(ec_dec *_this,unsigned char *_buf,opus_uint32 _storage); ># 51 "./celt/entdec.h" >unsigned ec_decode(ec_dec *_this,unsigned _ft); > > >unsigned ec_decode_bin(ec_dec *_this,unsigned _bits); ># 69 "./celt/entdec.h" >void ec_dec_update(ec_dec *_this,unsigned _fl,unsigned _fh,unsigned _ft); > > >int ec_dec_bit_logp(ec_dec *_this,unsigned _logp); ># 82 "./celt/entdec.h" >int ec_dec_icdf(ec_dec *_this,const unsigned char *_icdf,unsigned _ftb); > > > > > > > >opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft); > > > > > > > >opus_uint32 ec_dec_bits(ec_dec *_this,unsigned _ftb); ># 36 "./silk/structs.h" 2 ># 45 "./silk/structs.h" >typedef struct { > opus_int16 xq[ 2 * ( ( 5 * 4 ) * 16 ) ]; > opus_int32 sLTP_shp_Q14[ 2 * ( ( 5 * 4 ) * 16 ) ]; > opus_int32 sLPC_Q14[ ( 5 * 16 ) + 32 ]; > opus_int32 sAR2_Q14[ 16 ]; > opus_int32 sLF_AR_shp_Q14; > int lagPrev; > int sLTP_buf_idx; > int sLTP_shp_buf_idx; > opus_int32 rand_seed; > opus_int32 prev_gain_Q16; > int rewhite_flag; >} silk_nsq_state; > > > > >typedef struct { > opus_int32 AnaState[ 2 ]; > opus_int32 AnaState1[ 2 ]; > opus_int32 AnaState2[ 2 ]; > opus_int32 XnrgSubfr[ 4 ]; > opus_int32 NrgRatioSmth_Q8[ 4 ]; > opus_int16 HPstate; > opus_int32 NL[ 4 ]; > opus_int32 inv_NL[ 4 ]; > opus_int32 NoiseLevelBias[ 4 ]; > opus_int32 counter; >} silk_VAD_state; > > >typedef struct { > opus_int32 In_LP_State[ 2 ]; > opus_int32 transition_frame_no; > int mode; >} silk_LP_state; > > >typedef struct { > const opus_int16 nVectors; > const opus_int16 order; > const opus_int16 quantStepSize_Q16; > const opus_int16 invQuantStepSize_Q6; > const unsigned char *CB1_NLSF_Q8; > const unsigned char *CB1_iCDF; > const unsigned char *pred_Q8; > const unsigned char *ec_sel; > const unsigned char *ec_iCDF; > const unsigned char *ec_Rates_Q5; > const opus_int16 *deltaMin_Q15; >} silk_NLSF_CB_struct; > >typedef struct { > opus_int16 pred_prev_Q13[ 2 ]; > opus_int16 sMid[ 2 ]; > opus_int16 sSide[ 2 ]; > opus_int32 mid_side_amp_Q0[ 4 ]; > opus_int16 smth_width_Q14; > opus_int16 width_prev_Q14; > opus_int16 silent_side_len; > signed char predIx[ 3 ][ 2 ][ 3 ]; > signed char mid_only_flags[ 3 ]; >} stereo_enc_state; > >typedef struct { > opus_int16 pred_prev_Q13[ 2 ]; > opus_int16 sMid[ 2 ]; > opus_int16 sSide[ 2 ]; >} stereo_dec_state; > >typedef struct { > signed char GainsIndices[ 4 ]; > signed char LTPIndex[ 4 ]; > signed char NLSFIndices[ 16 + 1 ]; > opus_int16 lagIndex; > signed char contourIndex; > signed char signalType; > signed char quantOffsetType; > signed char NLSFInterpCoef_Q2; > signed char PERIndex; > signed char LTP_scaleIndex; > signed char Seed; >} SideInfoIndices; > > > > >typedef struct { > opus_int32 In_HP_State[ 2 ]; > opus_int32 variable_HP_smth1_Q15; > opus_int32 variable_HP_smth2_Q15; > silk_LP_state sLP; > silk_VAD_state sVAD; > silk_nsq_state sNSQ; > opus_int16 prev_NLSFq_Q15[ 16 ]; > int speech_activity_Q8; > int allow_bandwidth_switch; > signed char LBRRprevLastGainIndex; > signed char prevSignalType; > int prevLag; > int pitch_LPC_win_length; > int max_pitch_lag; > opus_int32 API_fs_Hz; > opus_int32 prev_API_fs_Hz; > int maxInternal_fs_Hz; > int minInternal_fs_Hz; > int desiredInternal_fs_Hz; > int fs_kHz; > int nb_subfr; > int frame_length; > int subfr_length; > int ltp_mem_length; > int la_pitch; > int la_shape; > int shapeWinLength; > opus_int32 TargetRate_bps; > int PacketSize_ms; > int PacketLoss_perc; > opus_int32 frameCounter; > int Complexity; > int nStatesDelayedDecision; > int useInterpolatedNLSFs; > int shapingLPCOrder; > int predictLPCOrder; > int pitchEstimationComplexity; > int pitchEstimationLPCOrder; > opus_int32 pitchEstimationThreshold_Q16; > int LTPQuantLowComplexity; > int mu_LTP_Q9; > int NLSF_MSVQ_Survivors; > int first_frame_after_reset; > int controlled_since_last_payload; > int warping_Q16; > int useCBR; > int prefillFlag; > const unsigned char *pitch_lag_low_bits_iCDF; > const unsigned char *pitch_contour_iCDF; > const silk_NLSF_CB_struct *psNLSF_CB; > int input_quality_bands_Q15[ 4 ]; > int input_tilt_Q15; > int SNR_dB_Q7; > > signed char VAD_flags[ 3 ]; > signed char LBRR_flag; > int LBRR_flags[ 3 ]; > > SideInfoIndices indices; > signed char pulses[ ( ( 5 * 4 ) * 16 ) ]; > > > opus_int16 inputBuf[ ( ( 5 * 4 ) * 16 ) + 2 ]; > int inputBufIx; > int nFramesPerPacket; > int nFramesEncoded; > > int nChannelsAPI; > int nChannelsInternal; > int channelNb; > > > int frames_since_onset; > > > int ec_prevSignalType; > opus_int16 ec_prevLagIndex; > > silk_resampler_state_struct resampler_state; > > > int useDTX; > int inDTX; > int noSpeechCounter; > > > int useInBandFEC; > int LBRR_enabled; > int LBRR_GainIncreases; > SideInfoIndices indices_LBRR[ 3 ]; > signed char pulses_LBRR[ 3 ][ ( ( 5 * 4 ) * 16 ) ]; >} silk_encoder_state; > > > >typedef struct { > opus_int32 pitchL_Q8; > opus_int16 LTPCoef_Q14[ 5 ]; > opus_int16 prevLPC_Q12[ 16 ]; > int last_frame_lost; > opus_int32 rand_seed; > opus_int16 randScale_Q14; > opus_int32 conc_energy; > int conc_energy_shift; > opus_int16 prevLTP_scale_Q14; > opus_int32 prevGain_Q16[ 2 ]; > int fs_kHz; > int nb_subfr; > int subfr_length; >} silk_PLC_struct; > > >typedef struct { > opus_int32 CNG_exc_buf_Q14[ ( ( 5 * 4 ) * 16 ) ]; > opus_int16 CNG_smth_NLSF_Q15[ 16 ]; > opus_int32 CNG_synth_state[ 16 ]; > opus_int32 CNG_smth_Gain_Q16; > opus_int32 rand_seed; > int fs_kHz; >} silk_CNG_struct; > > > > >typedef struct { > opus_int32 prev_gain_Q16; > opus_int32 exc_Q14[ ( ( 5 * 4 ) * 16 ) ]; > opus_int32 sLPC_Q14_buf[ 16 ]; > opus_int16 outBuf[ ( ( 5 * 4 ) * 16 ) + 2 * ( 5 * 16 ) ]; > int lagPrev; > signed char LastGainIndex; > int fs_kHz; > opus_int32 fs_API_hz; > int nb_subfr; > int frame_length; > int subfr_length; > int ltp_mem_length; > int LPC_order; > opus_int16 prevNLSF_Q15[ 16 ]; > int first_frame_after_reset; > const unsigned char *pitch_lag_low_bits_iCDF; > const unsigned char *pitch_contour_iCDF; > > > int nFramesDecoded; > int nFramesPerPacket; > > > int ec_prevSignalType; > opus_int16 ec_prevLagIndex; > > int VAD_flags[ 3 ]; > int LBRR_flag; > int LBRR_flags[ 3 ]; > > silk_resampler_state_struct resampler_state; > > const silk_NLSF_CB_struct *psNLSF_CB; > > > SideInfoIndices indices; > > > silk_CNG_struct sCNG; > > > int lossCnt; > int prevSignalType; > > silk_PLC_struct sPLC; > >} silk_decoder_state; > > > > >typedef struct { > > int pitchL[ 4 ]; > opus_int32 Gains_Q16[ 4 ]; > > opus_int16 PredCoef_Q12[ 2 ][ 16 ]; > opus_int16 LTPCoef_Q14[ 5 * 4 ]; > int LTP_scale_Q14; >} silk_decoder_control; ># 34 "./silk/main.h" 2 ># 1 "./silk/tables.h" 1 ># 40 "./silk/tables.h" >extern const unsigned char silk_gain_iCDF[ 3 ][ 64 / 8 ]; >extern const unsigned char silk_delta_gain_iCDF[ 36 - -4 + 1 ]; > >extern const unsigned char silk_pitch_lag_iCDF[ 2 * ( 18 - 2 ) ]; >extern const unsigned char silk_pitch_delta_iCDF[ 21 ]; >extern const unsigned char silk_pitch_contour_iCDF[ 34 ]; >extern const unsigned char silk_pitch_contour_NB_iCDF[ 11 ]; >extern const unsigned char silk_pitch_contour_10_ms_iCDF[ 12 ]; >extern const unsigned char silk_pitch_contour_10_ms_NB_iCDF[ 3 ]; > >extern const unsigned char silk_pulses_per_block_iCDF[ 10 ][ 16 + 2 ]; >extern const unsigned char silk_pulses_per_block_BITS_Q5[ 10 - 1 ][ 16 + 2 ]; > >extern const unsigned char silk_rate_levels_iCDF[ 2 ][ 10 - 1 ]; >extern const unsigned char silk_rate_levels_BITS_Q5[ 2 ][ 10 - 1 ]; > >extern const unsigned char silk_max_pulses_table[ 4 ]; > >extern const unsigned char silk_shell_code_table0[ 152 ]; >extern const unsigned char silk_shell_code_table1[ 152 ]; >extern const unsigned char silk_shell_code_table2[ 152 ]; >extern const unsigned char silk_shell_code_table3[ 152 ]; >extern const unsigned char silk_shell_code_table_offsets[ 16 + 1 ]; > >extern const unsigned char silk_lsb_iCDF[ 2 ]; > >extern const unsigned char silk_sign_iCDF[ 42 ]; > >extern const unsigned char silk_uniform3_iCDF[ 3 ]; >extern const unsigned char silk_uniform4_iCDF[ 4 ]; >extern const unsigned char silk_uniform5_iCDF[ 5 ]; >extern const unsigned char silk_uniform6_iCDF[ 6 ]; >extern const unsigned char silk_uniform8_iCDF[ 8 ]; > >extern const unsigned char silk_NLSF_EXT_iCDF[ 7 ]; > >extern const unsigned char silk_LTP_per_index_iCDF[ 3 ]; >extern const unsigned char * const silk_LTP_gain_iCDF_ptrs[ 3 ]; >extern const unsigned char * const silk_LTP_gain_BITS_Q5_ptrs[ 3 ]; >extern const opus_int16 silk_LTP_gain_middle_avg_RD_Q14; >extern const signed char * const silk_LTP_vq_ptrs_Q7[ 3 ]; >extern const signed char silk_LTP_vq_sizes[ 3 ]; > >extern const unsigned char silk_LTPscale_iCDF[ 3 ]; >extern const opus_int16 silk_LTPScales_table_Q14[ 3 ]; > >extern const unsigned char silk_type_offset_VAD_iCDF[ 4 ]; >extern const unsigned char silk_type_offset_no_VAD_iCDF[ 2 ]; > >extern const opus_int16 silk_stereo_pred_quant_Q13[ 16 ]; >extern const unsigned char silk_stereo_pred_joint_iCDF[ 25 ]; >extern const unsigned char silk_stereo_only_code_mid_iCDF[ 2 ]; > >extern const unsigned char * const silk_LBRR_flags_iCDF_ptr[ 2 ]; > >extern const unsigned char silk_NLSF_interpolation_factor_iCDF[ 5 ]; > >extern const silk_NLSF_CB_struct silk_NLSF_CB_WB; >extern const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB; > > >extern const opus_int32 silk_TargetRate_table_NB[ 8 ]; >extern const opus_int32 silk_TargetRate_table_MB[ 8 ]; >extern const opus_int32 silk_TargetRate_table_WB[ 8 ]; >extern const opus_int16 silk_SNR_table_Q1[ 8 ]; > > >extern const opus_int16 silk_Quantization_Offsets_Q10[ 2 ][ 2 ]; > > >extern const opus_int32 silk_Transition_LP_B_Q28[ 5 ][ 3 ]; >extern const opus_int32 silk_Transition_LP_A_Q28[ 5 ][ 2 ]; > > >extern const opus_int16 silk_LSFCosTab_FIX_Q12[ 128 + 1 ]; ># 35 "./silk/main.h" 2 ># 1 "./silk/PLC.h" 1 ># 31 "./silk/PLC.h" ># 1 "./silk/main.h" 1 ># 32 "./silk/PLC.h" 2 ># 43 "./silk/PLC.h" >void silk_PLC_Reset( > silk_decoder_state *psDec >); > >void silk_PLC( > silk_decoder_state *psDec, > silk_decoder_control *psDecCtrl, > opus_int16 frame[], > int lost >); > >void silk_PLC_glue_frames( > silk_decoder_state *psDec, > opus_int16 frame[], > int length >); ># 36 "./silk/main.h" 2 ># 1 "./silk/control.h" 1 ># 46 "./silk/control.h" >typedef struct { > > opus_int32 nChannelsAPI; > > > opus_int32 nChannelsInternal; > > > opus_int32 API_sampleRate; > > > opus_int32 maxInternalSampleRate; > > > opus_int32 minInternalSampleRate; > > > opus_int32 desiredInternalSampleRate; > > > int payloadSize_ms; > > > opus_int32 bitRate; > > > int packetLossPercentage; > > > int complexity; > > > int useInBandFEC; > > > int useDTX; > > > int useCBR; > > > int maxBits; > > > int toMono; > > > int opusCanSwitch; > > > opus_int32 internalSampleRate; > > > int allowBandwidthSwitch; > > > int inWBmodeWithoutVariableLP; > > > int stereoWidth_Q14; > > > int switchReady; > >} silk_EncControlStruct; > > > > >typedef struct { > > opus_int32 nChannelsAPI; > > > opus_int32 nChannelsInternal; > > > opus_int32 API_sampleRate; > > > opus_int32 internalSampleRate; > > > int payloadSize_ms; > > > int prevPitchLag; >} silk_DecControlStruct; ># 37 "./silk/main.h" 2 ># 1 "./silk/debug.h" 1 ># 44 "./silk/debug.h" >unsigned long GetHighResolutionTime(void); ># 38 "./silk/main.h" 2 > > > > >void silk_stereo_LR_to_MS( > stereo_enc_state *state, > opus_int16 x1[], > opus_int16 x2[], > signed char ix[ 2 ][ 3 ], > signed char *mid_only_flag, > opus_int32 mid_side_rates_bps[], > opus_int32 total_rate_bps, > int prev_speech_act_Q8, > int toMono, > int fs_kHz, > int frame_length >); > > >void silk_stereo_MS_to_LR( > stereo_dec_state *state, > opus_int16 x1[], > opus_int16 x2[], > const opus_int32 pred_Q13[], > int fs_kHz, > int frame_length >); > > >opus_int32 silk_stereo_find_predictor( > opus_int32 *ratio_Q14, > const opus_int16 x[], > const opus_int16 y[], > opus_int32 mid_res_amp_Q0[], > int length, > int smooth_coef_Q16 >); > > >void silk_stereo_quant_pred( > opus_int32 pred_Q13[], > signed char ix[ 2 ][ 3 ] >); > > >void silk_stereo_encode_pred( > ec_enc *psRangeEnc, > signed char ix[ 2 ][ 3 ] >); > > >void silk_stereo_encode_mid_only( > ec_enc *psRangeEnc, > signed char mid_only_flag >); > > >void silk_stereo_decode_pred( > ec_dec *psRangeDec, > opus_int32 pred_Q13[] >); > > >void silk_stereo_decode_mid_only( > ec_dec *psRangeDec, > int *decode_only_mid >); > > >void silk_encode_signs( > ec_enc *psRangeEnc, > const signed char pulses[], > int length, > const int signalType, > const int quantOffsetType, > const int sum_pulses[ ( ( ( 5 * 4 ) * 16 ) / 16 ) ] >); > > >void silk_decode_signs( > ec_dec *psRangeDec, > int pulses[], > int length, > const int signalType, > const int quantOffsetType, > const int sum_pulses[ ( ( ( 5 * 4 ) * 16 ) / 16 ) ] >); > > >int check_control_input( > silk_EncControlStruct *encControl >); > > >int silk_control_audio_bandwidth( > silk_encoder_state *psEncC, > silk_EncControlStruct *encControl >); > > >int silk_control_SNR( > silk_encoder_state *psEncC, > opus_int32 TargetRate_bps >); > > > > > > >void silk_encode_pulses( > ec_enc *psRangeEnc, > const int signalType, > const int quantOffsetType, > signed char pulses[], > const int frame_length >); > > >void silk_shell_encoder( > ec_enc *psRangeEnc, > const int *pulses0 >); > > >void silk_shell_decoder( > int *pulses0, > ec_dec *psRangeDec, > const int pulses4 >); > > >void silk_gains_quant( > signed char ind[ 4 ], > opus_int32 gain_Q16[ 4 ], > signed char *prev_ind, > const int conditional, > const int nb_subfr >); > > >void silk_gains_dequant( > opus_int32 gain_Q16[ 4 ], > const signed char ind[ 4 ], > signed char *prev_ind, > const int conditional, > const int nb_subfr >); > > >opus_int32 silk_gains_ID( > const signed char ind[ 4 ], > const int nb_subfr >); > > >void silk_interpolate( > opus_int16 xi[ 16 ], > const opus_int16 x0[ 16 ], > const opus_int16 x1[ 16 ], > const int ifact_Q2, > const int d >); > > >void silk_quant_LTP_gains( > opus_int16 B_Q14[ 4 * 5 ], > signed char cbk_index[ 4 ], > signed char *periodicity_index, > const opus_int32 W_Q18[ 4*5*5 ], > int mu_Q9, > int lowComplexity, > const int nb_subfr >); > > >void silk_VQ_WMat_EC( > signed char *ind, > opus_int32 *rate_dist_Q14, > const opus_int16 *in_Q14, > const opus_int32 *W_Q18, > const signed char *cb_Q7, > const unsigned char *cl_Q5, > const int mu_Q9, > int L >); > > > > >void silk_NSQ( > const silk_encoder_state *psEncC, > silk_nsq_state *NSQ, > SideInfoIndices *psIndices, > const opus_int32 x_Q3[], > signed char pulses[], > const opus_int16 PredCoef_Q12[ 2 * 16 ], > const opus_int16 LTPCoef_Q14[ 5 * 4 ], > const opus_int16 AR2_Q13[ 4 * 16 ], > const int HarmShapeGain_Q14[ 4 ], > const int Tilt_Q14[ 4 ], > const opus_int32 LF_shp_Q14[ 4 ], > const opus_int32 Gains_Q16[ 4 ], > const int pitchL[ 4 ], > const int Lambda_Q10, > const int LTP_scale_Q14 >); > > >void silk_NSQ_del_dec( > const silk_encoder_state *psEncC, > silk_nsq_state *NSQ, > SideInfoIndices *psIndices, > const opus_int32 x_Q3[], > signed char pulses[], > const opus_int16 PredCoef_Q12[ 2 * 16 ], > const opus_int16 LTPCoef_Q14[ 5 * 4 ], > const opus_int16 AR2_Q13[ 4 * 16 ], > const int HarmShapeGain_Q14[ 4 ], > const int Tilt_Q14[ 4 ], > const opus_int32 LF_shp_Q14[ 4 ], > const opus_int32 Gains_Q16[ 4 ], > const int pitchL[ 4 ], > const int Lambda_Q10, > const int LTP_scale_Q14 >); > > > > > >int silk_VAD_Init( > silk_VAD_state *psSilk_VAD >); > > >int silk_VAD_GetSA_Q8( > silk_encoder_state *psEncC, > const opus_int16 pIn[] >); > > > > >void silk_LP_variable_cutoff( > silk_LP_state *psLP, > opus_int16 *frame, > const int frame_length >); > > > > > >void silk_process_NLSFs( > silk_encoder_state *psEncC, > opus_int16 PredCoef_Q12[ 2 ][ 16 ], > opus_int16 pNLSF_Q15[ 16 ], > const opus_int16 prev_NLSFq_Q15[ 16 ] >); > >opus_int32 silk_NLSF_encode( > signed char *NLSFIndices, > opus_int16 *pNLSF_Q15, > const silk_NLSF_CB_struct *psNLSF_CB, > const opus_int16 *pW_QW, > const int NLSF_mu_Q20, > const int nSurvivors, > const int signalType >); > > >void silk_NLSF_VQ( > opus_int32 err_Q26[], > const opus_int16 in_Q15[], > const unsigned char pCB_Q8[], > const int K, > const int LPC_order >); > > >opus_int32 silk_NLSF_del_dec_quant( > signed char indices[], > const opus_int16 x_Q10[], > const opus_int16 w_Q5[], > const unsigned char pred_coef_Q8[], > const opus_int16 ec_ix[], > const unsigned char ec_rates_Q5[], > const int quant_step_size_Q16, > const opus_int16 inv_quant_step_size_Q6, > const opus_int32 mu_Q20, > const opus_int16 order >); > > >void silk_NLSF_unpack( > opus_int16 ec_ix[], > unsigned char pred_Q8[], > const silk_NLSF_CB_struct *psNLSF_CB, > const int CB1_index >); > > > > >void silk_NLSF_decode( > opus_int16 *pNLSF_Q15, > signed char *NLSFIndices, > const silk_NLSF_CB_struct *psNLSF_CB >); > > > > >int silk_init_decoder( > silk_decoder_state *psDec >); > > >int silk_decoder_set_fs( > silk_decoder_state *psDec, > int fs_kHz, > opus_int32 fs_API_Hz >); > > > > >int silk_decode_frame( > silk_decoder_state *psDec, > ec_dec *psRangeDec, > opus_int16 pOut[], > opus_int32 *pN, > int lostFlag, > int condCoding >); > > >void silk_decode_indices( > silk_decoder_state *psDec, > ec_dec *psRangeDec, > int FrameIndex, > int decode_LBRR, > int condCoding >); > > >void silk_decode_parameters( > silk_decoder_state *psDec, > silk_decoder_control *psDecCtrl, > int condCoding >); > > >void silk_decode_core( > silk_decoder_state *psDec, > silk_decoder_control *psDecCtrl, > opus_int16 xq[], > const int pulses[ ( ( 5 * 4 ) * 16 ) ] >); > > >void silk_decode_pulses( > ec_dec *psRangeDec, > int pulses[], > const int signalType, > const int quantOffsetType, > const int frame_length >); > > > > > > >void silk_CNG_Reset( > silk_decoder_state *psDec >); > > >void silk_CNG( > silk_decoder_state *psDec, > silk_decoder_control *psDecCtrl, > opus_int16 frame[], > int length >); > > >void silk_encode_indices( > silk_encoder_state *psEncC, > ec_enc *psRangeEnc, > int FrameIndex, > int encode_LBRR, > int condCoding >); ># 33 "silk/fixed/structs_FIX.h" 2 ># 1 "./silk/structs.h" 1 ># 34 "silk/fixed/structs_FIX.h" 2 ># 43 "silk/fixed/structs_FIX.h" >typedef struct { > signed char LastGainIndex; > opus_int32 HarmBoost_smth_Q16; > opus_int32 HarmShapeGain_smth_Q16; > opus_int32 Tilt_smth_Q16; >} silk_shape_state_FIX; > > > > >typedef struct { > opus_int16 sLTP_shp[ 512 ]; > opus_int32 sAR_shp[ 16 + 1 ]; > int sLTP_shp_buf_idx; > opus_int32 sLF_AR_shp_Q12; > opus_int32 sLF_MA_shp_Q12; > opus_int32 sHarmHP_Q2; > opus_int32 rand_seed; > int lagPrev; >} silk_prefilter_state_FIX; > > > > >typedef struct { > silk_encoder_state sCmn; > silk_shape_state_FIX sShape; > silk_prefilter_state_FIX sPrefilt; > > > opus_int16 x_buf[ 2 * ( ( 5 * 4 ) * 16 ) + ( 5 * 16 ) ]; > int LTPCorr_Q15; >} silk_encoder_state_FIX; > > > > >typedef struct { > > opus_int32 Gains_Q16[ 4 ]; > opus_int16 PredCoef_Q12[ 2 ][ 16 ]; > opus_int16 LTPCoef_Q14[ 5 * 4 ]; > int LTP_scale_Q14; > int pitchL[ 4 ]; > > > > opus_int16 AR1_Q13[ 4 * 16 ]; > opus_int16 AR2_Q13[ 4 * 16 ]; > opus_int32 LF_shp_Q14[ 4 ]; > int GainsPre_Q14[ 4 ]; > int HarmBoost_Q14[ 4 ]; > int Tilt_Q14[ 4 ]; > int HarmShapeGain_Q14[ 4 ]; > int Lambda_Q10; > int input_quality_Q14; > int coding_quality_Q14; > > > int sparseness_Q8; > opus_int32 predGain_Q16; > int LTPredCodGain_Q7; > opus_int32 ResNrg[ 4 ]; > int ResNrgQ[ 4 ]; > > > opus_int32 GainsUnq_Q16[ 4 ]; > signed char lastGainIndexPrev; >} silk_encoder_control_FIX; > > > > >typedef struct { > silk_encoder_state_FIX state_Fxx[ 2 ]; > stereo_enc_state sStereo; > opus_int32 nBitsExceeded; > int nChannelsAPI; > int nChannelsInternal; > int nPrevChannelsInternal; > int timeSinceSwitchAllowed_ms; > int allowBandwidthSwitch; > int prev_decode_only_middle; >} silk_encoder; ># 33 "silk/fixed/main_FIX.h" 2 ># 1 "./silk/control.h" 1 ># 34 "silk/fixed/main_FIX.h" 2 > ># 1 "./silk/PLC.h" 1 ># 36 "silk/fixed/main_FIX.h" 2 ># 1 "./silk/debug.h" 1 ># 37 "silk/fixed/main_FIX.h" 2 ># 55 "silk/fixed/main_FIX.h" >void silk_HP_variable_cutoff( > silk_encoder_state_FIX state_Fxx[] >); > > >void silk_encode_do_VAD_FIX( > silk_encoder_state_FIX *psEnc >); > > >int silk_encode_frame_FIX( > silk_encoder_state_FIX *psEnc, > opus_int32 *pnBytesOut, > ec_enc *psRangeEnc, > int condCoding, > int maxBits, > int useCBR >); > > >int silk_init_encoder( > silk_encoder_state_FIX *psEnc >); > > >int silk_control_encoder( > silk_encoder_state_FIX *psEnc, > silk_EncControlStruct *encControl, > const opus_int32 TargetRate_bps, > const int allow_bw_switch, > const int channelNb, > const int force_fs_kHz >); > > > > >void silk_prefilter_FIX( > silk_encoder_state_FIX *psEnc, > const silk_encoder_control_FIX *psEncCtrl, > opus_int32 xw_Q10[], > const opus_int16 x[] >); > > > > > >void silk_noise_shape_analysis_FIX( > silk_encoder_state_FIX *psEnc, > silk_encoder_control_FIX *psEncCtrl, > const opus_int16 *pitch_res, > const opus_int16 *x >); > > >void silk_warped_autocorrelation_FIX( > opus_int32 *corr, > int *scale, > const opus_int16 *input, > const int warping_Q16, > const int length, > const int order >); > > >void silk_LTP_scale_ctrl_FIX( > silk_encoder_state_FIX *psEnc, > silk_encoder_control_FIX *psEncCtrl, > int condCoding >); > > > > > >void silk_find_pitch_lags_FIX( > silk_encoder_state_FIX *psEnc, > silk_encoder_control_FIX *psEncCtrl, > opus_int16 res[], > const opus_int16 x[] >); > > >void silk_find_pred_coefs_FIX( > silk_encoder_state_FIX *psEnc, > silk_encoder_control_FIX *psEncCtrl, > const opus_int16 res_pitch[], > const opus_int16 x[], > int condCoding >); > > >void silk_find_LPC_FIX( > silk_encoder_state *psEncC, > opus_int16 NLSF_Q15[], > const opus_int16 x[], > const opus_int32 minInvGain_Q30 >); > > >void silk_find_LTP_FIX( > opus_int16 b_Q14[ 4 * 5 ], > opus_int32 WLTP[ 4 * 5 * 5 ], > int *LTPredCodGain_Q7, > const opus_int16 r_lpc[], > const int lag[ 4 ], > const opus_int32 Wght_Q15[ 4 ], > const int subfr_length, > const int nb_subfr, > const int mem_offset, > int corr_rshifts[ 4 ] >); > >void silk_LTP_analysis_filter_FIX( > opus_int16 *LTP_res, > const opus_int16 *x, > const opus_int16 LTPCoef_Q14[ 5 * 4 ], > const int pitchL[ 4 ], > const opus_int32 invGains_Q16[ 4 ], > const int subfr_length, > const int nb_subfr, > const int pre_length >); > > > >void silk_residual_energy_FIX( > opus_int32 nrgs[ 4 ], > int nrgsQ[ 4 ], > const opus_int16 x[], > opus_int16 a_Q12[ 2 ][ 16 ], > const opus_int32 gains[ 4 ], > const int subfr_length, > const int nb_subfr, > const int LPC_order >); > > >opus_int32 silk_residual_energy16_covar_FIX( > const opus_int16 *c, > const opus_int32 *wXX, > const opus_int32 *wXx, > opus_int32 wxx, > int D, > int cQ >); > > >void silk_process_gains_FIX( > silk_encoder_state_FIX *psEnc, > silk_encoder_control_FIX *psEncCtrl, > int condCoding >); > > > > > >void silk_corrMatrix_FIX( > const opus_int16 *x, > const int L, > const int order, > const int head_room, > opus_int32 *XX, > int *rshifts >); > > >void silk_corrVector_FIX( > const opus_int16 *x, > const opus_int16 *t, > const int L, > const int order, > opus_int32 *Xt, > const int rshifts >); > > >void silk_regularize_correlations_FIX( > opus_int32 *XX, > opus_int32 *xx, > opus_int32 noise, > int D >); > > >void silk_solve_LDL_FIX( > opus_int32 *A, > int M, > const opus_int32 *b, > opus_int32 *x_Q16 >); ># 33 "silk/fixed/noise_shape_analysis_FIX.c" 2 ># 1 "./silk/tuning_parameters.h" 1 ># 34 "silk/fixed/noise_shape_analysis_FIX.c" 2 > > > > > >static inline opus_int32 warped_gain( > const opus_int32 *coefs_Q24, > int lambda_Q16, > int order >) { > int i; > opus_int32 gain_Q24; > > lambda_Q16 = -lambda_Q16; > gain_Q24 = coefs_Q24[ order - 1 ]; > for( i = order - 2; i >= 0; i-- ) { > gain_Q24 = ((coefs_Q24[ i ]) + ((((gain_Q24) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((gain_Q24) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > } > gain_Q24 = ((((opus_int32)((1.0) * ((long long)1 << (24)) + 0.5))) + ((((gain_Q24) >> 16) * (opus_int32)((opus_int16)(-lambda_Q16))) + ((((gain_Q24) & 0x0000FFFF) * (opus_int32)((opus_int16)(-lambda_Q16))) >> 16))); > return silk_INVERSE32_varQ( gain_Q24, 40 ); >} > > > >static inline void limit_warped_coefs( > opus_int32 *coefs_syn_Q24, > opus_int32 *coefs_ana_Q24, > int lambda_Q16, > opus_int32 limit_Q24, > int order >) { > int i, iter, ind = 0; > opus_int32 tmp, maxabs_Q24, chirp_Q16, gain_syn_Q16, gain_ana_Q16; > opus_int32 nom_Q16, den_Q24; > > > lambda_Q16 = -lambda_Q16; > for( i = order - 1; i > 0; i-- ) { > coefs_syn_Q24[ i - 1 ] = ((coefs_syn_Q24[ i - 1 ]) + ((((coefs_syn_Q24[ i ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_syn_Q24[ i ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > coefs_ana_Q24[ i - 1 ] = ((coefs_ana_Q24[ i - 1 ]) + ((((coefs_ana_Q24[ i ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_ana_Q24[ i ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > } > lambda_Q16 = -lambda_Q16; > nom_Q16 = ((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5))) + ((((-(opus_int32)lambda_Q16) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((-(opus_int32)lambda_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > den_Q24 = ((((opus_int32)((1.0) * ((long long)1 << (24)) + 0.5))) + ((((coefs_syn_Q24[ 0 ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_syn_Q24[ 0 ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > gain_syn_Q16 = silk_DIV32_varQ( nom_Q16, den_Q24, 24 ); > den_Q24 = ((((opus_int32)((1.0) * ((long long)1 << (24)) + 0.5))) + ((((coefs_ana_Q24[ 0 ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_ana_Q24[ 0 ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > gain_ana_Q16 = silk_DIV32_varQ( nom_Q16, den_Q24, 24 ); > for( i = 0; i < order; i++ ) { > coefs_syn_Q24[ i ] = ((((((((gain_syn_Q16)) >> 16) * (opus_int32)((opus_int16)((coefs_syn_Q24[ i ])))) + (((((gain_syn_Q16)) & 0x0000FFFF) * (opus_int32)((opus_int16)((coefs_syn_Q24[ i ])))) >> 16)))) + ((((gain_syn_Q16)) * (((16) == 1 ? (((coefs_syn_Q24[ i ])) >> 1) + (((coefs_syn_Q24[ i ])) & 1) : ((((coefs_syn_Q24[ i ])) >> ((16) - 1)) + 1) >> 1))))); > coefs_ana_Q24[ i ] = ((((((((gain_ana_Q16)) >> 16) * (opus_int32)((opus_int16)((coefs_ana_Q24[ i ])))) + (((((gain_ana_Q16)) & 0x0000FFFF) * (opus_int32)((opus_int16)((coefs_ana_Q24[ i ])))) >> 16)))) + ((((gain_ana_Q16)) * (((16) == 1 ? (((coefs_ana_Q24[ i ])) >> 1) + (((coefs_ana_Q24[ i ])) & 1) : ((((coefs_ana_Q24[ i ])) >> ((16) - 1)) + 1) >> 1))))); > } > > for( iter = 0; iter < 10; iter++ ) { > > maxabs_Q24 = -1; > for( i = 0; i < order; i++ ) { > tmp = ((((((coefs_syn_Q24[ i ]) ^ ((coefs_syn_Q24[ i ]) >> 31)) - ((coefs_syn_Q24[ i ]) >> 31))) > ((((coefs_ana_Q24[ i ]) ^ ((coefs_ana_Q24[ i ]) >> 31)) - ((coefs_ana_Q24[ i ]) >> 31)))) ? ((((coefs_syn_Q24[ i ]) ^ ((coefs_syn_Q24[ i ]) >> 31)) - ((coefs_syn_Q24[ i ]) >> 31))) : ((((coefs_ana_Q24[ i ]) ^ ((coefs_ana_Q24[ i ]) >> 31)) - ((coefs_ana_Q24[ i ]) >> 31)))); > if( tmp > maxabs_Q24 ) { > maxabs_Q24 = tmp; > ind = i; > } > } > if( maxabs_Q24 <= limit_Q24 ) { > > return; > } > > > for( i = 1; i < order; i++ ) { > coefs_syn_Q24[ i - 1 ] = ((coefs_syn_Q24[ i - 1 ]) + ((((coefs_syn_Q24[ i ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_syn_Q24[ i ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > coefs_ana_Q24[ i - 1 ] = ((coefs_ana_Q24[ i - 1 ]) + ((((coefs_ana_Q24[ i ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_ana_Q24[ i ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > } > gain_syn_Q16 = silk_INVERSE32_varQ( gain_syn_Q16, 32 ); > gain_ana_Q16 = silk_INVERSE32_varQ( gain_ana_Q16, 32 ); > for( i = 0; i < order; i++ ) { > coefs_syn_Q24[ i ] = ((((((((gain_syn_Q16)) >> 16) * (opus_int32)((opus_int16)((coefs_syn_Q24[ i ])))) + (((((gain_syn_Q16)) & 0x0000FFFF) * (opus_int32)((opus_int16)((coefs_syn_Q24[ i ])))) >> 16)))) + ((((gain_syn_Q16)) * (((16) == 1 ? (((coefs_syn_Q24[ i ])) >> 1) + (((coefs_syn_Q24[ i ])) & 1) : ((((coefs_syn_Q24[ i ])) >> ((16) - 1)) + 1) >> 1))))); > coefs_ana_Q24[ i ] = ((((((((gain_ana_Q16)) >> 16) * (opus_int32)((opus_int16)((coefs_ana_Q24[ i ])))) + (((((gain_ana_Q16)) & 0x0000FFFF) * (opus_int32)((opus_int16)((coefs_ana_Q24[ i ])))) >> 16)))) + ((((gain_ana_Q16)) * (((16) == 1 ? (((coefs_ana_Q24[ i ])) >> 1) + (((coefs_ana_Q24[ i ])) & 1) : ((((coefs_ana_Q24[ i ])) >> ((16) - 1)) + 1) >> 1))))); > } > > > chirp_Q16 = ((opus_int32)((0.99) * ((long long)1 << (16)) + 0.5)) - silk_DIV32_varQ( > ((((maxabs_Q24 - limit_Q24) >> 16) * (opus_int32)((opus_int16)(((((opus_int32)((0.8) * ((long long)1 << (10)) + 0.5))) + ((opus_int32)((opus_int16)(((opus_int32)((0.1) * ((long long)1 << (10)) + 0.5))))) * (opus_int32)((opus_int16)(iter)))))) + ((((maxabs_Q24 - limit_Q24) & 0x0000FFFF) * (opus_int32)((opus_int16)(((((opus_int32)((0.8) * ((long long)1 << (10)) + 0.5))) + ((opus_int32)((opus_int16)(((opus_int32)((0.1) * ((long long)1 << (10)) + 0.5))))) * (opus_int32)((opus_int16)(iter)))))) >> 16)), > ((maxabs_Q24) * (ind + 1)), 22 ); > silk_bwexpander_32( coefs_syn_Q24, order, chirp_Q16 ); > silk_bwexpander_32( coefs_ana_Q24, order, chirp_Q16 ); > > > lambda_Q16 = -lambda_Q16; > for( i = order - 1; i > 0; i-- ) { > coefs_syn_Q24[ i - 1 ] = ((coefs_syn_Q24[ i - 1 ]) + ((((coefs_syn_Q24[ i ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_syn_Q24[ i ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > coefs_ana_Q24[ i - 1 ] = ((coefs_ana_Q24[ i - 1 ]) + ((((coefs_ana_Q24[ i ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_ana_Q24[ i ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > } > lambda_Q16 = -lambda_Q16; > nom_Q16 = ((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5))) + ((((-(opus_int32)lambda_Q16) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((-(opus_int32)lambda_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > den_Q24 = ((((opus_int32)((1.0) * ((long long)1 << (24)) + 0.5))) + ((((coefs_syn_Q24[ 0 ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_syn_Q24[ 0 ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > gain_syn_Q16 = silk_DIV32_varQ( nom_Q16, den_Q24, 24 ); > den_Q24 = ((((opus_int32)((1.0) * ((long long)1 << (24)) + 0.5))) + ((((coefs_ana_Q24[ 0 ]) >> 16) * (opus_int32)((opus_int16)(lambda_Q16))) + ((((coefs_ana_Q24[ 0 ]) & 0x0000FFFF) * (opus_int32)((opus_int16)(lambda_Q16))) >> 16))); > gain_ana_Q16 = silk_DIV32_varQ( nom_Q16, den_Q24, 24 ); > for( i = 0; i < order; i++ ) { > coefs_syn_Q24[ i ] = ((((((((gain_syn_Q16)) >> 16) * (opus_int32)((opus_int16)((coefs_syn_Q24[ i ])))) + (((((gain_syn_Q16)) & 0x0000FFFF) * (opus_int32)((opus_int16)((coefs_syn_Q24[ i ])))) >> 16)))) + ((((gain_syn_Q16)) * (((16) == 1 ? (((coefs_syn_Q24[ i ])) >> 1) + (((coefs_syn_Q24[ i ])) & 1) : ((((coefs_syn_Q24[ i ])) >> ((16) - 1)) + 1) >> 1))))); > coefs_ana_Q24[ i ] = ((((((((gain_ana_Q16)) >> 16) * (opus_int32)((opus_int16)((coefs_ana_Q24[ i ])))) + (((((gain_ana_Q16)) & 0x0000FFFF) * (opus_int32)((opus_int16)((coefs_ana_Q24[ i ])))) >> 16)))) + ((((gain_ana_Q16)) * (((16) == 1 ? (((coefs_ana_Q24[ i ])) >> 1) + (((coefs_ana_Q24[ i ])) & 1) : ((((coefs_ana_Q24[ i ])) >> ((16) - 1)) + 1) >> 1))))); > } > } > ; >} > > > > >void silk_noise_shape_analysis_FIX( > silk_encoder_state_FIX *psEnc, > silk_encoder_control_FIX *psEncCtrl, > const opus_int16 *pitch_res, > const opus_int16 *x >) >{ > silk_shape_state_FIX *psShapeSt = &psEnc->sShape; > int k, i, nSamples, Qnrg, b_Q14, warping_Q16, scale = 0; > opus_int32 SNR_adj_dB_Q7, HarmBoost_Q16, HarmShapeGain_Q16, Tilt_Q16, tmp32; > opus_int32 nrg, pre_nrg_Q30, log_energy_Q7, log_energy_prev_Q7, energy_variation_Q7; > opus_int32 delta_Q16, BWExp1_Q16, BWExp2_Q16, gain_mult_Q16, gain_add_Q16, strength_Q16, b_Q8; > opus_int32 auto_corr[ 16 + 1 ]; > opus_int32 refl_coef_Q16[ 16 ]; > opus_int32 AR1_Q24[ 16 ]; > opus_int32 AR2_Q24[ 16 ]; > opus_int16 x_windowed[ ( 15 * 16 ) ]; > const opus_int16 *x_ptr, *pitch_res_ptr; > > > x_ptr = x - psEnc->sCmn.la_shape; > > > > > SNR_adj_dB_Q7 = psEnc->sCmn.SNR_dB_Q7; > > > psEncCtrl->input_quality_Q14 = ( int )(((opus_int32)psEnc->sCmn.input_quality_bands_Q15[ 0 ] + psEnc->sCmn.input_quality_bands_Q15[ 1 ])>>(2)) > ; > > > psEncCtrl->coding_quality_Q14 = ((silk_sigm_Q15( ((4) == 1 ? ((SNR_adj_dB_Q7 - ((opus_int32)((20.0) * ((long long)1 << (7)) + 0.5))) >> 1) + ((SNR_adj_dB_Q7 - ((opus_int32)((20.0) * ((long long)1 << (7)) + 0.5))) & 1) : (((SNR_adj_dB_Q7 - ((opus_int32)((20.0) * ((long long)1 << (7)) + 0.5))) >> ((4) - 1)) + 1) >> 1) ))>>(1)) > ; > > > if( psEnc->sCmn.useCBR == 0 ) { > b_Q8 = ((opus_int32)((1.0) * ((long long)1 << (8)) + 0.5)) - psEnc->sCmn.speech_activity_Q8; > b_Q8 = ((((((opus_int32)((opus_uint32)(b_Q8)<<(8)))) >> 16) * (opus_int32)((opus_int16)(b_Q8))) + ((((((opus_int32)((opus_uint32)(b_Q8)<<(8)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(b_Q8))) >> 16)); > SNR_adj_dB_Q7 = ((SNR_adj_dB_Q7) + ((((((opus_int32)((opus_int16)(((opus_int32)((-2.0f) * ((long long)1 << (7)) + 0.5)) >> ( 4 + 1 ))) * (opus_int32)((opus_int16)(b_Q8)))) >> 16) * (opus_int32)((opus_int16)(((((((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) + psEncCtrl->input_quality_Q14) >> 16) * (opus_int32)((opus_int16)(psEncCtrl->coding_quality_Q14))) + ((((((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) + psEncCtrl->input_quality_Q14) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEncCtrl->coding_quality_Q14))) >> 16))))) + ((((((opus_int32)((opus_int16)(((opus_int32)((-2.0f) * ((long long)1 << (7)) + 0.5)) >> ( 4 + 1 ))) * (opus_int32)((opus_int16)(b_Q8)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((((((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) + psEncCtrl->input_quality_Q14) >> 16) * (opus_int32)((opus_int16)(psEncCtrl->coding_quality_Q14))) + ((((((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) + psEncCtrl->input_quality_Q14) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEncCtrl->coding_quality_Q14))) >> 16))))) >> 16))) > > ; > } > > if( psEnc->sCmn.indices.signalType == 2 ) { > > SNR_adj_dB_Q7 = ((SNR_adj_dB_Q7) + ((((((opus_int32)((2.0f) * ((long long)1 << (8)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(psEnc->LTPCorr_Q15))) + ((((((opus_int32)((2.0f) * ((long long)1 << (8)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->LTPCorr_Q15))) >> 16))); > } else { > > SNR_adj_dB_Q7 = ((SNR_adj_dB_Q7) + ((((((((opus_int32)((6.0) * ((long long)1 << (9)) + 0.5))) + ((((-((opus_int32)((0.4) * ((long long)1 << (18)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(psEnc->sCmn.SNR_dB_Q7))) + ((((-((opus_int32)((0.4) * ((long long)1 << (18)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->sCmn.SNR_dB_Q7))) >> 16)))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) - psEncCtrl->input_quality_Q14))) + ((((((((opus_int32)((6.0) * ((long long)1 << (9)) + 0.5))) + ((((-((opus_int32)((0.4) * ((long long)1 << (18)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(psEnc->sCmn.SNR_dB_Q7))) + ((((-((opus_int32)((0.4) * ((long long)1 << (18)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->sCmn.SNR_dB_Q7))) >> 16)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) - psEncCtrl->input_quality_Q14))) >> 16))) > > ; > } > > > > > > if( psEnc->sCmn.indices.signalType == 2 ) { > > psEnc->sCmn.indices.quantOffsetType = 0; > psEncCtrl->sparseness_Q8 = 0; > } else { > > nSamples = ((opus_int32)((opus_uint32)(psEnc->sCmn.fs_kHz)<<(1))); > energy_variation_Q7 = 0; > log_energy_prev_Q7 = 0; > pitch_res_ptr = pitch_res; > for( k = 0; k < ((opus_int32)((opus_int16)(5)) * (opus_int32)((opus_int16)(psEnc->sCmn.nb_subfr))) / 2; k++ ) { > silk_sum_sqr_shift( &nrg, &scale, pitch_res_ptr, nSamples ); > nrg += ((nSamples)>>(scale)); > > log_energy_Q7 = silk_lin2log( nrg ); > if( k > 0 ) { > energy_variation_Q7 += (((log_energy_Q7 - log_energy_prev_Q7) > 0) ? (log_energy_Q7 - log_energy_prev_Q7) : -(log_energy_Q7 - log_energy_prev_Q7)); > } > log_energy_prev_Q7 = log_energy_Q7; > pitch_res_ptr += nSamples; > } > > psEncCtrl->sparseness_Q8 = ((silk_sigm_Q15( ((((energy_variation_Q7 - ((opus_int32)((5.0) * ((long long)1 << (7)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.1) * ((long long)1 << (16)) + 0.5))))) + ((((energy_variation_Q7 - ((opus_int32)((5.0) * ((long long)1 << (7)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.1) * ((long long)1 << (16)) + 0.5))))) >> 16)) ))>>(7)) > ; > > > if( psEncCtrl->sparseness_Q8 > ((opus_int32)((0.75f) * ((long long)1 << (8)) + 0.5)) ) { > psEnc->sCmn.indices.quantOffsetType = 0; > } else { > psEnc->sCmn.indices.quantOffsetType = 1; > } > > > SNR_adj_dB_Q7 = ((SNR_adj_dB_Q7) + ((((((opus_int32)((2.0f) * ((long long)1 << (15)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(psEncCtrl->sparseness_Q8 - ((opus_int32)((0.5) * ((long long)1 << (8)) + 0.5))))) + ((((((opus_int32)((2.0f) * ((long long)1 << (15)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEncCtrl->sparseness_Q8 - ((opus_int32)((0.5) * ((long long)1 << (8)) + 0.5))))) >> 16))); > } > > > > > > strength_Q16 = ((((psEncCtrl->predGain_Q16) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((1e-3f) * ((long long)1 << (16)) + 0.5))))) + ((((psEncCtrl->predGain_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((1e-3f) * ((long long)1 << (16)) + 0.5))))) >> 16)); > BWExp1_Q16 = BWExp2_Q16 = silk_DIV32_varQ( ((opus_int32)((0.95f) * ((long long)1 << (16)) + 0.5)), > ((((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)))) + (((((strength_Q16)) >> 16) * (opus_int32)((opus_int16)((strength_Q16)))) + (((((strength_Q16)) & 0x0000FFFF) * (opus_int32)((opus_int16)((strength_Q16)))) >> 16))))) + ((((strength_Q16)) * (((16) == 1 ? (((strength_Q16)) >> 1) + (((strength_Q16)) & 1) : ((((strength_Q16)) >> ((16) - 1)) + 1) >> 1))))), 16 ); > delta_Q16 = ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((opus_int32)((opus_int16)(3)) * (opus_int32)((opus_int16)(psEncCtrl->coding_quality_Q14)))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.01f) * ((long long)1 << (16)) + 0.5))))) + ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((opus_int32)((opus_int16)(3)) * (opus_int32)((opus_int16)(psEncCtrl->coding_quality_Q14)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.01f) * ((long long)1 << (16)) + 0.5))))) >> 16)) > ; > BWExp1_Q16 = ((BWExp1_Q16) - (delta_Q16)); > BWExp2_Q16 = ((BWExp2_Q16) + (delta_Q16)); > > BWExp1_Q16 = ((opus_int32)((((opus_int32)((opus_uint32)(BWExp1_Q16)<<(14)))) / (((BWExp2_Q16)>>(2))))); > > if( psEnc->sCmn.warping_Q16 > 0 ) { > > warping_Q16 = ((psEnc->sCmn.warping_Q16) + (((((opus_int32)psEncCtrl->coding_quality_Q14) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.01) * ((long long)1 << (18)) + 0.5))))) + (((((opus_int32)psEncCtrl->coding_quality_Q14) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.01) * ((long long)1 << (18)) + 0.5))))) >> 16))); > } else { > warping_Q16 = 0; > } > > > > > for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { > > int shift, slope_part, flat_part; > flat_part = psEnc->sCmn.fs_kHz * 3; > slope_part = ((psEnc->sCmn.shapeWinLength - flat_part)>>(1)); > > silk_apply_sine_window( x_windowed, x_ptr, 1, slope_part ); > shift = slope_part; > memcpy((x_windowed + shift), (x_ptr + shift), (flat_part * sizeof(opus_int16))); > shift += flat_part; > silk_apply_sine_window( x_windowed + shift, x_ptr + shift, 2, slope_part ); > > > x_ptr += psEnc->sCmn.subfr_length; > > if( psEnc->sCmn.warping_Q16 > 0 ) { > > silk_warped_autocorrelation_FIX( auto_corr, &scale, x_windowed, warping_Q16, psEnc->sCmn.shapeWinLength, psEnc->sCmn.shapingLPCOrder ); > } else { > > silk_autocorr( auto_corr, &scale, x_windowed, psEnc->sCmn.shapeWinLength, psEnc->sCmn.shapingLPCOrder + 1 ); > } > > > auto_corr[0] = ((auto_corr[0]) + (silk_max_32( ((((((auto_corr[ 0 ])>>(4))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((5e-5f) * ((long long)1 << (20)) + 0.5))))) + ((((((auto_corr[ 0 ])>>(4))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((5e-5f) * ((long long)1 << (20)) + 0.5))))) >> 16)), 1 ))) > ; > > > nrg = silk_schur64( refl_coef_Q16, auto_corr, psEnc->sCmn.shapingLPCOrder ); > ; > > > silk_k2a_Q16( AR2_Q24, refl_coef_Q16, psEnc->sCmn.shapingLPCOrder ); > > Qnrg = -scale; > ; > ; > > > if( Qnrg & 1 ) { > Qnrg -= 1; > nrg >>= 1; > } > > tmp32 = silk_SQRT_APPROX( nrg ); > Qnrg >>= 1; > > psEncCtrl->Gains_Q16[ k ] = (((opus_int32)((opus_uint32)(((((((opus_int32)0x80000000))>>((16 - Qnrg)))) > (((0x7FFFFFFF)>>((16 - Qnrg)))) ? (((tmp32)) > (((((opus_int32)0x80000000))>>((16 - Qnrg)))) ? (((((opus_int32)0x80000000))>>((16 - Qnrg)))) : (((tmp32)) < (((0x7FFFFFFF)>>((16 - Qnrg)))) ? (((0x7FFFFFFF)>>((16 - Qnrg)))) : ((tmp32)))) : (((tmp32)) > (((0x7FFFFFFF)>>((16 - Qnrg)))) ? (((0x7FFFFFFF)>>((16 - Qnrg)))) : (((tmp32)) < (((((opus_int32)0x80000000))>>((16 - Qnrg)))) ? (((((opus_int32)0x80000000))>>((16 - Qnrg)))) : ((tmp32))))))<<((16 - Qnrg))))); > > if( psEnc->sCmn.warping_Q16 > 0 ) { > > gain_mult_Q16 = warped_gain( AR2_Q24, warping_Q16, psEnc->sCmn.shapingLPCOrder ); > ; > if ( ((((((((((1) == 1 ? ((psEncCtrl->Gains_Q16[ k ]) >> 1) + ((psEncCtrl->Gains_Q16[ k ]) & 1) : (((psEncCtrl->Gains_Q16[ k ]) >> ((1) - 1)) + 1) >> 1))) >> 16) * (opus_int32)((opus_int16)((gain_mult_Q16)))) + (((((((1) == 1 ? ((psEncCtrl->Gains_Q16[ k ]) >> 1) + ((psEncCtrl->Gains_Q16[ k ]) & 1) : (((psEncCtrl->Gains_Q16[ k ]) >> ((1) - 1)) + 1) >> 1))) & 0x0000FFFF) * (opus_int32)((opus_int16)((gain_mult_Q16)))) >> 16)))) + ((((((1) == 1 ? ((psEncCtrl->Gains_Q16[ k ]) >> 1) + ((psEncCtrl->Gains_Q16[ k ]) & 1) : (((psEncCtrl->Gains_Q16[ k ]) >> ((1) - 1)) + 1) >> 1))) * (((16) == 1 ? (((gain_mult_Q16)) >> 1) + (((gain_mult_Q16)) & 1) : ((((gain_mult_Q16)) >> ((16) - 1)) + 1) >> 1))))) >= ( 0x7FFFFFFF >> 1 ) ) { > psEncCtrl->Gains_Q16[ k ] = 0x7FFFFFFF; > } else { > psEncCtrl->Gains_Q16[ k ] = ((((((((psEncCtrl->Gains_Q16[ k ])) >> 16) * (opus_int32)((opus_int16)((gain_mult_Q16)))) + (((((psEncCtrl->Gains_Q16[ k ])) & 0x0000FFFF) * (opus_int32)((opus_int16)((gain_mult_Q16)))) >> 16)))) + ((((psEncCtrl->Gains_Q16[ k ])) * (((16) == 1 ? (((gain_mult_Q16)) >> 1) + (((gain_mult_Q16)) & 1) : ((((gain_mult_Q16)) >> ((16) - 1)) + 1) >> 1))))); > } > } > > > silk_bwexpander_32( AR2_Q24, psEnc->sCmn.shapingLPCOrder, BWExp2_Q16 ); > > > memcpy((AR1_Q24), (AR2_Q24), (psEnc->sCmn.shapingLPCOrder * sizeof( opus_int32 ))); > > > ; > silk_bwexpander_32( AR1_Q24, psEnc->sCmn.shapingLPCOrder, BWExp1_Q16 ); > > > pre_nrg_Q30 = silk_LPC_inverse_pred_gain_Q24( AR2_Q24, psEnc->sCmn.shapingLPCOrder ); > nrg = silk_LPC_inverse_pred_gain_Q24( AR1_Q24, psEnc->sCmn.shapingLPCOrder ); > > > pre_nrg_Q30 = ((opus_int32)((opus_uint32)(((((pre_nrg_Q30) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.7) * ((long long)1 << (15)) + 0.5))))) + ((((pre_nrg_Q30) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.7) * ((long long)1 << (15)) + 0.5))))) >> 16)))<<(1))); > psEncCtrl->GainsPre_Q14[ k ] = ( int ) ((opus_int32)((0.3) * ((long long)1 << (14)) + 0.5)) + silk_DIV32_varQ( pre_nrg_Q30, nrg, 14 ); > > > limit_warped_coefs( AR2_Q24, AR1_Q24, warping_Q16, ((opus_int32)((3.999) * ((long long)1 << (24)) + 0.5)), psEnc->sCmn.shapingLPCOrder ); > > > for( i = 0; i < psEnc->sCmn.shapingLPCOrder; i++ ) { > psEncCtrl->AR1_Q13[ k * 16 + i ] = (opus_int16)((((11) == 1 ? ((AR1_Q24[ i ]) >> 1) + ((AR1_Q24[ i ]) & 1) : (((AR1_Q24[ i ]) >> ((11) - 1)) + 1) >> 1)) > 0x7FFF ? 0x7FFF : ((((11) == 1 ? ((AR1_Q24[ i ]) >> 1) + ((AR1_Q24[ i ]) & 1) : (((AR1_Q24[ i ]) >> ((11) - 1)) + 1) >> 1)) < ((opus_int16)0x8000) ? ((opus_int16)0x8000) : (((11) == 1 ? ((AR1_Q24[ i ]) >> 1) + ((AR1_Q24[ i ]) & 1) : (((AR1_Q24[ i ]) >> ((11) - 1)) + 1) >> 1)))); > psEncCtrl->AR2_Q13[ k * 16 + i ] = (opus_int16)((((11) == 1 ? ((AR2_Q24[ i ]) >> 1) + ((AR2_Q24[ i ]) & 1) : (((AR2_Q24[ i ]) >> ((11) - 1)) + 1) >> 1)) > 0x7FFF ? 0x7FFF : ((((11) == 1 ? ((AR2_Q24[ i ]) >> 1) + ((AR2_Q24[ i ]) & 1) : (((AR2_Q24[ i ]) >> ((11) - 1)) + 1) >> 1)) < ((opus_int16)0x8000) ? ((opus_int16)0x8000) : (((11) == 1 ? ((AR2_Q24[ i ]) >> 1) + ((AR2_Q24[ i ]) & 1) : (((AR2_Q24[ i ]) >> ((11) - 1)) + 1) >> 1)))); > } > } > > > > > > gain_mult_Q16 = silk_log2lin( -((-((opus_int32)((16.0) * ((long long)1 << (7)) + 0.5))) + ((((SNR_adj_dB_Q7) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.16) * ((long long)1 << (16)) + 0.5))))) + ((((SNR_adj_dB_Q7) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.16) * ((long long)1 << (16)) + 0.5))))) >> 16))) ); > gain_add_Q16 = silk_log2lin( ((((opus_int32)((16.0) * ((long long)1 << (7)) + 0.5))) + ((((((opus_int32)((2) * ((long long)1 << (7)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.16) * ((long long)1 << (16)) + 0.5))))) + ((((((opus_int32)((2) * ((long long)1 << (7)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.16) * ((long long)1 << (16)) + 0.5))))) >> 16))) ); > ; > for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { > psEncCtrl->Gains_Q16[ k ] = ((((((((psEncCtrl->Gains_Q16[ k ])) >> 16) * (opus_int32)((opus_int16)((gain_mult_Q16)))) + (((((psEncCtrl->Gains_Q16[ k ])) & 0x0000FFFF) * (opus_int32)((opus_int16)((gain_mult_Q16)))) >> 16)))) + ((((psEncCtrl->Gains_Q16[ k ])) * (((16) == 1 ? (((gain_mult_Q16)) >> 1) + (((gain_mult_Q16)) & 1) : ((((gain_mult_Q16)) >> ((16) - 1)) + 1) >> 1))))); > ; > psEncCtrl->Gains_Q16[ k ] = ((((psEncCtrl->Gains_Q16[ k ])+(gain_add_Q16)) & 0x80000000) ? 0x7FFFFFFF : ((psEncCtrl->Gains_Q16[ k ])+(gain_add_Q16))); > } > > gain_mult_Q16 = ((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) + ((10) == 1 ? (((((((opus_int32)((0.05f) * ((long long)1 << (26)) + 0.5)))) + (((psEncCtrl->coding_quality_Q14) * (((opus_int32)((0.1f) * ((long long)1 << (12)) + 0.5))))))) >> 1) + (((((((opus_int32)((0.05f) * ((long long)1 << (26)) + 0.5)))) + (((psEncCtrl->coding_quality_Q14) * (((opus_int32)((0.1f) * ((long long)1 << (12)) + 0.5))))))) & 1) : ((((((((opus_int32)((0.05f) * ((long long)1 << (26)) + 0.5)))) + (((psEncCtrl->coding_quality_Q14) * (((opus_int32)((0.1f) * ((long long)1 << (12)) + 0.5))))))) >> ((10) - 1)) + 1) >> 1) > ; > for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { > psEncCtrl->GainsPre_Q14[ k ] = ((((gain_mult_Q16) >> 16) * (opus_int32)((opus_int16)(psEncCtrl->GainsPre_Q14[ k ]))) + ((((gain_mult_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEncCtrl->GainsPre_Q14[ k ]))) >> 16)); > } > > > > > > strength_Q16 = ((((opus_int32)((4.0f) * ((long long)1 << (4)) + 0.5))) * (((((opus_int32)((1.0) * ((long long)1 << (12)) + 0.5))) + ((((((opus_int32)((0.5f) * ((long long)1 << (13)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(psEnc->sCmn.input_quality_bands_Q15[ 0 ] - ((opus_int32)((1.0) * ((long long)1 << (15)) + 0.5))))) + ((((((opus_int32)((0.5f) * ((long long)1 << (13)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->sCmn.input_quality_bands_Q15[ 0 ] - ((opus_int32)((1.0) * ((long long)1 << (15)) + 0.5))))) >> 16))))) > ; > strength_Q16 = ((((strength_Q16) * (psEnc->sCmn.speech_activity_Q8)))>>(8)); > if( psEnc->sCmn.indices.signalType == 2 ) { > > > int fs_kHz_inv = ((opus_int32)((((opus_int32)((0.2) * ((long long)1 << (14)) + 0.5))) / (psEnc->sCmn.fs_kHz))); > for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { > b_Q14 = fs_kHz_inv + ((opus_int32)((((opus_int32)((3.0) * ((long long)1 << (14)) + 0.5))) / (psEncCtrl->pitchL[ k ]))); > > psEncCtrl->LF_shp_Q14[ k ] = ((opus_int32)((opus_uint32)(((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) - b_Q14 - ((((strength_Q16) >> 16) * (opus_int32)((opus_int16)(b_Q14))) + ((((strength_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(b_Q14))) >> 16)))<<(16))); > psEncCtrl->LF_shp_Q14[ k ] |= (opus_uint16)( b_Q14 - ((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) ); > } > ; > Tilt_Q16 = - ((opus_int32)((0.25f) * ((long long)1 << (16)) + 0.5)) - > ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((opus_int32)((0.25f) * ((long long)1 << (16)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(((((((opus_int32)((0.35f) * ((long long)1 << (24)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(psEnc->sCmn.speech_activity_Q8))) + ((((((opus_int32)((0.35f) * ((long long)1 << (24)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->sCmn.speech_activity_Q8))) >> 16))))) + ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((opus_int32)((0.25f) * ((long long)1 << (16)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((((((opus_int32)((0.35f) * ((long long)1 << (24)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(psEnc->sCmn.speech_activity_Q8))) + ((((((opus_int32)((0.35f) * ((long long)1 << (24)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->sCmn.speech_activity_Q8))) >> 16))))) >> 16)) > ; > } else { > b_Q14 = ((opus_int32)((21299) / (psEnc->sCmn.fs_kHz))); > > psEncCtrl->LF_shp_Q14[ 0 ] = ((opus_int32)((opus_uint32)(((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) - b_Q14 - ((((strength_Q16) >> 16) * (opus_int32)((opus_int16)(((((((opus_int32)((0.6) * ((long long)1 << (16)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(b_Q14))) + ((((((opus_int32)((0.6) * ((long long)1 << (16)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(b_Q14))) >> 16))))) + ((((strength_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(((((((opus_int32)((0.6) * ((long long)1 << (16)) + 0.5))) >> 16) * (opus_int32)((opus_int16)(b_Q14))) + ((((((opus_int32)((0.6) * ((long long)1 << (16)) + 0.5))) & 0x0000FFFF) * (opus_int32)((opus_int16)(b_Q14))) >> 16))))) >> 16)))<<(16))) > ; > psEncCtrl->LF_shp_Q14[ 0 ] |= (opus_uint16)( b_Q14 - ((opus_int32)((1.0) * ((long long)1 << (14)) + 0.5)) ); > for( k = 1; k < psEnc->sCmn.nb_subfr; k++ ) { > psEncCtrl->LF_shp_Q14[ k ] = psEncCtrl->LF_shp_Q14[ 0 ]; > } > Tilt_Q16 = -((opus_int32)((0.25f) * ((long long)1 << (16)) + 0.5)); > } > > > > > > HarmBoost_Q16 = ((((((((((opus_int32)((1.0) * ((long long)1 << (17)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(3)))) >> 16) * (opus_int32)((opus_int16)(psEnc->LTPCorr_Q15))) + ((((((opus_int32)((1.0) * ((long long)1 << (17)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(3)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->LTPCorr_Q15))) >> 16))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.1f) * ((long long)1 << (16)) + 0.5))))) + ((((((((((opus_int32)((1.0) * ((long long)1 << (17)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(3)))) >> 16) * (opus_int32)((opus_int16)(psEnc->LTPCorr_Q15))) + ((((((opus_int32)((1.0) * ((long long)1 << (17)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(3)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEnc->LTPCorr_Q15))) >> 16))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.1f) * ((long long)1 << (16)) + 0.5))))) >> 16)) > ; > > > HarmBoost_Q16 = ((HarmBoost_Q16) + ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->input_quality_Q14)<<(2)))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.1f) * ((long long)1 << (16)) + 0.5))))) + ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->input_quality_Q14)<<(2)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.1f) * ((long long)1 << (16)) + 0.5))))) >> 16))) > ; > > if( 1 && psEnc->sCmn.indices.signalType == 2 ) { > > HarmShapeGain_Q16 = ((((opus_int32)((0.3f) * ((long long)1 << (16)) + 0.5))) + ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((((((opus_int32)((1.0) * ((long long)1 << (18)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(4)))) >> 16) * (opus_int32)((opus_int16)(psEncCtrl->input_quality_Q14))) + ((((((opus_int32)((1.0) * ((long long)1 << (18)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(4)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEncCtrl->input_quality_Q14))) >> 16))) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.2f) * ((long long)1 << (16)) + 0.5))))) + ((((((opus_int32)((1.0) * ((long long)1 << (16)) + 0.5)) - ((((((opus_int32)((1.0) * ((long long)1 << (18)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(4)))) >> 16) * (opus_int32)((opus_int16)(psEncCtrl->input_quality_Q14))) + ((((((opus_int32)((1.0) * ((long long)1 << (18)) + 0.5)) - ((opus_int32)((opus_uint32)(psEncCtrl->coding_quality_Q14)<<(4)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(psEncCtrl->input_quality_Q14))) >> 16))) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.2f) * ((long long)1 << (16)) + 0.5))))) >> 16))) > > ; > > > HarmShapeGain_Q16 = ((((((opus_int32)((opus_uint32)(HarmShapeGain_Q16)<<(1)))) >> 16) * (opus_int32)((opus_int16)(silk_SQRT_APPROX( ((opus_int32)((opus_uint32)(psEnc->LTPCorr_Q15)<<(15))) )))) + ((((((opus_int32)((opus_uint32)(HarmShapeGain_Q16)<<(1)))) & 0x0000FFFF) * (opus_int32)((opus_int16)(silk_SQRT_APPROX( ((opus_int32)((opus_uint32)(psEnc->LTPCorr_Q15)<<(15))) )))) >> 16)) > ; > } else { > HarmShapeGain_Q16 = 0; > } > > > > > for( k = 0; k < 4; k++ ) { > psShapeSt->HarmBoost_smth_Q16 = > ((psShapeSt->HarmBoost_smth_Q16) + ((((HarmBoost_Q16 - psShapeSt->HarmBoost_smth_Q16) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.4f) * ((long long)1 << (16)) + 0.5))))) + ((((HarmBoost_Q16 - psShapeSt->HarmBoost_smth_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.4f) * ((long long)1 << (16)) + 0.5))))) >> 16))); > psShapeSt->HarmShapeGain_smth_Q16 = > ((psShapeSt->HarmShapeGain_smth_Q16) + ((((HarmShapeGain_Q16 - psShapeSt->HarmShapeGain_smth_Q16) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.4f) * ((long long)1 << (16)) + 0.5))))) + ((((HarmShapeGain_Q16 - psShapeSt->HarmShapeGain_smth_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.4f) * ((long long)1 << (16)) + 0.5))))) >> 16))); > psShapeSt->Tilt_smth_Q16 = > ((psShapeSt->Tilt_smth_Q16) + ((((Tilt_Q16 - psShapeSt->Tilt_smth_Q16) >> 16) * (opus_int32)((opus_int16)(((opus_int32)((0.4f) * ((long long)1 << (16)) + 0.5))))) + ((((Tilt_Q16 - psShapeSt->Tilt_smth_Q16) & 0x0000FFFF) * (opus_int32)((opus_int16)(((opus_int32)((0.4f) * ((long long)1 << (16)) + 0.5))))) >> 16))); > > psEncCtrl->HarmBoost_Q14[ k ] = ( int )((2) == 1 ? ((psShapeSt->HarmBoost_smth_Q16) >> 1) + ((psShapeSt->HarmBoost_smth_Q16) & 1) : (((psShapeSt->HarmBoost_smth_Q16) >> ((2) - 1)) + 1) >> 1); > psEncCtrl->HarmShapeGain_Q14[ k ] = ( int )((2) == 1 ? ((psShapeSt->HarmShapeGain_smth_Q16) >> 1) + ((psShapeSt->HarmShapeGain_smth_Q16) & 1) : (((psShapeSt->HarmShapeGain_smth_Q16) >> ((2) - 1)) + 1) >> 1); > psEncCtrl->Tilt_Q14[ k ] = ( int )((2) == 1 ? ((psShapeSt->Tilt_smth_Q16) >> 1) + ((psShapeSt->Tilt_smth_Q16) & 1) : (((psShapeSt->Tilt_smth_Q16) >> ((2) - 1)) + 1) >> 1); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 843923
: 600831