/external/svox/pico/lib/ |
D | picosig2.h | 60 picoos_int32 *int_vec22; /*reserved for normalized hanning window - fixed point */ 61 picoos_int32 *int_vec23; /*reserved for impresp - fixed point */ 62 picoos_int32 *int_vec24; /*reserved for impresp - fixed point */ 63 picoos_int32 *int_vec25; /*reserved for window - fixed point */ 64 picoos_int32 *int_vec26; /*reserved for wavBuf - fixed point */ 65 picoos_int32 *int_vec28; /*reserved for cepstral vectors input - fixed point */ 66 picoos_int32 *int_vec29; /*reserved for cepstral vectors input - fixed point */ 67 picoos_int32 *int_vec38; /*reserved for cepstral vectors input - fixed point */ 68 picoos_int32 *int_vec30; /*reserved for cepstral vectors input - fixed point */ 69 picoos_int32 *int_vec31; /*reserved for cepstral vectors input - fixed point */ [all …]
|
D | picokfst.c | 59 picoos_int32 hdrLen; /* length of file header */ 60 picoos_int32 transductionMode; /* transduction mode to be used for FST */ 61 …picoos_int32 nrClasses; /* nr of pair/transition classes in FST; class is in [1..nrClass… 62 picoos_int32 nrStates; /* nr of states in FST; state is in [1..nrState] */ 63 picoos_int32 termClass; /* pair class of terminator symbol pair; probably obsolete */ 64 picoos_int32 alphaHashTabSize; /* size of pair alphabet hash table */ 65 picoos_int32 alphaHashTabPos; /* absolute address of the start of the pair alphabet */ 66 picoos_int32 transTabEntrySize; /* size in bytes of each transition table entry */ 67 picoos_int32 transTabPos; /* absolute address of the start of the transition table */ 68 …picoos_int32 inEpsStateTabPos; /* absolute address of the start of the input epsilon transition… [all …]
|
D | picokpr.h | 99 extern picoos_bool picokpr_isEqual (picokpr_Preproc preproc, picoos_uchar str[], picoos_int32 len__… 100 extern picoos_bool picokpr_isEqualHead (picokpr_Preproc preproc, picoos_uchar str[], picoos_int32 l… 101 extern picoos_bool picokpr_isEqualMid (picokpr_Preproc preproc, picoos_uchar str[], picoos_int32 le… 102 extern picoos_bool picokpr_isEqualTail (picokpr_Preproc preproc, picoos_uchar str[], picoos_int32 l… 108 extern picoos_int32 picokpr_getAttrValArrInt32(picokpr_Preproc preproc, picokpr_AttrValArrOffset of… 113 extern picoos_int32 picokpr_getOutItemType(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs); 114 extern picoos_int32 picokpr_getOutItemVal(picokpr_Preproc preproc, picokpr_OutItemArrOffset ofs); 127 extern picoos_int32 picokpr_getProdArrLen(picokpr_Preproc preproc); 128 extern picoos_int32 picokpr_getProdPrefCost(picokpr_Preproc preproc, picokpr_ProdArrOffset ofs); 134 extern picoos_int32 picokpr_getCtxArrLen(picokpr_Preproc preproc);
|
D | picosig2.c | 47 static void get_trig(picoos_int32 ang, picoos_int32 *table, picoos_int32 *cs, 48 picoos_int32 *sn); 65 picoos_int32 *d32; in sigAllocate() 66 picoos_int32 nCount; in sigAllocate() 163 d32 = (picoos_int32 *) picoos_allocate(mm, sizeof(picoos_int32) in sigAllocate() 170 d32 = (picoos_int32 *) picoos_allocate(mm, sizeof(picoos_int32) in sigAllocate() 177 d32 = (picoos_int32 *) picoos_allocate(mm, sizeof(picoos_int32) in sigAllocate() 184 d32 = (picoos_int32 *) picoos_allocate(mm, sizeof(picoos_int32) in sigAllocate() 191 d32 = (picoos_int32 *) picoos_allocate(mm, sizeof(picoos_int32) in sigAllocate() 199 d32 = (picoos_int32 *) picoos_allocate(mm, sizeof(picoos_int32) in sigAllocate() [all …]
|
D | picokfst.h | 115 void picokfst_kfstGetFSTSizes (picokfst_FST this, picoos_int32 *nrStates, picoos_int32 *nrClasses); 122 picoos_bool * inSymFound, picoos_int32 * searchState); 128 void picokfst_kfstGetNextPair (picokfst_FST this, picoos_int32 * searchState, 145 … picoos_bool * inEpsTransFound, picoos_int32 * searchState); 153 void picokfst_kfstGetNextInEpsTrans (picokfst_FST this, picoos_int32 * searchState,
|
D | picobase.h | 63 picoos_int32 picobase_utf8_length(const picoos_uint8 *utf8str, 88 picoos_int32 picobase_lowercase_utf8_str (picoos_uchar utf8str[], picoos_char lowercase[], picoos_i… 98 picoos_int32 picobase_uppercase_utf8_str (picoos_uchar utf8str[], picoos_char uppercase[], int uppe… 156 extern picoos_bool picobase_is_utf8_uppercase (picoos_uchar str[], picoos_int32 strmaxlen); 165 extern picoos_bool picobase_is_utf8_lowercase (picoos_uchar str[], picoos_int32 strmaxlen);
|
D | picobase.c | 52 picoos_int32 picobase_utf8_length(const picoos_uint8 *utf8str, in picobase_utf8_length() 937 static void picobase_get_utf8char (picoos_uint8 utf8[], picoos_int32 * pos, picobase_utf8char utf8c… in picobase_get_utf8char() 1092 static picoos_int32 picobase_utf32_to_utf8 (picobase_utf32 utf32, picobase_utf8 utf8[], picoos_int3… in picobase_utf32_to_utf8() 1094 picoos_int32 len; in picobase_utf32_to_utf8() 1137 extern picoos_int32 picobase_lowercase_utf8_str (picoos_uchar utf8str[], picoos_char lowercase[], i… in picobase_lowercase_utf8_str() 1140 picoos_int32 i; in picobase_lowercase_utf8_str() 1141 picoos_int32 j; in picobase_lowercase_utf8_str() 1142 picoos_int32 k; in picobase_lowercase_utf8_str() 1143 picoos_int32 l; in picobase_lowercase_utf8_str() 1168 extern picoos_int32 picobase_uppercase_utf8_str (picoos_uchar utf8str[], picoos_char uppercase[], i… in picobase_uppercase_utf8_str() [all …]
|
D | picoos.h | 60 typedef picopal_int32 picoos_int32; typedef 78 picoos_int32 picoos_atoi(const picoos_char *); 102 …t_str (picoos_char string[], picoos_int32 stringlen, picoos_int32 * ind, picoos_char sepCh, picoos… 104 pico_status_t picoos_string_to_int32 (picoos_char str[], picoos_int32 * res); 195 picoos_int32 *usedBytes, 196 picoos_int32 *incrUsedBytes, 197 picoos_int32 *maxUsedBytes); 296 picoos_int32 * len); 335 picoos_bool picoos_SetPos(picoos_File f, picoos_int32 pos); 512 picoos_int32 * res); [all …]
|
D | picokpr.c | 145 picoos_int32 rStrArrLen; 146 picoos_int32 rLexCatArrLen; 147 picoos_int32 rAttrValArrLen; 148 picoos_int32 rOutItemArrLen; 149 picoos_int32 rTokArrLen; 150 picoos_int32 rProdArrLen; 151 picoos_int32 rCtxArrLen; 283 extern picoos_bool picokpr_isEqual (picokpr_Preproc preproc, picoos_uchar str[], picoos_int32 len__… in picokpr_isEqual() 293 extern picoos_bool picokpr_isEqualHead (picokpr_Preproc preproc, picoos_uchar str[], picoos_int32 l… in picokpr_isEqualHead() 303 extern picoos_bool picokpr_isEqualMid (picokpr_Preproc preproc, picoos_uchar str[], picoos_int32 le… in picokpr_isEqualMid() [all …]
|
D | picocep.c | 191 picoos_int32 diag0[PICOCEP_MAXWINLEN], diag1[PICOCEP_MAXWINLEN], 196 picoos_int32 xi[5], x1[2], x2[3], xm[3], xn[2]; 197 picoos_int32 xsqi[5], xsq1[2], xsq2[3], xsqm[3], xsqn[2]; 246 static picoos_int32 getFromPdf(picokpdf_PdfMUL pdf, picoos_uint32 vecstart, 288 static pico_status_t cepInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) in cepInitialize() 484 static picoos_int32 picocep_fixptmultpow(picoos_int32 a, picoos_uint8 pow) in picocep_fixptmultpow() 486 picoos_int32 b; in picocep_fixptmultpow() 487 picoos_int32 zzz; in picocep_fixptmultpow() 509 static picoos_int32 picocep_fixptdivpow(picoos_int32 a, picoos_uint8 pow) in picocep_fixptdivpow() 511 picoos_int32 big; in picocep_fixptdivpow() [all …]
|
D | picopr.c | 208 picoos_int32 val; 220 picoos_int32 val; 240 picoos_int32 id; 257 picoos_int32 rprodprefcost; 262 picoos_int32 rcost; 263 picoos_int32 rlen; 281 picoos_int32 rnritems; 283 picoos_int32 rignore; 284 picoos_int32 spellMode; 285 picoos_int32 maxPathLen; [all …]
|
D | picoos.c | 112 picoos_int32 picoos_atoi(const picoos_char *s) in picoos_atoi() 114 return (picoos_int32)picopal_atoi((const picoos_char *)s); in picoos_atoi() 479 picoos_int32 *usedBytes, in picoos_getMemUsage() 480 picoos_int32 *incrUsedBytes, in picoos_getMemUsage() 481 picoos_int32 *maxUsedBytes) in picoos_getMemUsage() 483 *usedBytes = (picoos_int32) this->usedSize; in picoos_getMemUsage() 484 *incrUsedBytes = (picoos_int32) (this->usedSize - this->prevUsedSize); in picoos_getMemUsage() 485 *maxUsedBytes = (picoos_int32) this->maxUsedSize; in picoos_getMemUsage() 495 picoos_int32 usedBytes, incrUsedBytes, maxUsedBytes; in picoos_showMemUsage() 622 picoos_int32 curExceptionCode; [all …]
|
D | picofftsg.c | 376 static void cftfsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 377 static void cftbsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 378 static void rftfsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 379 static void rftbsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 381 static void cftfsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 382 static void cftbsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 383 static void rftfsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 384 static void rftbsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 385 static void dctsub(picoos_int32 n, PICOFFTSG_FFTTYPE *a); 386 static void dctsub4(picoos_int32 n, PICOFFTSG_FFTTYPE *a); [all …]
|
D | picotok.c | 215 picoos_int32 ignLevel; 218 picoos_int32 utfpos; 219 picoos_int32 utflen; 222 picoos_int32 nrMarkupParams; 225 picoos_int32 markupPos; 226 picoos_int32 markupLevel[MIDummyEnd+1]; 231 picoos_int32 strPos; 238 picoos_int32 tokenPos; 241 picoos_int32 nrEOL; 332 static void tok_getParamIntVal (MarkupParams params, picoos_uchar paramId[], picoos_int32 * paramVa… in tok_getParamIntVal() [all …]
|
D | picotrns.c | 148 picoos_int32 inPos; /**< corresponding position in input string */ 155 picoos_int32 searchState; /**< pair search state or inEps trans search state */ 157 picoos_int32 altOutRefPos; /**< output reference position at this recursion position */ 297 picokfst_symid_t * outSym, picoos_int32 * outRefPos, in GetNextAlternative() 298 … picokfst_state_t * endFSTState, picoos_int32 * nextInPos, picoos_bool * found) in GetNextAlternative() 464 picoos_int32 i; in TransductionStep() 466 picoos_int32 nextInPos; in TransductionStep() 469 picoos_int32 outRefPos; in TransductionStep() 470 picoos_int32 tmpRecPos; in TransductionStep()
|
D | picoextapi.c | 142 picoos_int32 *usedBytes, in getMemUsage() 143 picoos_int32 *incrUsedBytes, in getMemUsage() 144 picoos_int32 *maxUsedBytes in getMemUsage()
|
D | picosig.c | 117 static pico_status_t sigInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) in sigInitialize() 318 picoos_uint16 phsIndex, picoos_int32 *phsVect, in getPhsFromPdf() 349 phsVect[nI] = (picoos_int32) *nContent++; in getPhsFromPdf() 383 picoos_int32 f_data, mlt, *t1, *tmp1, *tmp2; in sigProcess() 499 tmp1 [i] = (picoos_int32) tmp_int16; in sigProcess() 500 sig_subObj->sig_inner.wcep_pI[i] = (picoos_int32) tmp2[i]; in sigProcess() 594 mlt = (picoos_int32) ((sig_subObj->fSampNorm * sig_subObj->vMod) in sigProcess() 744 picoos_int32 sf_data, sf_mlt; in sigStep() 1149 sf_mlt = (picoos_int32) ((sig_subObj->vMod) * 16.0f); in sigStep() 1154 sf_data = (picoos_int32) (*s_t1) * sf_mlt; in sigStep()
|
D | picofftsg.h | 43 #define PICOFFTSG_FFTTYPE picoos_int32
|
D | picoctrl.h | 73 picoos_int32 resetMode);
|
D | picodata.h | 501 …tatus_t (* picodata_puInitializeMethod) (register picodata_ProcessingUnit this, picoos_int32 mode); 583 picoos_int32 maxOutputPhoneIds);
|
D | picodata.c | 577 static pico_status_t puSimpleInitialize (register picodata_ProcessingUnit this, picoos_int32 resetM… in puSimpleInitialize() 704 picoos_int32 fact, rest; in transDurUniform() 730 picoos_int32 fact, rest, out, weighted_sum; in transDurWeighted() 779 picoos_int32 inputdur, targetdur; in picodata_transformDurations() 909 picoos_uint8 * outputPhoneIds, picoos_int32 maxOutputPhoneIds) in picodata_mapPAStrToPAIds()
|
D | picoacph.c | 160 static pico_status_t acphInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) { in acphInitialize() 357 picoos_int32 i; in acphPhrItemSeqGetPosLeft() 383 picoos_int32 i; in acphSubPhrasing() 622 picoos_int32 i; in acphAccItemSeqGetPosLeft() 737 picoos_int32 i; in acphAccGetNrsLeft() 801 picoos_int32 upbound; /* index of last WORDPHON item (with POS) */ in acphAccentuation()
|
D | picokdt.c | 1004 picoos_int32 iVal; in kdtAskTree() 1005 picoos_int32 iForks; in kdtAskTree() 1006 picoos_int32 iID; in kdtAskTree() 1008 picoos_int32 iCut, iSubsetType, iBitPos, iBitCount, iPos, iJump, iDecision; in kdtAskTree() 1009 picoos_int32 i; in kdtAskTree() 2054 picoos_int32 utfgraphlen; in picokdt_dtG2PconstructInVec()
|
D | picoctrl.c | 93 static pico_status_t ctrlInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) { in ctrlInitialize() 524 pico_status_t picoctrl_engReset(picoctrl_Engine this, picoos_int32 resetMode) in picoctrl_engReset()
|
D | picosa.c | 245 static pico_status_t saInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) { in saInitialize() 495 picoos_int32 i; in saPosDItemSeqGetPosRight() 519 picoos_int32 first; /* index of first item with POS(es) */ in saDisambPos() 520 picoos_int32 ci; in saDisambPos()
|