Lines Matching refs:pirlvl
147 prclyrno = &pi->pirlvl->prclyrnos[pi->prcno]; in jpc_pi_nextlrcp()
164 pi->pirlvl = &pi->picomp->pirlvls[pi->rlvlno]; in jpc_pi_nextlrcp()
166 pi->pirlvl->prclyrnos; pi->prcno < in jpc_pi_nextlrcp()
167 pi->pirlvl->numprcs; ++pi->prcno, in jpc_pi_nextlrcp()
190 assert(pi->prcno < pi->pirlvl->numprcs); in jpc_pi_nextrlcp()
191 prclyrno = &pi->pirlvl->prclyrnos[pi->prcno]; in jpc_pi_nextrlcp()
207 pi->pirlvl = &pi->picomp->pirlvls[pi->rlvlno]; in jpc_pi_nextrlcp()
208 for (pi->prcno = 0, prclyrno = pi->pirlvl->prclyrnos; in jpc_pi_nextrlcp()
209 pi->prcno < pi->pirlvl->numprcs; ++pi->prcno, ++prclyrno) { in jpc_pi_nextrlcp()
227 jpc_pirlvl_t *pirlvl; in jpc_pi_nextrpcl() local
250 for (rlvlno = 0, pirlvl = picomp->pirlvls; rlvlno < in jpc_pi_nextrpcl()
251 picomp->numrlvls; ++rlvlno, ++pirlvl) { in jpc_pi_nextrpcl()
252 xstep = picomp->hsamp * (1 << (pirlvl->prcwidthexpn + in jpc_pi_nextrpcl()
254 ystep = picomp->vsamp * (1 << (pirlvl->prcheightexpn + in jpc_pi_nextrpcl()
276 pi->pirlvl = &pi->picomp->pirlvls[pi->rlvlno]; in jpc_pi_nextrpcl()
277 if (pi->pirlvl->numprcs == 0) { in jpc_pi_nextrpcl()
281 rpx = r + pi->pirlvl->prcwidthexpn; in jpc_pi_nextrpcl()
282 rpy = r + pi->pirlvl->prcheightexpn; in jpc_pi_nextrpcl()
290 << r), pi->pirlvl->prcwidthexpn) - JPC_FLOORDIVPOW2(trx0, in jpc_pi_nextrpcl()
291 pi->pirlvl->prcwidthexpn); in jpc_pi_nextrpcl()
293 << r), pi->pirlvl->prcheightexpn) - JPC_FLOORDIVPOW2(try0, in jpc_pi_nextrpcl()
294 pi->pirlvl->prcheightexpn); in jpc_pi_nextrpcl()
295 pi->prcno = prcvind * pi->pirlvl->numhprcs + prchind; in jpc_pi_nextrpcl()
297 assert(pi->prcno < pi->pirlvl->numprcs); in jpc_pi_nextrpcl()
300 prclyrno = &pi->pirlvl->prclyrnos[pi->prcno]; in jpc_pi_nextrpcl()
319 jpc_pirlvl_t *pirlvl; in jpc_pi_nextpcrl() local
342 for (rlvlno = 0, pirlvl = picomp->pirlvls; rlvlno < in jpc_pi_nextpcrl()
343 picomp->numrlvls; ++rlvlno, ++pirlvl) { in jpc_pi_nextpcrl()
345 (pirlvl->prcwidthexpn + picomp->numrlvls - in jpc_pi_nextpcrl()
348 (pirlvl->prcheightexpn + picomp->numrlvls - in jpc_pi_nextpcrl()
368 pi->pirlvl = &pi->picomp->pirlvls[pi->rlvlno]; in jpc_pi_nextpcrl()
371 ++pi->pirlvl) { in jpc_pi_nextpcrl()
372 if (pi->pirlvl->numprcs == 0) { in jpc_pi_nextpcrl()
378 rpx = r + pi->pirlvl->prcwidthexpn; in jpc_pi_nextpcrl()
379 rpy = r + pi->pirlvl->prcheightexpn; in jpc_pi_nextpcrl()
385 << r), pi->pirlvl->prcwidthexpn) - JPC_FLOORDIVPOW2(trx0, in jpc_pi_nextpcrl()
386 pi->pirlvl->prcwidthexpn); in jpc_pi_nextpcrl()
388 << r), pi->pirlvl->prcheightexpn) - JPC_FLOORDIVPOW2(try0, in jpc_pi_nextpcrl()
389 pi->pirlvl->prcheightexpn); in jpc_pi_nextpcrl()
390 pi->prcno = prcvind * pi->pirlvl->numhprcs + prchind; in jpc_pi_nextpcrl()
391 assert(pi->prcno < pi->pirlvl->numprcs); in jpc_pi_nextpcrl()
394 prclyrno = &pi->pirlvl->prclyrnos[pi->prcno]; in jpc_pi_nextpcrl()
413 jpc_pirlvl_t *pirlvl; in jpc_pi_nextcprl() local
434 pirlvl = pi->picomp->pirlvls; in jpc_pi_nextcprl()
435 pi->xstep = pi->picomp->hsamp * (1 << (pirlvl->prcwidthexpn + in jpc_pi_nextcprl()
437 pi->ystep = pi->picomp->vsamp * (1 << (pirlvl->prcheightexpn + in jpc_pi_nextcprl()
439 for (rlvlno = 1, pirlvl = &pi->picomp->pirlvls[1]; in jpc_pi_nextcprl()
440 rlvlno < pi->picomp->numrlvls; ++rlvlno, ++pirlvl) { in jpc_pi_nextcprl()
442 (pirlvl->prcwidthexpn + pi->picomp->numrlvls - in jpc_pi_nextcprl()
445 (pirlvl->prcheightexpn + pi->picomp->numrlvls - in jpc_pi_nextcprl()
453 pi->pirlvl = &pi->picomp->pirlvls[pi->rlvlno]; in jpc_pi_nextcprl()
455 pchg->rlvlnoend; ++pi->rlvlno, ++pi->pirlvl) { in jpc_pi_nextcprl()
456 if (pi->pirlvl->numprcs == 0) { in jpc_pi_nextcprl()
462 rpx = r + pi->pirlvl->prcwidthexpn; in jpc_pi_nextcprl()
463 rpy = r + pi->pirlvl->prcheightexpn; in jpc_pi_nextcprl()
469 << r), pi->pirlvl->prcwidthexpn) - JPC_FLOORDIVPOW2(trx0, in jpc_pi_nextcprl()
470 pi->pirlvl->prcwidthexpn); in jpc_pi_nextcprl()
472 << r), pi->pirlvl->prcheightexpn) - JPC_FLOORDIVPOW2(try0, in jpc_pi_nextcprl()
473 pi->pirlvl->prcheightexpn); in jpc_pi_nextcprl()
475 pi->pirlvl->numhprcs + in jpc_pi_nextcprl()
478 pi->pirlvl->numprcs); in jpc_pi_nextcprl()
481 prclyrno = &pi->pirlvl->prclyrnos[pi->prcno]; in jpc_pi_nextcprl()
507 jpc_pirlvl_t *pirlvl; in jpc_picomp_destroy() local
509 for (rlvlno = 0, pirlvl = picomp->pirlvls; rlvlno < in jpc_picomp_destroy()
510 picomp->numrlvls; ++rlvlno, ++pirlvl) { in jpc_picomp_destroy()
511 pirlvl_destroy(pirlvl); in jpc_picomp_destroy()
664 jpc_pirlvl_t *pirlvl; in jpc_pi_init() local
675 for (rlvlno = 0, pirlvl = picomp->pirlvls; rlvlno < in jpc_pi_init()
676 picomp->numrlvls; ++rlvlno, ++pirlvl) { in jpc_pi_init()
677 for (prcno = 0, prclyrno = pirlvl->prclyrnos; in jpc_pi_init()
678 prcno < pirlvl->numprcs; ++prcno, ++prclyrno) { in jpc_pi_init()