s2_semi_mgau.h File Reference
#include <logmath.h>
#include "s3types.h"
#include "fe.h"
#include "ascr.h"
#include "fast_algo_struct.h"
#include "kdtree.h"
Go to the source code of this file.
Classes |
struct | vqFeature_t |
struct | s2_semi_mgau_s |
Defines |
#define | S2_NUM_ALPHABET 256 |
#define | S2_NUM_FEATURES 4 |
#define | S2_MAX_TOPN 6 |
#define | GMMSUB(a, b) ((a)-(b)) |
#define | GMMADD(a, b) ((a)+(b)) |
Typedefs |
typedef vqFeature_t * | vqFrame_t |
typedef float32 | mean_t |
typedef float32 | var_t |
typedef struct s2_semi_mgau_s | s2_semi_mgau_t |
Functions |
s2_semi_mgau_t * | s2_semi_mgau_init (const char *mean_path, const char *var_path, float64 varfloor, const char *mixw_path, float64 mixwfloor, int32 topn, logmath_t *logmath) |
void | s2_semi_mgau_free (s2_semi_mgau_t *s) |
S3DECODER_EXPORT int32 | s2_semi_mgau_frame_eval (s2_semi_mgau_t *s, ascr_t *ascr, fast_gmm_t *fgmm, mfcc_t **feat, int32 frame) |
int32 | s2_semi_mgau_load_kdtree (s2_semi_mgau_t *s, const char *kdtree_path, uint32 maxdepth, int32 maxbbi) |
Define Documentation
#define GMMADD |
( |
a, |
|
|
b |
|
) |
((a)+(b)) |
#define GMMSUB |
( |
a, |
|
|
b |
|
) |
((a)-(b)) |
#define S2_NUM_ALPHABET 256 |
#define S2_NUM_FEATURES 4 |
Typedef Documentation
Function Documentation
s2_semi_mgau_t* s2_semi_mgau_init |
( |
const char * |
mean_path, |
|
|
const char * |
var_path, |
|
|
float64 |
varfloor, |
|
|
const char * |
mixw_path, |
|
|
float64 |
mixwfloor, |
|
|
int32 |
topn, |
|
|
logmath_t * |
logmath | |
|
) |
| | |
int32 s2_semi_mgau_load_kdtree |
( |
s2_semi_mgau_t * |
s, |
|
|
const char * |
kdtree_path, |
|
|
uint32 |
maxdepth, |
|
|
int32 |
maxbbi | |
|
) |
| | |