Searched refs:swimodel (Results 1 – 10 of 10) sorted by relevance
/external/srec/srec/clib/ |
D | swimodel.c | 333 SWIModel *swimodel = NULL; in load_swimodel() local 339 swimodel = (SWIModel*) CALLOC(1, sizeof(SWIModel), "clib.models.base"); in load_swimodel() 341 if (mmap_zip(filename, &swimodel->mmap_zip_data, &swimodel->mmap_zip_size)) { in load_swimodel() 345 file = swimodel->mmap_zip_data; in load_swimodel() 347 swimodel->num_hmmstates = *(const short*)file; in load_swimodel() 349 swimodel->num_dims = *(const short*)file; in load_swimodel() 351 swimodel->num_pdfs = *(const short*)file; in load_swimodel() 354 …SWIhmmState* hmmstates = (SWIhmmState*) CALLOC(swimodel->num_hmmstates, sizeof(SWIhmmState), "clib… in load_swimodel() 355 swimodel->hmmstates = hmmstates; in load_swimodel() 358 file += sizeof(short) * swimodel->num_hmmstates; in load_swimodel() [all …]
|
/external/srec/srec/ca/ |
D | acc_basi.c | 77 hAcoust->swimodel = load_swimodel(subname); in CA_LoadAcousticSub() 78 if (hAcoust->swimodel == NULL) in CA_LoadAcousticSub() 100 if (hAcoust->swimodel) in CA_UnloadAcoustic() 102 free_swimodel(hAcoust->swimodel); in CA_UnloadAcoustic() 103 hAcoust->swimodel = 0; in CA_UnloadAcoustic()
|
D | rec_load.c | 57 rc = add_acoustic_model_for_recognition(hRecog->recm, hAcoust->swimodel); in CA_LoadModelsInAcoustic()
|
D | Android.mk | 48 ../clib/swimodel.c \
|
/external/srec/srec/include/ |
D | swimodel.h | 67 void free_swimodel(const SWIModel* swimodel);
|
D | c42mul.h | 64 int add_acoustic_model_for_recognition(multi_srec* rec, const SWIModel* swimodel);
|
D | srec.h | 314 const SWIModel *swimodel[MAX_ACOUSTIC_MODELS]; member
|
D | simapi.h | 118 const SWIModel *swimodel; /* owning pointer to compact acoustic models */ member
|
/external/srec/srec/crec/ |
D | c47mulsp.c | 51 recm->swimodel[ recm->num_swimodels] = model; in add_acoustic_model_for_recognition()
|
D | srec.c | 2019 srec_viterbi_part1(&recm->rec[0], recm->swimodel[0], pattern, DO_NOT_COMPUTE_MODEL); in multi_srec_viterbi() 2038 const SWIModel* acoustic_models1 = recm->swimodel[0]; in multi_srec_viterbi() 2039 const SWIModel* acoustic_models2 = recm->swimodel[1]; in multi_srec_viterbi()
|