Lines Matching refs:this
92 static pico_status_t kpdfDURInitialize(register picoknow_KnowledgeBase this, in kpdfDURInitialize() argument
97 if (NULL == this || NULL == this->subObj) { in kpdfDURInitialize()
101 pdfdur = (picokpdf_pdfdur_t *)this->subObj; in kpdfDURInitialize()
105 pdfdur->numframes = ((picoos_uint16)(this->base[pos+1])) << 8 | in kpdfDURInitialize()
106 this->base[pos]; in kpdfDURInitialize()
108 pdfdur->vecsize = this->base[pos++]; in kpdfDURInitialize()
109 pdfdur->sampperframe = this->base[pos++]; in kpdfDURInitialize()
110 pdfdur->phonquantlen = this->base[pos++]; in kpdfDURInitialize()
111 pdfdur->phonquant = &(this->base[pos]); in kpdfDURInitialize()
113 pdfdur->statequantlen = this->base[pos++]; in kpdfDURInitialize()
114 pdfdur->statequant = &(this->base[pos]); in kpdfDURInitialize()
116 pdfdur->content = &(this->base[pos]); in kpdfDURInitialize()
120 if ((picoos_uint32)(pos + (pdfdur->numframes * pdfdur->vecsize)) != this->size) { in kpdfDURInitialize()
123 this->size)); in kpdfDURInitialize()
144 static pico_status_t kpdfMULInitialize(register picoknow_KnowledgeBase this, in kpdfMULInitialize() argument
151 if (NULL == this || NULL == this->subObj) { in kpdfMULInitialize()
155 pdfmul = (picokpdf_pdfmul_t *)this->subObj; in kpdfMULInitialize()
159 pdfmul->numframes = ((picoos_uint16)(this->base[pos+1])) << 8 | in kpdfMULInitialize()
160 this->base[pos]; in kpdfMULInitialize()
162 pdfmul->vecsize = this->base[pos++]; in kpdfMULInitialize()
163 pdfmul->numstates = this->base[pos++]; in kpdfMULInitialize()
167 …pdfmul->stateoffset[i] = pdfmul->stateoffset[i-1] + (this->base[pos] | ((picoos_uint16) this->base… in kpdfMULInitialize()
173 pdfmul->ceporder = this->base[pos++]; in kpdfMULInitialize()
174 pdfmul->numvuv = this->base[pos++]; in kpdfMULInitialize()
175 pdfmul->numdeltas = this->base[pos++]; in kpdfMULInitialize()
176 scmeanpow = this->base[pos++]; in kpdfMULInitialize()
177 maxbigpow = this->base[pos++]; in kpdfMULInitialize()
184 pdfmul->amplif = this->base[pos++]; in kpdfMULInitialize()
207 pdfmul->meanpowUm[i] = convScaleFactorToBig(this->base[pos++], pdfmul->bigpow); in kpdfMULInitialize()
212 pdfmul->ivarpow[i] = convScaleFactorToBig(this->base[pos++], pdfmul->bigpow); in kpdfMULInitialize()
232 pdfmul->content = &(this->base[pos]); in kpdfMULInitialize()
238 if ((picoos_uint32)(pos + (pdfmul->numframes * pdfmul->vecsize)) != this->size) { in kpdfMULInitialize()
241 this->size)); in kpdfMULInitialize()
249 static pico_status_t kpdfPHSInitialize(register picoknow_KnowledgeBase this, in kpdfPHSInitialize() argument
254 if (NULL == this || NULL == this->subObj) { in kpdfPHSInitialize()
258 pdfphs = (picokpdf_pdfphs_t *)this->subObj; in kpdfPHSInitialize()
262 pdfphs->numvectors = ((picoos_uint16)(this->base[pos+1])) << 8 | in kpdfPHSInitialize()
263 this->base[pos]; in kpdfPHSInitialize()
265 pdfphs->indexBase = &(this->base[pos]); in kpdfPHSInitialize()
273 static pico_status_t kpdfMULSubObjDeallocate(register picoknow_KnowledgeBase this, in kpdfMULSubObjDeallocate() argument
279 if ((NULL != this) && (NULL != this->subObj)) { in kpdfMULSubObjDeallocate()
280 pdfmul = (picokpdf_pdfmul_t *)this->subObj; in kpdfMULSubObjDeallocate()
283 picoos_deallocate(mm, (void *) &(this->subObj)); in kpdfMULSubObjDeallocate()
288 static pico_status_t kpdfDURSubObjDeallocate(register picoknow_KnowledgeBase this, in kpdfDURSubObjDeallocate() argument
290 if (NULL != this) { in kpdfDURSubObjDeallocate()
291 picoos_deallocate(mm, (void *) &this->subObj); in kpdfDURSubObjDeallocate()
296 static pico_status_t kpdfPHSSubObjDeallocate(register picoknow_KnowledgeBase this, in kpdfPHSSubObjDeallocate() argument
298 if (NULL != this) { in kpdfPHSSubObjDeallocate()
299 picoos_deallocate(mm, (void *) &this->subObj); in kpdfPHSSubObjDeallocate()
308 pico_status_t picokpdf_specializePdfKnowledgeBase(picoknow_KnowledgeBase this, in picokpdf_specializePdfKnowledgeBase() argument
313 if (NULL == this) { in picokpdf_specializePdfKnowledgeBase()
319 this->subDeallocate = kpdfDURSubObjDeallocate; in picokpdf_specializePdfKnowledgeBase()
320 this->subObj = picoos_allocate(common->mm,sizeof(picokpdf_pdfdur_t)); in picokpdf_specializePdfKnowledgeBase()
321 if (NULL == this->subObj) { in picokpdf_specializePdfKnowledgeBase()
325 status = kpdfDURInitialize(this, common); in picokpdf_specializePdfKnowledgeBase()
328 this->subDeallocate = kpdfMULSubObjDeallocate; in picokpdf_specializePdfKnowledgeBase()
329 this->subObj = picoos_allocate(common->mm,sizeof(picokpdf_pdfmul_t)); in picokpdf_specializePdfKnowledgeBase()
330 if (NULL == this->subObj) { in picokpdf_specializePdfKnowledgeBase()
334 status = kpdfMULInitialize(this, common); in picokpdf_specializePdfKnowledgeBase()
337 this->subDeallocate = kpdfPHSSubObjDeallocate; in picokpdf_specializePdfKnowledgeBase()
338 this->subObj = picoos_allocate(common->mm,sizeof(picokpdf_pdfphs_t)); in picokpdf_specializePdfKnowledgeBase()
339 if (NULL == this->subObj) { in picokpdf_specializePdfKnowledgeBase()
343 status = kpdfPHSInitialize(this, common); in picokpdf_specializePdfKnowledgeBase()
352 picoos_deallocate(common->mm, (void *) &this->subObj); in picokpdf_specializePdfKnowledgeBase()
363 picokpdf_PdfDUR picokpdf_getPdfDUR(picoknow_KnowledgeBase this) { in picokpdf_getPdfDUR() argument
364 return ((NULL == this) ? NULL : ((picokpdf_PdfDUR) this->subObj)); in picokpdf_getPdfDUR()
367 picokpdf_PdfMUL picokpdf_getPdfMUL(picoknow_KnowledgeBase this) { in picokpdf_getPdfMUL() argument
368 return ((NULL == this) ? NULL : ((picokpdf_PdfMUL) this->subObj)); in picokpdf_getPdfMUL()
371 picokpdf_PdfPHS picokpdf_getPdfPHS(picoknow_KnowledgeBase this) { in picokpdf_getPdfPHS() argument
372 return ((NULL == this) ? NULL : ((picokpdf_PdfPHS) this->subObj)); in picokpdf_getPdfPHS()