#include <stdlib.h>#include <string.h>#include <stdio.h>#include "misc.h"Include dependency graph for misc.c:

Functions | |
| void | print_vec (float *vec, int len, char *name) |
| spx_uint32_t | be_int (spx_uint32_t i) |
| spx_uint32_t | le_int (spx_uint32_t i) |
| void | speex_memcpy_bytes (char *dst, char *src, int nbytes) |
| void | speex_memset_bytes (char *dst, char src, int nbytes) |
| void * | speex_alloc (int size) |
| void * | speex_alloc_scratch (int size) |
| void * | speex_realloc (void *ptr, int size) |
| void | speex_free (void *ptr) |
| void | speex_free_scratch (void *ptr) |
| void * | speex_move (void *dest, void *src, int n) |
| void | speex_error (const char *str) |
| void | speex_warning (const char *str) |
| void | speex_warning_int (const char *str, int val) |
| spx_word16_t | speex_rand (spx_word16_t std, spx_int32_t *seed) |
| void | speex_rand_vec (float std, spx_sig_t *data, int len) |
| void | _speex_putc (int ch, void *file) |
|
||||||||||||
|
Speex wrapper for putc |
|
|
Convert big endian |
|
|
Convert little endian |
|
||||||||||||||||
|
Print a named vector to stdout |
|
|
Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_free |
|
|
Same as speex_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though) |
|
|
Print error message to stderr |
|
|
Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_alloc |
|
|
Same as speex_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though) |
|
||||||||||||||||
|
Speex wrapper for memcpy |
|
||||||||||||||||
|
Speex wrapper for memset |
|
||||||||||||||||
|
Speex wrapper for mem_move |
|
||||||||||||
|
Generate a random number |
|
||||||||||||||||
|
Generate a vector of random numbers |
|
||||||||||||
|
Speex wrapper for realloc. To do your own dynamic allocation, all you need to do is replace this function, speex_alloc and speex_free |
|
|
Print warning message to stderr |
|
||||||||||||
|
Print warning message with integer argument to stderr |
1.4.2