|
ReMAS
1.5
Real-time Musical Accompaniment System
|
File with code of auxiliar functions using by ReMAS, both CPU and GPU. More...
Go to the source code of this file.
Functions | |
| int | ReadParameters (DTWconst *Param, DTWfiles *NameFiles, const char *filename) |
| ReadParameters reads ReMAS global parameters from file. More... | |
| int | ReadVector (MyType *vector, const int size, const char *filename) |
| ReadVector fills a MyType vector with the MyType info stores in a file. More... | |
| int | ReadVectorInt64 (int *vector, const int size, const char *filename) |
| ReadVectorInt64 fills a int vector with the int64 info stores in a file. More... | |
| int | ReadS_fk (MyType *s_fk, const int BASES, const char *filename) |
| ReadS_fk fills the vector s_fk with the info stores in a file. More... | |
| void | FreeFiles (DTWfiles *NameFiles) |
| FreeFiles frees the reserved memory of a struct. More... | |
File with code of auxiliar functions using by ReMAS, both CPU and GPU.
Definition in file FileFunctions.c.
| void FreeFiles | ( | DTWfiles * | NameFiles | ) |
FreeFiles frees the reserved memory of a struct.
| NameFiles | (inout) Name os the struct |
Definition at line 268 of file FileFunctions.c.
ReadParameters reads ReMAS global parameters from file.
| Param | (out) Struct where read information (general ReMAS parameters) are stored |
| NameFiles | (out) Struct where read filenames (with input/output general ReMAS info) are stored |
| filename | (in) Name of the file with general configuration input information for ReMAS |
Definition at line 48 of file FileFunctions.c.
| int ReadS_fk | ( | MyType * | s_fk, |
| const int | BASES, | ||
| const char * | filename | ||
| ) |
ReadS_fk fills the vector s_fk with the info stores in a file.
| s_fk | (out) Vector s_fk to store the data |
| BASES | (in) Number of BASES |
| filename | (in) Name of the file with the information |
Definition at line 228 of file FileFunctions.c.
| int ReadVector | ( | MyType * | vector, |
| const int | size, | ||
| const char * | filename | ||
| ) |
ReadVector fills a MyType vector with the MyType info stores in a file.
| vector | (out) Vector of type MyType (see defines.h) to store the data |
| size | (in) Number of elements to read |
| filename | (in) Name of the file with the information |
Definition at line 144 of file FileFunctions.c.
| int ReadVectorInt64 | ( | int * | vector, |
| const int | size, | ||
| const char * | filename | ||
| ) |
ReadVectorInt64 fills a int vector with the int64 info stores in a file.
| vector | (out) Vector to store the data |
| size | (in) Number of elements to read |
| filename | (in) Name of the file with the information |
Definition at line 185 of file FileFunctions.c.
1.8.13