• Home
  • Raw
  • Download

Lines Matching refs:pdf

246 static picoos_int32 getFromPdf(picokpdf_PdfMUL pdf, picoos_uint32 vecstart,
252 picokpdf_PdfMUL pdf, picoos_uint8 invpow, picoos_uint8 invDoubleDec);
254 static picoos_uint8 makeWUWandWUm(cep_subobj_t * cep, picokpdf_PdfMUL pdf,
258 static void getDirect(picokpdf_PdfMUL pdf, picoos_uint16 *indices,
262 static void getVoiced(picokpdf_PdfMUL pdf, picoos_uint16 *indices,
864 picokpdf_PdfMUL pdf, picoos_uint8 invpow, picoos_uint8 invDoubleDec) in invMatrix() argument
869 picoos_uint8 ceporder = pdf->ceporder; in invMatrix()
870 picoos_uint8 bigpow = pdf->bigpow; in invMatrix()
871 picoos_uint8 meanpow = pdf->meanpow; in invMatrix()
959 static picoos_uint8 makeWUWandWUm(cep_subobj_t * cep, picokpdf_PdfMUL pdf, in makeWUWandWUm() argument
969 picoos_uint8 vecsize = pdf->vecsize; in makeWUWandWUm()
1015 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1018 mean = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTMEAN, in makeWUWandWUm()
1026 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1030 mean = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTMEAN, in makeWUWandWUm()
1040 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1044 mean = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTMEAN, in makeWUWandWUm()
1065 prev_diag1 = cep->diag1[i] = getFromPdf(pdf, vecstart, in makeWUWandWUm()
1086 prev_diag1_1 = getFromPdf(pdf, vecstart, cepnum, in makeWUWandWUm()
1108 cep->diag2[i] = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1110 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in makeWUWandWUm()
1131 static picoos_int32 getFromPdf(picokpdf_PdfMUL pdf, picoos_uint32 vecstart, in getFromPdf() argument
1141 if (pdf->numdeltas == 0xFF) { in getFromPdf()
1146 p = pdf->content in getFromPdf()
1147 + (vecstart + pdf->numvuv + cepnum * 2); /* cepnum'th static mean */ in getFromPdf()
1149 | *p) << (pdf->meanpowUm[cepnum]); in getFromPdf()
1152 cc = pdf->ceporder + cepnum; in getFromPdf()
1153 p = pdf->content + (vecstart + pdf->numvuv + cc * 2); /* cepnum'th delta mean */ in getFromPdf()
1155 | *p) << (pdf->meanpowUm[cc]); in getFromPdf()
1158 cc = pdf->ceporder * 2 + cepnum; in getFromPdf()
1159 … p = pdf->content + (vecstart + pdf->numvuv + cc * 2); /* cepnum'th delta delta mean */ in getFromPdf()
1161 | *p) << (pdf->meanpowUm[cc]); in getFromPdf()
1172 k = vecstart + pdf->numvuv + pdf->ceporder * 6 + cepnum; /* cepnum'th static ivar */ in getFromPdf()
1173 ivar = (picoos_int32) (pdf->content[k]) in getFromPdf()
1174 << (pdf->ivarpow[cepnum]); in getFromPdf()
1177 ceporder = pdf->ceporder; in getFromPdf()
1178 k = vecstart + pdf->numvuv + ceporder * 7 + cepnum; /* cepnum'th delta ivar */ in getFromPdf()
1179 ivar = (picoos_int32) (pdf->content[k]) in getFromPdf()
1180 << (pdf->ivarpow[ceporder + cepnum]); in getFromPdf()
1183 ceporder = pdf->ceporder; in getFromPdf()
1184 k = vecstart + pdf->numvuv + ceporder * 8 + cepnum; /* cepnum'th delta delta ivar */ in getFromPdf()
1185 ivar = (picoos_int32) (pdf->content[k]) in getFromPdf()
1186 << (pdf->ivarpow[2 * ceporder + cepnum]); in getFromPdf()
1204 p = pdf->content in getFromPdf()
1205 + (vecstart + pdf->numvuv + cepnum * 2); /* cepnum'th static mean */ in getFromPdf()
1207 | *p) << (pdf->meanpowUm[cepnum]); in getFromPdf()
1211 ceporder = pdf->ceporder; in getFromPdf()
1214 while ((s < pdf->numdeltas) && (ind < cepnum || (ind in getFromPdf()
1216 k = vecstart + pdf->numvuv + ceporder * 2 + s; /* s'th delta index */ in getFromPdf()
1217 … ind = (picoos_uint8) (pdf->content[k]); /* is already picoos_uint8 but just to make explicit */ in getFromPdf()
1219 k = vecstart + pdf->numvuv + ceporder * 2 in getFromPdf()
1220 … + pdf->numdeltas + s * 2; /* s'th sparse delta mean, corresponds to cepnum'th delta mean */ in getFromPdf()
1222 = ((picoos_int32) ((picoos_int16) ((pdf->content[k in getFromPdf()
1223 + 1]) << 8)) | pdf->content[k]) in getFromPdf()
1224 << (pdf->meanpowUm[ceporder in getFromPdf()
1233 ceporder = pdf->ceporder; in getFromPdf()
1235 s = pdf->numdeltas; in getFromPdf()
1238 k = vecstart + pdf->numvuv + ceporder2 + s; /* s'th delta index */ in getFromPdf()
1239 … ind = (picoos_uint8) (pdf->content[k]); /* is already picoos_uint8 but just to make explicit */ in getFromPdf()
1241 k = vecstart + pdf->numvuv + ceporder2 in getFromPdf()
1242 … + pdf->numdeltas + s * 2; /* s'th sparse delta mean, corresponds to cepnum'th delta delta mean */ in getFromPdf()
1244 = ((picoos_int32) ((picoos_int16) ((pdf->content[k in getFromPdf()
1245 + 1]) << 8)) | pdf->content[k]) in getFromPdf()
1246 << (pdf->meanpowUm[ceporder2 in getFromPdf()
1261 k = vecstart + pdf->numvuv + pdf->ceporder * 2 in getFromPdf()
1262 + pdf->numdeltas * 3 + cepnum; /* cepnum'th static ivar */ in getFromPdf()
1263 ivar = (picoos_int32) (pdf->content[k]) in getFromPdf()
1264 << (pdf->ivarpow[cepnum]); in getFromPdf()
1267 ceporder = pdf->ceporder; in getFromPdf()
1268 k = vecstart + pdf->numvuv + ceporder * 3 in getFromPdf()
1269 + pdf->numdeltas * 3 + cepnum; /* cepnum'th delta ivar */ in getFromPdf()
1270 ivar = (picoos_int32) (pdf->content[k]) in getFromPdf()
1271 << (pdf->ivarpow[ceporder + cepnum]); in getFromPdf()
1274 ceporder2 = 2 * pdf->ceporder; in getFromPdf()
1275 k = vecstart + pdf->numvuv + ceporder2 + pdf->numdeltas in getFromPdf()
1277 ivar = (picoos_int32) (pdf->content[k]) in getFromPdf()
1278 << (pdf->ivarpow[ceporder2 + cepnum]); in getFromPdf()
1304 static void getDirect(picokpdf_PdfMUL pdf, picoos_uint16 *indices, in getDirect() argument
1313 picoos_uint8 vecsize = pdf->vecsize; in getDirect()
1314 picoos_uint8 order = pdf->ceporder; in getDirect()
1323 mean = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTMEAN, in getDirect()
1325 ivar = getFromPdf(pdf, vecstart, cepnum, PICOCEP_WANTIVAR, in getDirect()
1327 prev_mean = mean = picocep_fixptdiv(mean, ivar, pdf->bigpow); in getDirect()
1329 smoothcep[j] = (picoos_int16)(mean/(1<<pdf->meanpow)); in getDirect()
1343 static void getVoiced(picokpdf_PdfMUL pdf, picoos_uint16 *indices, in getVoiced() argument
1349 picoos_uint8 vecsize = pdf->vecsize; in getVoiced()
1351 if (pdf->numvuv == 0) { in getVoiced()
1356 smoothcep[j] = pdf->content[vecstart]; /* odd value is voiced, even if unvoiced */ in getVoiced()
1690 picokpdf_PdfMUL pdf; in cepStep() local
1711 pdf = cep->pdflfz; in cepStep()
1712 for (cepnum = 0; cepnum < pdf->ceporder; cepnum++) { in cepStep()
1716 makeWUWandWUm(cep, pdf, cep->indicesLFZ, 0, N, in cepStep()
1718 invMatrix(cep, N, cep->outF0 + cep->outF0WritePos, cepnum, pdf, in cepStep()
1721 getDirect(pdf, cep->indicesLFZ, cep->activeEndPos, in cepStep()
1725 cep->outF0WritePos += cep->activeEndPos * pdf->ceporder; in cepStep()
1728 pdf = cep->pdfmgc; in cepStep()
1729 for (cepnum = 0; cepnum < pdf->ceporder; cepnum++) { in cepStep()
1733 makeWUWandWUm(cep, pdf, cep->indicesMGC, 0, N, in cepStep()
1737 pdf, PICOCEP_MGCINVPOW, in cepStep()
1740 getDirect(pdf, cep->indicesMGC, cep->activeEndPos, in cepStep()
1744 cep->outXCepWritePos += cep->activeEndPos * pdf->ceporder; in cepStep()
1746 getVoiced(pdf, cep->indicesMGC, cep->activeEndPos, cep->outVoiced in cepStep()