#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.
|
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) |
|
◆ GMMADD
#define GMMADD |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)+(b)) |
◆ GMMSUB
#define GMMSUB |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)-(b)) |
◆ S2_MAX_TOPN
#define S2_MAX_TOPN 6 /* max number of TopN codewords */ |
◆ S2_NUM_ALPHABET
#define S2_NUM_ALPHABET 256 |
◆ S2_NUM_FEATURES
#define S2_NUM_FEATURES 4 |
◆ mean_t
◆ s2_semi_mgau_t
◆ var_t
◆ vqFrame_t
◆ s2_semi_mgau_frame_eval()
◆ s2_semi_mgau_free()
◆ s2_semi_mgau_init()
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 |
|
) |
| |
◆ s2_semi_mgau_load_kdtree()
int32 s2_semi_mgau_load_kdtree |
( |
s2_semi_mgau_t * |
s, |
|
|
const char * |
kdtree_path, |
|
|
uint32 |
maxdepth, |
|
|
int32 |
maxbbi |
|
) |
| |