Home
last modified time | relevance | path

Searched refs:swimodel (Results 1 – 10 of 10) sorted by relevance

/external/srec/srec/clib/
Dswimodel.c333 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/
Dacc_basi.c77 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()
Drec_load.c57 rc = add_acoustic_model_for_recognition(hRecog->recm, hAcoust->swimodel); in CA_LoadModelsInAcoustic()
DAndroid.mk48 ../clib/swimodel.c \
/external/srec/srec/include/
Dswimodel.h67 void free_swimodel(const SWIModel* swimodel);
Dc42mul.h64 int add_acoustic_model_for_recognition(multi_srec* rec, const SWIModel* swimodel);
Dsrec.h314 const SWIModel *swimodel[MAX_ACOUSTIC_MODELS]; member
Dsimapi.h118 const SWIModel *swimodel; /* owning pointer to compact acoustic models */ member
/external/srec/srec/crec/
Dc47mulsp.c51 recm->swimodel[ recm->num_swimodels] = model; in add_acoustic_model_for_recognition()
Dsrec.c2019 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()