Lines Matching refs:picoos_uint8
151 picoos_uint8 procState; /* where to take up work at next processing step */
152 picoos_uint8 retState; /* where to go back from feed state at next p.s. */
153 picoos_uint8 needMoreInput; /* more data necessary to start processing */
155 picoos_uint8 inBuf[PICOPAM_IN_BUFF_SIZE]; /* internal input buffer */
159 picoos_uint8 outBuf[PICOPAM_OUT_PAM_SIZE]; /* internal output buffer */
163 picoos_uint8 *sPhFeats; /*feature vector for a single phone */
166 picoos_uint8 *sPhIds; /*phone ids for the full sentence */
167 picoos_uint8 *sSyllItems; /*items attached to the syllable */
175 picoos_uint8 nLastAttachedItemId;/*last attached item id*/
176 picoos_uint8 nCurrAttachedItem; /*current attached item*/
178 picoos_uint8 sType; /*Sentence type*/
179 picoos_uint8 pType; /*Phrase type*/
184 picoos_uint8 a3_overall_syllable; /* A3 */
185 picoos_uint8 a3_primary_phrase_syllable;
186 picoos_uint8 b4_b5_syllable; /* B4,B5 */
187 picoos_uint8 b6_b7_syllable; /* B6,B7 */
188 picoos_uint8 b6_b7_state;
189 picoos_uint8 b8_b9_stressed_syllable; /* B8,B9 */
190 picoos_uint8 b10_b11_accented_syllable; /* B10,B11 */
191 picoos_uint8 b12_b13_syllable; /* B12,B13 */
192 picoos_uint8 b12_b13_state;
193 picoos_uint8 b14_b15_syllable; /* B14,B15 */
194 picoos_uint8 b14_b15_state;
195 picoos_uint8 b17_b19_syllable; /* B17,B19 */
196 picoos_uint8 b17_b19_state;
197 picoos_uint8 b18_b20_b21_syllable; /* B18,B20,B21 */
198 picoos_uint8 b18_b20_b21_state;
199 picoos_uint8 c3_overall_syllable; /* C3 */
200 picoos_uint8 c3_primary_phrase_syllable;
201 picoos_uint8 d2_syllable_in_word; /* D2 */
202 picoos_uint8 d2_prev_syllable_in_word;
203 picoos_uint8 d2_current_primary_phrase_word;
206 picoos_uint8 e1_content;
209 picoos_uint8 e3_e4_word; /* E3,E4 */
210 picoos_uint8 e3_e4_state;
211 picoos_uint8 e5_e6_content_word; /* E5,E6 */
212 picoos_uint8 e5_e6_content;
213 picoos_uint8 e7_e8_word; /* E7,E8 */
214 picoos_uint8 e7_e8_content;
215 picoos_uint8 e7_e8_state;
216 picoos_uint8 e9_e11_word; /* E9,E11 */
217 picoos_uint8 e9_e11_saw_word;
218 picoos_uint8 e9_e11_state;
219 picoos_uint8 e10_e12_e13_word; /* E10,E12,E13 */
220 picoos_uint8 e10_e12_e13_state;
221 picoos_uint8 e10_e12_e13_saw_word;
222 picoos_uint8 f2_overall_word; /* F2 */
223 picoos_uint8 f2_word_syllable;
224 picoos_uint8 f2_next_word_syllable;
225 picoos_uint8 f2_current_primary_phrase_word;
230 picoos_uint8 h1_current_secondary_phrase_syll; /*H1 */
231 picoos_uint8 h2_current_secondary_phrase_word; /*H2 */
232 picoos_uint8 h3_h4_current_secondary_phrase_word; /*H3,H4 */
233 picoos_uint8 h5_current_phrase_type; /*H5 */
235 picoos_uint8 h5_syllable; /* H5 */
236 picoos_uint8 h5_state;
238 picoos_uint8 i1_secondary_phrase_syllable; /*I1 */
239 picoos_uint8 i1_next_secondary_phrase_syllable;
240 picoos_uint8 i2_secondary_phrase_word; /*I2 */
241 picoos_uint8 i2_next_secondary_phrase_word;
242 picoos_uint8 j1_utterance_syllable; /*J1 */
243 picoos_uint8 j2_utterance_word; /*J2 */
244 picoos_uint8 j3_utterance_sec_phrases; /*J3 */
256 picoos_uint8 numFramesState[PICOPAM_DT_NRLFZ];
400 static pico_status_t pam_deal_with(const picoos_uint8 *item);
402 static picoos_uint8 pam_get_vowel_name(register picodata_ProcessingUnit this,
403 picoos_uint8 *item, picoos_uint8 *pos);
404 static picoos_uint8 pam_get_pause_id(register picodata_ProcessingUnit this);
406 static picoos_uint8 pam_map_sentence_type(picoos_uint8 iteminfo1,
407 picoos_uint8 iteminfo2);
408 static picoos_uint8 pam_map_phrase_type(picoos_uint8 iteminfo1,
409 picoos_uint8 iteminfo2);
416 picoos_uint8 syllType, picoos_uint8 *sContent, picoos_uint8 sentType,
417 picoos_uint8 phType, picoos_uint8 uBoundType, picoos_uint16 uMin,
420 register picodata_ProcessingUnit this, picoos_uint8 nFeat,
421 picoos_uint8 event_type, picoos_uint8 direction);
423 picoos_uint8 event_type, picoos_uint8 direction);
425 register picodata_ProcessingUnit this, picoos_uint8 *itemBase);
432 static picoos_uint8 pam_do_tree(register picodata_ProcessingUnit this,
433 const picokdt_DtPAM dtpam, const picoos_uint8 *invec,
434 const picoos_uint8 inveclen, picokdt_classify_result_t *dtres);
436 picoos_uint16 *lf0Index, picoos_uint8 nState, picoos_single *phonF0);
439 picoos_uint8 *numFramesState);
443 picoos_uint8 *outBuff, picoos_uint16 outWritePos,
444 picoos_uint8 *bytesWr);
446 static pico_status_t pam_put_term(picoos_uint8 *outBuff,
447 picoos_uint16 outWritePos, picoos_uint8 *bytesWr);
449 static pico_status_t is_pam_command(const picoos_uint8 *qItem);
451 static void get_default_boundary_limit(picoos_uint8 uBoundType,
470 picoos_uint8 *data; in pam_allocate()
615 picoos_uint8 i, j; in pam_initialize()
842 static void get_default_boundary_limit(picoos_uint8 uBoundType, in get_default_boundary_limit()
927 register picodata_ProcessingUnit this, const picoos_uint8 *item) in pamCheckResourceLimits()
993 const picoos_uint8 *item) in pam_check_immediate()
1007 if (is_pam_command((picoos_uint8 *) item) == TRUE) in pam_check_immediate()
1026 const picoos_uint8 *item) in pam_hastobe_queued()
1070 const picoos_uint8 *item) in pam_queue()
1074 picoos_uint8 nI; in pam_queue()
1132 static pico_status_t pam_deal_with(const picoos_uint8 *item) in pam_deal_with()
1161 static picoos_uint8 pamHasToProcess(register picodata_ProcessingUnit this) in pamHasToProcess()
1164 picoos_uint8 nCond1, nCond2, nCond3; in pamHasToProcess()
1252 static picoos_uint8 pamHasToPop(register picodata_ProcessingUnit this) in pamHasToPop()
1290 static picoos_uint8 *pamPopItem(register picodata_ProcessingUnit this) in pamPopItem()
1293 picoos_uint8 nItem; in pamPopItem()
1334 static picoos_uint8 *pamPopAttachedSy0(register picodata_ProcessingUnit this) in pamPopAttachedSy0()
1337 picoos_uint8 nItem; in pamPopAttachedSy0()
1379 picoos_uint8 *numFramesState) in pam_get_duration()
1383 picoos_uint8 *durItem; in pam_get_duration()
1420 numFramesState[nI] = (picoos_uint8) (fValue); in pam_get_duration()
1440 picoos_uint16 *lf0Index, picoos_uint8 nI, picoos_single *phonF0) in pam_get_f0()
1443 picoos_uint8 *lfItem, numstreams; in pam_get_f0()
1521 picoos_uint8 numstates, nI; in pam_update_vector()
1570 pam->sPhFeats[DUR] = (picoos_uint8) (fDur / (picoos_single) 10.0f); in pam_update_vector()
1571 pam->sPhFeats[F0] = (picoos_uint8) (f0avg / (picoos_single) 10.0f); in pam_update_vector()
1583 static picoos_uint8 pamCompressComponent(picoos_uint8 inVal) in pamCompressComponent()
1608 picoos_uint8 *inVect, *phonVect, *outVect, nI; in pam_expand_vector()
1680 picoos_uint8 *outVect, nI; in pamCompressVector()
1724 picoos_uint8 *outVect, inVect[60], nI; in pamReorgVector()
1897 picoos_uint8 *outBuff, picoos_uint16 outWritePos, picoos_uint8 *bytesWr) in pam_put_item()
1900 picoos_uint8 *sDest, nI, nType, nIdx, fde; in pam_put_item()
1989 static pico_status_t pam_put_qItem(picoos_uint8 *qItem, picoos_uint8 *outBuff, in pam_put_qItem()
1990 picoos_uint16 outWritePos, picoos_uint8 *bytesWr) in pam_put_qItem()
1992 picoos_uint8 *sDest, nI; in pam_put_qItem()
2010 static pico_status_t is_pam_command(const picoos_uint8 * qItem) in is_pam_command()
2037 static pico_status_t is_pam_play_command(picoos_uint8 *qItem) in is_pam_play_command()
2065 picoos_uint8 *qItem) in pamDoCommand()
2123 static pico_status_t isItemToPut(picoos_uint8 *qItem) in isItemToPut()
2165 static pico_status_t pam_put_term(picoos_uint8 *outBuff, in pam_put_term()
2166 picoos_uint16 outWritePos, picoos_uint8 *bytesWr) in pam_put_term()
2168 picoos_uint8 *sDest; in pam_put_term()
2192 picoos_uint8 nI, bWr; in pamPhoneProcess()
2263 picoos_uint8 bWr, nRc; in pamDoPreSyll()
2264 picoos_uint8 *qItem; in pamDoPreSyll()
2324 picoos_uint8 bWr; in pam_step()
2325 picoos_uint8 bForcedItem[4]; in pam_step()
2326 picoos_uint8 *qItem; in pam_step()
2698 (picoos_uint8 *)"pam: ", in pam_step()
2780 static picoos_uint8 pam_do_tree(register picodata_ProcessingUnit this, in pam_do_tree()
2781 const picokdt_DtPAM dtpam, const picoos_uint8 *invec, in pam_do_tree()
2782 const picoos_uint8 inveclen, picokdt_classify_result_t *dtres) in pam_do_tree()
2784 picoos_uint8 okay; in pam_do_tree()
2824 static picoos_uint8 pam_get_vowel_name(register picodata_ProcessingUnit this, in pam_get_vowel_name()
2825 picoos_uint8 *item, picoos_uint8 *pos) in pam_get_vowel_name()
2828 picoos_uint8 *phon, nI, nCond1; in pam_get_vowel_name()
2857 static picoos_uint8 pam_get_pause_id(register picodata_ProcessingUnit this) in pam_get_pause_id()
2859 picoos_uint8 nVal1; in pam_get_pause_id()
2878 static picoos_uint8 pam_map_sentence_type(picoos_uint8 iteminfo1, in pam_map_sentence_type()
2879 picoos_uint8 iteminfo2) in pam_map_sentence_type()
2905 static picoos_uint8 pam_map_phrase_type(picoos_uint8 iteminfo1, in pam_map_phrase_type()
2906 picoos_uint8 iteminfo2) in pam_map_phrase_type()
3101 register picodata_ProcessingUnit this, picoos_uint8 nFeat, in pam_process_event_feature()
3102 picoos_uint8 event_type, picoos_uint8 direction) in pam_process_event_feature()
3104 picoos_uint8 sDest, nI; in pam_process_event_feature()
4179 picoos_uint8 event_type, picoos_uint8 direction) in pam_process_event()
4181 picoos_uint8 nFeat; in pam_process_event()
4224 picoos_uint8 syllType, picoos_uint8 *sContent, picoos_uint8 sentType, in pam_create_syllable()
4225 picoos_uint8 phType, picoos_uint8 uBoundType, picoos_uint16 uMinDur, in pam_create_syllable()
4229 picoos_uint8 nI; in pam_create_syllable()
4230 picoos_uint8 pos; in pam_create_syllable()
4400 register picodata_ProcessingUnit this, picoos_uint8 *itemBase) in pam_adapter_forward_step()
4595 picoos_uint8 nProcessed; in pam_adapter_backward_step()