5 void global_init (void);
7 void short_usage (void);
9 void obtain_parameters (frame_info
*, int *, unsigned long *,
10 char[MAX_NAME_SIZE
], char[MAX_NAME_SIZE
]);
11 void parse_args (int, char **, frame_info
*, int *, unsigned long *,
12 char[MAX_NAME_SIZE
], char[MAX_NAME_SIZE
]);
13 void print_config (frame_info
*, int *,
14 char[MAX_NAME_SIZE
], char[MAX_NAME_SIZE
]);
19 void smr_dump(double smr
[2][SBLIMIT
], int nch
);
25 // Input buffer management private structures.
26 // This is not reentrant but neither is toolame.
28 extern pthread_mutex_t toolame_input_lock
;
29 extern pthread_mutex_t toolame_output_lock
;
30 extern pthread_mutex_t toolame_copy_lock
;
31 extern char *toolame_buffer
;
32 extern int toolame_buffer_bytes
;
33 extern int toolame_error
;
34 extern int toolame_eof
;
35 // Bigger than the biggest fragment
36 #define TOOLAME_BUFFER_BYTES 0x200000
38 int toolame_buffer_read(char *dst
, int size
, int n
);