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 641117 Details for
Bug 874869
internal compiler error: in insert_clobbers_for_var, at tree-ssa-ccp.c:1795 at O2 and O1
[?]
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.
preprocessed source
test.c (text/x-csrc), 189.86 KB, created by
Gregory Maxwell
on 2012-11-08 23:48:29 UTC
(
hide
)
Description:
preprocessed source
Filename:
MIME Type:
Creator:
Gregory Maxwell
Created:
2012-11-08 23:48:29 UTC
Size:
189.86 KB
patch
obsolete
># 1 "src/opus_decoder.c" ># 1 "/home/gmaxwell/src/op2/opus//" ># 1 "<command-line>" ># 1 "src/opus_decoder.c" ># 29 "src/opus_decoder.c" ># 1 "./config.h" 1 ># 30 "src/opus_decoder.c" 2 > > > > > > ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stdarg.h" 1 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdarg.h" 1 3 4 ># 45 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 107 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdarg.h" 3 4 >typedef __gnuc_va_list va_list; ># 140 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdarg.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_stdarg.h" 1 3 4 ># 14 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_stdarg.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/vadefs.h" 1 3 4 ># 9 "/usr/i686-w64-mingw32/sys-root/mingw/include/vadefs.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 1 3 4 ># 12 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_mac.h" 1 3 4 ># 13 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 2 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_secapi.h" 1 3 4 ># 14 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 2 3 4 ># 276 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/vadefs.h" 1 3 4 ># 277 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 2 3 4 > > >#pragma pack(push,_CRT_PACKING) ># 373 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 >typedef unsigned int size_t; ># 383 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 >typedef int ssize_t; ># 395 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 >typedef int intptr_t; ># 408 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 >typedef unsigned int uintptr_t; ># 421 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 >typedef int ptrdiff_t; > > > > > > > >typedef unsigned short wchar_t; > > > > > > > >typedef unsigned short wint_t; >typedef unsigned short wctype_t; ># 457 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 >typedef int errno_t; > > > > >typedef long __time32_t; > > > > >__extension__ typedef long long __time64_t; > > > > > >typedef __time32_t time_t; ># 643 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 >void __attribute__((__cdecl__)) __debugbreak(void); >extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) void __attribute__((__cdecl__)) __debugbreak(void) >{ > __asm__ __volatile__("int $3"); >} > > > > >const char *__mingw_get_crt_info (void); > > > > > > >#pragma pack(pop) ># 673 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/sdks/_mingw_directx.h" 1 3 4 ># 674 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 2 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/sdks/_mingw_ddk.h" 1 3 4 ># 675 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 2 3 4 ># 10 "/usr/i686-w64-mingw32/sys-root/mingw/include/vadefs.h" 2 3 4 > > >#pragma pack(push,_CRT_PACKING) ># 101 "/usr/i686-w64-mingw32/sys-root/mingw/include/vadefs.h" 3 4 >#pragma pack(pop) ># 15 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_stdarg.h" 2 3 4 ># 141 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdarg.h" 2 3 4 ># 2 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stdarg.h" 2 3 4 ># 37 "src/opus_decoder.c" 2 ># 1 "./celt/celt.h" 1 ># 38 "./celt/celt.h" ># 1 "./include/opus_types.h" 1 ># 38 "./include/opus_types.h" ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stdint.h" 1 3 4 > > ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdint.h" 1 3 4 ># 28 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdint.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/crtdefs.h" 1 3 4 ># 10 "/usr/i686-w64-mingw32/sys-root/mingw/include/crtdefs.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h" 1 3 4 ># 11 "/usr/i686-w64-mingw32/sys-root/mingw/include/crtdefs.h" 2 3 4 ># 26 "/usr/i686-w64-mingw32/sys-root/mingw/include/crtdefs.h" 3 4 >typedef size_t rsize_t; ># 153 "/usr/i686-w64-mingw32/sys-root/mingw/include/crtdefs.h" 3 4 >struct threadlocaleinfostruct; >struct threadmbcinfostruct; >typedef struct threadlocaleinfostruct *pthreadlocinfo; >typedef struct threadmbcinfostruct *pthreadmbcinfo; >struct __lc_time_data; > >typedef struct localeinfo_struct { > pthreadlocinfo locinfo; > pthreadmbcinfo mbcinfo; >} _locale_tstruct,*_locale_t; > > > >typedef struct tagLC_ID { > unsigned short wLanguage; > unsigned short wCountry; > unsigned short wCodePage; >} LC_ID,*LPLC_ID; > > > > >typedef struct threadlocaleinfostruct { > int refcount; > unsigned int lc_codepage; > unsigned int lc_collate_cp; > unsigned long lc_handle[6]; > LC_ID lc_id[6]; > struct { > char *locale; > wchar_t *wlocale; > int *refcount; > int *wrefcount; > } lc_category[6]; > int lc_clike; > int mb_cur_max; > int *lconv_intl_refcount; > int *lconv_num_refcount; > int *lconv_mon_refcount; > struct lconv *lconv; > int *ctype1_refcount; > unsigned short *ctype1; > const unsigned short *pctype; > const unsigned char *pclmap; > const unsigned char *pcumap; > struct __lc_time_data *lc_time_curr; >} threadlocinfo; ># 29 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdint.h" 2 3 4 > > > ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stddef.h" 1 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stddef.h" 1 3 4 ># 18 "/usr/i686-w64-mingw32/sys-root/mingw/include/stddef.h" 3 4 > __attribute__ ((__dllimport__)) extern int *__attribute__((__cdecl__)) _errno(void); > > errno_t __attribute__((__cdecl__)) _set_errno(int _Value); > errno_t __attribute__((__cdecl__)) _get_errno(int *_Value); > > > __attribute__ ((__dllimport__)) extern unsigned long __attribute__((__cdecl__)) __threadid(void); > > __attribute__ ((__dllimport__)) extern uintptr_t __attribute__((__cdecl__)) __threadhandle(void); ># 2 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stddef.h" 2 3 4 ># 33 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdint.h" 2 3 4 > > >typedef signed char int8_t; >typedef unsigned char uint8_t; >typedef short int16_t; >typedef unsigned short uint16_t; >typedef int int32_t; >typedef unsigned uint32_t; >__extension__ typedef long long int64_t; >__extension__ typedef unsigned long long uint64_t; > > >typedef signed char int_least8_t; >typedef unsigned char uint_least8_t; >typedef short int_least16_t; >typedef unsigned short uint_least16_t; >typedef int int_least32_t; >typedef unsigned uint_least32_t; >__extension__ typedef long long int_least64_t; >__extension__ typedef unsigned long long uint_least64_t; > > > > > >typedef signed char int_fast8_t; >typedef unsigned char uint_fast8_t; >typedef short int_fast16_t; >typedef unsigned short uint_fast16_t; >typedef int int_fast32_t; >typedef unsigned int uint_fast32_t; >__extension__ typedef long long int_fast64_t; >__extension__ typedef unsigned long long uint_fast64_t; > > >__extension__ typedef long long intmax_t; >__extension__ typedef unsigned long long uintmax_t; ># 4 "/usr/lib64/gcc/i686-w64-mingw32/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; ># 39 "./celt/celt.h" 2 ># 1 "./include/opus_defines.h" 1 ># 36 "./include/opus_defines.h" ># 1 "./include/opus_types.h" 1 ># 37 "./include/opus_defines.h" 2 ># 631 "./include/opus_defines.h" >__attribute__ ((visibility ("default"))) const char *opus_strerror(int error); > > > > > >__attribute__ ((visibility ("default"))) const char *opus_get_version_string(void); ># 40 "./celt/celt.h" 2 ># 1 "./include/opus_custom.h" 1 ># 38 "./include/opus_custom.h" ># 1 "./include/opus_defines.h" 1 ># 39 "./include/opus_custom.h" 2 ># 95 "./include/opus_custom.h" >typedef struct OpusCustomEncoder OpusCustomEncoder; > > > > > > >typedef struct OpusCustomDecoder OpusCustomDecoder; > > > > > > > >typedef struct OpusCustomMode OpusCustomMode; ># 121 "./include/opus_custom.h" > __attribute__ ((__warn_unused_result__)) OpusCustomMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error); > > > > > > void opus_custom_mode_destroy(OpusCustomMode *mode); ># 173 "./include/opus_custom.h" > __attribute__ ((__warn_unused_result__)) OpusCustomEncoder *opus_custom_encoder_create( > const OpusCustomMode *mode, > int channels, > int *error >) ; > > > > > > void opus_custom_encoder_destroy(OpusCustomEncoder *st); ># 202 "./include/opus_custom.h" > __attribute__ ((__warn_unused_result__)) int opus_custom_encode_float( > OpusCustomEncoder *st, > const float *pcm, > int frame_size, > unsigned char *compressed, > int maxCompressedBytes >) ; ># 223 "./include/opus_custom.h" > __attribute__ ((__warn_unused_result__)) int opus_custom_encode( > OpusCustomEncoder *st, > const opus_int16 *pcm, > int frame_size, > unsigned char *compressed, > int maxCompressedBytes >) ; > > > > > > > > int opus_custom_encoder_ctl(OpusCustomEncoder * __restrict st, int request, ...) ; ># 282 "./include/opus_custom.h" > __attribute__ ((__warn_unused_result__)) OpusCustomDecoder *opus_custom_decoder_create( > const OpusCustomMode *mode, > int channels, > int *error >) ; > > > > > void opus_custom_decoder_destroy(OpusCustomDecoder *st); ># 302 "./include/opus_custom.h" > __attribute__ ((__warn_unused_result__)) int opus_custom_decode_float( > OpusCustomDecoder *st, > const unsigned char *data, > int len, > float *pcm, > int frame_size >) ; ># 319 "./include/opus_custom.h" > __attribute__ ((__warn_unused_result__)) int opus_custom_decode( > OpusCustomDecoder *st, > const unsigned char *data, > int len, > opus_int16 *pcm, > int frame_size >) ; > > > > > > > > int opus_custom_decoder_ctl(OpusCustomDecoder * __restrict st, int request, ...) ; ># 41 "./celt/celt.h" 2 ># 1 "./celt/entenc.h" 1 ># 30 "./celt/entenc.h" ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stddef.h" 1 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stddef.h" 1 3 4 ># 2 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stddef.h" 2 3 4 ># 31 "./celt/entenc.h" 2 ># 1 "./celt/entcode.h" 1 ># 32 "./celt/entcode.h" ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/limits.h" 1 3 4 ># 34 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/limits.h" 3 4 ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/limits.h" 1 3 4 ># 169 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/limits.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/limits.h" 1 3 4 ># 170 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/limits.h" 2 3 4 ># 8 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/syslimits.h" 2 3 4 ># 35 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/limits.h" 2 3 4 ># 33 "./celt/entcode.h" 2 ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stddef.h" 1 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stddef.h" 1 3 4 ># 2 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/stddef.h" 2 3 4 ># 34 "./celt/entcode.h" 2 ># 1 "./celt/ecintrin.h" 1 ># 30 "./celt/ecintrin.h" ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 1 3 4 ># 10 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 4 > ># 11 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > > > > >struct _exception; > >#pragma pack(push,_CRT_PACKING) ># 84 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > typedef union __mingw_dbl_type_t { > double x; > unsigned long long val; > __extension__ struct { > unsigned int low, high; > } lh; > } __mingw_dbl_type_t; > > typedef union __mingw_flt_type_t { > float x; > unsigned int val; > } __mingw_flt_type_t; > > typedef union __mingw_ldbl_type_t > { > long double x; > __extension__ struct { > unsigned int low, high; > int sign_exponent : 16; > int res1 : 16; > int res0 : 32; > } lh; > } __mingw_ldbl_type_t; > > > > > extern double * _imp___HUGE; ># 123 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > struct _exception { > int type; > const char *name; > double arg1; > double arg2; > double retval; > }; > > void __mingw_raise_matherr (int typ, const char *name, double a1, double a2, > double rslt); > void __mingw_setusermatherr (int (__attribute__((__cdecl__)) *)(struct _exception *)); > __attribute__ ((__dllimport__)) void __setusermatherr(int (__attribute__((__cdecl__)) *)(struct _exception *)); > > > > double __attribute__((__cdecl__)) sin(double _X); > double __attribute__((__cdecl__)) cos(double _X); > double __attribute__((__cdecl__)) tan(double _X); > double __attribute__((__cdecl__)) sinh(double _X); > double __attribute__((__cdecl__)) cosh(double _X); > double __attribute__((__cdecl__)) tanh(double _X); > double __attribute__((__cdecl__)) asin(double _X); > double __attribute__((__cdecl__)) acos(double _X); > double __attribute__((__cdecl__)) atan(double _X); > double __attribute__((__cdecl__)) atan2(double _Y,double _X); > double __attribute__((__cdecl__)) exp(double _X); > double __attribute__((__cdecl__)) log(double _X); > double __attribute__((__cdecl__)) log10(double _X); > double __attribute__((__cdecl__)) pow(double _X,double _Y); > double __attribute__((__cdecl__)) sqrt(double _X); > double __attribute__((__cdecl__)) ceil(double _X); > double __attribute__((__cdecl__)) floor(double _X); > > > extern float __attribute__((__cdecl__)) fabsf (float x); > extern long double __attribute__((__cdecl__)) fabsl (long double); > extern double __attribute__((__cdecl__)) fabs (double _X); > > > > extern inline __attribute__((__gnu_inline__)) float __attribute__((__cdecl__)) fabsf (float x) > { > > > > float res = 0.0F; > __asm__ __volatile__ ("fabs;" : "=t" (res) : "0" (x)); > return res; > > } > > extern inline __attribute__((__gnu_inline__)) long double __attribute__((__cdecl__)) fabsl (long double x) > { > long double res = 0.0l; > __asm__ __volatile__ ("fabs;" : "=t" (res) : "0" (x)); > return res; > } > > extern inline __attribute__((__gnu_inline__)) double __attribute__((__cdecl__)) fabs (double x) > { > > > > double res = 0.0; > __asm__ __volatile__ ("fabs;" : "=t" (res) : "0" (x)); > return res; > > } > > > > double __attribute__((__cdecl__)) ldexp(double _X,int _Y); > double __attribute__((__cdecl__)) frexp(double _X,int *_Y); > double __attribute__((__cdecl__)) modf(double _X,double *_Y); > double __attribute__((__cdecl__)) fmod(double _X,double _Y); > > void __attribute__((__cdecl__)) sincos (double __x, double *p_sin, double *p_cos); > void __attribute__((__cdecl__)) sincosl (long double __x, long double *p_sin, long double *p_cos); > void __attribute__((__cdecl__)) sincosf (float __x, float *p_sin, float *p_cos); > > > > int __attribute__((__cdecl__)) abs(int _X); > long __attribute__((__cdecl__)) labs(long _X); > > > > double __attribute__((__cdecl__)) atof(const char *_String); > double __attribute__((__cdecl__)) _atof_l(const char *_String,_locale_t _Locale); ># 221 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > struct _complex { > double x; > double y; > }; > > > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _cabs(struct _complex _ComplexA); > double __attribute__((__cdecl__)) _hypot(double _X,double _Y); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _j0(double _X); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _j1(double _X); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _jn(int _X,double _Y); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _y0(double _X); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _y1(double _X); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _yn(int _X,double _Y); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _matherr (struct _exception *); ># 248 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _chgsign (double _X); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _copysign (double _Number,double _Sign); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _logb (double); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _nextafter (double, double); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _scalb (double, long); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _finite (double); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fpclass (double); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _isnan (double); > > > > > > >__attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) j0 (double) ; >__attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) j1 (double) ; >__attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) jn (int, double) ; >__attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) y0 (double) ; >__attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) y1 (double) ; >__attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) yn (int, double) ; > >__attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) chgsign (double); ># 278 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) finite (double); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) fpclass (double); ># 295 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _set_SSE2_enable(int _Flag); ># 329 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 >typedef long double float_t; >typedef long double double_t; ># 358 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > extern int __attribute__((__cdecl__)) __fpclassifyl (long double); > extern int __attribute__((__cdecl__)) __fpclassifyf (float); > extern int __attribute__((__cdecl__)) __fpclassify (double); > > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __fpclassifyl (long double x) { > unsigned short sw; > __asm__ __volatile__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x)); > return sw & (0x0100 | 0x0400 | 0x4000 ); > } > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __fpclassify (double x) { ># 385 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > unsigned short sw; > __asm__ __volatile__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x)); > return sw & (0x0100 | 0x0400 | 0x4000 ); > > } > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __fpclassifyf (float x) { ># 404 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > unsigned short sw; > __asm__ __volatile__ ("fxam; fstsw %%ax;" : "=a" (sw): "t" (x)); > return sw & (0x0100 | 0x0400 | 0x4000 ); > > } ># 425 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > extern int __attribute__((__cdecl__)) __isnan (double); > extern int __attribute__((__cdecl__)) __isnanf (float); > extern int __attribute__((__cdecl__)) __isnanl (long double); > > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __isnan (double _x) > { ># 443 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > unsigned short sw; > __asm__ __volatile__ ("fxam;" > "fstsw %%ax": "=a" (sw) : "t" (_x)); > return (sw & (0x0100 | 0x0400 | (0x0100 | 0x0400) | 0x4000 | (0x0400 | 0x4000))) > == 0x0100; > > } > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __isnanf (float _x) > { ># 462 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > unsigned short sw; > __asm__ __volatile__ ("fxam;" > "fstsw %%ax": "=a" (sw) : "t" (_x)); > return (sw & (0x0100 | 0x0400 | (0x0100 | 0x0400) | 0x4000 | (0x0400 | 0x4000))) > == 0x0100; > > } > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __isnanl (long double _x) > { > unsigned short sw; > __asm__ __volatile__ ("fxam;" > "fstsw %%ax": "=a" (sw) : "t" (_x)); > return (sw & (0x0100 | 0x0400 | (0x0100 | 0x0400) | 0x4000 | (0x0400 | 0x4000))) > == 0x0100; > } ># 488 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > extern int __attribute__((__cdecl__)) __signbit (double); > extern int __attribute__((__cdecl__)) __signbitf (float); > extern int __attribute__((__cdecl__)) __signbitl (long double); > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __signbit (double x) { > > > > > > > unsigned short stw; > __asm__ __volatile__ ( "fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); > return stw & 0x0200; > > } > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __signbitf (float x) { > > > > > > unsigned short stw; > __asm__ __volatile__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); > return stw & 0x0200; > > } > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) __signbitl (long double x) { > unsigned short stw; > __asm__ __volatile__ ("fxam; fstsw %%ax;": "=a" (stw) : "t" (x)); > return stw & 0x0200; > } > > > > > > > > extern float __attribute__((__cdecl__)) sinf(float _X); > extern long double __attribute__((__cdecl__)) sinl(long double); > > extern float __attribute__((__cdecl__)) cosf(float _X); > extern long double __attribute__((__cdecl__)) cosl(long double); > > extern float __attribute__((__cdecl__)) tanf(float _X); > extern long double __attribute__((__cdecl__)) tanl(long double); > extern float __attribute__((__cdecl__)) asinf(float _X); > extern long double __attribute__((__cdecl__)) asinl(long double); > > extern float __attribute__((__cdecl__)) acosf (float); > extern long double __attribute__((__cdecl__)) acosl (long double); > > extern float __attribute__((__cdecl__)) atanf (float); > extern long double __attribute__((__cdecl__)) atanl (long double); > > extern float __attribute__((__cdecl__)) atan2f (float, float); > extern long double __attribute__((__cdecl__)) atan2l (long double, long double); > > > extern float __attribute__((__cdecl__)) sinhf(float _X); > > extern inline __attribute__((__gnu_inline__)) float sinhf(float _X) { return ((float)sinh((double)_X)); } > > extern long double __attribute__((__cdecl__)) sinhl(long double); > > extern float __attribute__((__cdecl__)) coshf(float _X); > > extern inline __attribute__((__gnu_inline__)) float coshf(float _X) { return ((float)cosh((double)_X)); } > > extern long double __attribute__((__cdecl__)) coshl(long double); > > extern float __attribute__((__cdecl__)) tanhf(float _X); > > extern inline __attribute__((__gnu_inline__)) float tanhf(float _X) { return ((float)tanh((double)_X)); } > > extern long double __attribute__((__cdecl__)) tanhl(long double); > > > > extern double __attribute__((__cdecl__)) acosh (double); > extern float __attribute__((__cdecl__)) acoshf (float); > extern long double __attribute__((__cdecl__)) acoshl (long double); > > > extern double __attribute__((__cdecl__)) asinh (double); > extern float __attribute__((__cdecl__)) asinhf (float); > extern long double __attribute__((__cdecl__)) asinhl (long double); > > > extern double __attribute__((__cdecl__)) atanh (double); > extern float __attribute__((__cdecl__)) atanhf (float); > extern long double __attribute__((__cdecl__)) atanhl (long double); > > > > extern float __attribute__((__cdecl__)) expf(float _X); > > extern inline __attribute__((__gnu_inline__)) float expf(float _X) { return ((float)exp((double)_X)); } > > extern long double __attribute__((__cdecl__)) expl(long double); > > > extern double __attribute__((__cdecl__)) exp2(double); > extern float __attribute__((__cdecl__)) exp2f(float); > extern long double __attribute__((__cdecl__)) exp2l(long double); > > > > extern double __attribute__((__cdecl__)) expm1(double); > extern float __attribute__((__cdecl__)) expm1f(float); > extern long double __attribute__((__cdecl__)) expm1l(long double); > > > extern float frexpf(float _X,int *_Y); > > extern inline __attribute__((__gnu_inline__)) float frexpf(float _X,int *_Y) { return ((float)frexp((double)_X,_Y)); } > > extern long double __attribute__((__cdecl__)) frexpl(long double,int *); > > > > > extern int __attribute__((__cdecl__)) ilogb (double); > extern int __attribute__((__cdecl__)) ilogbf (float); > extern int __attribute__((__cdecl__)) ilogbl (long double); > > > extern float __attribute__((__cdecl__)) ldexpf(float _X,int _Y); > > extern inline __attribute__((__gnu_inline__)) float __attribute__((__cdecl__)) ldexpf (float x, int expn) { return (float) ldexp ((double)x, expn); } > > extern long double __attribute__((__cdecl__)) ldexpl (long double, int); > > > extern float __attribute__((__cdecl__)) logf (float); > extern long double __attribute__((__cdecl__)) logl(long double); > > > extern float __attribute__((__cdecl__)) log10f (float); > extern long double __attribute__((__cdecl__)) log10l(long double); > > > extern double __attribute__((__cdecl__)) log1p(double); > extern float __attribute__((__cdecl__)) log1pf(float); > extern long double __attribute__((__cdecl__)) log1pl(long double); > > > extern double __attribute__((__cdecl__)) log2 (double); > extern float __attribute__((__cdecl__)) log2f (float); > extern long double __attribute__((__cdecl__)) log2l (long double); > > > extern double __attribute__((__cdecl__)) logb (double); > extern float __attribute__((__cdecl__)) logbf (float); > extern long double __attribute__((__cdecl__)) logbl (long double); > > > > > > extern inline __attribute__((__gnu_inline__)) double __attribute__((__cdecl__)) logb (double x) > { ># 668 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > double res = 0.0; > __asm__ __volatile__ ("fxtract\n\t" > "fstp %%st" : "=t" (res) : "0" (x)); > return res; > > } > > extern inline __attribute__((__gnu_inline__)) float __attribute__((__cdecl__)) logbf (float x) > { ># 691 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > float res = 0.0F; > __asm__ __volatile__ ("fxtract\n\t" > "fstp %%st" : "=t" (res) : "0" (x)); > return res; > > } > > extern inline __attribute__((__gnu_inline__)) long double __attribute__((__cdecl__)) logbl (long double x) > { > long double res = 0.0l; > __asm__ __volatile__ ("fxtract\n\t" > "fstp %%st" : "=t" (res) : "0" (x)); > return res; > } > > > > > extern float __attribute__((__cdecl__)) modff (float, float*); > extern long double __attribute__((__cdecl__)) modfl (long double, long double*); > > > extern double __attribute__((__cdecl__)) scalbn (double, int); > extern float __attribute__((__cdecl__)) scalbnf (float, int); > extern long double __attribute__((__cdecl__)) scalbnl (long double, int); > > extern double __attribute__((__cdecl__)) scalbln (double, long); > extern float __attribute__((__cdecl__)) scalblnf (float, long); > extern long double __attribute__((__cdecl__)) scalblnl (long double, long); > > > > extern double __attribute__((__cdecl__)) cbrt (double); > extern float __attribute__((__cdecl__)) cbrtf (float); > extern long double __attribute__((__cdecl__)) cbrtl (long double); > > > extern double __attribute__((__cdecl__)) hypot (double, double) ; > extern float __attribute__((__cdecl__)) hypotf (float x, float y); > > extern inline __attribute__((__gnu_inline__)) float __attribute__((__cdecl__)) hypotf (float x, float y) { return (float) hypot ((double)x, (double)y);} > > extern long double __attribute__((__cdecl__)) hypotl (long double, long double); > > > extern float __attribute__((__cdecl__)) powf(float _X,float _Y); > > extern inline __attribute__((__gnu_inline__)) float powf(float _X,float _Y) { return ((float)pow((double)_X,(double)_Y)); } > > extern long double __attribute__((__cdecl__)) powl (long double, long double); > > > extern float __attribute__((__cdecl__)) sqrtf (float); > extern long double sqrtl(long double); > > > extern double __attribute__((__cdecl__)) erf (double); > extern float __attribute__((__cdecl__)) erff (float); > extern long double __attribute__((__cdecl__)) erfl (long double); > > > extern double __attribute__((__cdecl__)) erfc (double); > extern float __attribute__((__cdecl__)) erfcf (float); > extern long double __attribute__((__cdecl__)) erfcl (long double); > > > extern double __attribute__((__cdecl__)) lgamma (double); > extern float __attribute__((__cdecl__)) lgammaf (float); > extern long double __attribute__((__cdecl__)) lgammal (long double); > > > extern double __attribute__((__cdecl__)) tgamma (double); > extern float __attribute__((__cdecl__)) tgammaf (float); > extern long double __attribute__((__cdecl__)) tgammal (long double); > > > extern float __attribute__((__cdecl__)) ceilf (float); > extern long double __attribute__((__cdecl__)) ceill (long double); > > > extern float __attribute__((__cdecl__)) floorf (float); > extern long double __attribute__((__cdecl__)) floorl (long double); > > > extern double __attribute__((__cdecl__)) nearbyint ( double); > extern float __attribute__((__cdecl__)) nearbyintf (float); > extern long double __attribute__((__cdecl__)) nearbyintl (long double); > > > >extern double __attribute__((__cdecl__)) rint (double); >extern float __attribute__((__cdecl__)) rintf (float); >extern long double __attribute__((__cdecl__)) rintl (long double); > > >extern long __attribute__((__cdecl__)) lrint (double); >extern long __attribute__((__cdecl__)) lrintf (float); >extern long __attribute__((__cdecl__)) lrintl (long double); > >__extension__ long long __attribute__((__cdecl__)) llrint (double); >__extension__ long long __attribute__((__cdecl__)) llrintf (float); >__extension__ long long __attribute__((__cdecl__)) llrintl (long double); > > > > > > > extern inline __attribute__((__gnu_inline__)) double __attribute__((__cdecl__)) rint (double x) > { > double retval = 0.0; > __asm__ __volatile__ ("frndint;": "=t" (retval) : "0" (x)); > return retval; > } > > extern inline __attribute__((__gnu_inline__)) float __attribute__((__cdecl__)) rintf (float x) > { > float retval = 0.0; > __asm__ __volatile__ ("frndint;" : "=t" (retval) : "0" (x) ); > return retval; > } > > extern inline __attribute__((__gnu_inline__)) long double __attribute__((__cdecl__)) rintl (long double x) > { > long double retval = 0.0l; > __asm__ __volatile__ ("frndint;" : "=t" (retval) : "0" (x) ); > return retval; > } > > extern inline __attribute__((__gnu_inline__)) long __attribute__((__cdecl__)) lrint (double x) > { > long retval = 0; > __asm__ __volatile__ > ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); > return retval; > } > > extern inline __attribute__((__gnu_inline__)) long __attribute__((__cdecl__)) lrintf (float x) > { > long retval = 0; > __asm__ __volatile__ > ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); > return retval; > } > > extern inline __attribute__((__gnu_inline__)) long __attribute__((__cdecl__)) lrintl (long double x) > { > long retval = 0; > __asm__ __volatile__ > ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); > return retval; > } > > __extension__ extern inline __attribute__((__gnu_inline__)) long long __attribute__((__cdecl__)) llrint (double x) > { > __extension__ long long retval = 0ll; > __asm__ __volatile__ > ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); > return retval; > } > > __extension__ extern inline __attribute__((__gnu_inline__)) long long __attribute__((__cdecl__)) llrintf (float x) > { > __extension__ long long retval = 0ll; > __asm__ __volatile__ > ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); > return retval; > } > > __extension__ extern inline __attribute__((__gnu_inline__)) long long __attribute__((__cdecl__)) llrintl (long double x) > { > __extension__ long long retval = 0ll; > __asm__ __volatile__ > ("fistpll %0" : "=m" (retval) : "t" (x) : "st"); > return retval; > } > > > > > > extern double __attribute__((__cdecl__)) round (double); > extern float __attribute__((__cdecl__)) roundf (float); > extern long double __attribute__((__cdecl__)) roundl (long double); > > > extern long __attribute__((__cdecl__)) lround (double); > extern long __attribute__((__cdecl__)) lroundf (float); > extern long __attribute__((__cdecl__)) lroundl (long double); > __extension__ long long __attribute__((__cdecl__)) llround (double); > __extension__ long long __attribute__((__cdecl__)) llroundf (float); > __extension__ long long __attribute__((__cdecl__)) llroundl (long double); > > > > extern double __attribute__((__cdecl__)) trunc (double); > extern float __attribute__((__cdecl__)) truncf (float); > extern long double __attribute__((__cdecl__)) truncl (long double); > > > extern float __attribute__((__cdecl__)) fmodf (float, float); > extern long double __attribute__((__cdecl__)) fmodl (long double, long double); > > > extern double __attribute__((__cdecl__)) remainder (double, double); > extern float __attribute__((__cdecl__)) remainderf (float, float); > extern long double __attribute__((__cdecl__)) remainderl (long double, long double); > > > extern double __attribute__((__cdecl__)) remquo(double, double, int *); > extern float __attribute__((__cdecl__)) remquof(float, float, int *); > extern long double __attribute__((__cdecl__)) remquol(long double, long double, int *); > > > extern double __attribute__((__cdecl__)) copysign (double, double); > extern float __attribute__((__cdecl__)) copysignf (float, float); > extern long double __attribute__((__cdecl__)) copysignl (long double, long double); > > > > extern inline __attribute__((__gnu_inline__)) double __attribute__((__cdecl__)) copysign (double x, double y) > { > __mingw_dbl_type_t hx, hy; > hx.x = x; hy.x = y; > hx.lh.high = (hx.lh.high & 0x7fffffff) | (hy.lh.high & 0x80000000); > return hx.x; > } > extern inline __attribute__((__gnu_inline__)) float __attribute__((__cdecl__)) copysignf (float x, float y) > { > __mingw_flt_type_t hx, hy; > hx.x = x; hy.x = y; > hx.val = (hx.val & 0x7fffffff) | (hy.val & 0x80000000); > return hx.x; > } > > > > > extern double __attribute__((__cdecl__)) nan(const char *tagp); > extern float __attribute__((__cdecl__)) nanf(const char *tagp); > extern long double __attribute__((__cdecl__)) nanl(const char *tagp); ># 940 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > extern double __attribute__((__cdecl__)) nextafter (double, double); > extern float __attribute__((__cdecl__)) nextafterf (float, float); > extern long double __attribute__((__cdecl__)) nextafterl (long double, long double); > > > extern double __attribute__((__cdecl__)) nexttoward (double, long double); > extern float __attribute__((__cdecl__)) nexttowardf (float, long double); > extern long double __attribute__((__cdecl__)) nexttowardl (long double, long double); > > > > extern double __attribute__((__cdecl__)) fdim (double x, double y); > extern float __attribute__((__cdecl__)) fdimf (float x, float y); > extern long double __attribute__((__cdecl__)) fdiml (long double x, long double y); > > > > > > > > extern double __attribute__((__cdecl__)) fmax (double, double); > extern float __attribute__((__cdecl__)) fmaxf (float, float); > extern long double __attribute__((__cdecl__)) fmaxl (long double, long double); > > > extern double __attribute__((__cdecl__)) fmin (double, double); > extern float __attribute__((__cdecl__)) fminf (float, float); > extern long double __attribute__((__cdecl__)) fminl (long double, long double); > > > > extern double __attribute__((__cdecl__)) fma (double, double, double); > extern float __attribute__((__cdecl__)) fmaf (float, float, float); > extern long double __attribute__((__cdecl__)) fmal (long double, long double, long double); ># 1019 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 > __attribute__ ((__dllimport__)) float __attribute__((__cdecl__)) _hypotf(float _X,float _Y); > > > > __attribute__ ((__dllimport__)) float __attribute__((__cdecl__)) _copysignf (float _Number,float _Sign); > __attribute__ ((__dllimport__)) float __attribute__((__cdecl__)) _chgsignf (float _X); > __attribute__ ((__dllimport__)) float __attribute__((__cdecl__)) _logbf(float _X); > __attribute__ ((__dllimport__)) float __attribute__((__cdecl__)) _nextafterf(float _X,float _Y); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _finitef(float _X); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _isnanf(float _X); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fpclassf(float _X); > > > > extern long double __attribute__((__cdecl__)) _chgsignl (long double); ># 1050 "/usr/i686-w64-mingw32/sys-root/mingw/include/math.h" 3 >#pragma pack(pop) ># 31 "./celt/ecintrin.h" 2 ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/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); ># 42 "./celt/celt.h" 2 ># 1 "./celt/entdec.h" 1 ># 30 "./celt/entdec.h" ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/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); ># 43 "./celt/celt.h" 2 ># 53 "./celt/celt.h" >typedef struct { > int valid; > opus_val16 tonality; > opus_val16 tonality_slope; > opus_val16 noisiness; > opus_val16 activity; > opus_val16 music_prob; >}AnalysisInfo; ># 111 "./celt/celt.h" >int celt_encoder_get_size(int channels); > >int celt_encode_with_ec(OpusCustomEncoder * __restrict st, const opus_val16 * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc); > >int celt_encoder_init(OpusCustomEncoder *st, opus_int32 sampling_rate, int channels); > > > > > >int celt_decoder_get_size(int channels); > > >int celt_decoder_init(OpusCustomDecoder *st, opus_int32 sampling_rate, int channels); > >int celt_decode_with_ec(OpusCustomDecoder * __restrict st, const unsigned char *data, int len, opus_val16 * __restrict pcm, int frame_size, ec_dec *dec); ># 142 "./celt/celt.h" >static const unsigned char trim_icdf[11] = {126, 124, 119, 109, 87, 41, 19, 9, 4, 2, 0}; > >static const unsigned char spread_icdf[4] = {25, 23, 2, 0}; > >static const unsigned char tapset_icdf[3]={2,1,0}; ># 187 "./celt/celt.h" >extern const signed char tf_select_table[4][8]; > >int resampling_factor(opus_int32 rate); > >void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N, > opus_val16 g0, opus_val16 g1, int tapset0, int tapset1, > const opus_val16 *window, int overlap); > >void init_caps(const OpusCustomMode *m,int *cap,int LM,int C); ># 38 "src/opus_decoder.c" 2 ># 1 "./include/opus.h" 1 ># 164 "./include/opus.h" >typedef struct OpusEncoder OpusEncoder; > > > > > > >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_encoder_get_size(int channels); ># 208 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) OpusEncoder *opus_encoder_create( > opus_int32 Fs, > int channels, > int application, > int *error >); ># 228 "./include/opus.h" >__attribute__ ((visibility ("default"))) int opus_encoder_init( > OpusEncoder *st, > opus_int32 Fs, > int channels, > int application >) ; ># 263 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) opus_int32 opus_encode( > OpusEncoder *st, > const opus_int16 *pcm, > int frame_size, > unsigned char *data, > opus_int32 max_data_bytes >) ; ># 304 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) opus_int32 opus_encode_float( > OpusEncoder *st, > const float *pcm, > int frame_size, > unsigned char *data, > opus_int32 max_data_bytes >) ; > > > > >__attribute__ ((visibility ("default"))) void opus_encoder_destroy(OpusEncoder *st); ># 328 "./include/opus.h" >__attribute__ ((visibility ("default"))) int opus_encoder_ctl(OpusEncoder *st, int request, ...) ; ># 399 "./include/opus.h" >typedef struct OpusDecoder OpusDecoder; > > > > > > >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_decoder_get_size(int channels); ># 423 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) OpusDecoder *opus_decoder_create( > opus_int32 Fs, > int channels, > int *error >); ># 440 "./include/opus.h" >__attribute__ ((visibility ("default"))) int opus_decoder_init( > OpusDecoder *st, > opus_int32 Fs, > int channels >) ; ># 459 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_decode( > OpusDecoder *st, > const unsigned char *data, > opus_int32 len, > opus_int16 *pcm, > int frame_size, > int decode_fec >) ; ># 481 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_decode_float( > OpusDecoder *st, > const unsigned char *data, > opus_int32 len, > float *pcm, > int frame_size, > int decode_fec >) ; ># 501 "./include/opus.h" >__attribute__ ((visibility ("default"))) int opus_decoder_ctl(OpusDecoder *st, int request, ...) ; > > > > >__attribute__ ((visibility ("default"))) void opus_decoder_destroy(OpusDecoder *st); ># 521 "./include/opus.h" >__attribute__ ((visibility ("default"))) int opus_packet_parse( > const unsigned char *data, > opus_int32 len, > unsigned char *out_toc, > const unsigned char *frames[48], > short size[48], > int *payload_offset >) ; ># 539 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_packet_get_bandwidth(const unsigned char *data) ; ># 550 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_packet_get_samples_per_frame(const unsigned char *data, opus_int32 Fs) ; > > > > > > >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_packet_get_nb_channels(const unsigned char *data) ; > > > > > > > >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_packet_get_nb_frames(const unsigned char packet[], opus_int32 len) ; ># 574 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_decoder_get_nb_samples(const OpusDecoder *dec, const unsigned char packet[], opus_int32 len) ; ># 717 "./include/opus.h" >typedef struct OpusRepacketizer OpusRepacketizer; > > > > >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_repacketizer_get_size(void); ># 741 "./include/opus.h" >__attribute__ ((visibility ("default"))) OpusRepacketizer *opus_repacketizer_init(OpusRepacketizer *rp) ; > > > > >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) OpusRepacketizer *opus_repacketizer_create(void); > > > > > >__attribute__ ((visibility ("default"))) void opus_repacketizer_destroy(OpusRepacketizer *rp); ># 801 "./include/opus.h" >__attribute__ ((visibility ("default"))) int opus_repacketizer_cat(OpusRepacketizer *rp, const unsigned char *data, opus_int32 len) ; ># 835 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) opus_int32 opus_repacketizer_out_range(OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen) ; ># 847 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) int opus_repacketizer_get_nb_frames(OpusRepacketizer *rp) ; ># 878 "./include/opus.h" >__attribute__ ((visibility ("default"))) __attribute__ ((__warn_unused_result__)) opus_int32 opus_repacketizer_out(OpusRepacketizer *rp, unsigned char *data, opus_int32 maxlen) ; ># 39 "src/opus_decoder.c" 2 ># 1 "./celt/entdec.h" 1 ># 40 "src/opus_decoder.c" 2 ># 1 "./celt/modes.h" 1 ># 34 "./celt/modes.h" ># 1 "./celt/celt.h" 1 ># 35 "./celt/modes.h" 2 > ># 1 "./celt/mdct.h" 1 ># 46 "./celt/mdct.h" ># 1 "./celt/kiss_fft.h" 1 ># 32 "./celt/kiss_fft.h" ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 1 3 4 ># 10 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include-fixed/limits.h" 1 3 4 ># 11 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 2 3 4 > >#pragma pack(push,_CRT_PACKING) ># 36 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > typedef int (__attribute__((__cdecl__)) *_onexit_t)(void); ># 46 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > typedef struct _div_t { > int quot; > int rem; > } div_t; > > typedef struct _ldiv_t { > long quot; > long rem; > } ldiv_t; > > > > > >#pragma pack(4) > typedef struct { > unsigned char ld[10]; > } _LDOUBLE; >#pragma pack() > > > > typedef struct { > double x; > } _CRT_DOUBLE; > > typedef struct { > float f; > } _CRT_FLOAT; > > > > > typedef struct { > long double x; > } _LONGDOUBLE; > > > >#pragma pack(4) > typedef struct { > unsigned char ld12[12]; > } _LDBL12; >#pragma pack() ># 101 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern int * _imp____mb_cur_max; ># 127 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > typedef void (__attribute__((__cdecl__)) *_purecall_handler)(void); > > __attribute__ ((__dllimport__)) _purecall_handler __attribute__((__cdecl__)) _set_purecall_handler(_purecall_handler _Handler); > __attribute__ ((__dllimport__)) _purecall_handler __attribute__((__cdecl__)) _get_purecall_handler(void); > > typedef void (__attribute__((__cdecl__)) *_invalid_parameter_handler)(const wchar_t *,const wchar_t *,const wchar_t *,unsigned int,uintptr_t); > _invalid_parameter_handler __attribute__((__cdecl__)) _set_invalid_parameter_handler(_invalid_parameter_handler _Handler); > _invalid_parameter_handler __attribute__((__cdecl__)) _get_invalid_parameter_handler(void); ># 143 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > __attribute__ ((__dllimport__)) unsigned long *__attribute__((__cdecl__)) __doserrno(void); > > errno_t __attribute__((__cdecl__)) _set_doserrno(unsigned long _Value); > errno_t __attribute__((__cdecl__)) _get_doserrno(unsigned long *_Value); > > > > > extern __attribute__ ((__dllimport__)) char *_sys_errlist[1]; > extern __attribute__ ((__dllimport__)) int _sys_nerr; > > > __attribute__ ((__dllimport__)) int *__attribute__((__cdecl__)) __p___argc(void); > __attribute__ ((__dllimport__)) char ***__attribute__((__cdecl__)) __p___argv(void); > __attribute__ ((__dllimport__)) wchar_t ***__attribute__((__cdecl__)) __p___wargv(void); > __attribute__ ((__dllimport__)) char ***__attribute__((__cdecl__)) __p__environ(void); > __attribute__ ((__dllimport__)) wchar_t ***__attribute__((__cdecl__)) __p__wenviron(void); > __attribute__ ((__dllimport__)) char **__attribute__((__cdecl__)) __p__pgmptr(void); > __attribute__ ((__dllimport__)) wchar_t **__attribute__((__cdecl__)) __p__wpgmptr(void); > > > > > > extern int * _imp____argc; > > > > > > > > extern char *** _imp____argv; > > > > > > > > extern wchar_t *** _imp____wargv; ># 195 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern char *** _imp___environ; ># 204 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern wchar_t *** _imp___wenviron; ># 213 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern char ** _imp___pgmptr; ># 222 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern wchar_t ** _imp___wpgmptr; > > > > errno_t __attribute__((__cdecl__)) _get_pgmptr(char **_Value); > errno_t __attribute__((__cdecl__)) _get_wpgmptr(wchar_t **_Value); > > > > > extern int * _imp___fmode; > > > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _set_fmode(int _Mode); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _get_fmode(int *_PMode); > > > > > > extern unsigned int * _imp___osplatform; ># 252 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern unsigned int * _imp___osver; ># 261 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern unsigned int * _imp___winver; ># 270 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern unsigned int * _imp___winmajor; ># 279 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > extern unsigned int * _imp___winminor; > > > > > errno_t __attribute__((__cdecl__)) _get_osplatform(unsigned int *_Value); > errno_t __attribute__((__cdecl__)) _get_osver(unsigned int *_Value); > errno_t __attribute__((__cdecl__)) _get_winver(unsigned int *_Value); > errno_t __attribute__((__cdecl__)) _get_winmajor(unsigned int *_Value); > errno_t __attribute__((__cdecl__)) _get_winminor(unsigned int *_Value); ># 302 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) exit(int _Code) __attribute__ ((__noreturn__)); > void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _exit(int _Code) __attribute__ ((__noreturn__)); > > > > void __attribute__((__cdecl__)) _Exit(int) __attribute__ ((__noreturn__)); > > extern inline __attribute__((__gnu_inline__)) __attribute__ ((__noreturn__)) void __attribute__((__cdecl__)) _Exit(int status) > { _exit(status); } > > > > > > void __attribute__((__cdecl__)) __attribute__((noreturn)) abort(void); > > > > > __attribute__ ((__dllimport__)) unsigned int __attribute__((__cdecl__)) _set_abort_behavior(unsigned int _Flags,unsigned int _Mask); > > > > > > > > __extension__ long long __attribute__((__cdecl__)) _abs64(long long); > > extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) long long __attribute__((__cdecl__)) _abs64(long long x) { > return __builtin_llabs(x); > } > > > int __attribute__((__cdecl__)) atexit(void (__attribute__((__cdecl__)) *)(void)); > > > > > > int __attribute__((__cdecl__)) atoi(const char *_Str); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _atoi_l(const char *_Str,_locale_t _Locale); > long __attribute__((__cdecl__)) atol(const char *_Str); > __attribute__ ((__dllimport__)) long __attribute__((__cdecl__)) _atol_l(const char *_Str,_locale_t _Locale); > > > void *__attribute__((__cdecl__)) bsearch(const void *_Key,const void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__attribute__((__cdecl__)) *_PtFuncCompare)(const void *,const void *)); > void __attribute__((__cdecl__)) qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int (__attribute__((__cdecl__)) *_PtFuncCompare)(const void *,const void *)); > > unsigned short __attribute__((__cdecl__)) _byteswap_ushort(unsigned short _Short); > unsigned long __attribute__((__cdecl__)) _byteswap_ulong (unsigned long _Long); > __extension__ unsigned long long __attribute__((__cdecl__)) _byteswap_uint64(unsigned long long _Int64); > div_t __attribute__((__cdecl__)) div(int _Numerator,int _Denominator); > char *__attribute__((__cdecl__)) getenv(const char *_VarName) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _itoa(int _Value,char *_Dest,int _Radix); > __extension__ __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _i64toa(long long _Val,char *_DstBuf,int _Radix) ; > __extension__ __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _ui64toa(unsigned long long _Val,char *_DstBuf,int _Radix) ; > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _atoi64(const char *_String); > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _atoi64_l(const char *_String,_locale_t _Locale); > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _strtoi64(const char *_String,char **_EndPtr,int _Radix); > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _strtoi64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); > __extension__ __attribute__ ((__dllimport__)) unsigned long long __attribute__((__cdecl__)) _strtoui64(const char *_String,char **_EndPtr,int _Radix); > __extension__ __attribute__ ((__dllimport__)) unsigned long long __attribute__((__cdecl__)) _strtoui64_l(const char *_String,char **_EndPtr,int _Radix,_locale_t _Locale); > ldiv_t __attribute__((__cdecl__)) ldiv(long _Numerator,long _Denominator); > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _ltoa(long _Value,char *_Dest,int _Radix) ; > int __attribute__((__cdecl__)) mblen(const char *_Ch,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _mblen_l(const char *_Ch,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _mbstrlen(const char *_Str); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _mbstrlen_l(const char *_Str,_locale_t _Locale); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _mbstrnlen(const char *_Str,size_t _MaxCount); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _mbstrnlen_l(const char *_Str,size_t _MaxCount,_locale_t _Locale); > int __attribute__((__cdecl__)) mbtowc(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _mbtowc_l(wchar_t * __restrict__ _DstCh,const char * __restrict__ _SrcCh,size_t _SrcSizeInBytes,_locale_t _Locale); > size_t __attribute__((__cdecl__)) mbstowcs(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _mbstowcs_l(wchar_t * __restrict__ _Dest,const char * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale); > int __attribute__((__cdecl__)) rand(void); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _set_error_mode(int _Mode); > void __attribute__((__cdecl__)) srand(unsigned int _Seed); > > > > double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtod(const char * __restrict__ _Str,char ** __restrict__ _EndPtr); > float __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtof(const char * __restrict__ nptr, char ** __restrict__ endptr); > long double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) strtold(const char * __restrict__ , char ** __restrict__ ); > > > extern double __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) > __strtod (const char * __restrict__ , char ** __restrict__); ># 401 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > float __attribute__((__cdecl__)) __mingw_strtof (const char * __restrict__, char ** __restrict__); > long double __attribute__((__cdecl__)) __mingw_strtold(const char * __restrict__, char ** __restrict__); > > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _strtod_l(const char * __restrict__ _Str,char ** __restrict__ _EndPtr,_locale_t _Locale); > long __attribute__((__cdecl__)) strtol(const char * __restrict__ _Str,char ** __restrict__ _EndPtr,int _Radix); > __attribute__ ((__dllimport__)) long __attribute__((__cdecl__)) _strtol_l(const char * __restrict__ _Str,char ** __restrict__ _EndPtr,int _Radix,_locale_t _Locale); > unsigned long __attribute__((__cdecl__)) strtoul(const char * __restrict__ _Str,char ** __restrict__ _EndPtr,int _Radix); > __attribute__ ((__dllimport__)) unsigned long __attribute__((__cdecl__)) _strtoul_l(const char * __restrict__ _Str,char ** __restrict__ _EndPtr,int _Radix,_locale_t _Locale); > > > int __attribute__((__cdecl__)) system(const char *_Command); > > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _ultoa(unsigned long _Value,char *_Dest,int _Radix) ; > int __attribute__((__cdecl__)) wctomb(char *_MbCh,wchar_t _WCh) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wctomb_l(char *_MbCh,wchar_t _WCh,_locale_t _Locale) ; > size_t __attribute__((__cdecl__)) wcstombs(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount) ; > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _wcstombs_l(char * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _MaxCount,_locale_t _Locale) ; > > > > void *__attribute__((__cdecl__)) calloc(size_t _NumOfElements,size_t _SizeOfElements); > void __attribute__((__cdecl__)) free(void *_Memory); > void *__attribute__((__cdecl__)) malloc(size_t _Size); > void *__attribute__((__cdecl__)) realloc(void *_Memory,size_t _NewSize); > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _recalloc(void *_Memory,size_t _Count,size_t _Size); > > > > > > > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _aligned_free(void *_Memory); > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _aligned_malloc(size_t _Size,size_t _Alignment); > > > > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _aligned_offset_malloc(size_t _Size,size_t _Alignment,size_t _Offset); > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _aligned_realloc(void *_Memory,size_t _Size,size_t _Alignment); > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _aligned_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment); > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _aligned_offset_realloc(void *_Memory,size_t _Size,size_t _Alignment,size_t _Offset); > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _aligned_offset_recalloc(void *_Memory,size_t _Count,size_t _Size,size_t _Alignment,size_t _Offset); > > > > > > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _itow(int _Value,wchar_t *_Dest,int _Radix) ; > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _ltow(long _Value,wchar_t *_Dest,int _Radix) ; > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _ultow(unsigned long _Value,wchar_t *_Dest,int _Radix) ; > double __attribute__((__cdecl__)) wcstod(const wchar_t * __restrict__ _Str,wchar_t ** __restrict__ _EndPtr); > float __attribute__((__cdecl__)) wcstof(const wchar_t * __restrict__ nptr, wchar_t ** __restrict__ endptr); > > double __attribute__((__cdecl__)) __mingw_wcstod(const wchar_t * __restrict__ _Str,wchar_t ** __restrict__ _EndPtr); > float __attribute__((__cdecl__)) __mingw_wcstof(const wchar_t * __restrict__ nptr, wchar_t ** __restrict__ endptr); > long double __attribute__((__cdecl__)) __mingw_wcstold(const wchar_t * __restrict__, wchar_t ** __restrict__); > > > float __attribute__((__cdecl__)) wcstof( const wchar_t * __restrict__, wchar_t ** __restrict__); > long double __attribute__((__cdecl__)) wcstold(const wchar_t * __restrict__, wchar_t ** __restrict__); > > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _wcstod_l(const wchar_t * __restrict__ _Str,wchar_t ** __restrict__ _EndPtr,_locale_t _Locale); > long __attribute__((__cdecl__)) wcstol(const wchar_t * __restrict__ _Str,wchar_t ** __restrict__ _EndPtr,int _Radix); > __attribute__ ((__dllimport__)) long __attribute__((__cdecl__)) _wcstol_l(const wchar_t * __restrict__ _Str,wchar_t ** __restrict__ _EndPtr,int _Radix,_locale_t _Locale); > unsigned long __attribute__((__cdecl__)) wcstoul(const wchar_t * __restrict__ _Str,wchar_t ** __restrict__ _EndPtr,int _Radix); > __attribute__ ((__dllimport__)) unsigned long __attribute__((__cdecl__)) _wcstoul_l(const wchar_t * __restrict__ _Str,wchar_t ** __restrict__ _EndPtr,int _Radix,_locale_t _Locale); > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wgetenv(const wchar_t *_VarName) ; > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wsystem(const wchar_t *_Command); > > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _wtof(const wchar_t *_Str); > __attribute__ ((__dllimport__)) double __attribute__((__cdecl__)) _wtof_l(const wchar_t *_Str,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wtoi(const wchar_t *_Str); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wtoi_l(const wchar_t *_Str,_locale_t _Locale); > __attribute__ ((__dllimport__)) long __attribute__((__cdecl__)) _wtol(const wchar_t *_Str); > __attribute__ ((__dllimport__)) long __attribute__((__cdecl__)) _wtol_l(const wchar_t *_Str,_locale_t _Locale); > > __extension__ __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _i64tow(long long _Val,wchar_t *_DstBuf,int _Radix) ; > __extension__ __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _ui64tow(unsigned long long _Val,wchar_t *_DstBuf,int _Radix) ; > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _wtoi64(const wchar_t *_Str); > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _wtoi64_l(const wchar_t *_Str,_locale_t _Locale); > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _wcstoi64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _wcstoi64_l(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); > __extension__ __attribute__ ((__dllimport__)) unsigned long long __attribute__((__cdecl__)) _wcstoui64(const wchar_t *_Str,wchar_t **_EndPtr,int _Radix); > __extension__ __attribute__ ((__dllimport__)) unsigned long long __attribute__((__cdecl__)) _wcstoui64_l(const wchar_t *_Str ,wchar_t **_EndPtr,int _Radix,_locale_t _Locale); > > > > > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _fullpath(char *_FullPath,const char *_Path,size_t _SizeInBytes); > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _gcvt(double _Val,int _NumOfDigits,char *_DstBuf) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _atodbl(_CRT_DOUBLE *_Result,char *_Str); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _atoldbl(_LDOUBLE *_Result,char *_Str); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _atoflt(_CRT_FLOAT *_Result,char *_Str); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _atodbl_l(_CRT_DOUBLE *_Result,char *_Str,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _atoldbl_l(_LDOUBLE *_Result,char *_Str,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _atoflt_l(_CRT_FLOAT *_Result,char *_Str,_locale_t _Locale); > > > > > > > > > unsigned long __attribute__((__cdecl__)) _lrotl(unsigned long _Val,int _Shift); > unsigned long __attribute__((__cdecl__)) _lrotr(unsigned long _Val,int _Shift); > > > > > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _makepath(char *_Path,const char *_Drive,const char *_Dir,const char *_Filename,const char *_Ext); > _onexit_t __attribute__((__cdecl__)) _onexit(_onexit_t _Func); > > > > void __attribute__((__cdecl__)) perror(const char *_ErrMsg); > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _putenv(const char *_EnvString); > > > > > __extension__ unsigned long long __attribute__((__cdecl__)) _rotl64(unsigned long long _Val,int _Shift); > __extension__ unsigned long long __attribute__((__cdecl__)) _rotr64(unsigned long long Value,int Shift); > > > > > > > unsigned int __attribute__((__cdecl__)) _rotr(unsigned int _Val,int _Shift); > unsigned int __attribute__((__cdecl__)) _rotl(unsigned int _Val,int _Shift); > > > __extension__ unsigned long long __attribute__((__cdecl__)) _rotr64(unsigned long long _Val,int _Shift); > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _searchenv(const char *_Filename,const char *_EnvVar,char *_ResultPath) ; > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _splitpath(const char *_FullPath,char *_Drive,char *_Dir,char *_Filename,char *_Ext) ; > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _swab(char *_Buf1,char *_Buf2,int _SizeInBytes); > > > > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wfullpath(wchar_t *_FullPath,const wchar_t *_Path,size_t _SizeInWords); > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _wmakepath(wchar_t *_ResultPath,const wchar_t *_Drive,const wchar_t *_Dir,const wchar_t *_Filename,const wchar_t *_Ext); > > > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _wperror(const wchar_t *_ErrMsg); > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wputenv(const wchar_t *_EnvString); > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _wsearchenv(const wchar_t *_Filename,const wchar_t *_EnvVar,wchar_t *_ResultPath) ; > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _wsplitpath(const wchar_t *_FullPath,wchar_t *_Drive,wchar_t *_Dir,wchar_t *_Filename,wchar_t *_Ext) ; > > > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _beep(unsigned _Frequency,unsigned _Duration) __attribute__ ((__deprecated__)); > > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _seterrormode(int _Mode) __attribute__ ((__deprecated__)); > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _sleep(unsigned long _Duration) __attribute__ ((__deprecated__)); ># 580 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 > char *__attribute__((__cdecl__)) ecvt(double _Val,int _NumOfDigits,int *_PtDec,int *_PtSign) ; > char *__attribute__((__cdecl__)) fcvt(double _Val,int _NumOfDec,int *_PtDec,int *_PtSign) ; > char *__attribute__((__cdecl__)) gcvt(double _Val,int _NumOfDigits,char *_DstBuf) ; > char *__attribute__((__cdecl__)) itoa(int _Val,char *_DstBuf,int _Radix) ; > char *__attribute__((__cdecl__)) ltoa(long _Val,char *_DstBuf,int _Radix) ; > int __attribute__((__cdecl__)) putenv(const char *_EnvString) ; > > > > void __attribute__((__cdecl__)) swab(char *_Buf1,char *_Buf2,int _SizeInBytes) ; > > > char *__attribute__((__cdecl__)) ultoa(unsigned long _Val,char *_Dstbuf,int _Radix) ; > _onexit_t __attribute__((__cdecl__)) onexit(_onexit_t _Func); > > > > > > typedef struct { __extension__ long long quot, rem; } lldiv_t; > > __extension__ lldiv_t __attribute__((__cdecl__)) lldiv(long long, long long); > > __extension__ long long __attribute__((__cdecl__)) llabs(long long); > > __extension__ extern inline __attribute__((__gnu_inline__)) long long __attribute__((__cdecl__)) llabs(long long _j) { return (_j >= 0 ? _j : -_j); } > > > __extension__ long long __attribute__((__cdecl__)) strtoll(const char * __restrict__, char ** __restrict, int); > __extension__ unsigned long long __attribute__((__cdecl__)) strtoull(const char * __restrict__, char ** __restrict__, int); > > > __extension__ long long __attribute__((__cdecl__)) atoll (const char *); > > > __extension__ long long __attribute__((__cdecl__)) wtoll (const wchar_t *); > __extension__ char *__attribute__((__cdecl__)) lltoa (long long, char *, int); > __extension__ char *__attribute__((__cdecl__)) ulltoa (unsigned long long , char *, int); > __extension__ wchar_t *__attribute__((__cdecl__)) lltow (long long, wchar_t *, int); > __extension__ wchar_t *__attribute__((__cdecl__)) ulltow (unsigned long long, wchar_t *, int); > > > > __extension__ extern inline __attribute__((__gnu_inline__)) long long __attribute__((__cdecl__)) atoll (const char * _c) { return _atoi64 (_c); } > __extension__ extern inline __attribute__((__gnu_inline__)) char *__attribute__((__cdecl__)) lltoa (long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); } > __extension__ extern inline __attribute__((__gnu_inline__)) char *__attribute__((__cdecl__)) ulltoa (unsigned long long _n, char * _c, int _i) { return _ui64toa (_n, _c, _i); } > __extension__ extern inline __attribute__((__gnu_inline__)) long long __attribute__((__cdecl__)) wtoll (const wchar_t * _w) { return _wtoi64 (_w); } > __extension__ extern inline __attribute__((__gnu_inline__)) wchar_t *__attribute__((__cdecl__)) lltow (long long _n, wchar_t * _w, int _i) { return _i64tow (_n, _w, _i); } > __extension__ extern inline __attribute__((__gnu_inline__)) wchar_t *__attribute__((__cdecl__)) ulltow (unsigned long long _n, wchar_t * _w, int _i) { return _ui64tow (_n, _w, _i); } ># 638 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 3 4 >#pragma pack(pop) > ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdlib_s.h" 1 3 4 ># 9 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdlib_s.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 1 3 4 ># 10 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdlib_s.h" 2 3 4 > > > > > > > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _dupenv_s(char **_PBuffer,size_t *_PBufferSizeInBytes,const char *_VarName); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _itoa_s(int _Value,char *_DstBuf,size_t _Size,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _i64toa_s(long long _Val,char *_DstBuf,size_t _Size,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _ui64toa_s(unsigned long long _Val,char *_DstBuf,size_t _Size,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _ltoa_s(long _Val,char *_DstBuf,size_t _Size,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) mbstowcs_s(size_t *_PtNumOfCharConverted,wchar_t *_DstBuf,size_t _SizeInWords,const char *_SrcBuf,size_t _MaxCount); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _mbstowcs_s_l(size_t *_PtNumOfCharConverted,wchar_t *_DstBuf,size_t _SizeInWords,const char *_SrcBuf,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _ultoa_s(unsigned long _Val,char *_DstBuf,size_t _Size,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wctomb_s_l(int *_SizeConverted,char *_MbCh,size_t _SizeInBytes,wchar_t _WCh,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) wcstombs_s(size_t *_PtNumOfCharConverted,char *_Dst,size_t _DstSizeInBytes,const wchar_t *_Src,size_t _MaxCountInBytes); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcstombs_s_l(size_t *_PtNumOfCharConverted,char *_Dst,size_t _DstSizeInBytes,const wchar_t *_Src,size_t _MaxCountInBytes,_locale_t _Locale); > > > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _itow_s (int _Val,wchar_t *_DstBuf,size_t _SizeInWords,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _ltow_s (long _Val,wchar_t *_DstBuf,size_t _SizeInWords,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _ultow_s (unsigned long _Val,wchar_t *_DstBuf,size_t _SizeInWords,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wgetenv_s(size_t *_ReturnSize,wchar_t *_DstBuf,size_t _DstSizeInWords,const wchar_t *_VarName); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wdupenv_s(wchar_t **_Buffer,size_t *_BufferSizeInWords,const wchar_t *_VarName); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _i64tow_s(long long _Val,wchar_t *_DstBuf,size_t _SizeInWords,int _Radix); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _ui64tow_s(unsigned long long _Val,wchar_t *_DstBuf,size_t _SizeInWords,int _Radix); > > > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _ecvt_s(char *_DstBuf,size_t _Size,double _Val,int _NumOfDights,int *_PtDec,int *_PtSign); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _fcvt_s(char *_DstBuf,size_t _Size,double _Val,int _NumOfDec,int *_PtDec,int *_PtSign); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _gcvt_s(char *_DstBuf,size_t _Size,double _Val,int _NumOfDigits); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _makepath_s(char *_PathResult,size_t _Size,const char *_Drive,const char *_Dir,const char *_Filename,const char *_Ext); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _putenv_s(const char *_Name,const char *_Value); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _searchenv_s(const char *_Filename,const char *_EnvVar,char *_ResultPath,size_t _SizeInBytes); > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _splitpath_s(const char *_FullPath,char *_Drive,size_t _DriveSize,char *_Dir,size_t _DirSize,char *_Filename,size_t _FilenameSize,char *_Ext,size_t _ExtSize); > > > > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wmakepath_s(wchar_t *_PathResult,size_t _SizeInWords,const wchar_t *_Drive,const wchar_t *_Dir,const wchar_t *_Filename,const wchar_t *_Ext); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wputenv_s(const wchar_t *_Name,const wchar_t *_Value); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wsearchenv_s(const wchar_t *_Filename,const wchar_t *_EnvVar,wchar_t *_ResultPath,size_t _SizeInWords); > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wsplitpath_s(const wchar_t *_FullPath,wchar_t *_Drive,size_t _DriveSizeInWords,wchar_t *_Dir,size_t _DirSizeInWords,wchar_t *_Filename,size_t _FilenameSizeInWords,wchar_t *_Ext,size_t _ExtSizeInWords); > ># 641 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 2 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 1 3 4 ># 11 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 3 4 >#pragma pack(push,_CRT_PACKING) ># 46 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 3 4 > typedef struct _heapinfo { > int *_pentry; > size_t _size; > int _useflag; > } _HEAPINFO; > > > extern unsigned int _amblksiz; ># 65 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 3 4 > > ># 97 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 3 4 > > > > > > >void * __mingw_aligned_malloc (size_t _Size, size_t _Alignment); >void __mingw_aligned_free (void *_Memory); >void * __mingw_aligned_offset_realloc (void *_Memory, size_t _Size, size_t _Alignment, size_t _Offset); >void * __mingw_aligned_realloc (void *_Memory, size_t _Size, size_t _Offset); > > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _resetstkoflw (void); > __attribute__ ((__dllimport__)) unsigned long __attribute__((__cdecl__)) _set_malloc_crt_max_wait(unsigned long _NewValue); > > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _expand(void *_Memory,size_t _NewSize); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _msize(void *_Memory); > > > > > > > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _get_sbh_threshold(void); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _set_sbh_threshold(size_t _NewValue); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _set_amblksiz(size_t _Value); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _get_amblksiz(size_t *_Value); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _heapadd(void *_Memory,size_t _Size); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _heapchk(void); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _heapmin(void); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _heapset(unsigned int _Fill); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _heapwalk(_HEAPINFO *_EntryInfo); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _heapused(size_t *_Used,size_t *_Commit); > __attribute__ ((__dllimport__)) intptr_t __attribute__((__cdecl__)) _get_heap_handle(void); ># 144 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 3 4 > static __inline void *_MarkAllocaS(void *_Ptr,unsigned int _Marker) { > if(_Ptr) { > *((unsigned int*)_Ptr) = _Marker; > _Ptr = (char*)_Ptr + 8; > } > return _Ptr; > } ># 163 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 3 4 > static __inline void __attribute__((__cdecl__)) _freea(void *_Memory) { > unsigned int _Marker; > if(_Memory) { > _Memory = (char*)_Memory - 8; > _Marker = *(unsigned int *)_Memory; > if(_Marker==0xDDDD) { > free(_Memory); > } > > > > > > } > } ># 209 "/usr/i686-w64-mingw32/sys-root/mingw/include/malloc.h" 3 4 >#pragma pack(pop) ># 642 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h" 2 3 4 ># 33 "./celt/kiss_fft.h" 2 ># 64 "./celt/kiss_fft.h" >typedef struct { > float r; > float i; >}kiss_fft_cpx; > >typedef struct { > float r; > float i; >}kiss_twiddle_cpx; > > > > > > > >typedef struct kiss_fft_state{ > int nfft; > > float scale; > > int shift; > opus_int16 factors[2*8]; > const opus_int16 *bitrev; > const kiss_twiddle_cpx *twiddles; >} kiss_fft_state; ># 116 "./celt/kiss_fft.h" >kiss_fft_state *opus_fft_alloc_twiddles(int nfft,void * mem,size_t * lenmem, const kiss_fft_state *base); > >kiss_fft_state *opus_fft_alloc(int nfft,void * mem,size_t * lenmem); ># 130 "./celt/kiss_fft.h" >void opus_fft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout); >void opus_ifft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout); > >void opus_fft_free(const kiss_fft_state *cfg); ># 47 "./celt/mdct.h" 2 > > >typedef struct { > int n; > int maxshift; > const kiss_fft_state *kfft[4]; > const float * __restrict trig; >} mdct_lookup; > >int clt_mdct_init(mdct_lookup *l,int N, int maxshift); >void clt_mdct_clear(mdct_lookup *l); > > >void clt_mdct_forward(const mdct_lookup *l, float *in, > float * __restrict out, > const opus_val16 *window, int overlap, int shift, int stride); > > > >void clt_mdct_backward(const mdct_lookup *l, float *in, > float * __restrict out, > const opus_val16 * __restrict window, int overlap, int shift, int stride); ># 37 "./celt/modes.h" 2 ># 50 "./celt/modes.h" >typedef struct { > int size; > const opus_int16 *index; > const unsigned char *bits; > const unsigned char *caps; >} PulseCache; > > > > >struct OpusCustomMode { > opus_int32 Fs; > int overlap; > > int nbEBands; > int effEBands; > opus_val16 preemph[4]; > const opus_int16 *eBands; > > int maxLM; > int nbShortMdcts; > int shortMdctSize; > > int nbAllocVectors; > const unsigned char *allocVectors; > const opus_int16 *logN; > > const opus_val16 *window; > mdct_lookup mdct; > PulseCache cache; >}; ># 41 "src/opus_decoder.c" 2 ># 1 "./silk/API.h" 1 ># 31 "./silk/API.h" ># 1 "./silk/control.h" 1 ># 31 "./silk/control.h" ># 1 "./silk/typedef.h" 1 ># 34 "./silk/typedef.h" ># 1 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/float.h" 1 3 4 ># 279 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/float.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/float.h" 1 3 4 ># 244 "/usr/i686-w64-mingw32/sys-root/mingw/include/float.h" 3 4 >__attribute__ ((__dllimport__)) unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _controlfp (unsigned int unNew, unsigned int unMask) ; >__attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _controlfp_s(unsigned int *_CurrentState, unsigned int _NewValue, unsigned int _Mask); >__attribute__ ((__dllimport__)) unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _control87 (unsigned int unNew, unsigned int unMask); > > >__attribute__ ((__dllimport__)) unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _clearfp (void); >__attribute__ ((__dllimport__)) unsigned int __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _statusfp (void); ># 264 "/usr/i686-w64-mingw32/sys-root/mingw/include/float.h" 3 4 >void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) _fpreset (void); >void __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) fpreset (void); > > >__attribute__ ((__dllimport__)) int * __attribute__((__cdecl__)) __attribute__ ((__nothrow__)) __fpecode(void); ># 279 "/usr/lib64/gcc/i686-w64-mingw32/4.7.0/include/float.h" 2 3 4 ># 35 "./silk/typedef.h" 2 ># 32 "./silk/control.h" 2 ># 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; ># 32 "./silk/API.h" 2 > ># 1 "./silk/errors.h" 1 ># 34 "./silk/API.h" 2 ># 1 "./celt/entenc.h" 1 ># 35 "./silk/API.h" 2 ># 45 "./silk/API.h" >typedef struct { > int VADFlag; > int VADFlags[ 3 ]; > int inbandFECFlag; >} silk_TOC_struct; ># 58 "./silk/API.h" >int silk_Get_Encoder_Size( > int *encSizeBytes >); > > > > >int silk_InitEncoder( > void *encState, > silk_EncControlStruct *encStatus >); > > > > > > >int silk_Encode( > void *encState, > silk_EncControlStruct *encControl, > const opus_int16 *samplesIn, > int nSamplesIn, > ec_enc *psRangeEnc, > opus_int32 *nBytesOut, > const int prefillFlag >); ># 92 "./silk/API.h" >int silk_Get_Decoder_Size( > int *decSizeBytes >); > > > > >int silk_InitDecoder( > void *decState >); > > > > >int silk_Decode( > void* decState, > silk_DecControlStruct* decControl, > int lostFlag, > int newPacketFlag, > ec_dec *psRangeDec, > opus_int16 *samplesOut, > opus_int32 *nSamplesOut >); ># 42 "src/opus_decoder.c" 2 ># 1 "./celt/stack_alloc.h" 1 ># 43 "src/opus_decoder.c" 2 ># 1 "./celt/float_cast.h" 1 ># 131 "./celt/float_cast.h" >static inline opus_int16 FLOAT2INT16(float x) >{ > x = x*32768.f; > x = ((x) > (-32768) ? (x) : (-32768)); > x = ((x) < (32767) ? (x) : (32767)); > return (opus_int16)lrintf(x); >} ># 44 "src/opus_decoder.c" 2 ># 1 "src/opus_private.h" 1 ># 32 "src/opus_private.h" ># 1 "./celt/arch.h" 1 ># 33 "src/opus_private.h" 2 > > >struct OpusRepacketizer { > unsigned char toc; > int nb_frames; > const unsigned char *frames[48]; > short len[48]; > int framesize; >}; > >typedef struct ChannelLayout { > int nb_channels; > int nb_streams; > int nb_coupled_streams; > unsigned char mapping[256]; >} ChannelLayout; > >int validate_layout(const ChannelLayout *layout); >int get_left_channel(const ChannelLayout *layout, int stream_id, int prev); >int get_right_channel(const ChannelLayout *layout, int stream_id, int prev); >int get_mono_channel(const ChannelLayout *layout, int stream_id, int prev); ># 85 "src/opus_private.h" >int encode_size(int size, unsigned char *data); > >int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, > opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, int *packet_offset); > > >static inline int align(int i) >{ > return (i+(int)sizeof(void *)-1)&-(int)sizeof(void *); >} > >opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen, int self_delimited); ># 45 "src/opus_decoder.c" 2 ># 1 "./celt/os_support.h" 1 ># 38 "./celt/os_support.h" ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/string.h" 1 3 4 ># 36 "/usr/i686-w64-mingw32/sys-root/mingw/include/string.h" 3 4 > __attribute__ ((__dllimport__)) void *__attribute__((__cdecl__)) _memccpy(void *_Dst,const void *_Src,int _Val,size_t _MaxCount); > void *__attribute__((__cdecl__)) memchr(const void *_Buf ,int _Val,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _memicmp(const void *_Buf1,const void *_Buf2,size_t _Size); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _memicmp_l(const void *_Buf1,const void *_Buf2,size_t _Size,_locale_t _Locale); > int __attribute__((__cdecl__)) memcmp(const void *_Buf1,const void *_Buf2,size_t _Size); > void * __attribute__((__cdecl__)) memcpy(void * __restrict__ _Dst,const void * __restrict__ _Src,size_t _Size) ; > void * __attribute__((__cdecl__)) mempcpy (void *_Dst, const void *_Src, size_t _Size); > void * __attribute__((__cdecl__)) memset(void *_Dst,int _Val,size_t _Size); > > void * __attribute__((__cdecl__)) memccpy(void *_Dst,const void *_Src,int _Val,size_t _Size) ; > int __attribute__((__cdecl__)) memicmp(const void *_Buf1,const void *_Buf2,size_t _Size) ; > > > char * __attribute__((__cdecl__)) _strset(char *_Str,int _Val) ; > char * __attribute__((__cdecl__)) _strset_l(char *_Str,int _Val,_locale_t _Locale) ; > char * __attribute__((__cdecl__)) strcpy(char * __restrict__ _Dest,const char * __restrict__ _Source); > char * __attribute__((__cdecl__)) strcat(char * __restrict__ _Dest,const char * __restrict__ _Source); > int __attribute__((__cdecl__)) strcmp(const char *_Str1,const char *_Str2); > size_t __attribute__((__cdecl__)) strlen(const char *_Str); > size_t __attribute__((__cdecl__)) strnlen(const char *_Str,size_t _MaxCount); > void *__attribute__((__cdecl__)) memmove(void *_Dst,const void *_Src,size_t _Size) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strdup(const char *_Src); > char *__attribute__((__cdecl__)) strchr(const char *_Str,int _Val); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _stricmp(const char *_Str1,const char *_Str2); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strcmpi(const char *_Str1,const char *_Str2); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _stricmp_l(const char *_Str1,const char *_Str2,_locale_t _Locale); > int __attribute__((__cdecl__)) strcoll(const char *_Str1,const char *_Str2); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strcoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _stricoll(const char *_Str1,const char *_Str2); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _stricoll_l(const char *_Str1,const char *_Str2,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strncoll (const char *_Str1,const char *_Str2,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strncoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strnicoll (const char *_Str1,const char *_Str2,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strnicoll_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); > size_t __attribute__((__cdecl__)) strcspn(const char *_Str,const char *_Control); > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strerror(const char *_ErrMsg) ; > char *__attribute__((__cdecl__)) strerror(int) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strlwr(char *_String) ; > char *strlwr_l(char *_String,_locale_t _Locale) ; > char *__attribute__((__cdecl__)) strncat(char * __restrict__ _Dest,const char * __restrict__ _Source,size_t _Count) ; > int __attribute__((__cdecl__)) strncmp(const char *_Str1,const char *_Str2,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strnicmp(const char *_Str1,const char *_Str2,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _strnicmp_l(const char *_Str1,const char *_Str2,size_t _MaxCount,_locale_t _Locale); > char *strncpy(char * __restrict__ _Dest,const char * __restrict__ _Source,size_t _Count) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strnset(char *_Str,int _Val,size_t _MaxCount) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strnset_l(char *str,int c,size_t count,_locale_t _Locale) ; > char *__attribute__((__cdecl__)) strpbrk(const char *_Str,const char *_Control); > char *__attribute__((__cdecl__)) strrchr(const char *_Str,int _Ch); > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strrev(char *_Str); > size_t __attribute__((__cdecl__)) strspn(const char *_Str,const char *_Control); > char *__attribute__((__cdecl__)) strstr(const char *_Str,const char *_SubStr); > char *__attribute__((__cdecl__)) strtok(char * __restrict__ _Str,const char * __restrict__ _Delim) ; > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strupr(char *_String) ; > __attribute__ ((__dllimport__)) char *_strupr_l(char *_String,_locale_t _Locale) ; > size_t __attribute__((__cdecl__)) strxfrm(char * __restrict__ _Dst,const char * __restrict__ _Src,size_t _MaxCount); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _strxfrm_l(char * __restrict__ _Dst,const char * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); > > > char *__attribute__((__cdecl__)) strdup(const char *_Src) ; > int __attribute__((__cdecl__)) strcmpi(const char *_Str1,const char *_Str2) ; > int __attribute__((__cdecl__)) stricmp(const char *_Str1,const char *_Str2) ; > char *__attribute__((__cdecl__)) strlwr(char *_Str) ; > int __attribute__((__cdecl__)) strnicmp(const char *_Str1,const char *_Str,size_t _MaxCount) ; > int __attribute__((__cdecl__)) strncasecmp (const char *, const char *, size_t); > int __attribute__((__cdecl__)) strcasecmp (const char *, const char *); > > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) strncasecmp (const char *__sz1, const char *__sz2, size_t __sizeMaxCompare) { return _strnicmp (__sz1, __sz2, __sizeMaxCompare); } > extern inline __attribute__((__gnu_inline__)) int __attribute__((__cdecl__)) strcasecmp (const char *__sz1, const char *__sz2) { return _stricmp (__sz1, __sz2); } > > > > > char *__attribute__((__cdecl__)) strnset(char *_Str,int _Val,size_t _MaxCount) ; > char *__attribute__((__cdecl__)) strrev(char *_Str) ; > char *__attribute__((__cdecl__)) strset(char *_Str,int _Val) ; > char *__attribute__((__cdecl__)) strupr(char *_Str) ; > > > > > > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcsdup(const wchar_t *_Str); > wchar_t *__attribute__((__cdecl__)) wcscat(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source) ; > wchar_t *__attribute__((__cdecl__)) wcschr(const wchar_t *_Str,wchar_t _Ch); > int __attribute__((__cdecl__)) wcscmp(const wchar_t *_Str1,const wchar_t *_Str2); > wchar_t *__attribute__((__cdecl__)) wcscpy(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source) ; > size_t __attribute__((__cdecl__)) wcscspn(const wchar_t *_Str,const wchar_t *_Control); > size_t __attribute__((__cdecl__)) wcslen(const wchar_t *_Str); > size_t __attribute__((__cdecl__)) wcsnlen(const wchar_t *_Src,size_t _MaxCount); > wchar_t *wcsncat(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _Count) ; > int __attribute__((__cdecl__)) wcsncmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount); > wchar_t *wcsncpy(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _Count) ; > wchar_t *__attribute__((__cdecl__)) _wcsncpy_l(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Source,size_t _Count,_locale_t _Locale) ; > wchar_t *__attribute__((__cdecl__)) wcspbrk(const wchar_t *_Str,const wchar_t *_Control); > wchar_t *__attribute__((__cdecl__)) wcsrchr(const wchar_t *_Str,wchar_t _Ch); > size_t __attribute__((__cdecl__)) wcsspn(const wchar_t *_Str,const wchar_t *_Control); > wchar_t *__attribute__((__cdecl__)) wcsstr(const wchar_t *_Str,const wchar_t *_SubStr); > wchar_t *__attribute__((__cdecl__)) wcstok(wchar_t * __restrict__ _Str,const wchar_t * __restrict__ _Delim) ; > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcserror(int _ErrNum) ; > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) __wcserror(const wchar_t *_Str) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsicmp(const wchar_t *_Str1,const wchar_t *_Str2); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsicmp_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsnicmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsnicmp_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount) ; > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcsrev(wchar_t *_Str); > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcsset(wchar_t *_Str,wchar_t _Val) ; > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcslwr(wchar_t *_String) ; > __attribute__ ((__dllimport__)) wchar_t *_wcslwr_l(wchar_t *_String,_locale_t _Locale) ; > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcsupr(wchar_t *_String) ; > __attribute__ ((__dllimport__)) wchar_t *_wcsupr_l(wchar_t *_String,_locale_t _Locale) ; > size_t __attribute__((__cdecl__)) wcsxfrm(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _wcsxfrm_l(wchar_t * __restrict__ _Dst,const wchar_t * __restrict__ _Src,size_t _MaxCount,_locale_t _Locale); > int __attribute__((__cdecl__)) wcscoll(const wchar_t *_Str1,const wchar_t *_Str2); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcscoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsncoll(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsncoll_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsnicoll(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wcsnicoll_l(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount,_locale_t _Locale); > > > wchar_t *__attribute__((__cdecl__)) wcsdup(const wchar_t *_Str) ; > > int __attribute__((__cdecl__)) wcsicmp(const wchar_t *_Str1,const wchar_t *_Str2) ; > int __attribute__((__cdecl__)) wcsnicmp(const wchar_t *_Str1,const wchar_t *_Str2,size_t _MaxCount) ; > wchar_t *__attribute__((__cdecl__)) wcsnset(wchar_t *_Str,wchar_t _Val,size_t _MaxCount) ; > wchar_t *__attribute__((__cdecl__)) wcsrev(wchar_t *_Str) ; > wchar_t *__attribute__((__cdecl__)) wcsset(wchar_t *_Str,wchar_t _Val) ; > wchar_t *__attribute__((__cdecl__)) wcslwr(wchar_t *_Str) ; > wchar_t *__attribute__((__cdecl__)) wcsupr(wchar_t *_Str) ; > int __attribute__((__cdecl__)) wcsicoll(const wchar_t *_Str1,const wchar_t *_Str2) ; > > > > > > > ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/string_s.h" 1 3 4 ># 9 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/string_s.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/string.h" 1 3 4 ># 10 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/string_s.h" 2 3 4 > > > > > > > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strset_s(char *_Dst,size_t _DstSize,int _Value); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strerror_s(char *_Buf,size_t _SizeInBytes,const char *_ErrMsg); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) strerror_s(char *_Buf,size_t _SizeInBytes,int _ErrNum); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strlwr_s(char *_Str,size_t _Size); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strlwr_s_l(char *_Str,size_t _Size,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strnset_s(char *_Str,size_t _Size,int _Val,size_t _MaxCount); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strupr_s(char *_Str,size_t _Size); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strupr_s_l(char *_Str,size_t _Size,_locale_t _Locale); > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) strncat_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strncat_s_l(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) strcpy_s(char * _Dst, size_t _SizeInBytes, const char * _Src); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _strncpy_s_l(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) strtok_s(char *_Str,const char *_Delim,char **_Context); > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _strtok_s_l(char *_Str,const char *_Delim,char **_Context,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) strcat_s(char * strDestination, size_t numberOfElements, const char * strSource); > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) memmove_s(void *_dest,size_t _numberOfElements,const void *_src,size_t _count); > > > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) wcstok_s(wchar_t *_Str,const wchar_t *_Delim,wchar_t **_Context); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcserror_s(wchar_t *_Buf,size_t _SizeInWords,int _ErrNum); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) __wcserror_s(wchar_t *_Buffer,size_t _SizeInWords,const wchar_t *_ErrMsg); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsnset_s(wchar_t *_Dst,size_t _DstSizeInWords,wchar_t _Val,size_t _MaxCount); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsset_s(wchar_t *_Str,size_t _SizeInWords,wchar_t _Val); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcslwr_s(wchar_t *_Str,size_t _SizeInWords); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcslwr_s_l(wchar_t *_Str,size_t _SizeInWords,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsupr_s(wchar_t *_Str,size_t _Size); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsupr_s_l(wchar_t *_Str,size_t _Size,_locale_t _Locale); > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) wcscpy_s(wchar_t * _Dst, size_t _nElem, const wchar_t * _Src); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) wcscat_s(wchar_t * _Dst, size_t _nElem, const wchar_t * _Src); > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) wcsncat_s(wchar_t *_Dst,size_t _DstSizeInChars,const wchar_t *_Src,size_t _MaxCount); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsncat_s_l(wchar_t *_Dst,size_t _DstSizeInChars,const wchar_t *_Src,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) wcsncpy_s(wchar_t *_Dst,size_t _DstSizeInChars,const wchar_t *_Src,size_t _MaxCount); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsncpy_s_l(wchar_t *_Dst,size_t _DstSizeInChars,const wchar_t *_Src,size_t _MaxCount,_locale_t _Locale); > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wcstok_s_l(wchar_t *_Str,const wchar_t *_Delim,wchar_t **_Context,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsset_s_l(wchar_t *_Str,size_t _SizeInChars,unsigned int _Val,_locale_t _Locale); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wcsnset_s_l(wchar_t *_Str,size_t _SizeInChars,unsigned int _Val, size_t _Count,_locale_t _Locale); > > > > > > errno_t __attribute__((__cdecl__)) memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count); ># 177 "/usr/i686-w64-mingw32/sys-root/mingw/include/string.h" 2 3 4 ># 39 "./celt/os_support.h" 2 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 1 3 4 ># 11 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_print_push.h" 1 3 4 ># 12 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 2 3 4 > >#pragma pack(push,_CRT_PACKING) ># 26 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > struct _iobuf { > char *_ptr; > int _cnt; > char *_base; > int _flag; > int _file; > int _charbuf; > int _bufsiz; > char *_tmpfname; > }; > typedef struct _iobuf FILE; ># 80 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_off_t.h" 1 3 4 > > > > > typedef long _off_t; > > typedef long off32_t; > > > > > > __extension__ typedef long long _off64_t; > > __extension__ typedef long long off64_t; ># 26 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_off_t.h" 3 4 >typedef off32_t off_t; ># 81 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 2 3 4 ># 91 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 >extern FILE (* _imp___iob)[]; ># 103 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > __extension__ typedef long long fpos_t; ># 139 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 >extern > __attribute__((__format__ (gnu_scanf, 2, 3))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...); >extern > __attribute__((__format__ (gnu_scanf, 2, 0))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp); >extern > __attribute__((__format__ (gnu_scanf, 1, 2))) __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_scanf(const char * __restrict__ _Format,...); >extern > __attribute__((__format__ (gnu_scanf, 1, 0))) __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_vscanf(const char * __restrict__ Format, va_list argp); >extern > __attribute__((__format__ (gnu_scanf, 2, 3))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...); >extern > __attribute__((__format__ (gnu_scanf, 2, 0))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp); > >extern > __attribute__((__format__ (gnu_printf, 3, 0))) __attribute__ ((__nonnull__ (3))) > int __attribute__((__cdecl__)) __mingw_vsnprintf(char * __restrict__ _DstBuf,size_t _MaxCount,const char * __restrict__ _Format, > va_list _ArgList); >extern > __attribute__((__format__ (gnu_printf, 3, 4))) __attribute__ ((__nonnull__ (3))) > int __attribute__((__cdecl__)) __mingw_snprintf(char * __restrict__ s, size_t n, const char * __restrict__ format, ...); >extern > __attribute__((__format__ (gnu_printf, 1, 2))) __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_printf(const char * __restrict__ , ... ) __attribute__ ((__nothrow__)); >extern > __attribute__((__format__ (gnu_printf, 1, 0))) __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_vprintf (const char * __restrict__ , va_list) __attribute__ ((__nothrow__)); >extern > __attribute__((__format__ (gnu_printf, 2, 3))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_fprintf (FILE * __restrict__ , const char * __restrict__ , ...) __attribute__ ((__nothrow__)); >extern > __attribute__((__format__ (gnu_printf, 2, 0))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vfprintf (FILE * __restrict__ , const char * __restrict__ , va_list) __attribute__ ((__nothrow__)); >extern > __attribute__((__format__ (gnu_printf, 2, 3))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_sprintf (char * __restrict__ , const char * __restrict__ , ...) __attribute__ ((__nothrow__)); >extern > __attribute__((__format__ (gnu_printf, 2, 0))) __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vsprintf (char * __restrict__ , const char * __restrict__ , va_list) __attribute__ ((__nothrow__)); >extern > __attribute__((__format__ (gnu_printf, 2, 3))) __attribute__((nonnull (1,2))) > int __attribute__((__cdecl__)) __mingw_asprintf(char ** __restrict__ , const char * __restrict__ , ...) __attribute__ ((__nothrow__)); >extern > __attribute__((__format__ (gnu_printf, 2, 0))) __attribute__((nonnull (1,2))) > int __attribute__((__cdecl__)) __mingw_vasprintf(char ** __restrict__ , const char * __restrict__ , va_list) __attribute__ ((__nothrow__)); ># 390 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > int __attribute__((__cdecl__)) fprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,...); > int __attribute__((__cdecl__)) printf(const char * __restrict__ _Format,...); > int __attribute__((__cdecl__)) sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,...) ; > > int __attribute__((__cdecl__)) vfprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,va_list _ArgList); > int __attribute__((__cdecl__)) vprintf(const char * __restrict__ _Format,va_list _ArgList); > int __attribute__((__cdecl__)) vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) ; > > int __attribute__((__cdecl__)) fscanf(FILE * __restrict__ _File,const char * __restrict__ _Format,...) ; > int __attribute__((__cdecl__)) scanf(const char * __restrict__ _Format,...) ; > int __attribute__((__cdecl__)) sscanf(const char * __restrict__ _Src,const char * __restrict__ _Format,...) ; > > int __attribute__((__cdecl__)) __ms_vscanf(const char * __restrict__ Format, va_list argp); > int __attribute__((__cdecl__)) __ms_vfscanf (FILE * __restrict__ fp, const char * __restrict__ Format,va_list argp); > int __attribute__((__cdecl__)) __ms_vsscanf (const char * __restrict__ _Str,const char * __restrict__ Format,va_list argp); > > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > __attribute__ ((__nonnull__ (2))) > int vfscanf (FILE *__stream, const char *__format, __builtin_va_list __local_argv) > { > return __ms_vfscanf (__stream, __format, __local_argv); > } > > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > __attribute__ ((__nonnull__ (2))) > int vsscanf (const char * __restrict__ __source, const char * __restrict__ __format, __builtin_va_list __local_argv) > { > return __ms_vsscanf( __source, __format, __local_argv ); > } > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > __attribute__ ((__nonnull__ (1))) > int vscanf(const char *__format, __builtin_va_list __local_argv) > { > return __ms_vscanf (__format, __local_argv); > } > > > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _filbuf(FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _flsbuf(int _Ch,FILE *_File); > > > > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _fsopen(const char *_Filename,const char *_Mode,int _ShFlag); > > void __attribute__((__cdecl__)) clearerr(FILE *_File); > int __attribute__((__cdecl__)) fclose(FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fcloseall(void); > > > > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _fdopen(int _FileHandle,const char *_Mode); > > int __attribute__((__cdecl__)) feof(FILE *_File); > int __attribute__((__cdecl__)) ferror(FILE *_File); > int __attribute__((__cdecl__)) fflush(FILE *_File); > int __attribute__((__cdecl__)) fgetc(FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fgetchar(void); > int __attribute__((__cdecl__)) fgetpos(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); > int __attribute__((__cdecl__)) fgetpos64(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); > char *__attribute__((__cdecl__)) fgets(char * __restrict__ _Buf,int _MaxCount,FILE * __restrict__ _File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fileno(FILE *_File); > > > > __attribute__ ((__dllimport__)) char *__attribute__((__cdecl__)) _tempnam(const char *_DirName,const char *_FilePrefix); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _flushall(void); > FILE *__attribute__((__cdecl__)) fopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode) ; > FILE *fopen64(const char * __restrict__ filename,const char * __restrict__ mode); > int __attribute__((__cdecl__)) fputc(int _Ch,FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fputchar(int _Ch); > int __attribute__((__cdecl__)) fputs(const char * __restrict__ _Str,FILE * __restrict__ _File); > size_t __attribute__((__cdecl__)) fread(void * __restrict__ _DstBuf,size_t _ElementSize,size_t _Count,FILE * __restrict__ _File); > FILE *__attribute__((__cdecl__)) freopen(const char * __restrict__ _Filename,const char * __restrict__ _Mode,FILE * __restrict__ _File) ; > int __attribute__((__cdecl__)) _fscanf_l(FILE * __restrict__ _File,const char * __restrict__ _Format,_locale_t locale,...) ; > int __attribute__((__cdecl__)) fsetpos(FILE *_File,const fpos_t *_Pos); > int __attribute__((__cdecl__)) fsetpos64(FILE *_File,const fpos_t *_Pos); > int __attribute__((__cdecl__)) fseek(FILE *_File,long _Offset,int _Origin); > > > > int fseeko64(FILE* stream, _off64_t offset, int whence); > int fseeko(FILE* stream, _off_t offset, int whence); ># 482 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > long __attribute__((__cdecl__)) ftell(FILE *_File); > > _off_t ftello(FILE * stream); > _off64_t ftello64(FILE * stream); ># 494 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > __extension__ int __attribute__((__cdecl__)) _fseeki64(FILE *_File,long long _Offset,int _Origin); > __extension__ long long __attribute__((__cdecl__)) _ftelli64(FILE *_File); > size_t __attribute__((__cdecl__)) fwrite(const void * __restrict__ _Str,size_t _Size,size_t _Count,FILE * __restrict__ _File); > int __attribute__((__cdecl__)) getc(FILE *_File); > int __attribute__((__cdecl__)) getchar(void); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _getmaxstdio(void); > char *__attribute__((__cdecl__)) gets(char *_Buffer) ; > int __attribute__((__cdecl__)) _getw(FILE *_File); > > > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _pclose(FILE *_File); > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _popen(const char *_Command,const char *_Mode); > > > > > int __attribute__((__cdecl__)) putc(int _Ch,FILE *_File); > int __attribute__((__cdecl__)) putchar(int _Ch); > int __attribute__((__cdecl__)) puts(const char *_Str); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _putw(int _Word,FILE *_File); > > > int __attribute__((__cdecl__)) remove(const char *_Filename); > int __attribute__((__cdecl__)) rename(const char *_OldFilename,const char *_NewFilename); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _unlink(const char *_Filename); > > int __attribute__((__cdecl__)) unlink(const char *_Filename) ; > > > void __attribute__((__cdecl__)) rewind(FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _rmtmp(void); > int __attribute__((__cdecl__)) _scanf_l(const char * __restrict__ format,_locale_t locale,... ) ; > void __attribute__((__cdecl__)) setbuf(FILE * __restrict__ _File,char * __restrict__ _Buffer) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _setmaxstdio(int _Max); > __attribute__ ((__dllimport__)) unsigned int __attribute__((__cdecl__)) _set_output_format(unsigned int _Format); > __attribute__ ((__dllimport__)) unsigned int __attribute__((__cdecl__)) _get_output_format(void); > unsigned int __attribute__((__cdecl__)) __mingw_set_output_format(unsigned int _Format); > unsigned int __attribute__((__cdecl__)) __mingw_get_output_format(void); > > > > > int __attribute__((__cdecl__)) setvbuf(FILE * __restrict__ _File,char * __restrict__ _Buf,int _Mode,size_t _Size); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scprintf(const char * __restrict__ _Format,...); > int __attribute__((__cdecl__)) _sscanf_l(const char * __restrict__ buffer,const char * __restrict__ format,_locale_t locale,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snscanf(const char * __restrict__ _Src,size_t _MaxCount,const char * __restrict__ _Format,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snscanf_l(const char * __restrict__ input,size_t length,const char * __restrict__ format,_locale_t locale,...) ; > FILE *__attribute__((__cdecl__)) tmpfile(void) ; > char *__attribute__((__cdecl__)) tmpnam(char *_Buffer); > int __attribute__((__cdecl__)) ungetc(int _Ch,FILE *_File); > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snprintf_l(char * __restrict__ buffer,size_t count,const char * __restrict__ format,_locale_t locale,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnprintf_l(char * __restrict__ buffer,size_t count,const char * __restrict__ format,_locale_t locale,va_list argptr) ; > int __attribute__((__cdecl__)) _sprintf_l(char * __restrict__ buffer,const char * __restrict__ format,_locale_t locale,...) ; > > > > > > > > > int __attribute__((__cdecl__)) __ms_vsnprintf(char * __restrict__ d,size_t n,const char * __restrict__ format,va_list arg) > ; > > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > __attribute__ ((__nonnull__ (3))) > int vsnprintf (char * __restrict__ __stream, size_t __n, const char * __restrict__ __format, va_list __local_argv) > { > return __ms_vsnprintf (__stream, __n, __format, __local_argv); > } > > int __attribute__((__cdecl__)) __ms_snprintf(char * __restrict__ s, size_t n, const char * __restrict__ format, ...); > > >static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) >__attribute__ ((__nonnull__ (3))) >int snprintf (char * __restrict__ __stream, size_t __n, const char * __restrict__ __format, ...) >{ > register int __retval; > __builtin_va_list __local_argv; __builtin_va_start( __local_argv, __format ); > __retval = __ms_vsnprintf (__stream, __n, __format, __local_argv); > __builtin_va_end( __local_argv ); > return __retval; >} > > > > > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscprintf(const char * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _set_printf_count_output(int _Value); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _get_printf_count_output(void); > > > > > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vswscanf (const wchar_t * __restrict__ _Str,const wchar_t * __restrict__ Format,va_list argp); > __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_wscanf(const wchar_t * __restrict__ _Format,...); > __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_vwscanf(const wchar_t * __restrict__ Format, va_list argp); > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vfwscanf (FILE * __restrict__ fp, const wchar_t * __restrict__ Format,va_list argp); > > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_wprintf(const wchar_t * __restrict__ _Format,...); > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__nonnull__ (1))) > int __attribute__((__cdecl__)) __mingw_vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_swprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ , ...) ; > __attribute__ ((__nonnull__ (2))) > int __attribute__((__cdecl__)) __mingw_vswprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ ,va_list) ; > __attribute__ ((__nonnull__ (3))) > int __attribute__((__cdecl__)) __mingw_snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); > __attribute__ ((__nonnull__ (3))) > int __attribute__((__cdecl__)) __mingw_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list); ># 774 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > int __attribute__((__cdecl__)) fwscanf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...) ; > int __attribute__((__cdecl__)) swscanf(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,...) ; > int __attribute__((__cdecl__)) wscanf(const wchar_t * __restrict__ _Format,...) ; > > int __attribute__((__cdecl__)) __ms_vwscanf (const wchar_t * __restrict__ , va_list); > int __attribute__((__cdecl__)) __ms_vfwscanf (FILE * __restrict__ ,const wchar_t * __restrict__ ,va_list); > int __attribute__((__cdecl__)) __ms_vswscanf (const wchar_t * __restrict__ ,const wchar_t * __restrict__ ,va_list); > > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > __attribute__ ((__nonnull__ (2))) > int vfwscanf (FILE *__stream, const wchar_t *__format, __builtin_va_list __local_argv) > { > return __ms_vfwscanf (__stream, __format, __local_argv); > } > > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > __attribute__ ((__nonnull__ (2))) > int vswscanf (const wchar_t * __restrict__ __source, const wchar_t * __restrict__ __format, __builtin_va_list __local_argv) > { > return __ms_vswscanf( __source, __format, __local_argv ); > } > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > __attribute__ ((__nonnull__ (1))) > int vwscanf(const wchar_t *__format, __builtin_va_list __local_argv) > { > return __ms_vwscanf (__format, __local_argv); > } > > > > int __attribute__((__cdecl__)) fwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); > int __attribute__((__cdecl__)) wprintf(const wchar_t * __restrict__ _Format,...); > int __attribute__((__cdecl__)) vfwprintf(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); > int __attribute__((__cdecl__)) vwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) swprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ , ...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) vswprintf(wchar_t * __restrict__ , const wchar_t * __restrict__ ,va_list) ; ># 819 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _wfsopen(const wchar_t *_Filename,const wchar_t *_Mode,int _ShFlag); > > > wint_t __attribute__((__cdecl__)) fgetwc(FILE *_File); > __attribute__ ((__dllimport__)) wint_t __attribute__((__cdecl__)) _fgetwchar(void); > wint_t __attribute__((__cdecl__)) fputwc(wchar_t _Ch,FILE *_File); > __attribute__ ((__dllimport__)) wint_t __attribute__((__cdecl__)) _fputwchar(wchar_t _Ch); > wint_t __attribute__((__cdecl__)) getwc(FILE *_File); > wint_t __attribute__((__cdecl__)) getwchar(void); > wint_t __attribute__((__cdecl__)) putwc(wchar_t _Ch,FILE *_File); > wint_t __attribute__((__cdecl__)) putwchar(wchar_t _Ch); > wint_t __attribute__((__cdecl__)) ungetwc(wint_t _Ch,FILE *_File); > wchar_t *__attribute__((__cdecl__)) fgetws(wchar_t * __restrict__ _Dst,int _SizeInWords,FILE * __restrict__ _File); > int __attribute__((__cdecl__)) fputws(const wchar_t * __restrict__ _Str,FILE * __restrict__ _File); > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _getws(wchar_t *_String) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _putws(const wchar_t *_Str); > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scwprintf(const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_l(wchar_t * __restrict__ buffer,size_t count,const wchar_t * __restrict__ format,_locale_t locale,... ) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_c(wchar_t * __restrict__ _DstBuf,size_t _SizeInWords,const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) ; > > > > > > > > > int __attribute__((__cdecl__)) __ms_snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...); > int __attribute__((__cdecl__)) __ms_vsnwprintf (wchar_t * __restrict__ , size_t, const wchar_t * __restrict__ , va_list); > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > int snwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, ...) > { > int r; > va_list argp; > __builtin_va_start (argp, format); > r = _vsnwprintf (s, n, format, argp); > __builtin_va_end (argp); > return r; > } > static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__)) > int __attribute__((__cdecl__)) vsnwprintf (wchar_t * __restrict__ s, size_t n, const wchar_t * __restrict__ format, va_list arg) > { > return _vsnwprintf(s,n,format,arg); > } > > > > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwprintf_p(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wprintf_p(const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfwprintf_p(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_p(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_p(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scwprintf_p(const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscwprintf_p(const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwprintf_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwprintf_p_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfwprintf_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfwprintf_p_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_c_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_p_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_c_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_p_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwprintf_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnwprintf_l(wchar_t * __restrict__ _DstBuf,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,va_list _Args); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) __swprintf_l(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,_locale_t _Plocinfo,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_l(wchar_t * __restrict__ buffer,size_t count,const wchar_t * __restrict__ format,_locale_t locale,va_list argptr) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) __vswprintf_l(wchar_t * __restrict__ _Dest,const wchar_t * __restrict__ _Format,_locale_t _Plocinfo,va_list _Args) ; ># 912 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wtempnam(const wchar_t *_Directory,const wchar_t *_FilePrefix); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscwprintf(const wchar_t * __restrict__ _Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscwprintf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwscanf_l(FILE * __restrict__ _File,const wchar_t * __restrict__ _Format,_locale_t _Locale,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swscanf_l(const wchar_t * __restrict__ _Src,const wchar_t * __restrict__ _Format,_locale_t _Locale,...) ; > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwscanf(const wchar_t * __restrict__ _Src,size_t _MaxCount,const wchar_t * __restrict__ _Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwscanf_l(const wchar_t * __restrict__ _Src,size_t _MaxCount,const wchar_t * __restrict__ _Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) ; > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _wfdopen(int _FileHandle ,const wchar_t *_Mode); > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _wfopen(const wchar_t * __restrict__ _Filename,const wchar_t *__restrict__ _Mode) ; > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _wfreopen(const wchar_t * __restrict__ _Filename,const wchar_t * __restrict__ _Mode,FILE * __restrict__ _OldFile) ; > > > > > > __attribute__ ((__dllimport__)) FILE *__attribute__((__cdecl__)) _wpopen(const wchar_t *_Command,const wchar_t *_Mode); > > > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wremove(const wchar_t *_Filename); > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _wtmpnam(wchar_t *_Buffer); > __attribute__ ((__dllimport__)) wint_t __attribute__((__cdecl__)) _fgetwc_nolock(FILE *_File); > __attribute__ ((__dllimport__)) wint_t __attribute__((__cdecl__)) _fputwc_nolock(wchar_t _Ch,FILE *_File); > __attribute__ ((__dllimport__)) wint_t __attribute__((__cdecl__)) _ungetwc_nolock(wint_t _Ch,FILE *_File); ># 967 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _lock_file(FILE *_File); > __attribute__ ((__dllimport__)) void __attribute__((__cdecl__)) _unlock_file(FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fclose_nolock(FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fflush_nolock(FILE *_File); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _fread_nolock(void * __restrict__ _DstBuf,size_t _ElementSize,size_t _Count,FILE * __restrict__ _File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fseek_nolock(FILE *_File,long _Offset,int _Origin); > __attribute__ ((__dllimport__)) long __attribute__((__cdecl__)) _ftell_nolock(FILE *_File); > __extension__ __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fseeki64_nolock(FILE *_File,long long _Offset,int _Origin); > __extension__ __attribute__ ((__dllimport__)) long long __attribute__((__cdecl__)) _ftelli64_nolock(FILE *_File); > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _fwrite_nolock(const void * __restrict__ _DstBuf,size_t _Size,size_t _Count,FILE * __restrict__ _File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _ungetc_nolock(int _Ch,FILE *_File); > > > > > > char *__attribute__((__cdecl__)) tempnam(const char *_Directory,const char *_FilePrefix) ; > int __attribute__((__cdecl__)) fcloseall(void) ; > FILE *__attribute__((__cdecl__)) fdopen(int _FileHandle,const char *_Format) ; > int __attribute__((__cdecl__)) fgetchar(void) ; > int __attribute__((__cdecl__)) fileno(FILE *_File) ; > int __attribute__((__cdecl__)) flushall(void) ; > int __attribute__((__cdecl__)) fputchar(int _Ch) ; > int __attribute__((__cdecl__)) getw(FILE *_File) ; > int __attribute__((__cdecl__)) putw(int _Ch,FILE *_File) ; > int __attribute__((__cdecl__)) rmtmp(void) ; ># 1009 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 >int __attribute__((__cdecl__)) __mingw_str_wide_utf8 (const wchar_t * const wptr, char **mbptr, size_t * buflen); ># 1023 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 >int __attribute__((__cdecl__)) __mingw_str_utf8_wide (const char *const mbptr, wchar_t ** wptr, size_t * buflen); ># 1032 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 3 4 >void __attribute__((__cdecl__)) __mingw_str_free(void *ptr); > > > > > > > >#pragma pack(pop) > ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdio_s.h" 1 3 4 ># 9 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdio_s.h" 3 4 ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 1 3 4 ># 10 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdio_s.h" 2 3 4 ># 19 "/usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdio_s.h" 3 4 > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) clearerr_s(FILE *_File); > int __attribute__((__cdecl__)) fprintf_s(FILE *_File,const char *_Format,...); > size_t __attribute__((__cdecl__)) fread_s(void *_DstBuf,size_t _DstSize,size_t _ElementSize,size_t _Count,FILE *_File); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fscanf_s_l(FILE *_File,const char *_Format,_locale_t _Locale,...); > int __attribute__((__cdecl__)) printf_s(const char *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scanf_l(const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scanf_s_l(const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snprintf_c(char *_DstBuf,size_t _MaxCount,const char *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnprintf_c(char *_DstBuf,size_t _MaxCount,const char *_Format,va_list _ArgList); > > int __attribute__((__cdecl__)) sprintf_s(char *_DstBuf,size_t _DstSize,const char *_Format,...); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fscanf_l(FILE *_File,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _sscanf_l(const char *_Src,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _sscanf_s_l(const char *_Src,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snscanf_s(const char *_Src,size_t _MaxCount,const char *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snscanf_l(const char *_Src,size_t _MaxCount,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snscanf_s_l(const char *_Src,size_t _MaxCount,const char *_Format,_locale_t _Locale,...); > int __attribute__((__cdecl__)) vfprintf_s(FILE *_File,const char *_Format,va_list _ArgList); > int __attribute__((__cdecl__)) vprintf_s(const char *_Format,va_list _ArgList); > > int __attribute__((__cdecl__)) vsnprintf_s(char *_DstBuf,size_t _DstSize,size_t _MaxCount,const char *_Format,va_list _ArgList); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnprintf_s(char *_DstBuf,size_t _DstSize,size_t _MaxCount,const char *_Format,va_list _ArgList); > > > int __attribute__((__cdecl__)) vsprintf_s(char *_DstBuf,size_t _Size,const char *_Format,va_list _ArgList); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snprintf_s(char *_DstBuf,size_t _DstSize,size_t _MaxCount,const char *_Format,...); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fprintf_p(FILE *_File,const char *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _printf_p(const char *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _sprintf_p(char *_Dst,size_t _MaxCount,const char *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfprintf_p(FILE *_File,const char *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vprintf_p(const char *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsprintf_p(char *_Dst,size_t _MaxCount,const char *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scprintf_p(const char *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscprintf_p(const char *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _printf_l(const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _printf_p_l(const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vprintf_l(const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vprintf_p_l(const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fprintf_l(FILE *_File,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fprintf_p_l(FILE *_File,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfprintf_l(FILE *_File,const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfprintf_p_l(FILE *_File,const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _sprintf_l(char *_DstBuf,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _sprintf_p_l(char *_DstBuf,size_t _MaxCount,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsprintf_l(char *_DstBuf,const char *_Format,_locale_t,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsprintf_p_l(char *_DstBuf,size_t _MaxCount,const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scprintf_l(const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scprintf_p_l(const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscprintf_l(const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscprintf_p_l(const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _printf_s_l(const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vprintf_s_l(const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fprintf_s_l(FILE *_File,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfprintf_s_l(FILE *_File,const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _sprintf_s_l(char *_DstBuf,size_t _DstSize,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsprintf_s_l(char *_DstBuf,size_t _DstSize,const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snprintf_s_l(char *_DstBuf,size_t _DstSize,size_t _MaxCount,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnprintf_s_l(char *_DstBuf,size_t _DstSize,size_t _MaxCount,const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snprintf_l(char *_DstBuf,size_t _MaxCount,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snprintf_c_l(char *_DstBuf,size_t _MaxCount,const char *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnprintf_l(char *_DstBuf,size_t _MaxCount,const char *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnprintf_c_l(char *_DstBuf,size_t _MaxCount,const char *,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) fopen_s(FILE **_File,const char *_Filename,const char *_Mode); > > __attribute__ ((__dllimport__)) char* __attribute__((__cdecl__)) gets_s(char*,rsize_t); > > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) tmpnam_s(char*,rsize_t); > > > > > > __attribute__ ((__dllimport__)) wchar_t *__attribute__((__cdecl__)) _getws_s(wchar_t *_Str,size_t _SizeInWords); > > > int __attribute__((__cdecl__)) fwprintf_s(FILE *_File,const wchar_t *_Format,...); > int __attribute__((__cdecl__)) wprintf_s(const wchar_t *_Format,...); > int __attribute__((__cdecl__)) vfwprintf_s(FILE *_File,const wchar_t *_Format,va_list _ArgList); > int __attribute__((__cdecl__)) vwprintf_s(const wchar_t *_Format,va_list _ArgList); > > int __attribute__((__cdecl__)) vswprintf_s(wchar_t *_Dst,size_t _SizeInWords,const wchar_t *_Format,va_list _ArgList); > > > int __attribute__((__cdecl__)) swprintf_s(wchar_t *_Dst,size_t _SizeInWords,const wchar_t *_Format,...); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnwprintf_s(wchar_t *_DstBuf,size_t _DstSizeInWords,size_t _MaxCount,const wchar_t *_Format,va_list _ArgList); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwprintf_s(wchar_t *_DstBuf,size_t _DstSizeInWords,size_t _MaxCount,const wchar_t *_Format,...); > > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wprintf_s_l(const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vwprintf_s_l(const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwprintf_s_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfwprintf_s_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_s_l(wchar_t *_DstBuf,size_t _DstSize,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_s_l(wchar_t *_DstBuf,size_t _DstSize,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwprintf_s_l(wchar_t *_DstBuf,size_t _DstSize,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnwprintf_s_l(wchar_t *_DstBuf,size_t _DstSize,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwscanf_s_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swscanf_s_l(const wchar_t *_Src,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwscanf_s(const wchar_t *_Src,size_t _MaxCount,const wchar_t *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwscanf_s_l(const wchar_t *_Src,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wscanf_s_l(const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wfopen_s(FILE **_File,const wchar_t *_Filename,const wchar_t *_Mode); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wfreopen_s(FILE **_File,const wchar_t *_Filename,const wchar_t *_Mode,FILE *_OldFile); > > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wtmpnam_s(wchar_t *_DstBuf,size_t _SizeInWords); > > > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwprintf_p(FILE *_File,const wchar_t *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wprintf_p(const wchar_t *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfwprintf_p(FILE *_File,const wchar_t *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vwprintf_p(const wchar_t *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_p(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_p(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scwprintf_p(const wchar_t *_Format,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscwprintf_p(const wchar_t *_Format,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wprintf_l(const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wprintf_p_l(const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vwprintf_l(const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vwprintf_p_l(const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwprintf_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwprintf_p_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfwprintf_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vfwprintf_p_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_c_l(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swprintf_p_l(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_c_l(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vswprintf_p_l(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scwprintf_l(const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _scwprintf_p_l(const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscwprintf_p_l(const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwprintf_l(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vsnwprintf_l(wchar_t *_DstBuf,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) __swprintf_l(wchar_t *_Dest,const wchar_t *_Format,_locale_t _Plocinfo,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) __vswprintf_l(wchar_t *_Dest,const wchar_t *_Format,_locale_t _Plocinfo,va_list _Args); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _vscwprintf_l(const wchar_t *_Format,_locale_t _Locale,va_list _ArgList); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _fwscanf_l(FILE *_File,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _swscanf_l(const wchar_t *_Src,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _snwscanf_l(const wchar_t *_Src,size_t _MaxCount,const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) int __attribute__((__cdecl__)) _wscanf_l(const wchar_t *_Format,_locale_t _Locale,...); > __attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _wfopen_s(FILE ** _File,const wchar_t *_Filename,const wchar_t *_Mode); > > > > __attribute__ ((__dllimport__)) size_t __attribute__((__cdecl__)) _fread_nolock_s(void *_DstBuf,size_t _DstSize,size_t _ElementSize,size_t _Count,FILE *_File); ># 1043 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 2 3 4 > ># 1 "/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw_print_pop.h" 1 3 4 ># 1045 "/usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h" 2 3 4 ># 40 "./celt/os_support.h" 2 > > > > >static inline void *opus_alloc (size_t size) >{ > return malloc(size); >} > > > > >static inline void *opus_alloc_scratch (size_t size) >{ > > return opus_alloc(size); >} > > > > >static inline void opus_free (void *ptr) >{ > free(ptr); >} ># 46 "src/opus_decoder.c" 2 ># 1 "./silk/structs.h" 1 ># 32 "./silk/structs.h" ># 1 "./silk/SigProc_FIX.h" 1 ># 42 "./silk/SigProc_FIX.h" ># 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 ># 32 "./silk/macros.h" ># 1 "./config.h" 1 ># 33 "./silk/macros.h" 2 ># 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 >); > > > >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_Q13, > 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 >); ># 362 "./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)); > } >} ># 511 "./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)); >} ># 575 "./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; > } > } >} ># 576 "./silk/SigProc_FIX.h" 2 ># 1 "./silk/MacroCount.h" 1 ># 577 "./silk/SigProc_FIX.h" 2 ># 1 "./silk/MacroDebug.h" 1 ># 578 "./silk/SigProc_FIX.h" 2 ># 33 "./silk/structs.h" 2 ># 1 "./silk/define.h" 1 ># 34 "./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; ># 47 "src/opus_decoder.c" 2 ># 1 "./silk/define.h" 1 ># 48 "src/opus_decoder.c" 2 ># 1 "./celt/mathops.h" 1 ># 38 "./celt/mathops.h" ># 1 "./celt/entcode.h" 1 ># 39 "./celt/mathops.h" 2 ># 1 "./celt/os_support.h" 1 ># 40 "./celt/mathops.h" 2 > > > > >unsigned isqrt32(opus_uint32 _val); > > >static inline opus_val16 celt_maxabs16(const opus_val16 *x, int len) >{ > int i; > opus_val16 maxval = 0; > for (i=0;i<len;i++) > maxval = ((maxval) > (((x[i]) < 0 ? (-(x[i])) : (x[i]))) ? (maxval) : (((x[i]) < 0 ? (-(x[i])) : (x[i])))); > return maxval; >} ># 49 "src/opus_decoder.c" 2 > >struct OpusDecoder { > int celt_dec_offset; > int silk_dec_offset; > int channels; > opus_int32 Fs; > silk_DecControlStruct DecControl; > int decode_gain; > > > > int stream_channels; > > int bandwidth; > int mode; > int prev_mode; > int frame_size; > int prev_redundancy; > > opus_uint32 rangeFinal; >}; ># 78 "src/opus_decoder.c" >int opus_decoder_get_size(int channels) >{ > int silkDecSizeBytes, celtDecSizeBytes; > int ret; > if (channels<1 || channels > 2) > return 0; > ret = silk_Get_Decoder_Size( &silkDecSizeBytes ); > if(ret) > return 0; > silkDecSizeBytes = align(silkDecSizeBytes); > celtDecSizeBytes = celt_decoder_get_size(channels); > return align(sizeof(OpusDecoder))+silkDecSizeBytes+celtDecSizeBytes; >} > >int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) >{ > void *silk_dec; > OpusCustomDecoder *celt_dec; > int ret, silkDecSizeBytes; > > if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000) > || (channels!=1&&channels!=2)) > return -1; > > (memset(((char*)st), 0, (opus_decoder_get_size(channels))*sizeof(*((char*)st)))); > > ret = silk_Get_Decoder_Size(&silkDecSizeBytes); > if (ret) > return -3; > > silkDecSizeBytes = align(silkDecSizeBytes); > st->silk_dec_offset = align(sizeof(OpusDecoder)); > st->celt_dec_offset = st->silk_dec_offset+silkDecSizeBytes; > silk_dec = (char*)st+st->silk_dec_offset; > celt_dec = (OpusCustomDecoder*)((char*)st+st->celt_dec_offset); > st->stream_channels = st->channels = channels; > > st->Fs = Fs; > st->DecControl.API_sampleRate = st->Fs; > st->DecControl.nChannelsAPI = st->channels; > > > ret = silk_InitDecoder( silk_dec ); > if(ret)return -3; > > > ret = celt_decoder_init(celt_dec, Fs, channels); > if(ret!=0)return -3; > > opus_custom_decoder_ctl(celt_dec, 10016, (((void)((0) == (opus_int32)0)), (opus_int32)(0))); > > st->prev_mode = 0; > st->frame_size = Fs/400; > return 0; >} > >OpusDecoder *opus_decoder_create(opus_int32 Fs, int channels, int *error) >{ > int ret; > OpusDecoder *st; > if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000) > || (channels!=1&&channels!=2)) > { > if (error) > *error = -1; > return ((void *)0); > } > st = (OpusDecoder *)opus_alloc(opus_decoder_get_size(channels)); > if (st == ((void *)0)) > { > if (error) > *error = -7; > return ((void *)0); > } > ret = opus_decoder_init(st, Fs, channels); > if (error) > *error = ret; > if (ret != 0) > { > opus_free(st); > st = ((void *)0); > } > return st; >} > >static void smooth_fade(const opus_val16 *in1, const opus_val16 *in2, > opus_val16 *out, int overlap, int channels, > const opus_val16 *window, opus_int32 Fs) >{ > int i, c; > int inc = 48000/Fs; > for (c=0;c<channels;c++) > { > for (i=0;i<overlap;i++) > { > opus_val16 w = ((window[i*inc])*(window[i*inc])); > out[i*channels+c] = (((((opus_val32)(w)*(opus_val32)(in2[i*channels+c])))+(opus_val32)(1.0f -w)*(opus_val32)(in1[i*channels+c]))) > ; > } > } >} > >static int opus_packet_get_mode(const unsigned char *data) >{ > int mode; > if (data[0]&0x80) > { > mode = 1002; > } else if ((data[0]&0x60) == 0x60) > { > mode = 1001; > } else { > mode = 1000; > } > return mode; >} > >static int opus_decode_frame(OpusDecoder *st, const unsigned char *data, > opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) >{ > void *silk_dec; > OpusCustomDecoder *celt_dec; > int i, silk_ret=0, celt_ret=0; > ec_dec dec; > opus_int32 silk_frame_size; > int pcm_silk_size; > ; > int pcm_transition_silk_size; > ; > int pcm_transition_celt_size; > ; > opus_val16 *pcm_transition; > int redundant_audio_size; > ; > > int audiosize; > int mode; > int transition=0; > int start_band; > int redundancy=0; > int redundancy_bytes = 0; > int celt_to_silk=0; > int c; > int F2_5, F5, F10, F20; > const opus_val16 *window; > opus_uint32 redundant_rng = 0; > ; > > silk_dec = (char*)st+st->silk_dec_offset; > celt_dec = (OpusCustomDecoder*)((char*)st+st->celt_dec_offset); > F20 = st->Fs/50; > F10 = F20>>1; > F5 = F10>>1; > F2_5 = F5>>1; > if (frame_size < F2_5) > { > ; > return -2; > } > > frame_size = ((frame_size) < (st->Fs/25*3) ? (frame_size) : (st->Fs/25*3)); > > if (len<=1) > { > data = ((void *)0); > > frame_size = ((frame_size) < (st->frame_size) ? (frame_size) : (st->frame_size)); > } > if (data != ((void *)0)) > { > audiosize = st->frame_size; > mode = st->mode; > ec_dec_init(&dec,(unsigned char*)data,len); > } else { > audiosize = frame_size; > > if (st->prev_mode == 0) > { > > for (i=0;i<audiosize*st->channels;i++) > pcm[i] = 0; > ; > return audiosize; > } else { > mode = st->prev_mode; > } > } > > > if (data==((void *)0) && frame_size > F20 && mode != 1000) > { > int nb_samples = 0; > do { > int ret = opus_decode_frame(st, ((void *)0), 0, pcm, F20, 0); > if (ret != F20) > { > ; > return -3; > } > pcm += F20*st->channels; > nb_samples += F20; > } while (nb_samples < frame_size); > ; > return frame_size; > } > > pcm_transition_silk_size = 0; > pcm_transition_celt_size = 0; > if (data!=((void *)0) && st->prev_mode > 0 && ( > (mode == 1002 && st->prev_mode != 1002 && !st->prev_redundancy) > || (mode != 1002 && st->prev_mode == 1002) ) > ) > { > transition = 1; > > if (mode == 1002) > pcm_transition_celt_size = F5*st->channels; > else > pcm_transition_silk_size = F5*st->channels; > } > opus_val16 pcm_transition_celt[pcm_transition_celt_size]; > if (transition && mode == 1002) > { > pcm_transition = pcm_transition_celt; > opus_decode_frame(st, ((void *)0), 0, pcm_transition, ((F5) < (audiosize) ? (F5) : (audiosize)), 0); > } > if (audiosize > frame_size) > { > > ; > return -1; > } else { > frame_size = audiosize; > } > > > pcm_silk_size = (mode != 1002) ? ((F10) > (frame_size) ? (F10) : (frame_size))*st->channels : 0; > opus_int16 pcm_silk[pcm_silk_size]; > > > if (mode != 1002) > { > int lost_flag, decoded_samples; > opus_int16 *pcm_ptr = pcm_silk; > > if (st->prev_mode==1002) > silk_InitDecoder( silk_dec ); > > > st->DecControl.payloadSize_ms = ((10) > (1000 * audiosize / st->Fs) ? (10) : (1000 * audiosize / st->Fs)); > > if (data != ((void *)0)) > { > st->DecControl.nChannelsInternal = st->stream_channels; > if( mode == 1000 ) { > if( st->bandwidth == 1101 ) { > st->DecControl.internalSampleRate = 8000; > } else if( st->bandwidth == 1102 ) { > st->DecControl.internalSampleRate = 12000; > } else if( st->bandwidth == 1103 ) { > st->DecControl.internalSampleRate = 16000; > } else { > st->DecControl.internalSampleRate = 16000; > ; > } > } else { > > st->DecControl.internalSampleRate = 16000; > } > } > > lost_flag = data == ((void *)0) ? 1 : 2 * decode_fec; > decoded_samples = 0; > do { > > int first_frame = decoded_samples == 0; > silk_ret = silk_Decode( silk_dec, &st->DecControl, > lost_flag, first_frame, &dec, pcm_ptr, &silk_frame_size ); > if( silk_ret ) { > if (lost_flag) { > > silk_frame_size = frame_size; > for (i=0;i<frame_size*st->channels;i++) > pcm_ptr[i] = 0; > } else { > ; > return -4; > } > } > pcm_ptr += silk_frame_size * st->channels; > decoded_samples += silk_frame_size; > } while( decoded_samples < frame_size ); > } > > start_band = 0; > if (!decode_fec && mode != 1002 && data != ((void *)0) > && ec_tell(&dec)+17+20*(st->mode == 1001) <= 8*len) > { > > if (mode == 1001) > redundancy = ec_dec_bit_logp(&dec, 12); > else > redundancy = 1; > if (redundancy) > { > celt_to_silk = ec_dec_bit_logp(&dec, 1); > > > redundancy_bytes = mode==1001 ? > (opus_int32)ec_dec_uint(&dec, 256)+2 : > len-((ec_tell(&dec)+7)>>3); > len -= redundancy_bytes; > > > if (len*8 < ec_tell(&dec)) > { > len = 0; > redundancy_bytes = 0; > redundancy = 0; > } > > dec.storage -= redundancy_bytes; > } > } > if (mode != 1002) > start_band = 17; > > { > int endband=21; > > switch(st->bandwidth) > { > case 1101: > endband = 13; > break; > case 1102: > case 1103: > endband = 17; > break; > case 1104: > endband = 19; > break; > case 1105: > endband = 21; > break; > } > opus_custom_decoder_ctl(celt_dec, 10012, (((void)((endband) == (opus_int32)0)), (opus_int32)(endband))); > opus_custom_decoder_ctl(celt_dec, 10008, (((void)((st->stream_channels) == (opus_int32)0)), (opus_int32)(st->stream_channels))); > } > > if (redundancy) > { > transition = 0; > pcm_transition_silk_size=0; > } > > opus_val16 pcm_transition_silk[pcm_transition_silk_size]; > > if (transition && mode != 1002) > { > pcm_transition = pcm_transition_silk; > opus_decode_frame(st, ((void *)0), 0, pcm_transition, ((F5) < (audiosize) ? (F5) : (audiosize)), 0); > } > > > redundant_audio_size = redundancy ? F5*st->channels : 0; > opus_val16 redundant_audio[redundant_audio_size]; > > > if (redundancy && celt_to_silk) > { > opus_custom_decoder_ctl(celt_dec, 10010, (((void)((0) == (opus_int32)0)), (opus_int32)(0))); > celt_decode_with_ec(celt_dec, data+len, redundancy_bytes, > redundant_audio, F5, ((void *)0)); > opus_custom_decoder_ctl(celt_dec, 4031, ((&redundant_rng) + ((&redundant_rng) - (opus_uint32*)(&redundant_rng)))); > } > > > opus_custom_decoder_ctl(celt_dec, 10010, (((void)((start_band) == (opus_int32)0)), (opus_int32)(start_band))); > > if (mode != 1000) > { > int celt_frame_size = ((F20) < (frame_size) ? (F20) : (frame_size)); > > if (mode != st->prev_mode && st->prev_mode > 0 && !st->prev_redundancy) > opus_custom_decoder_ctl(celt_dec, 4028); > > celt_ret = celt_decode_with_ec(celt_dec, decode_fec ? ((void *)0) : data, > len, pcm, celt_frame_size, &dec); > } else { > unsigned char silence[2] = {0xFF, 0xFF}; > for (i=0;i<frame_size*st->channels;i++) > pcm[i] = 0; > > > if (st->prev_mode == 1001 && !(redundancy && celt_to_silk && st->prev_redundancy) ) > { > opus_custom_decoder_ctl(celt_dec, 10010, (((void)((0) == (opus_int32)0)), (opus_int32)(0))); > celt_decode_with_ec(celt_dec, silence, 2, pcm, F2_5, ((void *)0)); > } > } > > if (mode != 1002) > { > > > > > for (i=0;i<frame_size*st->channels;i++) > pcm[i] = pcm[i] + (opus_val16)((1.f/32768.f)*pcm_silk[i]); > > } > > { > const OpusCustomMode *celt_mode; > opus_custom_decoder_ctl(celt_dec, 10015, ((&celt_mode) + ((&celt_mode) - (const OpusCustomMode**)(&celt_mode)))); > window = celt_mode->window; > } > > > if (redundancy && !celt_to_silk) > { > opus_custom_decoder_ctl(celt_dec, 4028); > opus_custom_decoder_ctl(celt_dec, 10010, (((void)((0) == (opus_int32)0)), (opus_int32)(0))); > > celt_decode_with_ec(celt_dec, data+len, redundancy_bytes, redundant_audio, F5, ((void *)0)); > opus_custom_decoder_ctl(celt_dec, 4031, ((&redundant_rng) + ((&redundant_rng) - (opus_uint32*)(&redundant_rng)))); > smooth_fade(pcm+st->channels*(frame_size-F2_5), redundant_audio+st->channels*F2_5, > pcm+st->channels*(frame_size-F2_5), F2_5, st->channels, window, st->Fs); > } > if (redundancy && celt_to_silk) > { > for (c=0;c<st->channels;c++) > { > for (i=0;i<F2_5;i++) > pcm[st->channels*i+c] = redundant_audio[st->channels*i+c]; > } > smooth_fade(redundant_audio+st->channels*F2_5, pcm+st->channels*F2_5, > pcm+st->channels*F2_5, F2_5, st->channels, window, st->Fs); > } > if (transition) > { > if (audiosize >= F5) > { > for (i=0;i<st->channels*F2_5;i++) > pcm[i] = pcm_transition[i]; > smooth_fade(pcm_transition+st->channels*F2_5, pcm+st->channels*F2_5, > pcm+st->channels*F2_5, F2_5, > st->channels, window, st->Fs); > } else { > > > > > > smooth_fade(pcm_transition, pcm, > pcm, F2_5, > st->channels, window, st->Fs); > } > } > > if(st->decode_gain) > { > opus_val32 gain; > gain = ((float)exp(0.6931471805599453094*((((6.48814081e-4f))*(st->decode_gain))))); > for (i=0;i<frame_size*st->channels;i++) > { > opus_val32 x; > x = ((pcm[i])*(gain)); > pcm[i] = (x); > } > } > > if (len <= 1) > st->rangeFinal = 0; > else > st->rangeFinal = dec.rng ^ redundant_rng; > > st->prev_mode = mode; > st->prev_redundancy = redundancy && !celt_to_silk; > ; > return celt_ret < 0 ? celt_ret : audiosize; > >} > >static int parse_size(const unsigned char *data, opus_int32 len, short *size) >{ > if (len<1) > { > *size = -1; > return -1; > } else if (data[0]<252) > { > *size = data[0]; > return 1; > } else if (len<2) > { > *size = -1; > return -1; > } else { > *size = 4*data[1] + data[0]; > return 2; > } >} > >static int opus_packet_parse_impl(const unsigned char *data, opus_int32 len, > int self_delimited, unsigned char *out_toc, > const unsigned char *frames[48], short size[48], int *payload_offset) >{ > int i, bytes; > int count; > int cbr; > unsigned char ch, toc; > int framesize; > int last_size; > const unsigned char *data0 = data; > > if (size==((void *)0)) > return -1; > > framesize = opus_packet_get_samples_per_frame(data, 48000); > > cbr = 0; > toc = *data++; > len--; > last_size = len; > switch (toc&0x3) > { > > case 0: > count=1; > break; > > case 1: > count=2; > cbr = 1; > if (!self_delimited) > { > if (len&0x1) > return -4; > size[0] = last_size = len/2; > } > break; > > case 2: > count = 2; > bytes = parse_size(data, len, size); > len -= bytes; > if (size[0]<0 || size[0] > len) > return -4; > data += bytes; > last_size = len-size[0]; > break; > > default: > if (len<1) > return -4; > > ch = *data++; > count = ch&0x3F; > if (count <= 0 || framesize*count > 5760) > return -4; > len--; > > if (ch&0x40) > { > int padding=0; > int p; > do { > if (len<=0) > return -4; > p = *data++; > len--; > padding += p==255 ? 254: p; > } while (p==255); > len -= padding; > } > if (len<0) > return -4; > > cbr = !(ch&0x80); > if (!cbr) > { > > last_size = len; > for (i=0;i<count-1;i++) > { > bytes = parse_size(data, len, size+i); > len -= bytes; > if (size[i]<0 || size[i] > len) > return -4; > data += bytes; > last_size -= bytes+size[i]; > } > if (last_size<0) > return -4; > } else if (!self_delimited) > { > > last_size = len/count; > if (last_size*count!=len) > return -4; > for (i=0;i<count-1;i++) > size[i] = last_size; > } > break; > } > > if (self_delimited) > { > bytes = parse_size(data, len, size+count-1); > len -= bytes; > if (size[count-1]<0 || size[count-1] > len) > return -4; > data += bytes; > > if (cbr) > { > if (size[count-1]*count > len) > return -4; > for (i=0;i<count-1;i++) > size[i] = size[count-1]; > } else if(size[count-1] > last_size) > return -4; > } else > { > > > > if (last_size > 1275) > return -4; > size[count-1] = last_size; > } > > if (frames) > { > for (i=0;i<count;i++) > { > frames[i] = data; > data += size[i]; > } > } > > if (out_toc) > *out_toc = toc; > > if (payload_offset) > *payload_offset = (int)(data-data0); > > return count; >} > >int opus_packet_parse(const unsigned char *data, opus_int32 len, > unsigned char *out_toc, const unsigned char *frames[48], > short size[48], int *payload_offset) >{ > return opus_packet_parse_impl(data, len, 0, out_toc, > frames, size, payload_offset); >} > >int opus_decode_native(OpusDecoder *st, const unsigned char *data, > opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, > int self_delimited, int *packet_offset) >{ > int i, nb_samples; > int count, offset; > unsigned char toc; > int tot_offset; > > short size[48]; > if (decode_fec<0 || decode_fec>1) > return -1; > if (len==0 || data==((void *)0)) > return opus_decode_frame(st, ((void *)0), 0, pcm, frame_size, 0); > else if (len<0) > return -1; > > tot_offset = 0; > st->mode = opus_packet_get_mode(data); > st->bandwidth = opus_packet_get_bandwidth(data); > st->frame_size = opus_packet_get_samples_per_frame(data, st->Fs); > st->stream_channels = opus_packet_get_nb_channels(data); > > count = opus_packet_parse_impl(data, len, self_delimited, &toc, ((void *)0), size, &offset); > if (count < 0) > return count; > > data += offset; > tot_offset += offset; > > if (count*st->frame_size > frame_size) > return -2; > nb_samples=0; > for (i=0;i<count;i++) > { > int ret; > ret = opus_decode_frame(st, data, size[i], pcm, frame_size-nb_samples, decode_fec); > if (ret<0) > return ret; > data += size[i]; > tot_offset += size[i]; > pcm += ret*st->channels; > nb_samples += ret; > } > if (packet_offset != ((void *)0)) > *packet_offset = tot_offset; > return nb_samples; >} ># 818 "src/opus_decoder.c" >int opus_decode(OpusDecoder *st, const unsigned char *data, > opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) >{ > ; > int ret, i; > ; > > if(frame_size<0) > { > ; > return -1; > } > > float out[frame_size*st->channels]; > > ret = opus_decode_native(st, data, len, out, frame_size, decode_fec, 0, ((void *)0)); > if (ret > 0) > { > for (i=0;i<ret*st->channels;i++) > pcm[i] = FLOAT2INT16(out[i]); > } > ; > return ret; >} > >int opus_decode_float(OpusDecoder *st, const unsigned char *data, > opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) >{ > return opus_decode_native(st, data, len, pcm, frame_size, decode_fec, 0, ((void *)0)); >} > > > >int opus_decoder_ctl(OpusDecoder *st, int request, ...) >{ > int ret = 0; > va_list ap; > void *silk_dec; > OpusCustomDecoder *celt_dec; > > silk_dec = (char*)st+st->silk_dec_offset; > celt_dec = (OpusCustomDecoder*)((char*)st+st->celt_dec_offset); > > > __builtin_va_start(ap,request); > > switch (request) > { > case 4009: > { > opus_int32 *value = __builtin_va_arg(ap,opus_int32*); > *value = st->bandwidth; > } > break; > case 4031: > { > opus_uint32 *value = __builtin_va_arg(ap,opus_uint32*); > *value = st->rangeFinal; > } > break; > case 4028: > { > (memset(((char*)&st->stream_channels), 0, (sizeof(OpusDecoder)- ((char*)&st->stream_channels - (char*)st))*sizeof(*((char*)&st->stream_channels)))) > > ; > > opus_custom_decoder_ctl(celt_dec, 4028); > silk_InitDecoder( silk_dec ); > st->stream_channels = st->channels; > st->frame_size = st->Fs/400; > } > break; > case 4029: > { > opus_int32 *value = __builtin_va_arg(ap,opus_int32*); > if (value==((void *)0)) > { > ret = -1; > break; > } > *value = st->Fs; > } > break; > case 4033: > { > opus_int32 *value = __builtin_va_arg(ap,opus_int32*); > if (value==((void *)0)) > { > ret = -1; > break; > } > if (st->prev_mode == 1002) > opus_custom_decoder_ctl(celt_dec, 4033, ((value) + ((value) - (opus_int32*)(value)))); > else > *value = st->DecControl.prevPitchLag; > } > break; > case 4045: > { > opus_int32 *value = __builtin_va_arg(ap,opus_int32*); > if (value==((void *)0)) > { > ret = -1; > break; > } > *value = st->decode_gain; > } > break; > case 4034: > { > opus_int32 value = __builtin_va_arg(ap,opus_int32); > if (value<-32768 || value>32767) > { > ret = -1; > break; > } > st->decode_gain = value; > } > break; > default: > > ret = -5; > break; > } > > __builtin_va_end(ap); > return ret; >} > >void opus_decoder_destroy(OpusDecoder *st) >{ > opus_free(st); >} > > >int opus_packet_get_bandwidth(const unsigned char *data) >{ > int bandwidth; > if (data[0]&0x80) > { > bandwidth = 1102 + ((data[0]>>5)&0x3); > if (bandwidth == 1102) > bandwidth = 1101; > } else if ((data[0]&0x60) == 0x60) > { > bandwidth = (data[0]&0x10) ? 1105 : > 1104; > } else { > bandwidth = 1101 + ((data[0]>>5)&0x3); > } > return bandwidth; >} > >int opus_packet_get_samples_per_frame(const unsigned char *data, > opus_int32 Fs) >{ > int audiosize; > if (data[0]&0x80) > { > audiosize = ((data[0]>>3)&0x3); > audiosize = (Fs<<audiosize)/400; > } else if ((data[0]&0x60) == 0x60) > { > audiosize = (data[0]&0x08) ? Fs/50 : Fs/100; > } else { > audiosize = ((data[0]>>3)&0x3); > if (audiosize == 3) > audiosize = Fs*60/1000; > else > audiosize = (Fs<<audiosize)/100; > } > return audiosize; >} > >int opus_packet_get_nb_channels(const unsigned char *data) >{ > return (data[0]&0x4) ? 2 : 1; >} > >int opus_packet_get_nb_frames(const unsigned char packet[], opus_int32 len) >{ > int count; > if (len<1) > return -1; > count = packet[0]&0x3; > if (count==0) > return 1; > else if (count!=3) > return 2; > else if (len<2) > return -4; > else > return packet[1]&0x3F; >} > >int opus_decoder_get_nb_samples(const OpusDecoder *dec, > const unsigned char packet[], opus_int32 len) >{ > int samples; > int count = opus_packet_get_nb_frames(packet, len); > > if (count<0) > return count; > > samples = count*opus_packet_get_samples_per_frame(packet, dec->Fs); > > if (samples*25 > dec->Fs*3) > return -4; > else > return samples; >}
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 874869
: 641117