#include <sent/stddefs.h>
#include <sent/htk_param.h>
#include <sys/types.h>
Include dependency graph for rdparam.c:
Go to the source code of this file.
Functions | |
static boolean | myread (char *buf, size_t unitbyte, int unitnum, FILE *fp) |
static boolean | read_param (FILE *fp, HTK_Param *pinfo) |
HTK_Param * | new_param () |
void | free_param (HTK_Param *pinfo) |
boolean | rdparam (char *filename, HTK_Param *pinfo) |
Variables | |
static boolean | needswap |
TRUE if need byte-swapping. |
When "_C" (compressed) or "_K" (CRC checksum added) exists in the file, they are processed in these functions. Then, after reading finished, these qualifiers are removed from its parameter type code.
Definition in file rdparam.c.
|
Read binary data from a file pointer, with byte swapping.
|
|
Read in a HTK parameter file from fp .
Definition at line 82 of file rdparam.c. Referenced by rdparam(). |
|
Allocate a new parameter.
Definition at line 197 of file rdparam.c. Referenced by init_param(), main_recognition_loop(), new_select_param_kind(), and new_wav2mfcc(). |
|
Free the HTK parameter structure.
Definition at line 212 of file rdparam.c. Referenced by main_recognition_loop(), new_param_check_and_adjust(), and RealTimeTerminate(). |
|
Top function to read a HTK parameter file.
Definition at line 233 of file rdparam.c. Referenced by main_recognition_loop(). |