Home | History | Annotate | Download | only in lib

Lines Matching defs:this

5  * you may not use this file except in compliance with the License.
57 static picodata_step_result_t sigStep(register picodata_ProcessingUnit this,
92 /*-----------------------Definition of the local storage for this PU--------*/
111 * @param this : sig PU object
117 static pico_status_t sigInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode)
120 if (NULL == this || NULL == this->subObj) {
123 sig_subObj = (sig_subobj_t *) this->subObj;
153 this->voice->kbArray[PICOKNOW_KBID_PDF_MGC]);
155 this->voice->kbArray[PICOKNOW_KBID_PDF_LFZ]);
157 this->voice->kbArray[PICOKNOW_KBID_PDF_PHS]);
190 * @param this : sig PU object
196 static pico_status_t sigTerminate(register picodata_ProcessingUnit this)
200 if (NULL == this || NULL == this->subObj) {
203 sig_subObj = (sig_subobj_t *) this->subObj;
210 * @param this : sig PU object
217 static pico_status_t sigSubObjDeallocate(register picodata_ProcessingUnit this,
221 if ((NULL == this) || ((this)->subObj == NULL)) {
224 sig_subObj = (sig_subobj_t *) (this)->subObj;
227 picoos_sdfCloseIn(this->common, &(sig_subObj->sInSDFile));
233 picoos_sdfCloseOut(this->common, &(sig_subObj->sOutSDFile));
240 picoos_deallocate(this->common->mm, (void *) &this->subObj);
263 picodata_ProcessingUnit this = picodata_newProcessingUnit(mm, common, cbIn,
265 if (NULL == this) {
268 this->initialize = sigInitialize;
272 this->step = sigStep;
273 this->terminate = sigTerminate;
274 this->subDeallocate = sigSubObjDeallocate;
276 this->subObj = picoos_allocate(mm, sizeof(sig_subobj_t));
278 if (NULL == this->subObj) {
280 picoos_deallocate(mm, (void *) &this);
283 sig_subObj = (sig_subobj_t *) this->subObj;
290 picoos_deallocate(mm, (void *) &this);
295 * Initialize memory for DSP (this may be re-used elsewhere, e.g.Reset)
297 if (PICO_OK != sigInitialize(this, PICO_RESET_FULL)) {
300 picoos_deallocate(mm, (void *) &this);
303 return this;
308 * @param this : sig object pointer
317 static pico_status_t getPhsFromPdf(register picodata_ProcessingUnit this,
329 if (NULL == this || NULL == this->subObj) {
332 sig_subObj = (sig_subobj_t *) this->subObj;
360 * @param this : the PU object pointer
374 static pico_status_t sigProcess(register picodata_ProcessingUnit this,
389 sig_subObj = (sig_subobj_t *) this->subObj;
391 numinb = numinb; /* avoid warning "var not used in this function"*/
513 getPhsFromPdf(this, tmp_int16, tmp1, &(sig_subObj->sig_inner.VoxBndBuff[PHASE_BUFF_SIZE-1]));
635 * selects items to be dealth with by this PU
678 * selects items to be managed as commands by this PU
716 * @param this : pointer to current PU (Control Unit)
719 * @param this : pointer to current PU (Control Unit)
724 static picodata_step_result_t sigStep(register picodata_ProcessingUnit this,
754 if (NULL == this || NULL == this->subObj) {
757 sig_subObj = (sig_subobj_t *) this->subObj;
762 mode = mode; /* avoid warning "var not used in this function" */
773 s_result = picodata_cbGetItem(this->cbIn,
808 this PU*/
815 /* we have to manage this item */
826 /*we need to manage this item as a SIG command-item*/
867 b_res = picoos_sdfOpenIn(this->common,
935 picoos_sdfOpenOut(this->common,
973 picoos_sdfCloseOut(this->common,
1047 /*we DO NOT have to deal with this item on this PU.
1104 s_result = sigProcess(this, sig_subObj->inReadPos, numinb,
1136 picoos_sdfCloseIn(this->common, &(sig_subObj->sInSDFile));
1185 s_result = picodata_cbPutItem(this->cbOut,
1210 this->cbOut,
1218 picoos_sdfCloseOut(this->common, &(sig_subObj->sOutSDFile));
1230 this->cbOut,