• Home
  • Raw
  • Download

Lines Matching refs:pdfmul

146     picokpdf_pdfmul_t *pdfmul;  in kpdfMULInitialize()  local
155 pdfmul = (picokpdf_pdfmul_t *)this->subObj; in kpdfMULInitialize()
159 pdfmul->numframes = ((picoos_uint16)(this->base[pos+1])) << 8 | in kpdfMULInitialize()
162 pdfmul->vecsize = this->base[pos++]; in kpdfMULInitialize()
163 pdfmul->numstates = this->base[pos++]; in kpdfMULInitialize()
165 pdfmul->stateoffset[0] = (picoos_uint16) 0; in kpdfMULInitialize()
166 for (i=1; i<pdfmul->numstates; i++) { in kpdfMULInitialize()
167pdfmul->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()
182 pdfmul->bigpow = PICOKPDF_BIG_POW; /* what we have to use is the smaller number! */ in kpdfMULInitialize()
184 pdfmul->amplif = this->base[pos++]; in kpdfMULInitialize()
187 pdfmul->meanpow = convScaleFactorToBig(scmeanpow, pdfmul->bigpow); in kpdfMULInitialize()
188 if (0 == pdfmul->meanpow) { in kpdfMULInitialize()
192 nummean = 3*pdfmul->ceporder; in kpdfMULInitialize()
194 pdfmul->meanpowUm = picoos_allocate(common->mm,nummean*sizeof(picoos_uint8)); in kpdfMULInitialize()
195 pdfmul->ivarpow = picoos_allocate(common->mm,nummean*sizeof(picoos_uint8)); in kpdfMULInitialize()
196 if ((NULL == pdfmul->meanpowUm) || (NULL == pdfmul->ivarpow)) { in kpdfMULInitialize()
197 picoos_deallocate(common->mm,(void *) &(pdfmul->meanpowUm)); in kpdfMULInitialize()
198 picoos_deallocate(common->mm,(void *) &(pdfmul->ivarpow)); 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()
216 …if ((pdfmul->numdeltas == 0xFF) && (pdfmul->vecsize != (pdfmul->numvuv + pdfmul->ceporder * 3 * (2… in kpdfMULInitialize()
226 …if ((pdfmul->numdeltas != 0xFF) && (pdfmul->vecsize != pdfmul->numvuv+pdfmul->ceporder*2+pdfmul->n… in kpdfMULInitialize()
229pdfmul->vecsize, pdfmul->numvuv + pdfmul->ceporder*2 + pdfmul->numdeltas * 3 + pdfmul->ceporder * … in kpdfMULInitialize()
232 pdfmul->content = &(this->base[pos]); in kpdfMULInitialize()
235 pdfmul->numframes, pdfmul->vecsize, pdfmul->numstates, in kpdfMULInitialize()
236 pdfmul->ceporder, pdfmul->numvuv, pdfmul->numdeltas, in kpdfMULInitialize()
237 pdfmul->meanpow, pdfmul->bigpow)); in kpdfMULInitialize()
238 if ((picoos_uint32)(pos + (pdfmul->numframes * pdfmul->vecsize)) != this->size) { in kpdfMULInitialize()
240 pos + (pdfmul->numframes * pdfmul->vecsize), in kpdfMULInitialize()
277 picokpdf_pdfmul_t *pdfmul; in kpdfMULSubObjDeallocate() local
280 pdfmul = (picokpdf_pdfmul_t *)this->subObj; in kpdfMULSubObjDeallocate()
281 picoos_deallocate(mm,(void *) &(pdfmul->meanpowUm)); in kpdfMULSubObjDeallocate()
282 picoos_deallocate(mm,(void *) &(pdfmul->ivarpow)); in kpdfMULSubObjDeallocate()