Lines Matching defs:this
5 * you may not use this file except in compliance with the License.
209 /* this is used for input and output */
230 * @remarks this may be implemented by comparing x to powers of 2
231 * or instead of calling this function perform multiplication
272 static picodata_step_result_t cepStep(register picodata_ProcessingUnit this,
282 * @param this : handle to a cep PU struct
288 static pico_status_t cepInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode)
292 if (NULL == this || NULL == this->subObj) {
295 cep = (cep_subobj_t *) this->subObj;
334 this->voice->kbArray[PICOKNOW_KBID_PDF_LFZ]);
338 this->voice->kbArray[PICOKNOW_KBID_PDF_MGC]);
342 picoktab_getPhones(this->voice->kbArray[PICOKNOW_KBID_TAB_PHONES]); */
368 * @param this : handle to a cep PU struct
374 static pico_status_t cepTerminate(register picodata_ProcessingUnit this)
381 * @param this : handle to a cep PU struct
388 static pico_status_t cepSubObjDeallocate(register picodata_ProcessingUnit this,
392 mm = mm; /* avoid warning "var not used in this function"*/
398 if (NULL != this) {
399 cep_subobj_t * cep = (cep_subobj_t *) this->subObj;
400 picoos_deallocate(this->common->mm, (void *) &cep->outXCep);
401 picoos_deallocate(this->common->mm, (void *) &cep->outVoiced);
402 picoos_deallocate(this->common->mm, (void *) &cep->outF0);
403 picoos_deallocate(this->common->mm, (void *) &this->subObj);
424 picodata_ProcessingUnit this = picodata_newProcessingUnit(mm, common, cbIn,
428 if (this == NULL) {
431 this->initialize = cepInitialize;
433 PICODBG_DEBUG(("set this->step to cepStep"));
435 this->step = cepStep;
436 this->terminate = cepTerminate;
437 this->subDeallocate = cepSubObjDeallocate;
438 this->subObj = picoos_allocate(mm, sizeof(cep_subobj_t));
440 cep = (cep_subobj_t *) this->subObj;
442 if (this->subObj == NULL) {
443 picoos_deallocate(mm, (void*) &this);
448 cep->outF0 = (picoos_int16 *) picoos_allocate(this->common->mm,
451 cep->outXCep = (picoos_int16 *) picoos_allocate(this->common->mm,
454 cep->outVoiced = (picoos_uint8 *) picoos_allocate(this->common->mm,
459 picoos_deallocate(this->common->mm, (void *) &(cep->outF0));
460 picoos_deallocate(this->common->mm, (void *) &(cep->outXCep));
461 picoos_deallocate(this->common->mm, (void *) &(cep->outVoiced));
463 this);
466 cepInitialize(this, PICO_RESET_FULL);
468 return this;
786 this can be seen by setting a=A*big, b=B*big, invb=big2/B, mult(a,invb) = a*invb/(big*big) = A/B*big*big2/(big*big) = A/B*big2/big
858 * @remarks diag0, diag1, diag2, WUm, invdiag0 globals needed in this function (object members in pico)
953 * @remarks diag0, diag1, diag2, WUm, invdiag0 globals needed in this function (object members in pico)
1403 PICODBG_DEBUG(("number of frames for this phone state: %i",frames));
1468 * @param this : pointer to current PU (Control Unit)
1475 static picodata_step_result_t cepStep(register picodata_ProcessingUnit this,
1491 if (NULL == this || NULL == this->subObj) {
1494 cep = (cep_subobj_t *) this->subObj;
1495 mode = mode; /* avoid warning "var not used in this function"*/
1512 sResult = picodata_cbGetItem(this->cbIn,
1575 this->common->em, sResult, NULL, NULL);
1633 PICODATA_INFO_ITEM(this->voice->kbArray[PICOKNOW_KBID_DBG],
1656 picoos_emRaiseException(this->common->em,
1894 cep->nNumFrames = 0;PICODBG_DEBUG(("FRAME no more active frames for this sentence"));
1895 /* no frames left in this sentence*/
1922 sResult = picodata_cbPutItem(this->cbOut, cep->outBuf,
1926 /* we have to redo this item */
1932 PICODATA_INFO_ITEM(this->voice->kbArray[PICOKNOW_KBID_DBG],