Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 129341 Details for
Bug 190423
media-libs/amrwb-7.0.0.1 internal gcc-4.2 problem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
preprocessed source file
ccKhRubh.out (text/plain), 37.10 KB, created by
Jochen Schlick
on 2007-08-27 16:54:58 UTC
(
hide
)
Description:
preprocessed source file
Filename:
MIME Type:
Creator:
Jochen Schlick
Created:
2007-08-27 16:54:58 UTC
Size:
37.10 KB
patch
obsolete
>// /usr/libexec/gcc/x86_64-pc-linux-gnu/4.2.0/cc1 -fpreprocessed /var/tmp/portage/ccache/dec_gain.tmp.treviso.31760.i -quiet -dumpbase dec_gain.tmp.treviso.31760.i -march=k8 -msse3 -auxbase-strip /var/tmp/portage/ccache/tmp.hash.treviso.31760.o -O2 -ftree-vectorize -fPIC -o - -frandom-seed=0 ># 1 "dec_gain.c" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "dec_gain.c" > > > > > > ># 1 "/usr/include/memory.h" 1 3 4 ># 9 "/usr/include/memory.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/memory.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/memory.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 9 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/features.h" 1 3 4 ># 322 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 > ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 9 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 1 3 4 ># 324 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 325 "/usr/include/gentoo-multilib/amd64/sys/cdefs.h" 2 3 4 ># 9 "/usr/include/sys/cdefs.h" 2 3 4 ># 323 "/usr/include/gentoo-multilib/amd64/features.h" 2 3 4 ># 345 "/usr/include/gentoo-multilib/amd64/features.h" 3 4 > ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 9 "/usr/include/gnu/stubs.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 1 3 4 > > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 5 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 2 3 4 > > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 > > > > ># 1 "/usr/include/gentoo-multilib/amd64/gnu/stubs-64.h" 1 3 4 ># 5 "/usr/include/gnu/stubs-64.h" 2 3 4 ># 10 "/usr/include/gentoo-multilib/amd64/gnu/stubs.h" 2 3 4 ># 9 "/usr/include/gnu/stubs.h" 2 3 4 ># 346 "/usr/include/gentoo-multilib/amd64/features.h" 2 3 4 ># 9 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/memory.h" 2 3 4 > > > > ># 1 "/usr/include/string.h" 1 3 4 ># 9 "/usr/include/string.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/string.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/string.h" 2 3 4 > > > > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 34 "/usr/include/gentoo-multilib/amd64/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 82 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 130 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 181 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); ># 240 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 254 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); ># 270 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 294 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 331 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 354 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 420 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 > ># 1 "/usr/include/bits/string.h" 1 3 4 ># 9 "/usr/include/bits/string.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/string.h" 1 3 4 ># 9 "/usr/include/bits/string.h" 2 3 4 ># 421 "/usr/include/gentoo-multilib/amd64/string.h" 2 3 4 > > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 9 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 1 3 4 ># 52 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 > ># 1 "/usr/include/endian.h" 1 3 4 ># 9 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/endian.h" 1 3 4 ># 22 "/usr/include/gentoo-multilib/amd64/endian.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 23 "/usr/include/gentoo-multilib/amd64/endian.h" 2 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/endian.h" 3 4 > ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 9 "/usr/include/bits/endian.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/endian.h" 1 3 4 ># 9 "/usr/include/bits/endian.h" 2 3 4 ># 38 "/usr/include/gentoo-multilib/amd64/endian.h" 2 3 4 ># 9 "/usr/include/endian.h" 2 3 4 ># 53 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 2 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 9 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/types.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/bits/types.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/bits/types.h" 2 3 4 > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 ># 32 "/usr/include/gentoo-multilib/amd64/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; ># 134 "/usr/include/gentoo-multilib/amd64/bits/types.h" 3 4 > ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 9 "/usr/include/bits/typesizes.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/typesizes.h" 1 3 4 ># 9 "/usr/include/bits/typesizes.h" 2 3 4 ># 135 "/usr/include/gentoo-multilib/amd64/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; ># 9 "/usr/include/bits/types.h" 2 3 4 ># 54 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 2 3 4 ># 394 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __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 size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __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 size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __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/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __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 size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __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/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __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 char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __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; >} ># 1173 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __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; >} ># 1205 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1223 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __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 char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __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 char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __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; >} ># 1299 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 9 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/stdlib.h" 1 3 4 ># 25 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/stdlib.h" 2 3 4 ># 34 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/include/stddef.h" 1 3 4 ># 34 "/usr/include/gentoo-multilib/amd64/stdlib.h" 2 3 4 ># 587 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; ># 976 "/usr/include/gentoo-multilib/amd64/stdlib.h" 3 4 ># 9 "/usr/include/stdlib.h" 2 3 4 ># 1300 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 1323 "/usr/include/gentoo-multilib/amd64/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 9 "/usr/include/bits/string2.h" 2 3 4 ># 424 "/usr/include/gentoo-multilib/amd64/string.h" 2 3 4 ># 432 "/usr/include/gentoo-multilib/amd64/string.h" 3 4 ># 9 "/usr/include/string.h" 2 3 4 ># 31 "/usr/include/gentoo-multilib/amd64/memory.h" 2 3 4 ># 9 "/usr/include/memory.h" 2 3 4 ># 7 "dec_gain.c" 2 > ># 1 "typedef.h" 1 ># 10 "typedef.h" > ># 1 "/usr/include/stdint.h" 1 3 4 ># 9 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/stdint.h" 1 3 4 ># 26 "/usr/include/gentoo-multilib/amd64/stdint.h" 3 4 > ># 1 "/usr/include/features.h" 1 3 4 ># 27 "/usr/include/gentoo-multilib/amd64/stdint.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 9 "/usr/include/bits/wchar.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wchar.h" 1 3 4 ># 9 "/usr/include/bits/wchar.h" 2 3 4 ># 28 "/usr/include/gentoo-multilib/amd64/stdint.h" 2 3 4 > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 3 4 ># 1 "/usr/include/gentoo-multilib/amd64/bits/wordsize.h" 1 3 4 ># 9 "/usr/include/bits/wordsize.h" 2 3 4 ># 29 "/usr/include/gentoo-multilib/amd64/stdint.h" 2 3 4 ># 37 "/usr/include/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/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/gentoo-multilib/amd64/stdint.h" 3 4 >typedef long int intptr_t; > > >typedef unsigned long int uintptr_t; ># 135 "/usr/include/gentoo-multilib/amd64/stdint.h" 3 4 >typedef long int intmax_t; >typedef unsigned long int uintmax_t; ># 9 "/usr/include/stdint.h" 2 3 4 ># 11 "typedef.h" 2 >typedef int8_t Word8; >typedef int8_t UWord8; >typedef int16_t Word16; >typedef uint16_t UWord16; >typedef int32_t Word32; >typedef double Float64; >typedef float Float32; ># 8 "dec_gain.c" 2 > ># 1 "dec_util.h" 1 ># 10 "dec_util.h" > ># 1 "dec_main.h" 1 ># 10 "dec_main.h" > ># 1 "dec_dtx.h" 1 ># 17 "dec_dtx.h" >typedef struct { > Word16 mem_isf_buf[16 * 8]; > Word16 mem_isf[16]; > Word16 mem_isf_prev[16]; > Word16 mem_log_en_buf[8]; > Word16 mem_true_sid_period_inv; > Word16 mem_log_en; > Word16 mem_log_en_prev; > Word16 mem_cng_seed; > Word16 mem_hist_ptr; > Word16 mem_dither_seed; > Word16 mem_cn_dith; > Word16 mem_since_last_sid; > > UWord8 mem_dec_ana_elapsed_count; > UWord8 mem_dtx_global_state; > UWord8 mem_data_updated; > UWord8 mem_dtx_hangover_count; > UWord8 mem_sid_frame; > UWord8 mem_valid_data; > UWord8 mem_dtx_hangover_added; > >} D_DTX_State; > >int D_DTX_init(D_DTX_State **st, const Word16 *isf_init); >int D_DTX_reset(D_DTX_State *st, const Word16 *isf_init); >void D_DTX_exit(D_DTX_State **st); >UWord8 D_DTX_rx_handler(D_DTX_State *st, UWord8 frame_type); >void D_DTX_exe(D_DTX_State *st, Word16 *exc2, Word16 new_state, > Word16 isf[], Word16 **prms); >void D_DTX_activity_update(D_DTX_State *st, Word16 isf[], Word16 exc[]); ># 11 "dec_main.h" 2 ># 20 "dec_main.h" >typedef struct >{ > Word32 mem_gc_thres; > Word16 mem_exc[(256 + 1) + 231 + (16 + 1)]; > Word16 mem_isf_buf[3 * 16]; > Word16 mem_hf[2 * 15]; > Word16 mem_hf2[2 * 15]; > Word16 mem_hf3[2 * 15]; > Word16 mem_oversamp[2 * 12]; > Word16 mem_gain[23]; > Word16 mem_syn_hf[20]; > Word16 mem_isp[16]; > Word16 mem_isf[16]; > Word16 mem_isf_q[16]; > Word16 mem_syn_hi[16]; > Word16 mem_syn_lo[16]; > Word16 mem_ph_disp[8]; > Word16 mem_sig_out[6]; > Word16 mem_hp400[6]; > Word16 mem_lag[5]; > Word16 mem_subfr_q[4]; > Word16 mem_tilt_code; > Word16 mem_q; > Word16 mem_deemph; > Word16 mem_seed; > Word16 mem_seed2; > Word16 mem_seed3; > Word16 mem_T0; > Word16 mem_T0_frac; > UWord16 mem_vad_hist; > D_DTX_State *dtx_decSt; > UWord8 mem_bfi; > UWord8 mem_state; > UWord8 mem_first_frame; > >} Decoder_State; ># 11 "dec_util.h" 2 > >Word16 D_UTIL_random(Word16 *seed); > >Word32 D_UTIL_pow2(Word16 exponant, Word16 fraction); >Word16 D_UTIL_norm_l (Word32 L_var1); >Word16 D_UTIL_norm_s (Word16 var1); >Word32 D_UTIL_dot_product12(Word16 x[], Word16 y[], Word16 lg, Word16 *exp); >void D_UTIL_normalised_inverse_sqrt(Word32 *frac, Word16 *exp); >Word32 D_UTIL_inverse_sqrt(Word32 L_x); >void D_UTIL_log2(Word32 L_x, Word16 *exponent, Word16 *fraction); >void D_UTIL_l_extract(Word32 L_32, Word16 *hi, Word16 *lo); >Word32 D_UTIL_mpy_32_16 (Word16 hi, Word16 lo, Word16 n); >Word32 D_UTIL_mpy_32 (Word16 hi1, Word16 lo1, Word16 hi2, Word16 lo2); >Word16 D_UTIL_saturate(Word32 inp); >void D_UTIL_signal_up_scale(Word16 x[], Word16 lg, Word16 exp); >void D_UTIL_signal_down_scale(Word16 x[], Word16 lg, Word16 exp); >void D_UTIL_dec_synthesis(Word16 Aq[], Word16 exc[], Word16 Q_new, > Word16 synth16k[], Word16 prms, Word16 HfIsf[], > Word16 mode, Word16 newDTXState, Word16 bfi, > Decoder_State *st); >void D_UTIL_preemph(Word16 x[], Word16 mu, Word16 lg, Word16 *mem); ># 9 "dec_gain.c" 2 ># 17 "dec_gain.c" >extern const Word16 D_ROM_inter4_2[]; >extern const Word16 D_ROM_pdown_unusable[]; >extern const Word16 D_ROM_pdown_usable[]; >extern const Word16 D_ROM_cdown_unusable[]; >extern const Word16 D_ROM_cdown_usable[]; >extern const Word16 D_ROM_qua_gain6b[]; >extern const Word16 D_ROM_qua_gain7b[]; ># 37 "dec_gain.c" >void D_GAIN_init(Word16 *mem) >{ > > > mem[0] = -14336; > mem[1] = -14336; > mem[2] = -14336; > mem[3] = -14336; ># 53 "dec_gain.c" > memset(&mem[4], 0, 18 * sizeof(Word16)); > > mem[22] = 21845; > return; >} ># 72 "dec_gain.c" >static Word16 D_GAIN_median(Word16 x[]) >{ > Word16 x1, x2, x3, x4, x5; > Word16 tmp; > x1 = x[ - 2]; > x2 = x[ - 1]; > x3 = x[0]; > x4 = x[1]; > x5 = x[2]; > > if(x2 < x1) > { > tmp = x1; > x1 = x2; > x2 = tmp; > } > > if(x3 < x1) > { > tmp = x1; > x1 = x3; > x3 = tmp; > } > > if(x4 < x1) > { > tmp = x1; > x1 = x4; > x4 = tmp; > } > > if(x5 < x1) > { > x5 = x1; > } > > if(x3 < x2) > { > tmp = x2; > x2 = x3; > x3 = tmp; > } > > if(x4 < x2) > { > tmp = x2; > x2 = x4; > x4 = tmp; > } > > if(x5 < x2) > { > x5 = x2; > } > > if(x4 < x3) > { > x3 = x4; > } > > if(x5 < x3) > { > x3 = x5; > } > > return(x3); >} ># 165 "dec_gain.c" >void D_GAIN_decode(Word16 index, Word16 nbits, Word16 code[], Word16 *gain_pit, > Word32 *gain_cod, Word16 bfi, Word16 prev_bfi, > Word16 state, Word16 unusable_frame, Word16 vad_hist, > Word16 *mem) >{ > > Word32 gcode0, qua_ener, L_tmp; > const Word16 * p; > Word16 *past_gain_pit, *past_gain_code, *past_qua_en, *prev_gc; > Word16 *gbuf, *pbuf, *pbuf2; > Word16 i, tmp, exp, frac, exp_gcode0, gcode_inov; > Word16 g_code; > > past_qua_en = mem; > past_gain_pit = mem + 4; > past_gain_code = mem + 5; > prev_gc = mem + 6; > pbuf = mem + 7; > gbuf = mem + 12; > pbuf2 = mem + 17; > > > > > > > L_tmp = D_UTIL_dot_product12(code, code, 64, &exp); > exp = (Word16)(exp - (18 + 6)); > D_UTIL_normalised_inverse_sqrt(&L_tmp, &exp); > > if(exp > 3) > { > L_tmp <<= (exp - 3); > } > else > { > L_tmp >>= (3 - exp); > } > > gcode_inov = (Word16)(L_tmp >>16); > > > > > if(bfi != 0) > { > tmp = D_GAIN_median(&pbuf[2]); > *past_gain_pit = tmp; > > if(*past_gain_pit > 15565) > { > *past_gain_pit = 15565; > } > > if(unusable_frame != 0) > { > *gain_pit = > (Word16)((D_ROM_pdown_unusable[state] * *past_gain_pit) >> 15); > } > else > { > *gain_pit = > (Word16)((D_ROM_pdown_usable[state] * *past_gain_pit) >> 15); > } > > tmp = D_GAIN_median(&gbuf[2]); > > if(vad_hist > 2) > { > *past_gain_code = tmp; > } > else > { > if(unusable_frame != 0) > { > *past_gain_code = > (Word16)((D_ROM_cdown_unusable[state] * tmp) >> 15); > } > else > { > *past_gain_code = > (Word16)((D_ROM_cdown_usable[state] * tmp) >> 15); > } > } > > > L_tmp = past_qua_en[0] + past_qua_en[1]+ past_qua_en[2] + past_qua_en[3]; > qua_ener = L_tmp >> 2; > qua_ener = qua_ener - 3072; > > if(qua_ener < - 14336) > { > qua_ener = -14336; > } > > past_qua_en[3] = past_qua_en[2]; > past_qua_en[2] = past_qua_en[1]; > past_qua_en[1] = past_qua_en[0]; > past_qua_en[0] = (Word16)qua_ener; > > for(i = 1; i < 5; i++) > { > gbuf[i - 1] = gbuf[i]; > } > gbuf[4] = *past_gain_code; > > for(i = 1; i < 5; i++) > { > pbuf[i - 1] = pbuf[i]; > } > pbuf[4] = *past_gain_pit; > > > > *gain_cod = (*past_gain_code * gcode_inov) << 1; > > return; > } ># 291 "dec_gain.c" > L_tmp = 0xF000000 + (4096 * past_qua_en[0]); > L_tmp = L_tmp + (3277 * past_qua_en[1]); > L_tmp = L_tmp + (2458 * past_qua_en[2]); > L_tmp = L_tmp + (1638 * past_qua_en[3]); > gcode0 = L_tmp >> 15; > > > > > > > L_tmp = (gcode0 * 5443) >> 7; > > D_UTIL_l_extract(L_tmp, &exp_gcode0, &frac); > > gcode0 = D_UTIL_pow2(14, frac); > > > > > > exp_gcode0 = (Word16)(exp_gcode0 - 14); > > > if(nbits == 6) > { > p = &D_ROM_qua_gain6b[(index << 1)]; > } > else > { > p = &D_ROM_qua_gain7b[(index << 1)]; > } > > *gain_pit = *p++; > g_code = *p++; > L_tmp = g_code * gcode0; > exp_gcode0 += 5; > > if(exp_gcode0 >= 0) > { > *gain_cod = L_tmp << exp_gcode0; > } > else > { > *gain_cod = L_tmp >> -exp_gcode0; > } > > if(prev_bfi == 1) > { > L_tmp = (*prev_gc * 5120) << 1; > > > if((*gain_cod > L_tmp) & (*gain_cod > 6553600)) > { > *gain_cod = L_tmp; > } > } > > > L_tmp = (*gain_cod + 0x1000) >> 13; > > if(L_tmp < 32768) > { > *past_gain_code = (Word16)L_tmp; > } > else > { > *past_gain_code = 32767; > } > > *past_gain_pit = *gain_pit; > *prev_gc = *past_gain_code; > > for(i = 1; i < 5; i++) > { > gbuf[i - 1] = gbuf[i]; > } > gbuf[4] = *past_gain_code; > > for(i = 1; i < 5; i++) > { > pbuf[i - 1] = pbuf[i]; > } > pbuf[4] = *past_gain_pit; > > for(i = 1; i < 5; i++) > { > pbuf2[i - 1] = pbuf2[i]; > } > pbuf2[4] = *past_gain_pit; > > > D_UTIL_l_extract(*gain_cod, &exp, &frac); > L_tmp = D_UTIL_mpy_32_16(exp, frac, gcode_inov); > > if(L_tmp < 0xFFFFFFF) > { > *gain_cod = (L_tmp << 3); > } > else > { > *gain_cod = 0x7FFFFFFF; > } > > > > > > > L_tmp = (Word32)(g_code); > D_UTIL_log2(L_tmp, &exp, &frac); > exp = (Word16)(exp - 11); > L_tmp = D_UTIL_mpy_32_16(exp, frac, 24660); > qua_ener = L_tmp >>3; > > > past_qua_en[3] = past_qua_en[2]; > past_qua_en[2] = past_qua_en[1]; > past_qua_en[1] = past_qua_en[0]; > past_qua_en[0] = (Word16)qua_ener; > > return; >} ># 432 "dec_gain.c" >void D_GAIN_adaptive_control(Word16 *sig_in, Word16 *sig_out, Word16 l_trm) >{ > Word32 s, temp, i, exp; > Word32 gain_in, gain_out, g0; > > > temp = sig_out[0] >> 2; > s = temp * temp; > > for(i = 1; i < l_trm; i++) > { > temp = sig_out[i] >> 2; > s += temp * temp; > } > > s <<= 1; > > if(s == 0) > { > return; > } > exp = (D_UTIL_norm_l(s) - 1); > > if(exp >= 0) > { > gain_out = ((s << exp) + 0x8000) >> 16; > } > else > { > gain_out = ((s >> -exp) + 0x8000) >> 16; > } > > > temp = sig_in[0] >> 2; > s = temp * temp; > > for(i = 1; i < l_trm; i++) > { > temp = sig_in[i] >> 2; > s += temp * temp; > } > > s <<= 1; > > if(s == 0) > { > g0 = 0; > } > else > { > i = D_UTIL_norm_l(s); > s = ((s << i) + 0x8000) >> 16; > > if((s < 32768) & (s > 0)) > { > gain_in = s; > } > else > { > gain_in = 32767; > } > exp = exp - i; > > > > > s = (gain_out << 15) / gain_in; > s = s << (7 - exp); > s = D_UTIL_inverse_sqrt(s); > g0 = ((s << 9) + 0x8000) >> 16; > } > > > for(i = 0; i < l_trm; i++) > { > s = (sig_out[i] * g0) >> 13; > sig_out[i] = D_UTIL_saturate(s); > } > > return; >} ># 529 "dec_gain.c" >static void D_GAIN_insert_lag(Word16 array[], Word32 n, Word16 x) >{ > Word32 i; > > for(i = n - 1; i >= 0; i--) > { > if(x < array[i]) > { > array[i + 1] = array[i]; > } > else > { > break; > } > } > > array[i + 1] = x; >} ># 562 "dec_gain.c" >static void D_GAIN_sort_lag(Word16 array[], Word16 n) >{ > Word32 i; > > for(i = 0; i < n; i++) > { > D_GAIN_insert_lag(array, i, array[i]); > } >} ># 585 "dec_gain.c" >void D_GAIN_lag_concealment_init(Word16 lag_hist[]) >{ > Word32 i; > > for(i = 0; i < 5; i++) > { > lag_hist[i] = 64; > } >} ># 613 "dec_gain.c" >void D_GAIN_lag_concealment(Word16 gain_hist[], Word16 lag_hist[], > Word32 *T0, Word16 *old_T0, Word16 *seed, > Word16 unusable_frame) >{ > Word32 i, lagDif, tmp, tmp2, D2, meanLag = 0; > Word16 lag_hist2[5] = {0}; > Word16 maxLag, minLag, lastLag; > Word16 minGain, lastGain, secLastGain; > Word16 D; > > > > > > lastGain = gain_hist[4]; > secLastGain = gain_hist[3]; > lastLag = lag_hist[0]; > > > minLag = lag_hist[0]; > > for(i = 1; i < 5; i++) > { > if(lag_hist[i] < minLag) > { > minLag = lag_hist[i]; > } > } > > > maxLag = lag_hist[0]; > > for(i = 1; i < 5; i++) > { > if(lag_hist[i] > maxLag) > { > maxLag = lag_hist[i]; > } > } > > > minGain = gain_hist[0]; > > for(i = 1; i < 5; i++) > { > if(gain_hist[i] < minGain) > { > minGain = gain_hist[i]; > } > } > > > lagDif = maxLag - minLag; > > if(unusable_frame != 0) > { > > > > > if((minGain > 8192) & (lagDif < 10)) > { > *T0 = *old_T0; > } > else if((lastGain > 8192) && (secLastGain > 8192)) > { > *T0 = lag_hist[0]; > } > else > { > > > > > for(i = 0; i < 5; i++) > { > lag_hist2[i] = lag_hist[i]; > } > D_GAIN_sort_lag(lag_hist2, 5); > > > > > > lagDif = (lag_hist2[4] - lag_hist2[2]); > > if(lagDif > 40) > { > lagDif = 40; > } > > D = D_UTIL_random(seed); > > > tmp = lagDif >> 1; > D2 = (tmp * D) >> 15; > tmp = (lag_hist2[2] + lag_hist2[3]) + lag_hist2[4]; > *T0 = ((tmp * 10923) >> 15) + D2; > } > > > if(*T0 > maxLag) > { > *T0 = maxLag; > } > > if(*T0 < minLag) > { > *T0 = minLag; > } > } > else > { > > > > > meanLag = 0; > > for(i = 0; i < 5; i++) > { > meanLag = meanLag + lag_hist[i]; > } > > meanLag = (meanLag * 6554) >> 15; > tmp = *T0 - maxLag; > tmp2 = *T0 - lastLag; > > if((lagDif < 10) & (*T0 > (minLag - 5)) & (tmp < 5)) > { > *T0 = *T0; > } > else if((lastGain > 8192) & (secLastGain > 8192) & ((tmp2 > - 10) > & (tmp2 < 10))) > { > *T0 = *T0; > } > else if((minGain < 6554) & (lastGain == minGain) & ((*T0 > minLag) > & (*T0 < maxLag))) > { > *T0 = *T0; > } > else if((lagDif < 70) & (*T0 > minLag) & (*T0 < maxLag)) > { > *T0 = *T0; > } > else if((*T0 > meanLag) & (*T0 < maxLag)) > { > *T0 = *T0; > } > else > { > if((minGain > 8192) & (lagDif < 10)) > { > *T0 = lag_hist[0]; > } > else if((lastGain > 8192) & (secLastGain > 8192)) > { > *T0 = lag_hist[0]; > } > else > { > > > > > for(i = 0; i < 5; i++) > { > lag_hist2[i] = lag_hist[i]; > } > > D_GAIN_sort_lag(lag_hist2, 5); > > > > > > lagDif = lag_hist2[4] - lag_hist2[2]; > > if(lagDif > 40) > { > lagDif = 40; > } > > D = D_UTIL_random(seed); > > > tmp = lagDif >> 1; > D2 = (tmp * D) >> 15; > tmp = (lag_hist2[2] + lag_hist2[3]) + lag_hist2[4]; > *T0 = ((tmp * 10923) >> 15) + D2; > } > > > > > > if(*T0 > maxLag) > { > *T0 = maxLag; > } > > if(*T0 < minLag) > { > *T0 = minLag; > } > } > } >} ># 839 "dec_gain.c" >void D_GAIN_adaptive_codebook_excitation(Word16 exc[], Word32 T0, Word32 frac) >{ > Word32 i, j, k, sum; > Word16 *x; > > x = &exc[ - T0]; > frac = -(frac); > > if(frac < 0) > { > frac = (frac + 4); > x--; > } > x = x - 16 + 1; > > for(j = 0; j < 64 + 1; j++) > { > sum = 0L; > > for(i = 0, k = ((4 - 1) - frac); i < 2 * 16; i++, > k += 4) > { > sum += x[i] * D_ROM_inter4_2[k]; > } > sum = (sum + 0x2000) >> 14; > > exc[j] = D_UTIL_saturate(sum); > > x++; > } > return; >} ># 887 "dec_gain.c" >void D_GAIN_pitch_sharpening(Word16 *x, Word32 pit_lag, Word16 sharp) >{ > Word32 i; > Word32 tmp; > > for(i = pit_lag; i < 64; i++) > { > tmp = x[i] << 15; > tmp += x[i - pit_lag] * sharp; > x[i] = (Word16)((tmp + 0x4000) >> 15); > } > return; >} ># 919 "dec_gain.c" >Word16 D_GAIN_find_voice_factor(Word16 exc[], Word16 Q_exc, > Word16 gain_pit, Word16 code[], > Word16 gain_code, Word16 L_subfr) >{ > > Word32 tmp, ener1, ener2, i; > Word16 exp, exp1, exp2; > > ener1 = (D_UTIL_dot_product12(exc, exc, L_subfr, &exp1)) >> 16; > exp1 = (Word16)(exp1 - (Q_exc + Q_exc)); > tmp = (gain_pit * gain_pit) << 1; > exp = D_UTIL_norm_l(tmp); > tmp = (tmp << exp) >> 16; > ener1 = (ener1 * tmp) >> 15; > exp1 = (Word16)((exp1 - exp) - 10); > ener2 = D_UTIL_dot_product12(code, code, L_subfr, &exp2) >> 16; > exp = D_UTIL_norm_s(gain_code); > tmp = gain_code << exp; > tmp = (tmp * tmp) >> 15; > ener2 = (ener2 * tmp) >> 15; > exp2 = (Word16)(exp2 - (exp << 1)); > i = exp1 - exp2; > > if(i >= 0) > { > ener1 = ener1 >> 1; > ener2 = ener2 >> (i + 1); > } > else if(i > (-16)) > { > ener1 = ener1 >> (1 - i); > ener2 = ener2 >> 1; > } > else > { > ener1 = 0; > ener2 = ener2 >> 1; > } > > tmp = ener1 - ener2; > ener1 = (ener1 + ener2) + 1; > tmp = (tmp << 15) / ener1; > > return((Word16)tmp); >}
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 190423
:
129340
| 129341