6 # 1 "/usr/include/stdio.h" 1 3 4
7 # 28 "/usr/include/stdio.h" 3 4
8 # 1 "/usr/include/features.h" 1 3 4
9 # 330 "/usr/include/features.h" 3 4
10 # 1 "/usr/include/sys/cdefs.h" 1 3 4
11 # 348 "/usr/include/sys/cdefs.h" 3 4
12 # 1 "/usr/include/bits/wordsize.h" 1 3 4
13 # 349 "/usr/include/sys/cdefs.h" 2 3 4
14 # 331 "/usr/include/features.h" 2 3 4
15 # 354 "/usr/include/features.h" 3 4
16 # 1 "/usr/include/gnu/stubs.h" 1 3 4
20 # 1 "/usr/include/bits/wordsize.h" 1 3 4
21 # 5 "/usr/include/gnu/stubs.h" 2 3 4
24 # 1 "/usr/include/gnu/stubs-32.h" 1 3 4
25 # 8 "/usr/include/gnu/stubs.h" 2 3 4
26 # 355 "/usr/include/features.h" 2 3 4
27 # 29 "/usr/include/stdio.h" 2 3 4
33 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 1 3 4
34 # 214 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 3 4
35 typedef unsigned int size_t;
36 # 35 "/usr/include/stdio.h" 2 3 4
38 # 1 "/usr/include/bits/types.h" 1 3 4
39 # 28 "/usr/include/bits/types.h" 3 4
40 # 1 "/usr/include/bits/wordsize.h" 1 3 4
41 # 29 "/usr/include/bits/types.h" 2 3 4
44 typedef unsigned char __u_char;
45 typedef unsigned short int __u_short;
46 typedef unsigned int __u_int;
47 typedef unsigned long int __u_long;
50 typedef signed char __int8_t;
51 typedef unsigned char __uint8_t;
52 typedef signed short int __int16_t;
53 typedef unsigned short int __uint16_t;
54 typedef signed int __int32_t;
55 typedef unsigned int __uint32_t;
60 __extension__ typedef signed long long int __int64_t;
61 __extension__ typedef unsigned long long int __uint64_t;
69 __extension__ typedef long long int __quad_t;
70 __extension__ typedef unsigned long long int __u_quad_t;
71 # 131 "/usr/include/bits/types.h" 3 4
72 # 1 "/usr/include/bits/typesizes.h" 1 3 4
73 # 132 "/usr/include/bits/types.h" 2 3 4
76 __extension__ typedef __u_quad_t __dev_t;
77 __extension__ typedef unsigned int __uid_t;
78 __extension__ typedef unsigned int __gid_t;
79 __extension__ typedef unsigned long int __ino_t;
80 __extension__ typedef __u_quad_t __ino64_t;
81 __extension__ typedef unsigned int __mode_t;
82 __extension__ typedef unsigned int __nlink_t;
83 __extension__ typedef long int __off_t;
84 __extension__ typedef __quad_t __off64_t;
85 __extension__ typedef int __pid_t;
86 __extension__ typedef struct { int __val[2]; } __fsid_t;
87 __extension__ typedef long int __clock_t;
88 __extension__ typedef unsigned long int __rlim_t;
89 __extension__ typedef __u_quad_t __rlim64_t;
90 __extension__ typedef unsigned int __id_t;
91 __extension__ typedef long int __time_t;
92 __extension__ typedef unsigned int __useconds_t;
93 __extension__ typedef long int __suseconds_t;
95 __extension__ typedef int __daddr_t;
96 __extension__ typedef long int __swblk_t;
97 __extension__ typedef int __key_t;
100 __extension__ typedef int __clockid_t;
103 __extension__ typedef void * __timer_t;
106 __extension__ typedef long int __blksize_t;
111 __extension__ typedef long int __blkcnt_t;
112 __extension__ typedef __quad_t __blkcnt64_t;
115 __extension__ typedef unsigned long int __fsblkcnt_t;
116 __extension__ typedef __u_quad_t __fsblkcnt64_t;
119 __extension__ typedef unsigned long int __fsfilcnt_t;
120 __extension__ typedef __u_quad_t __fsfilcnt64_t;
122 __extension__ typedef int __ssize_t;
126 typedef __off64_t __loff_t;
127 typedef __quad_t *__qaddr_t;
128 typedef char *__caddr_t;
131 __extension__ typedef int __intptr_t;
134 __extension__ typedef unsigned int __socklen_t;
135 # 37 "/usr/include/stdio.h" 2 3 4
136 # 45 "/usr/include/stdio.h" 3 4
141 typedef struct _IO_FILE FILE;
147 # 65 "/usr/include/stdio.h" 3 4
148 typedef struct _IO_FILE __FILE;
149 # 75 "/usr/include/stdio.h" 3 4
150 # 1 "/usr/include/libio.h" 1 3 4
151 # 32 "/usr/include/libio.h" 3 4
152 # 1 "/usr/include/_G_config.h" 1 3 4
153 # 15 "/usr/include/_G_config.h" 3 4
154 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 1 3 4
155 # 16 "/usr/include/_G_config.h" 2 3 4
160 # 1 "/usr/include/wchar.h" 1 3 4
161 # 78 "/usr/include/wchar.h" 3 4
175 # 21 "/usr/include/_G_config.h" 2 3 4
187 # 53 "/usr/include/_G_config.h" 3 4
188 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
189 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
190 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
191 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
192 # 33 "/usr/include/libio.h" 2 3 4
193 # 53 "/usr/include/libio.h" 3 4
194 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stdarg.h" 1 3 4
195 # 43 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stdarg.h" 3 4
196 typedef __builtin_va_list __gnuc_va_list;
197 # 54 "/usr/include/libio.h" 2 3 4
198 # 170 "/usr/include/libio.h" 3 4
199 struct _IO_jump_t; struct _IO_FILE;
200 # 180 "/usr/include/libio.h" 3 4
201 typedef void _IO_lock_t;
208 struct _IO_marker *_next;
209 struct _IO_FILE *_sbuf;
214 # 203 "/usr/include/libio.h" 3 4
218 enum __codecvt_result
225 # 271 "/usr/include/libio.h" 3 4
235 char* _IO_write_base;
242 char *_IO_backup_base;
245 struct _IO_marker *_markers;
247 struct _IO_FILE *_chain;
259 unsigned short _cur_column;
260 signed char _vtable_offset;
266 # 319 "/usr/include/libio.h" 3 4
268 # 328 "/usr/include/libio.h" 3 4
277 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
282 typedef struct _IO_FILE _IO_FILE;
285 struct _IO_FILE_plus;
287 extern struct _IO_FILE_plus _IO_2_1_stdin_;
288 extern struct _IO_FILE_plus _IO_2_1_stdout_;
289 extern struct _IO_FILE_plus _IO_2_1_stderr_;
290 # 364 "/usr/include/libio.h" 3 4
291 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
299 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
308 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
311 typedef int __io_close_fn (void *__cookie);
312 # 416 "/usr/include/libio.h" 3 4
313 extern int __underflow (_IO_FILE *);
314 extern int __uflow (_IO_FILE *);
315 extern int __overflow (_IO_FILE *, int);
316 # 458 "/usr/include/libio.h" 3 4
317 extern int _IO_getc (_IO_FILE *__fp);
318 extern int _IO_putc (int __c, _IO_FILE *__fp);
319 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
320 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
322 extern int _IO_peekc_locked (_IO_FILE *__fp);
328 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
329 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
330 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
331 # 488 "/usr/include/libio.h" 3 4
332 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
333 __gnuc_va_list, int *__restrict);
334 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
336 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
337 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
339 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
340 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
342 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
343 # 76 "/usr/include/stdio.h" 2 3 4
344 # 89 "/usr/include/stdio.h" 3 4
349 typedef _G_fpos64_t fpos_t;
353 typedef _G_fpos64_t fpos64_t;
354 # 141 "/usr/include/stdio.h" 3 4
355 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
356 # 142 "/usr/include/stdio.h" 2 3 4
360 extern struct _IO_FILE *stdin;
361 extern struct _IO_FILE *stdout;
362 extern struct _IO_FILE *stderr;
370 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
372 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
382 # 175 "/usr/include/stdio.h" 3 4
383 extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") ;
390 extern FILE *tmpfile64 (void) ;
394 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
400 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
401 # 204 "/usr/include/stdio.h" 3 4
402 extern char *tempnam (__const char *__dir, __const char *__pfx)
403 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
412 extern int fclose (FILE *__stream);
417 extern int fflush (FILE *__stream);
419 # 229 "/usr/include/stdio.h" 3 4
420 extern int fflush_unlocked (FILE *__stream);
421 # 243 "/usr/include/stdio.h" 3 4
423 # 260 "/usr/include/stdio.h" 3 4
424 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64")
427 extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64")
438 extern FILE *fopen64 (__const char *__restrict __filename,
439 __const char *__restrict __modes) ;
440 extern FILE *freopen64 (__const char *__restrict __filename,
441 __const char *__restrict __modes,
442 FILE *__restrict __stream) ;
447 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
448 # 304 "/usr/include/stdio.h" 3 4
452 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
456 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
457 int __modes, size_t __n) __attribute__ ((__nothrow__));
463 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
464 size_t __size) __attribute__ ((__nothrow__));
467 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
476 extern int fprintf (FILE *__restrict __stream,
477 __const char *__restrict __format, ...);
482 extern int printf (__const char *__restrict __format, ...);
484 extern int sprintf (char *__restrict __s,
485 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
491 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
492 __gnuc_va_list __arg);
497 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
499 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
500 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
506 extern int snprintf (char *__restrict __s, size_t __maxlen,
507 __const char *__restrict __format, ...)
508 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
510 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
511 __const char *__restrict __format, __gnuc_va_list __arg)
512 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
514 # 398 "/usr/include/stdio.h" 3 4
520 extern int fscanf (FILE *__restrict __stream,
521 __const char *__restrict __format, ...) ;
526 extern int scanf (__const char *__restrict __format, ...) ;
528 extern int sscanf (__const char *__restrict __s,
529 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
530 # 441 "/usr/include/stdio.h" 3 4
532 # 504 "/usr/include/stdio.h" 3 4
538 extern int fgetc (FILE *__stream);
539 extern int getc (FILE *__stream);
545 extern int getchar (void);
547 # 528 "/usr/include/stdio.h" 3 4
548 extern int getc_unlocked (FILE *__stream);
549 extern int getchar_unlocked (void);
550 # 539 "/usr/include/stdio.h" 3 4
551 extern int fgetc_unlocked (FILE *__stream);
563 extern int fputc (int __c, FILE *__stream);
564 extern int putc (int __c, FILE *__stream);
570 extern int putchar (int __c);
572 # 572 "/usr/include/stdio.h" 3 4
573 extern int fputc_unlocked (int __c, FILE *__stream);
581 extern int putc_unlocked (int __c, FILE *__stream);
582 extern int putchar_unlocked (int __c);
589 extern int getw (FILE *__stream);
592 extern int putw (int __w, FILE *__stream);
601 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
609 extern char *gets (char *__s) ;
611 # 653 "/usr/include/stdio.h" 3 4
617 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
623 extern int puts (__const char *__s);
630 extern int ungetc (int __c, FILE *__stream);
637 extern size_t fread (void *__restrict __ptr, size_t __size,
638 size_t __n, FILE *__restrict __stream) ;
643 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
644 size_t __n, FILE *__restrict __s) ;
646 # 706 "/usr/include/stdio.h" 3 4
647 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
648 size_t __n, FILE *__restrict __stream) ;
649 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
650 size_t __n, FILE *__restrict __stream) ;
659 extern int fseek (FILE *__stream, long int __off, int __whence);
664 extern long int ftell (FILE *__stream) ;
669 extern void rewind (FILE *__stream);
671 # 750 "/usr/include/stdio.h" 3 4
672 extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64");
675 extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64");
684 # 775 "/usr/include/stdio.h" 3 4
685 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64");
687 extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64");
697 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
698 extern __off64_t ftello64 (FILE *__stream) ;
699 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
700 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
705 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
707 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
709 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
714 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
715 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
716 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
725 extern void perror (__const char *__s);
732 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
733 # 27 "/usr/include/bits/sys_errlist.h" 3 4
735 extern __const char *__const sys_errlist[];
736 # 823 "/usr/include/stdio.h" 2 3 4
741 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
746 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
747 # 842 "/usr/include/stdio.h" 3 4
748 extern FILE *popen (__const char *__command, __const char *__modes) ;
754 extern int pclose (FILE *__stream);
760 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
761 # 882 "/usr/include/stdio.h" 3 4
762 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
766 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
769 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
770 # 903 "/usr/include/stdio.h" 3 4
771 # 1 "/usr/include/bits/stdio.h" 1 3 4
772 # 36 "/usr/include/bits/stdio.h" 3 4
774 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
776 return vfprintf (stdout, __fmt, __arg);
784 return _IO_getc (stdin);
791 fgetc_unlocked (FILE *__fp)
793 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
801 getc_unlocked (FILE *__fp)
803 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
808 getchar_unlocked (void)
810 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
819 return _IO_putc (__c, stdout);
826 fputc_unlocked (int __c, FILE *__stream)
828 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
836 putc_unlocked (int __c, FILE *__stream)
838 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
843 putchar_unlocked (int __c)
845 return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
847 # 125 "/usr/include/bits/stdio.h" 3 4
849 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
851 return (((__stream)->_flags & 0x10) != 0);
856 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
858 return (((__stream)->_flags & 0x20) != 0);
860 # 904 "/usr/include/stdio.h" 2 3 4
861 # 912 "/usr/include/stdio.h" 3 4
863 # 12 "af_volnorm.c" 2
864 # 1 "/usr/include/stdlib.h" 1 3 4
865 # 33 "/usr/include/stdlib.h" 3 4
866 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 1 3 4
867 # 326 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 3 4
868 typedef long int wchar_t;
869 # 34 "/usr/include/stdlib.h" 2 3 4
872 # 96 "/usr/include/stdlib.h" 3 4
891 # 140 "/usr/include/stdlib.h" 3 4
892 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
897 extern double atof (__const char *__nptr)
898 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
900 extern int atoi (__const char *__nptr)
901 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
903 extern long int atol (__const char *__nptr)
904 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
910 __extension__ extern long long int atoll (__const char *__nptr)
911 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
917 extern double strtod (__const char *__restrict __nptr,
918 char **__restrict __endptr)
919 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
921 # 182 "/usr/include/stdlib.h" 3 4
924 extern long int strtol (__const char *__restrict __nptr,
925 char **__restrict __endptr, int __base)
926 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
928 extern unsigned long int strtoul (__const char *__restrict __nptr,
929 char **__restrict __endptr, int __base)
930 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
936 extern long long int strtoq (__const char *__restrict __nptr,
937 char **__restrict __endptr, int __base)
938 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
941 extern unsigned long long int strtouq (__const char *__restrict __nptr,
942 char **__restrict __endptr, int __base)
943 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
950 extern long long int strtoll (__const char *__restrict __nptr,
951 char **__restrict __endptr, int __base)
952 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
955 extern unsigned long long int strtoull (__const char *__restrict __nptr,
956 char **__restrict __endptr, int __base)
957 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
959 # 277 "/usr/include/stdlib.h" 3 4
961 extern __inline double
962 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
964 return strtod (__nptr, (char **) ((void *)0));
967 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
969 return (int) strtol (__nptr, (char **) ((void *)0), 10);
971 extern __inline long int
972 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
974 return strtol (__nptr, (char **) ((void *)0), 10);
980 __extension__ extern __inline long long int
981 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
983 return strtoll (__nptr, (char **) ((void *)0), 10);
986 # 311 "/usr/include/stdlib.h" 3 4
987 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
990 extern long int a64l (__const char *__s)
991 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
996 # 1 "/usr/include/sys/types.h" 1 3 4
997 # 29 "/usr/include/sys/types.h" 3 4
1004 typedef __u_char u_char;
1005 typedef __u_short u_short;
1006 typedef __u_int u_int;
1007 typedef __u_long u_long;
1008 typedef __quad_t quad_t;
1009 typedef __u_quad_t u_quad_t;
1010 typedef __fsid_t fsid_t;
1015 typedef __loff_t loff_t;
1021 typedef __ino64_t ino_t;
1026 typedef __ino64_t ino64_t;
1031 typedef __dev_t dev_t;
1036 typedef __gid_t gid_t;
1041 typedef __mode_t mode_t;
1046 typedef __nlink_t nlink_t;
1051 typedef __uid_t uid_t;
1059 typedef __off64_t off_t;
1064 typedef __off64_t off64_t;
1069 typedef __pid_t pid_t;
1074 typedef __id_t id_t;
1079 typedef __ssize_t ssize_t;
1085 typedef __daddr_t daddr_t;
1086 typedef __caddr_t caddr_t;
1092 typedef __key_t key_t;
1093 # 133 "/usr/include/sys/types.h" 3 4
1094 # 1 "/usr/include/time.h" 1 3 4
1095 # 75 "/usr/include/time.h" 3 4
1098 typedef __time_t time_t;
1102 # 93 "/usr/include/time.h" 3 4
1103 typedef __clockid_t clockid_t;
1104 # 105 "/usr/include/time.h" 3 4
1105 typedef __timer_t timer_t;
1106 # 134 "/usr/include/sys/types.h" 2 3 4
1107 # 147 "/usr/include/sys/types.h" 3 4
1108 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 1 3 4
1109 # 148 "/usr/include/sys/types.h" 2 3 4
1113 typedef unsigned long int ulong;
1114 typedef unsigned short int ushort;
1115 typedef unsigned int uint;
1116 # 195 "/usr/include/sys/types.h" 3 4
1117 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
1118 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
1119 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
1120 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
1123 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1124 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1125 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1126 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1128 typedef int register_t __attribute__ ((__mode__ (__word__)));
1129 # 217 "/usr/include/sys/types.h" 3 4
1130 # 1 "/usr/include/endian.h" 1 3 4
1131 # 37 "/usr/include/endian.h" 3 4
1132 # 1 "/usr/include/bits/endian.h" 1 3 4
1133 # 38 "/usr/include/endian.h" 2 3 4
1134 # 218 "/usr/include/sys/types.h" 2 3 4
1137 # 1 "/usr/include/sys/select.h" 1 3 4
1138 # 31 "/usr/include/sys/select.h" 3 4
1139 # 1 "/usr/include/bits/select.h" 1 3 4
1140 # 32 "/usr/include/sys/select.h" 2 3 4
1143 # 1 "/usr/include/bits/sigset.h" 1 3 4
1144 # 24 "/usr/include/bits/sigset.h" 3 4
1145 typedef int __sig_atomic_t;
1152 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1154 # 35 "/usr/include/sys/select.h" 2 3 4
1158 typedef __sigset_t sigset_t;
1164 # 1 "/usr/include/time.h" 1 3 4
1165 # 121 "/usr/include/time.h" 3 4
1171 # 45 "/usr/include/sys/select.h" 2 3 4
1173 # 1 "/usr/include/bits/time.h" 1 3 4
1174 # 69 "/usr/include/bits/time.h" 3 4
1178 __suseconds_t tv_usec;
1180 # 47 "/usr/include/sys/select.h" 2 3 4
1183 typedef __suseconds_t suseconds_t;
1189 typedef long int __fd_mask;
1190 # 67 "/usr/include/sys/select.h" 3 4
1199 __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
1209 typedef __fd_mask fd_mask;
1210 # 99 "/usr/include/sys/select.h" 3 4
1212 # 109 "/usr/include/sys/select.h" 3 4
1213 extern int select (int __nfds, fd_set *__restrict __readfds,
1214 fd_set *__restrict __writefds,
1215 fd_set *__restrict __exceptfds,
1216 struct timeval *__restrict __timeout);
1217 # 121 "/usr/include/sys/select.h" 3 4
1218 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1219 fd_set *__restrict __writefds,
1220 fd_set *__restrict __exceptfds,
1221 const struct timespec *__restrict __timeout,
1222 const __sigset_t *__restrict __sigmask);
1226 # 221 "/usr/include/sys/types.h" 2 3 4
1229 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
1230 # 30 "/usr/include/sys/sysmacros.h" 3 4
1232 extern unsigned int gnu_dev_major (unsigned long long int __dev)
1233 __attribute__ ((__nothrow__));
1235 extern unsigned int gnu_dev_minor (unsigned long long int __dev)
1236 __attribute__ ((__nothrow__));
1238 extern unsigned long long int gnu_dev_makedev (unsigned int __major,
1239 unsigned int __minor)
1240 __attribute__ ((__nothrow__));
1243 __extension__ extern __inline unsigned int
1244 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1246 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1249 __extension__ extern __inline unsigned int
1250 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
1252 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1255 __extension__ extern __inline unsigned long long int
1256 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1258 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1259 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1260 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1262 # 224 "/usr/include/sys/types.h" 2 3 4
1263 # 248 "/usr/include/sys/types.h" 3 4
1264 typedef __blkcnt64_t blkcnt_t;
1268 typedef __fsblkcnt64_t fsblkcnt_t;
1272 typedef __fsfilcnt64_t fsfilcnt_t;
1278 typedef __blkcnt64_t blkcnt64_t;
1279 typedef __fsblkcnt64_t fsblkcnt64_t;
1280 typedef __fsfilcnt64_t fsfilcnt64_t;
1286 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
1287 # 24 "/usr/include/bits/pthreadtypes.h" 3 4
1288 # 1 "/usr/include/bits/wordsize.h" 1 3 4
1289 # 25 "/usr/include/bits/pthreadtypes.h" 2 3 4
1290 # 51 "/usr/include/bits/pthreadtypes.h" 3 4
1291 typedef unsigned long int pthread_t;
1299 # 68 "/usr/include/bits/pthreadtypes.h" 3 4
1300 typedef struct __pthread_internal_slist
1302 struct __pthread_internal_slist *__next;
1303 } __pthread_slist_t;
1311 struct __pthread_mutex_s
1314 unsigned int __count;
1327 unsigned int __nusers;
1331 __pthread_slist_t __list;
1343 } pthread_mutexattr_t;
1353 unsigned int __futex;
1354 __extension__ unsigned long long int __total_seq;
1355 __extension__ unsigned long long int __wakeup_seq;
1356 __extension__ unsigned long long int __woken_seq;
1358 unsigned int __nwaiters;
1359 unsigned int __broadcast_seq;
1362 __extension__ long long int __align;
1369 } pthread_condattr_t;
1373 typedef unsigned int pthread_key_t;
1377 typedef int pthread_once_t;
1385 # 171 "/usr/include/bits/pthreadtypes.h" 3 4
1389 unsigned int __nr_readers;
1390 unsigned int __readers_wakeup;
1391 unsigned int __writer_wakeup;
1392 unsigned int __nr_readers_queued;
1393 unsigned int __nr_writers_queued;
1394 unsigned char __pad1;
1395 unsigned char __pad2;
1396 unsigned char __shared;
1399 unsigned char __flags;
1411 } pthread_rwlockattr_t;
1417 typedef volatile int pthread_spinlock_t;
1426 } pthread_barrier_t;
1432 } pthread_barrierattr_t;
1433 # 271 "/usr/include/sys/types.h" 2 3 4
1437 # 321 "/usr/include/stdlib.h" 2 3 4
1444 extern long int random (void) __attribute__ ((__nothrow__));
1447 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
1453 extern char *initstate (unsigned int __seed, char *__statebuf,
1454 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1458 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1477 extern int random_r (struct random_data *__restrict __buf,
1478 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1480 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
1481 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1483 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
1485 struct random_data *__restrict __buf)
1486 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
1488 extern int setstate_r (char *__restrict __statebuf,
1489 struct random_data *__restrict __buf)
1490 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1497 extern int rand (void) __attribute__ ((__nothrow__));
1499 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
1504 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
1512 extern double drand48 (void) __attribute__ ((__nothrow__));
1513 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1516 extern long int lrand48 (void) __attribute__ ((__nothrow__));
1517 extern long int nrand48 (unsigned short int __xsubi[3])
1518 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1521 extern long int mrand48 (void) __attribute__ ((__nothrow__));
1522 extern long int jrand48 (unsigned short int __xsubi[3])
1523 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1526 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
1527 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
1528 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1529 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1537 unsigned short int __x[3];
1538 unsigned short int __old_x[3];
1539 unsigned short int __c;
1540 unsigned short int __init;
1541 unsigned long long int __a;
1545 extern int drand48_r (struct drand48_data *__restrict __buffer,
1546 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1547 extern int erand48_r (unsigned short int __xsubi[3],
1548 struct drand48_data *__restrict __buffer,
1549 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1552 extern int lrand48_r (struct drand48_data *__restrict __buffer,
1553 long int *__restrict __result)
1554 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1555 extern int nrand48_r (unsigned short int __xsubi[3],
1556 struct drand48_data *__restrict __buffer,
1557 long int *__restrict __result)
1558 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1561 extern int mrand48_r (struct drand48_data *__restrict __buffer,
1562 long int *__restrict __result)
1563 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1564 extern int jrand48_r (unsigned short int __xsubi[3],
1565 struct drand48_data *__restrict __buffer,
1566 long int *__restrict __result)
1567 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1570 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
1571 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1573 extern int seed48_r (unsigned short int __seed16v[3],
1574 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1576 extern int lcong48_r (unsigned short int __param[7],
1577 struct drand48_data *__buffer)
1578 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1588 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1590 extern void *calloc (size_t __nmemb, size_t __size)
1591 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1602 extern void *realloc (void *__ptr, size_t __size)
1603 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1605 extern void free (void *__ptr) __attribute__ ((__nothrow__));
1610 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
1614 # 1 "/usr/include/alloca.h" 1 3 4
1615 # 25 "/usr/include/alloca.h" 3 4
1616 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 1 3 4
1617 # 26 "/usr/include/alloca.h" 2 3 4
1625 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
1632 # 498 "/usr/include/stdlib.h" 2 3 4
1637 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1642 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
1643 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1648 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
1652 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1658 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
1659 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1666 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
1668 # 543 "/usr/include/stdlib.h" 3 4
1671 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1676 extern char *__secure_getenv (__const char *__name)
1677 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1683 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1689 extern int setenv (__const char *__name, __const char *__value, int __replace)
1690 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1693 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
1700 extern int clearenv (void) __attribute__ ((__nothrow__));
1701 # 583 "/usr/include/stdlib.h" 3 4
1702 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1703 # 597 "/usr/include/stdlib.h" 3 4
1704 extern int mkstemp (char *__template) __asm__ ("" "mkstemp64")
1705 __attribute__ ((__nonnull__ (1))) ;
1711 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
1712 # 614 "/usr/include/stdlib.h" 3 4
1713 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1714 # 640 "/usr/include/stdlib.h" 3 4
1720 extern int system (__const char *__command) ;
1722 # 662 "/usr/include/stdlib.h" 3 4
1723 extern char *realpath (__const char *__restrict __name,
1724 char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
1731 typedef int (*__compar_fn_t) (__const void *, __const void *);
1741 extern void *bsearch (__const void *__key, __const void *__base,
1742 size_t __nmemb, size_t __size, __compar_fn_t __compar)
1743 __attribute__ ((__nonnull__ (1, 2, 5))) ;
1747 extern void qsort (void *__base, size_t __nmemb, size_t __size,
1748 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
1752 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1753 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1766 extern div_t div (int __numer, int __denom)
1767 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1768 extern ldiv_t ldiv (long int __numer, long int __denom)
1769 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1771 # 727 "/usr/include/stdlib.h" 3 4
1772 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
1773 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1778 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
1779 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1784 extern char *gcvt (double __value, int __ndigit, char *__buf)
1785 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
1790 extern char *qecvt (long double __value, int __ndigit,
1791 int *__restrict __decpt, int *__restrict __sign)
1792 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1793 extern char *qfcvt (long double __value, int __ndigit,
1794 int *__restrict __decpt, int *__restrict __sign)
1795 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1796 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
1797 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
1802 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
1803 int *__restrict __sign, char *__restrict __buf,
1804 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1805 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
1806 int *__restrict __sign, char *__restrict __buf,
1807 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1809 extern int qecvt_r (long double __value, int __ndigit,
1810 int *__restrict __decpt, int *__restrict __sign,
1811 char *__restrict __buf, size_t __len)
1812 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1813 extern int qfcvt_r (long double __value, int __ndigit,
1814 int *__restrict __decpt, int *__restrict __sign,
1815 char *__restrict __buf, size_t __len)
1816 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1824 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
1827 extern int mbtowc (wchar_t *__restrict __pwc,
1828 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
1831 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
1835 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
1836 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
1838 extern size_t wcstombs (char *__restrict __s,
1839 __const wchar_t *__restrict __pwcs, size_t __n)
1840 __attribute__ ((__nothrow__));
1849 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1850 # 832 "/usr/include/stdlib.h" 3 4
1851 extern int posix_openpt (int __oflag) ;
1852 # 867 "/usr/include/stdlib.h" 3 4
1853 extern int getloadavg (double __loadavg[], int __nelem)
1854 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1855 # 883 "/usr/include/stdlib.h" 3 4
1857 # 13 "af_volnorm.c" 2
1858 # 1 "/usr/include/string.h" 1 3 4
1859 # 28 "/usr/include/string.h" 3 4
1865 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include/stddef.h" 1 3 4
1866 # 34 "/usr/include/string.h" 2 3 4
1871 extern void *memcpy (void *__restrict __dest,
1872 __const void *__restrict __src, size_t __n)
1873 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1876 extern void *memmove (void *__dest, __const void *__src, size_t __n)
1877 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1884 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
1885 int __c, size_t __n)
1886 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1892 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1895 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
1896 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1899 extern void *memchr (__const void *__s, int __c, size_t __n)
1900 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1902 # 82 "/usr/include/string.h" 3 4
1905 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
1906 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1908 extern char *strncpy (char *__restrict __dest,
1909 __const char *__restrict __src, size_t __n)
1910 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1913 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
1914 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1916 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
1917 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1920 extern int strcmp (__const char *__s1, __const char *__s2)
1921 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1923 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
1924 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1927 extern int strcoll (__const char *__s1, __const char *__s2)
1928 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1930 extern size_t strxfrm (char *__restrict __dest,
1931 __const char *__restrict __src, size_t __n)
1932 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1934 # 130 "/usr/include/string.h" 3 4
1935 extern char *strdup (__const char *__s)
1936 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
1937 # 165 "/usr/include/string.h" 3 4
1940 extern char *strchr (__const char *__s, int __c)
1941 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1943 extern char *strrchr (__const char *__s, int __c)
1944 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1946 # 181 "/usr/include/string.h" 3 4
1950 extern size_t strcspn (__const char *__s, __const char *__reject)
1951 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1954 extern size_t strspn (__const char *__s, __const char *__accept)
1955 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1957 extern char *strpbrk (__const char *__s, __const char *__accept)
1958 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1960 extern char *strstr (__const char *__haystack, __const char *__needle)
1961 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1965 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
1966 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1971 extern char *__strtok_r (char *__restrict __s,
1972 __const char *__restrict __delim,
1973 char **__restrict __save_ptr)
1974 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
1976 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
1977 char **__restrict __save_ptr)
1978 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
1979 # 240 "/usr/include/string.h" 3 4
1982 extern size_t strlen (__const char *__s)
1983 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1985 # 254 "/usr/include/string.h" 3 4
1988 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
1990 # 270 "/usr/include/string.h" 3 4
1991 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1992 # 294 "/usr/include/string.h" 3 4
1993 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1997 extern void bcopy (__const void *__src, void *__dest, size_t __n)
1998 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2001 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2004 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
2005 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2008 extern char *index (__const char *__s, int __c)
2009 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2012 extern char *rindex (__const char *__s, int __c)
2013 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2017 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2018 # 331 "/usr/include/string.h" 3 4
2019 extern int strcasecmp (__const char *__s1, __const char *__s2)
2020 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2023 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
2024 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2025 # 354 "/usr/include/string.h" 3 4
2026 extern char *strsep (char **__restrict __stringp,
2027 __const char *__restrict __delim)
2028 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2029 # 420 "/usr/include/string.h" 3 4
2030 # 1 "/usr/include/bits/string.h" 1 3 4
2031 # 421 "/usr/include/string.h" 2 3 4
2034 # 1 "/usr/include/bits/string2.h" 1 3 4
2035 # 80 "/usr/include/bits/string2.h" 3 4
2036 typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2;
2037 typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3;
2038 typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4;
2039 typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5;
2040 typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6;
2041 typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7;
2042 typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8;
2043 # 394 "/usr/include/bits/string2.h" 3 4
2044 extern void *__rawmemchr (const void *__s, int __c);
2045 # 969 "/usr/include/bits/string2.h" 3 4
2046 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
2047 extern __inline size_t
2048 __strcspn_c1 (__const char *__s, int __reject)
2050 register size_t __result = 0;
2051 while (__s[__result] != '\0' && __s[__result] != __reject)
2056 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
2058 extern __inline size_t
2059 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
2061 register size_t __result = 0;
2062 while (__s[__result] != '\0' && __s[__result] != __reject1
2063 && __s[__result] != __reject2)
2068 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
2069 int __reject2, int __reject3);
2070 extern __inline size_t
2071 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
2074 register size_t __result = 0;
2075 while (__s[__result] != '\0' && __s[__result] != __reject1
2076 && __s[__result] != __reject2 && __s[__result] != __reject3)
2080 # 1045 "/usr/include/bits/string2.h" 3 4
2081 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
2082 extern __inline size_t
2083 __strspn_c1 (__const char *__s, int __accept)
2085 register size_t __result = 0;
2087 while (__s[__result] == __accept)
2092 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
2094 extern __inline size_t
2095 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
2097 register size_t __result = 0;
2099 while (__s[__result] == __accept1 || __s[__result] == __accept2)
2104 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
2105 int __accept2, int __accept3);
2106 extern __inline size_t
2107 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
2109 register size_t __result = 0;
2111 while (__s[__result] == __accept1 || __s[__result] == __accept2
2112 || __s[__result] == __accept3)
2116 # 1121 "/usr/include/bits/string2.h" 3 4
2117 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
2119 extern __inline char *
2120 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
2123 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
2125 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
2128 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
2129 int __accept2, int __accept3);
2130 extern __inline char *
2131 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
2135 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
2136 && *__s != __accept3)
2138 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
2140 # 1173 "/usr/include/bits/string2.h" 3 4
2141 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
2142 extern __inline char *
2143 __strtok_r_1c (char *__s, char __sep, char **__nextp)
2146 if (__s == ((void *)0))
2148 while (*__s == __sep)
2150 __result = ((void *)0);
2154 while (*__s != '\0')
2155 if (*__s++ == __sep)
2164 # 1205 "/usr/include/bits/string2.h" 3 4
2165 extern char *__strsep_g (char **__stringp, __const char *__delim);
2166 # 1223 "/usr/include/bits/string2.h" 3 4
2167 extern __inline char *__strsep_1c (char **__s, char __reject);
2168 extern __inline char *
2169 __strsep_1c (char **__s, char __reject)
2171 register char *__retval = *__s;
2172 if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
2177 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
2178 extern __inline char *
2179 __strsep_2c (char **__s, char __reject1, char __reject2)
2181 register char *__retval = *__s;
2182 if (__retval != ((void *)0))
2184 register char *__cp = __retval;
2192 if (*__cp == __reject1 || *__cp == __reject2)
2204 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
2206 extern __inline char *
2207 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
2209 register char *__retval = *__s;
2210 if (__retval != ((void *)0))
2212 register char *__cp = __retval;
2220 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
2231 # 1304 "/usr/include/bits/string2.h" 3 4
2232 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2233 # 1323 "/usr/include/bits/string2.h" 3 4
2234 extern char *__strndup (__const char *__string, size_t __n)
2235 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2236 # 424 "/usr/include/string.h" 2 3 4
2237 # 432 "/usr/include/string.h" 3 4
2239 # 14 "af_volnorm.c" 2
2241 # 1 "/usr/include/inttypes.h" 1 3 4
2242 # 28 "/usr/include/inttypes.h" 3 4
2243 # 1 "/usr/include/stdint.h" 1 3 4
2244 # 27 "/usr/include/stdint.h" 3 4
2245 # 1 "/usr/include/bits/wchar.h" 1 3 4
2246 # 28 "/usr/include/stdint.h" 2 3 4
2247 # 1 "/usr/include/bits/wordsize.h" 1 3 4
2248 # 29 "/usr/include/stdint.h" 2 3 4
2249 # 49 "/usr/include/stdint.h" 3 4
2250 typedef unsigned char uint8_t;
2251 typedef unsigned short int uint16_t;
2253 typedef unsigned int uint32_t;
2260 typedef unsigned long long int uint64_t;
2267 typedef signed char int_least8_t;
2268 typedef short int int_least16_t;
2269 typedef int int_least32_t;
2274 typedef long long int int_least64_t;
2278 typedef unsigned char uint_least8_t;
2279 typedef unsigned short int uint_least16_t;
2280 typedef unsigned int uint_least32_t;
2285 typedef unsigned long long int uint_least64_t;
2292 typedef signed char int_fast8_t;
2298 typedef int int_fast16_t;
2299 typedef int int_fast32_t;
2301 typedef long long int int_fast64_t;
2305 typedef unsigned char uint_fast8_t;
2311 typedef unsigned int uint_fast16_t;
2312 typedef unsigned int uint_fast32_t;
2314 typedef unsigned long long int uint_fast64_t;
2315 # 126 "/usr/include/stdint.h" 3 4
2316 typedef int intptr_t;
2319 typedef unsigned int uintptr_t;
2320 # 138 "/usr/include/stdint.h" 3 4
2322 typedef long long int intmax_t;
2324 typedef unsigned long long int uintmax_t;
2325 # 29 "/usr/include/inttypes.h" 2 3 4
2332 typedef long int __gwchar_t;
2333 # 274 "/usr/include/inttypes.h" 3 4
2335 # 288 "/usr/include/inttypes.h" 3 4
2346 extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2349 extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
2350 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2353 extern intmax_t strtoimax (__const char *__restrict __nptr,
2354 char **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
2357 extern uintmax_t strtoumax (__const char *__restrict __nptr,
2358 char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__));
2361 extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
2362 __gwchar_t **__restrict __endptr, int __base)
2363 __attribute__ ((__nothrow__));
2366 extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr,
2367 __gwchar_t ** __restrict __endptr, int __base)
2368 __attribute__ ((__nothrow__));
2369 # 379 "/usr/include/inttypes.h" 3 4
2371 extern long long int __strtoll_internal (__const char *__restrict __nptr,
2372 char **__restrict __endptr,
2373 int __base, int __group)
2374 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2376 extern __inline intmax_t
2377 __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base)
2380 return __strtoll_internal (nptr, endptr, base, 0);
2384 extern unsigned long long int __strtoull_internal (__const char *
2387 __restrict __endptr,
2390 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2392 extern __inline uintmax_t
2393 __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base)
2396 return __strtoull_internal (nptr, endptr, base, 0);
2400 extern long long int __wcstoll_internal (__const __gwchar_t *
2402 __gwchar_t **__restrict __endptr,
2403 int __base, int __group)
2404 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2406 extern __inline intmax_t
2407 __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
2410 return __wcstoll_internal (nptr, endptr, base, 0);
2415 extern unsigned long long int __wcstoull_internal (__const __gwchar_t *
2418 __restrict __endptr,
2421 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2423 extern __inline uintmax_t
2424 __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
2427 return __wcstoull_internal (nptr, endptr, base, 0);
2434 # 16 "af_volnorm.c" 2
2435 # 1 "/usr/include/math.h" 1 3 4
2436 # 30 "/usr/include/math.h" 3 4
2441 # 1 "/usr/include/bits/huge_val.h" 1 3 4
2442 # 35 "/usr/include/math.h" 2 3 4
2443 # 47 "/usr/include/math.h" 3 4
2444 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/bits/mathdef.h" 1 3 4
2445 # 48 "/usr/include/math.h" 2 3 4
2446 # 71 "/usr/include/math.h" 3 4
2447 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
2448 # 53 "/usr/include/bits/mathcalls.h" 3 4
2451 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
2453 extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
2455 extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
2457 extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
2460 extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
2462 extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
2464 extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
2469 extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
2471 extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
2473 extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
2475 # 87 "/usr/include/bits/mathcalls.h" 3 4
2478 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
2480 extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
2482 extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
2490 extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
2493 extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
2496 extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
2499 extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
2502 extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
2505 extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
2507 # 127 "/usr/include/bits/mathcalls.h" 3 4
2510 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
2513 extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
2516 extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
2518 # 152 "/usr/include/bits/mathcalls.h" 3 4
2521 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__));
2524 extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
2530 extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
2537 extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__));
2546 extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2549 extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2552 extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2555 extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
2560 extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2563 extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2569 extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2572 extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2575 extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
2579 extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
2585 extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2587 # 231 "/usr/include/bits/mathcalls.h" 3 4
2588 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2592 extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2595 extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__));
2596 extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__));
2597 extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__));
2598 extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__));
2599 extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__));
2600 extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__));
2607 extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__));
2608 extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__));
2609 extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__));
2611 # 265 "/usr/include/bits/mathcalls.h" 3 4
2612 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
2619 extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
2627 extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
2630 extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2636 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
2640 extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
2644 extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
2645 # 359 "/usr/include/bits/mathcalls.h" 3 4
2651 extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__));
2652 # 72 "/usr/include/math.h" 2 3 4
2653 # 94 "/usr/include/math.h" 3 4
2654 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
2655 # 53 "/usr/include/bits/mathcalls.h" 3 4
2658 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
2660 extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
2662 extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
2664 extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
2667 extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
2669 extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
2671 extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
2676 extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
2678 extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
2680 extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
2682 # 87 "/usr/include/bits/mathcalls.h" 3 4
2685 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
2687 extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
2689 extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
2697 extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
2700 extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
2703 extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
2706 extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
2709 extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
2712 extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
2714 # 127 "/usr/include/bits/mathcalls.h" 3 4
2717 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
2720 extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
2723 extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
2725 # 152 "/usr/include/bits/mathcalls.h" 3 4
2728 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__));
2731 extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
2737 extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
2744 extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__));
2753 extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2756 extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2759 extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2762 extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
2767 extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2770 extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2776 extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2779 extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2782 extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
2786 extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
2792 extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2794 # 231 "/usr/include/bits/mathcalls.h" 3 4
2795 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2799 extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2802 extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__));
2803 extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__));
2804 extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__));
2805 extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__));
2806 extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__));
2807 extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__));
2814 extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__));
2815 extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__));
2816 extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__));
2818 # 265 "/usr/include/bits/mathcalls.h" 3 4
2819 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
2826 extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
2834 extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
2837 extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2843 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
2847 extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
2851 extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
2852 # 359 "/usr/include/bits/mathcalls.h" 3 4
2858 extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__));
2859 # 95 "/usr/include/math.h" 2 3 4
2860 # 141 "/usr/include/math.h" 3 4
2861 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
2862 # 53 "/usr/include/bits/mathcalls.h" 3 4
2865 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__));
2867 extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__));
2869 extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__));
2871 extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__));
2874 extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__));
2876 extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__));
2878 extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__));
2883 extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__));
2885 extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__));
2887 extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__));
2889 # 87 "/usr/include/bits/mathcalls.h" 3 4
2892 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__));
2894 extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__));
2896 extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__));
2904 extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__));
2907 extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__));
2910 extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__));
2913 extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__));
2916 extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__));
2919 extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__));
2921 # 127 "/usr/include/bits/mathcalls.h" 3 4
2924 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__));
2927 extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__));
2930 extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__));
2932 # 152 "/usr/include/bits/mathcalls.h" 3 4
2935 extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__));
2938 extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__));
2944 extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__));
2951 extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__));
2960 extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2963 extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2966 extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2969 extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__));
2974 extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2977 extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2983 extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2986 extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2989 extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__));
2993 extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__));
2999 extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3001 # 231 "/usr/include/bits/mathcalls.h" 3 4
3002 extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3006 extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3009 extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__));
3010 extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__));
3011 extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__));
3012 extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__));
3013 extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__));
3014 extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__));
3021 extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__));
3022 extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__));
3023 extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__));
3025 # 265 "/usr/include/bits/mathcalls.h" 3 4
3026 extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__));
3033 extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__));
3041 extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__));
3044 extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3050 extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__));
3054 extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__));
3058 extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__));
3059 # 359 "/usr/include/bits/mathcalls.h" 3 4
3065 extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__));
3066 # 142 "/usr/include/math.h" 2 3 4
3067 # 157 "/usr/include/math.h" 3 4
3069 # 284 "/usr/include/math.h" 3 4
3077 } _LIB_VERSION_TYPE;
3082 extern _LIB_VERSION_TYPE _LIB_VERSION;
3083 # 309 "/usr/include/math.h" 3 4
3097 extern int matherr (struct exception *__exc);
3098 # 409 "/usr/include/math.h" 3 4
3099 # 1 "/usr/include/bits/mathinline.h" 1 3 4
3100 # 410 "/usr/include/math.h" 2 3 4
3101 # 465 "/usr/include/math.h" 3 4
3103 # 17 "af_volnorm.c" 2
3104 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/limits.h" 1 3 4
3105 # 11 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/limits.h" 3 4
3106 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/syslimits.h" 1 3 4
3113 # 1 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/limits.h" 1 3 4
3114 # 122 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/limits.h" 3 4
3115 # 1 "/usr/include/limits.h" 1 3 4
3116 # 145 "/usr/include/limits.h" 3 4
3117 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
3118 # 153 "/usr/include/bits/posix1_lim.h" 3 4
3119 # 1 "/usr/include/bits/local_lim.h" 1 3 4
3120 # 36 "/usr/include/bits/local_lim.h" 3 4
3121 # 1 "/usr/include/linux/limits.h" 1 3 4
3122 # 37 "/usr/include/bits/local_lim.h" 2 3 4
3123 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4
3124 # 146 "/usr/include/limits.h" 2 3 4
3128 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
3129 # 150 "/usr/include/limits.h" 2 3 4
3130 # 123 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/limits.h" 2 3 4
3131 # 8 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/syslimits.h" 2 3 4
3132 # 12 "/usr/lib/gcc/powerpc-unknown-linux-gnu/4.3.0/include-fixed/limits.h" 2 3 4
3133 # 18 "af_volnorm.c" 2
3156 void mp_msg_init(void);
3157 int mp_msg_test(int mod, int lev);
3160 # 113 "../mp_msg.h" 2
3163 void mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((format (printf, 3, 4)));
3165 const char* filename_recode(const char* filename);
3167 # 1 "../cpudetect.h" 1
3168 # 37 "../cpudetect.h"
3169 typedef struct cpucaps_s {
3185 extern CpuCaps gCpuCaps;
3187 void GetCpuCaps(CpuCaps *caps);
3190 char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]);
3195 typedef struct af_control_info_s{
3214 typedef struct af_control_ext_s{
3221 extern int af_str2fmt(const char *str);
3222 extern int af_str2fmt_short(const char *str);
3223 extern int af_fmt2bits(int format);
3224 extern int af_bits2fmt(int bits);
3225 extern char* af_fmt2str(int format, char* str, int size);
3226 extern const char* af_fmt2str_short(int format);
3229 struct af_instance_s;
3237 typedef struct af_data_s
3247 typedef struct af_info_s
3252 const char *comment;
3254 int (*open)(struct af_instance_s* vf);
3258 typedef struct af_instance_s
3261 int (*control)(struct af_instance_s* af, int cmd, void* arg);
3262 void (*uninit)(struct af_instance_s* af);
3263 af_data_t* (*play)(struct af_instance_s* af, af_data_t* data);
3266 struct af_instance_s* next;
3267 struct af_instance_s* prev;
3275 extern int* af_cpu_speed;
3277 typedef struct af_cfg_s{
3284 typedef struct af_stream_s
3287 af_instance_t* first;
3288 af_instance_t* last;
3296 int af_init(af_stream_t* s);
3301 void af_uninit(af_stream_t* s);
3303 af_instance_t* af_add(af_stream_t* s, char* name);
3309 void af_remove(af_stream_t* s, af_instance_t* af);
3311 af_instance_t* af_get(af_stream_t* s, char* name);
3319 af_data_t* af_play(af_stream_t* s, af_data_t* data);
3321 af_instance_t *af_control_any_rev (af_stream_t* s, int cmd, void* arg);
3327 double af_calc_filter_multiplier(af_stream_t* s);
3333 double af_calc_delay(af_stream_t* s);
3335 int af_resize_local_buffer(af_instance_t* af, af_data_t* data);
3340 int af_lencalc(double mul, af_data_t* data);
3342 int af_from_dB(int n, float* in, float* out, float k, float mi, float ma);
3344 int af_to_dB(int n, float* in, float* out, float k);
3346 int af_from_ms(int n, float* in, int* out, int rate, float mi, float ma);
3348 int af_to_ms(int n, int* in, float* out, int rate);
3350 int af_test_output(struct af_instance_s* af, af_data_t* out);
3357 float af_softclip(float a);
3364 void af_fix_parameters(af_data_t *data);
3366 typedef struct af_msg_cfg_s
3374 extern af_msg_cfg_t af_msg_cfg;
3375 # 20 "af_volnorm.c" 2
3377 typedef struct af_volume_s
3395 static int control(struct af_instance_s* af, int cmd, void* arg)
3397 af_volnorm_t* s = (af_volnorm_t*)af->setup;
3400 case 0x00000100 | 0x10000000:
3404 af->data->rate = ((af_data_t*)arg)->rate;
3405 af->data->nch = ((af_data_t*)arg)->nch;
3407 if(((af_data_t*)arg)->format == (((0<<2)|(0<<1)|(1<<3)|(0<<0)))){
3408 af->data->format = ((0<<2)|(0<<1)|(1<<3)|(0<<0));
3411 af->data->format = ((1<<2)|(3<<3)|(0<<0));
3414 return af_test_output(af,(af_data_t*)arg);
3415 case 0x00000300 | 0x20000000:{
3417 float target = 0.25;
3418 sscanf((char*)arg,"%d:%f", &i, &target);
3419 if (i != 1 && i != 2)
3422 s->mid_s16 = ((float)32767) * target;
3423 s->mid_float = ((float)2147483647) * target;
3431 static void uninit(struct af_instance_s* af)
3439 static void method1_int16(af_volnorm_t *s, af_data_t *c)
3442 int16_t *data = (int16_t*)c->audio;
3444 float curavg = 0.0, newavg, neededmul;
3447 for (i = 0; i < len; i++)
3450 curavg += tmp * tmp;
3452 curavg = sqrt(curavg / (float) len);
3457 if (curavg > (32767 * 0.01))
3459 neededmul = s->mid_s16 / (curavg * s->mul);
3460 s->mul = (1.0 - 0.06) * s->mul + 0.06 * neededmul;
3463 s->mul = (((s->mul)>(5.0))?(5.0):(((s->mul)<(0.1))?(0.1):(s->mul)));
3467 for (i = 0; i < len; i++)
3469 tmp = s->mul * data[i];
3470 tmp = (((tmp)>(32767))?(32767):(((tmp)<((-32767 - 1)))?((-32767 - 1)):(tmp)));
3475 newavg = s->mul * curavg;
3478 s->lastavg = (1.0 - 0.06) * s->lastavg + 0.06 * newavg;
3481 static void method1_float(af_volnorm_t *s, af_data_t *c)
3484 float *data = (float*)c->audio;
3486 float curavg = 0.0, newavg, neededmul, tmp;
3488 for (i = 0; i < len; i++)
3491 curavg += tmp * tmp;
3493 curavg = sqrt(curavg / (float) len);
3498 if (curavg > (2147483647 * 0.01))
3500 neededmul = s->mid_float / (curavg * s->mul);
3501 s->mul = (1.0 - 0.06) * s->mul + 0.06 * neededmul;
3504 s->mul = (((s->mul)>(5.0))?(5.0):(((s->mul)<(0.1))?(0.1):(s->mul)));
3508 for (i = 0; i < len; i++)
3512 newavg = s->mul * curavg;
3515 s->lastavg = (1.0 - 0.06) * s->lastavg + 0.06 * newavg;
3518 static void method2_int16(af_volnorm_t *s, af_data_t *c)
3521 int16_t *data = (int16_t*)c->audio;
3523 float curavg = 0.0, newavg, avg = 0.0;
3524 int tmp, totallen = 0;
3526 for (i = 0; i < len; i++)
3529 curavg += tmp * tmp;
3531 curavg = sqrt(curavg / (float) len);
3535 for (i = 0; i < 128; i++)
3537 avg += s->mem[i].avg * (float)s->mem[i].len;
3538 totallen += s->mem[i].len;
3541 if (totallen > 32000)
3543 avg /= (float)totallen;
3544 if (avg >= (32767 * 0.01))
3546 s->mul = s->mid_s16 / avg;
3547 s->mul = (((s->mul)>(5.0))?(5.0):(((s->mul)<(0.1))?(0.1):(s->mul)));
3552 for (i = 0; i < len; i++)
3554 tmp = s->mul * data[i];
3555 tmp = (((tmp)>(32767))?(32767):(((tmp)<((-32767 - 1)))?((-32767 - 1)):(tmp)));
3560 newavg = s->mul * curavg;
3563 s->mem[s->idx].len = len;
3564 s->mem[s->idx].avg = newavg;
3565 s->idx = (s->idx + 1) % 128;
3568 static void method2_float(af_volnorm_t *s, af_data_t *c)
3571 float *data = (float*)c->audio;
3573 float curavg = 0.0, newavg, avg = 0.0, tmp;
3576 for (i = 0; i < len; i++)
3579 curavg += tmp * tmp;
3581 curavg = sqrt(curavg / (float) len);
3585 for (i = 0; i < 128; i++)
3587 avg += s->mem[i].avg * (float)s->mem[i].len;
3588 totallen += s->mem[i].len;
3591 if (totallen > 32000)
3593 avg /= (float)totallen;
3594 if (avg >= (2147483647 * 0.01))
3596 s->mul = s->mid_float / avg;
3597 s->mul = (((s->mul)>(5.0))?(5.0):(((s->mul)<(0.1))?(0.1):(s->mul)));
3602 for (i = 0; i < len; i++)
3606 newavg = s->mul * curavg;
3609 s->mem[s->idx].len = len;
3610 s->mem[s->idx].avg = newavg;
3611 s->idx = (s->idx + 1) % 128;
3615 static af_data_t* play(struct af_instance_s* af, af_data_t* data)
3617 af_volnorm_t *s = af->setup;
3619 if(af->data->format == (((0<<2)|(0<<1)|(1<<3)|(0<<0))))
3622 method2_int16(s, data);
3624 method1_int16(s, data);
3626 else if(af->data->format == (((1<<2)|(3<<3)|(0<<0))))
3629 method2_float(s, data);
3631 method1_float(s, data);
3637 static int af_open(af_instance_t* af){
3639 af->control=control;
3643 af->data=calloc(1,sizeof(af_data_t));
3644 af->setup=calloc(1,sizeof(af_volnorm_t));
3645 if(af->data == ((void *)0) || af->setup == ((void *)0))
3648 ((af_volnorm_t*)af->setup)->mul = 1.0;
3649 ((af_volnorm_t*)af->setup)->lastavg = ((float)32767) * 0.25;
3650 ((af_volnorm_t*)af->setup)->idx = 0;
3651 ((af_volnorm_t*)af->setup)->mid_s16 = ((float)32767) * 0.25;
3652 ((af_volnorm_t*)af->setup)->mid_float = ((float)2147483647) * 0.25;
3653 for (i = 0; i < 128; i++)
3655 ((af_volnorm_t*)af->setup)->mem[i].len = 0;
3656 ((af_volnorm_t*)af->setup)->mem[i].avg = 0;
3662 af_info_t af_info_volnorm = {
3663 "Volume normalizer filter",
3665 "Alex Beregszaszi & Pierre Lombard",