#include <sent/stddefs.h>
#include <sent/htk_param.h>
関数 | |
void | param_init_content (HTK_Param *p) |
Initialize the content of the parameter data. | |
boolean | param_alloc (HTK_Param *p, unsigned int samplenum, short veclen) |
Allocate vector area for required length and frames. | |
void | param_free_content (HTK_Param *p) |
Free and clear the content of the parameter data | |
HTK_Param * | new_param () |
Allocate a new parameter. | |
void | free_param (HTK_Param *pinfo) |
Free the HTK parameter structure. |
param_malloc.c で定義されています。
void param_init_content | ( | HTK_Param * | p | ) |
Initialize the content of the parameter data.
p | [out] parameter data |
param_malloc.c の 35 行で定義されています。
参照元 new_param(), param_free_content(), と wav2mfcc().
boolean param_alloc | ( | HTK_Param * | p, | |
unsigned int | samplenum, | |||
short | veclen | |||
) |
Allocate vector area for required length and frames.
Allocate memory if not yet, or expand it if already allocated but not sufficient. If sufficient amount is already allocated, do nothing. The allocation are updated by HTK_PARAM_INCREMENT_STEP_FRAME step to avoid numerous re-allocation
p | [i/o] parameter data | |
samplenum | [in] required number of frames | |
veclen | [in] required length of vector |
param_malloc.c の 54 行で定義されています。
参照元 init_param(), mfcc_copy_to_rest_and_shrink(), read_param(), RealTimeParam(), RealTimePipeLine(), と wav2mfcc().
void param_free_content | ( | HTK_Param * | p | ) |
Free and clear the content of the parameter data
p | [out] parameter data |
param_malloc.c の 106 行で定義されています。
参照元 free_param().
HTK_Param* new_param | ( | ) |
void free_param | ( | HTK_Param * | pinfo | ) |
Free the HTK parameter structure.
pinfo | [in] parameter data to be destroyed. |
param_malloc.c の 138 行で定義されています。
参照元 j_mfcccalc_free().