Home
last modified time | relevance | path

Searched refs:recognizer (Results 1 – 25 of 35) sorted by relevance

12

/external/srec/srec/AcousticState/src/
DAcousticState.c25 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateReset(SR_Recognizer* recognizer) in SR_AcousticStateReset() argument
29 if (recognizer == NULL) in SR_AcousticStateReset()
34 impl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateReset()
36 return impl->acousticState->reset(recognizer); in SR_AcousticStateReset()
39 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* … in SR_AcousticStateLoad() argument
43 if (recognizer == NULL) in SR_AcousticStateLoad()
48 impl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateLoad()
50 return impl->acousticState->load(recognizer, filename); in SR_AcousticStateLoad()
53 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* … in SR_AcousticStateSave() argument
57 if (recognizer == NULL) in SR_AcousticStateSave()
[all …]
DAcousticStateImpl.c27 ESR_ReturnCode SR_AcousticStateCreateImpl(SR_Recognizer* recognizer) in SR_AcousticStateCreateImpl() argument
30 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateCreateImpl()
72 ESR_ReturnCode SR_AcousticStateDestroyImpl(SR_Recognizer* recognizer) in SR_AcousticStateDestroyImpl() argument
74 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateDestroyImpl()
81 ESR_ReturnCode SR_AcousticStateResetImpl(SR_Recognizer* recognizer) in SR_AcousticStateResetImpl() argument
83 SR_RecognizerImpl* recogImpl = (SR_RecognizerImpl*) recognizer; in SR_AcousticStateResetImpl()
96 ESR_ReturnCode SR_AcousticStateSaveImpl(SR_Recognizer* recognizer, const LCHAR* filename) in SR_AcousticStateSaveImpl() argument
/external/srec/srec_jni/
Dandroid_speech_srec_Recognizer.cpp112 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerStart() argument
113 checkEsrError(env, SR_RecognizerStart((SR_Recognizer*)recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerStart()
117 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerStop() argument
118 checkEsrError(env, SR_RecognizerStop((SR_Recognizer*)recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerStop()
123 SR_Recognizer* recognizer = NULL; in Java_android_speech_srec_Recognizer_SR_1RecognizerCreate() local
125 checkEsrError(env, SR_RecognizerCreate(&recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerCreate()
126 return (jint)recognizer; in Java_android_speech_srec_Recognizer_SR_1RecognizerCreate()
130 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerDestroy() argument
131 checkEsrError(env, SR_RecognizerDestroy((SR_Recognizer*)recognizer)); in Java_android_speech_srec_Recognizer_SR_1RecognizerDestroy()
136 (JNIEnv *env, jclass clazz, jint recognizer) { in Java_android_speech_srec_Recognizer_SR_1RecognizerSetup() argument
[all …]
/external/srec/srec/AcousticState/include/
DSR_AcousticState.h56 ESR_ReturnCode(*reset)(SR_Recognizer* recognizer);
64 ESR_ReturnCode(*load)(SR_Recognizer* recognizer, const LCHAR* filename);
72 ESR_ReturnCode(*save)(SR_Recognizer* recognizer, const LCHAR* filename);
80 ESR_ReturnCode(*get)(SR_Recognizer* recognizer, LCHAR *param_string, size_t* len );
88 ESR_ReturnCode(*set)(SR_Recognizer* recognizer, const LCHAR *param_string );
95 ESR_ReturnCode(*destroy)(SR_Recognizer* recognizer);
121 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoad(SR_Recognizer* recognizer, const LCHAR* …
129 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSave(SR_Recognizer* recognizer, const LCHAR* …
148 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateReset(SR_Recognizer* recognizer);
149 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSet ( SR_Recognizer* recognizer, const LCHAR …
[all …]
DSR_AcousticStateImpl.h49 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateCreateImpl(SR_Recognizer* recognizer);
53 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateDestroyImpl(SR_Recognizer* recognizer);
57 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateResetImpl(SR_Recognizer* recognizer);
61 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateLoadImpl(SR_Recognizer* recognizer, const LCH…
65 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSaveImpl(SR_Recognizer* recognizer, const LCH…
69 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateSetImpl(SR_Recognizer* recognizer, const LCHA…
73 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateGetImpl(SR_Recognizer* recognizer, LCHAR *par…
77 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateActivateModelImpl(SR_Recognizer* recognizer, …
81 SREC_ACOUSTICSTATE_API ESR_ReturnCode SR_AcousticStateDeactivateModelImpl(SR_Recognizer* recognizer
/external/opencore/build_config/opencore_dynamic/
DAndroid_opencore_player.mk41 include $(PV_TOP)/pvmi/recognizer/plugins/pvamrffrecognizer/Android.mk
44 include $(PV_TOP)/pvmi/recognizer/plugins/pvmp3ffrecognizer/Android.mk
49 include $(PV_TOP)/pvmi/recognizer/plugins/pvaacffrecognizer/Android.mk
51 include $(PV_TOP)/pvmi/recognizer/plugins/pvwavffrecognizer/Android.mk
52 include $(PV_TOP)/pvmi/recognizer/Android.mk
/external/opencore/pvmi/recognizer/plugins/pvamrffrecognizer/
DAndroid.mk20 $(PV_TOP)/pvmi/recognizer/plugins/pvamrffrecognizer/src \
21 $(PV_TOP)/pvmi/recognizer/plugins/pvamrffrecognizer/include \
22 /pvmi/recognizer/include \
/external/opencore/pvmi/recognizer/plugins/pvwavffrecognizer/
DAndroid.mk20 $(PV_TOP)/pvmi/recognizer/plugins/pvwavffrecognizer/src \
21 $(PV_TOP)/pvmi/recognizer/plugins/pvwavffrecognizer/include \
22 /pvmi/recognizer/include \
/external/opencore/pvmi/recognizer/plugins/pvmp3ffrecognizer/
DAndroid.mk20 $(PV_TOP)/pvmi/recognizer/plugins/pvmp3ffrecognizer/src \
21 $(PV_TOP)/pvmi/recognizer/plugins/pvmp3ffrecognizer/include \
23 /pvmi/recognizer/include \
/external/srec/doc/logs/uapi/
Drun_robustness3.log17 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
20 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
43 after recognizer.createGrammar(/system/usr/srec/grammar3.g2g)
141 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
144 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
167 after recognizer.createGrammar(/system/usr/srec/grammar3.g2g)
265 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
268 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
291 after recognizer.createGrammar(/system/usr/srec/grammar3.g2g)
389 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g)
[all …]
Drun_contacts.log9 android.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/s…
10 android.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/sr…
/external/srec/srec/test/SRecTest/src/
DSRecTest.c134 SR_Recognizer *recognizer; /* The current recognizer. */ member
425 …setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); in SetupGrammarLoad()
452 …setup_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar,… in SetupGrammarActivate()
1011 …esr_status = SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [data->active_grammar_… in srec_test_free_context()
1115 … esr_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1132 … SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1216 esr_status = SR_RecognizerGetSize_tParameter ( data->recognizer, key, &value ); in srec_test_get_size_t_parameter()
1252 … esr_status = SR_RecognizerSetSize_tParameter ( data->recognizer, key, (size_t)value_as_number ); in srec_test_set_size_t_parameter()
1636 esr_status = SR_Recognizer_Change_Sample_Rate ( data->recognizer, rate_as_number ); in srec_test_change_sample_rate()
1669 esr_status = SR_AcousticStateSet ( data->recognizer, state_string ); in srec_test_set_acousticstate()
[all …]
/external/srec/srec/Grammar/src/
DSR_GrammarImpl.c64 impl->recognizer = NULL; in SR_Grammar_Create()
199 impl->recognizer->getModels( impl->recognizer, &models); in SR_Grammar_AddWordToSlot()
596 ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer) in SR_Grammar_SetupRecognizer() argument
603 if (impl == NULL || recognizer == NULL) in SR_Grammar_SetupRecognizer()
608 impl->recognizer = recognizer; in SR_Grammar_SetupRecognizer()
609 recognizer->setWordAdditionCeiling( recognizer, self); in SR_Grammar_SetupRecognizer()
611 rc = recognizer->getModels( recognizer, &models); in SR_Grammar_SetupRecognizer()
613 impl->recognizer = NULL; in SR_Grammar_SetupRecognizer()
628 impl->recognizer = NULL; in SR_Grammar_UnsetupRecognizer()
DSR_Grammar.c133 ESR_ReturnCode SR_GrammarSetupRecognizer(SR_Grammar* self, struct SR_Recognizer_t* recognizer) in SR_GrammarSetupRecognizer() argument
141 return self->setupRecognizer(self, recognizer); in SR_GrammarSetupRecognizer()
/external/srec/srec/test/SRecTestAudio/src/
DSRecTestAudio.c133 SR_Recognizer *recognizer; /* The current recognizer. */ member
424 …setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); in SetupGrammarLoad()
452 …setup_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar,… in SetupGrammarActivate()
987 …esr_status = SR_RecognizerSetBoolParameter ( data->recognizer, L("enableGetWaveform"), ESR_FALSE ); in srec_test_free_context()
1001 …esr_status = SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [data->active_grammar_… in srec_test_free_context()
1105 … esr_status = SR_RecognizerActivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1111 … esr_status = SR_RecognizerSetBoolParameter ( data->recognizer, L("enableGetWaveform"), ESR_TRUE ); in srec_test_use_context()
1121 … SR_RecognizerDeactivateRule ( data->recognizer, data->grammars [grammar_num].grammar, in srec_test_use_context()
1471 esr_status = SR_AcousticStateLoad ( data->recognizer, file_name ); in srec_test_load_acousticstate()
1494 esr_status = SR_AcousticStateReset ( data->recognizer ); in srec_test_reset_acousticstate()
[all …]
/external/opencore/pvmi/recognizer/plugins/pvaacffrecognizer/
DAndroid.mk20 $(PV_TOP)/pvmi/recognizer/plugins/pvaacffrecognizer/src \
21 $(PV_TOP)/pvmi/recognizer/plugins/pvaacffrecognizer/include \
/external/opencore/pvmi/recognizer/plugins/pvmp4ffrecognizer/
DAndroid.mk20 $(PV_TOP)/pvmi/recognizer/plugins/pvmp4ffrecognizer/src \
21 $(PV_TOP)/pvmi/recognizer/plugins/pvmp4ffrecognizer/include \
/external/srec/srec/Grammar/include/
DSR_GrammarImpl.h59 ESR_ReturnCode(*setupRecognizer)(SR_Grammar* self, SR_Recognizer* recognizer);
75 SR_Recognizer* recognizer; member
195 …GRAMMAR_API ESR_ReturnCode SR_Grammar_SetupRecognizer(SR_Grammar* self, SR_Recognizer* recognizer);
DSR_Grammar.h228 ESR_ReturnCode(*setupRecognizer)(struct SR_Grammar_t* self, struct SR_Recognizer_t* recognizer);
394 …API ESR_ReturnCode SR_GrammarSetupRecognizer(SR_Grammar* self, struct SR_Recognizer_t* recognizer);
/external/opencore/pvmi/recognizer/
DAndroid.mk20 $(PV_TOP)/pvmi/recognizer/src \
21 $(PV_TOP)/pvmi/recognizer/include \
/external/opencore/android/drm/oma1/test/
Dtest_pv_drm_plugin_ut.cpp39 recognizer = OSCL_DYNAMIC_CAST(PVOMA1KMJRecognizerPlugin*,recognizerInterface); in pvplayer_test_drmcpmplugin_ut()
5393 if(recognizer) in test_kmj_recognizer_RecognizeContentType_mp4()
5397 recognizer->RecognizeContentType("viDeo/Mp4",recognizedFormat); in test_kmj_recognizer_RecognizeContentType_mp4()
5408 recognizer->RecognizeContentType("video/mp4",recognizedFormat); in test_kmj_recognizer_RecognizeContentType_mp4()
5419 recognizer->RecognizeContentType("audio/mp4",recognizedFormat); in test_kmj_recognizer_RecognizeContentType_mp4()
5430 recognizer->RecognizeContentType("video/3gpp2",recognizedFormat); in test_kmj_recognizer_RecognizeContentType_mp4()
5441 recognizer->RecognizeContentType("video/3gpp",recognizedFormat); in test_kmj_recognizer_RecognizeContentType_mp4()
5452 recognizer->RecognizeContentType("audio/3gpp2",recognizedFormat); in test_kmj_recognizer_RecognizeContentType_mp4()
5463 recognizer->RecognizeContentType("audio/3gpp",recognizedFormat); in test_kmj_recognizer_RecognizeContentType_mp4()
5482 if(recognizer) in test_kmj_recognizer_RecognizeContentType_mp3()
[all …]
/external/srec/srec/Recognizer/src/
DRecognizerImpl.c673 impl->recognizer = NULL; in SR_RecognizerCreate()
744 impl->recognizer = CA_AllocateRecognition(); in SR_RecognizerCreate()
745 if (impl->recognizer == NULL) in SR_RecognizerCreate()
750 CA_ConfigureRecognition(impl->recognizer, recogParams); in SR_RecognizerCreate()
864 if (impl->recognizer != NULL) in SR_RecognizerDestroyImpl()
866 CA_UnloadRecognitionModels(impl->recognizer); in SR_RecognizerDestroyImpl()
867 CA_UnconfigureRecognition(impl->recognizer); in SR_RecognizerDestroyImpl()
868 CA_FreeRecognition(impl->recognizer); in SR_RecognizerDestroyImpl()
869 impl->recognizer = NULL; in SR_RecognizerDestroyImpl()
947 CA_BeginRecognition(impl->recognizer, NULL, 1, recogParams); in beginRecognizing()
[all …]
DRecognizer.c445 ESR_ReturnCode SR_Recognizer_Change_Sample_Rate ( SR_Recognizer *recognizer, size_t new_sample_rate… in SR_Recognizer_Change_Sample_Rate() argument
449 if ( recognizer != NULL ) in SR_Recognizer_Change_Sample_Rate()
451 change_status = SR_Recognizer_Change_Sample_RateImpl ( recognizer, new_sample_rate ); in SR_Recognizer_Change_Sample_Rate()
/external/srec/srec/AcousticModels/include/
DSR_AcousticModelsImpl.h52 ESR_ReturnCode(*setupPattern)(SR_AcousticModels* self, SR_Recognizer* recognizer);
146 ESR_ReturnCode SR_AcousticModels_SetupPattern(SR_AcousticModels* self, SR_Recognizer* recognizer);
/external/opencore/pvmi/recognizer/plugins/pvwavffrecognizer/build/make/
Dlocal.mk14 XINCDIRS = $(VOB_BASE_DIR)/pvmi/recognizer/include

12