Lines Matching refs:pi
53 static OPJ_BOOL opj_pi_next_lrcp(opj_pi_iterator_t * pi);
59 static OPJ_BOOL opj_pi_next_rlcp(opj_pi_iterator_t * pi);
65 static OPJ_BOOL opj_pi_next_rpcl(opj_pi_iterator_t * pi);
71 static OPJ_BOOL opj_pi_next_pcrl(opj_pi_iterator_t * pi);
77 static OPJ_BOOL opj_pi_next_cprl(opj_pi_iterator_t * pi);
234 static OPJ_BOOL opj_pi_next_lrcp(opj_pi_iterator_t * pi) { in opj_pi_next_lrcp() argument
239 if (!pi->first) { in opj_pi_next_lrcp()
240 comp = &pi->comps[pi->compno]; in opj_pi_next_lrcp()
241 res = &comp->resolutions[pi->resno]; in opj_pi_next_lrcp()
244 pi->first = 0; in opj_pi_next_lrcp()
247 for (pi->layno = pi->poc.layno0; pi->layno < pi->poc.layno1; pi->layno++) { in opj_pi_next_lrcp()
248 for (pi->resno = pi->poc.resno0; pi->resno < pi->poc.resno1; in opj_pi_next_lrcp()
249 pi->resno++) { in opj_pi_next_lrcp()
250 for (pi->compno = pi->poc.compno0; pi->compno < pi->poc.compno1; pi->compno++) { in opj_pi_next_lrcp()
251 comp = &pi->comps[pi->compno]; in opj_pi_next_lrcp()
252 if (pi->resno >= comp->numresolutions) { in opj_pi_next_lrcp()
255 res = &comp->resolutions[pi->resno]; in opj_pi_next_lrcp()
256 if (!pi->tp_on){ in opj_pi_next_lrcp()
257 pi->poc.precno1 = res->pw * res->ph; in opj_pi_next_lrcp()
259 for (pi->precno = pi->poc.precno0; pi->precno < pi->poc.precno1; pi->precno++) { in opj_pi_next_lrcp()
260 …index = pi->layno * pi->step_l + pi->resno * pi->step_r + pi->compno * pi->step_c + pi->precno * p… in opj_pi_next_lrcp()
261 if (!pi->include[index]) { in opj_pi_next_lrcp()
262 pi->include[index] = 1; in opj_pi_next_lrcp()
274 static OPJ_BOOL opj_pi_next_rlcp(opj_pi_iterator_t * pi) { in opj_pi_next_rlcp() argument
279 if (!pi->first) { in opj_pi_next_rlcp()
280 comp = &pi->comps[pi->compno]; in opj_pi_next_rlcp()
281 res = &comp->resolutions[pi->resno]; in opj_pi_next_rlcp()
284 pi->first = 0; in opj_pi_next_rlcp()
287 for (pi->resno = pi->poc.resno0; pi->resno < pi->poc.resno1; pi->resno++) { in opj_pi_next_rlcp()
288 for (pi->layno = pi->poc.layno0; pi->layno < pi->poc.layno1; pi->layno++) { in opj_pi_next_rlcp()
289 for (pi->compno = pi->poc.compno0; pi->compno < pi->poc.compno1; pi->compno++) { in opj_pi_next_rlcp()
290 comp = &pi->comps[pi->compno]; in opj_pi_next_rlcp()
291 if (pi->resno >= comp->numresolutions) { in opj_pi_next_rlcp()
294 res = &comp->resolutions[pi->resno]; in opj_pi_next_rlcp()
295 if(!pi->tp_on){ in opj_pi_next_rlcp()
296 pi->poc.precno1 = res->pw * res->ph; in opj_pi_next_rlcp()
298 for (pi->precno = pi->poc.precno0; pi->precno < pi->poc.precno1; pi->precno++) { in opj_pi_next_rlcp()
299 …index = pi->layno * pi->step_l + pi->resno * pi->step_r + pi->compno * pi->step_c + pi->precno * p… in opj_pi_next_rlcp()
300 if (!pi->include[index]) { in opj_pi_next_rlcp()
301 pi->include[index] = 1; in opj_pi_next_rlcp()
313 static OPJ_BOOL opj_pi_next_rpcl(opj_pi_iterator_t * pi) { in opj_pi_next_rpcl() argument
318 if (!pi->first) { in opj_pi_next_rpcl()
322 pi->first = 0; in opj_pi_next_rpcl()
323 pi->dx = 0; in opj_pi_next_rpcl()
324 pi->dy = 0; in opj_pi_next_rpcl()
325 for (compno = 0; compno < pi->numcomps; compno++) { in opj_pi_next_rpcl()
326 comp = &pi->comps[compno]; in opj_pi_next_rpcl()
332 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_rpcl()
333 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_rpcl()
337 if (!pi->tp_on){ in opj_pi_next_rpcl()
338 pi->poc.ty0 = pi->ty0; in opj_pi_next_rpcl()
339 pi->poc.tx0 = pi->tx0; in opj_pi_next_rpcl()
340 pi->poc.ty1 = pi->ty1; in opj_pi_next_rpcl()
341 pi->poc.tx1 = pi->tx1; in opj_pi_next_rpcl()
343 for (pi->resno = pi->poc.resno0; pi->resno < pi->poc.resno1; pi->resno++) { in opj_pi_next_rpcl()
344 …for (pi->y = pi->poc.ty0; pi->y < pi->poc.ty1; pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % … in opj_pi_next_rpcl()
345 …for (pi->x = pi->poc.tx0; pi->x < pi->poc.tx1; pi->x += (OPJ_INT32)(pi->dx - (OPJ_UINT32)(pi->x % … in opj_pi_next_rpcl()
346 for (pi->compno = pi->poc.compno0; pi->compno < pi->poc.compno1; pi->compno++) { in opj_pi_next_rpcl()
352 comp = &pi->comps[pi->compno]; in opj_pi_next_rpcl()
353 if (pi->resno >= comp->numresolutions) { in opj_pi_next_rpcl()
356 res = &comp->resolutions[pi->resno]; in opj_pi_next_rpcl()
357 levelno = comp->numresolutions - 1 - pi->resno; in opj_pi_next_rpcl()
358 trx0 = opj_int_ceildiv(pi->tx0, (OPJ_INT32)(comp->dx << levelno)); in opj_pi_next_rpcl()
359 try0 = opj_int_ceildiv(pi->ty0, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_rpcl()
360 trx1 = opj_int_ceildiv(pi->tx1, (OPJ_INT32)(comp->dx << levelno)); in opj_pi_next_rpcl()
361 try1 = opj_int_ceildiv(pi->ty1, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_rpcl()
364 …if (!((pi->y % (OPJ_INT32)(comp->dy << rpy) == 0) || ((pi->y == pi->ty0) && ((try0 << levelno) % (… in opj_pi_next_rpcl()
367 …if (!((pi->x % (OPJ_INT32)(comp->dx << rpx) == 0) || ((pi->x == pi->tx0) && ((trx0 << levelno) % (… in opj_pi_next_rpcl()
375 …prci = opj_int_floordivpow2(opj_int_ceildiv(pi->x, (OPJ_INT32)(comp->dx << levelno)), (OPJ_INT32)r… in opj_pi_next_rpcl()
377 …prcj = opj_int_floordivpow2(opj_int_ceildiv(pi->y, (OPJ_INT32)(comp->dy << levelno)), (OPJ_INT32)r… in opj_pi_next_rpcl()
379 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw); in opj_pi_next_rpcl()
380 if (pi->precno >= res->pw * res->ph) { in opj_pi_next_rpcl()
383 for (pi->layno = pi->poc.layno0; pi->layno < pi->poc.layno1; pi->layno++) { in opj_pi_next_rpcl()
384 …index = pi->layno * pi->step_l + pi->resno * pi->step_r + pi->compno * pi->step_c + pi->precno * p… in opj_pi_next_rpcl()
385 if (!pi->include[index]) { in opj_pi_next_rpcl()
386 pi->include[index] = 1; in opj_pi_next_rpcl()
399 static OPJ_BOOL opj_pi_next_pcrl(opj_pi_iterator_t * pi) { in opj_pi_next_pcrl() argument
404 if (!pi->first) { in opj_pi_next_pcrl()
405 comp = &pi->comps[pi->compno]; in opj_pi_next_pcrl()
409 pi->first = 0; in opj_pi_next_pcrl()
410 pi->dx = 0; in opj_pi_next_pcrl()
411 pi->dy = 0; in opj_pi_next_pcrl()
412 for (compno = 0; compno < pi->numcomps; compno++) { in opj_pi_next_pcrl()
413 comp = &pi->comps[compno]; in opj_pi_next_pcrl()
419 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_pcrl()
420 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_pcrl()
424 if (!pi->tp_on){ in opj_pi_next_pcrl()
425 pi->poc.ty0 = pi->ty0; in opj_pi_next_pcrl()
426 pi->poc.tx0 = pi->tx0; in opj_pi_next_pcrl()
427 pi->poc.ty1 = pi->ty1; in opj_pi_next_pcrl()
428 pi->poc.tx1 = pi->tx1; in opj_pi_next_pcrl()
430 …for (pi->y = pi->poc.ty0; pi->y < pi->poc.ty1; pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % … in opj_pi_next_pcrl()
431 …for (pi->x = pi->poc.tx0; pi->x < pi->poc.tx1; pi->x += (OPJ_INT32)(pi->dx - (OPJ_UINT32)(pi->x % … in opj_pi_next_pcrl()
432 for (pi->compno = pi->poc.compno0; pi->compno < pi->poc.compno1; pi->compno++) { in opj_pi_next_pcrl()
433 comp = &pi->comps[pi->compno]; in opj_pi_next_pcrl()
434 …for (pi->resno = pi->poc.resno0; pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); p… in opj_pi_next_pcrl()
440 res = &comp->resolutions[pi->resno]; in opj_pi_next_pcrl()
441 levelno = comp->numresolutions - 1 - pi->resno; in opj_pi_next_pcrl()
442 trx0 = opj_int_ceildiv(pi->tx0, (OPJ_INT32)(comp->dx << levelno)); in opj_pi_next_pcrl()
443 try0 = opj_int_ceildiv(pi->ty0, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_pcrl()
444 trx1 = opj_int_ceildiv(pi->tx1, (OPJ_INT32)(comp->dx << levelno)); in opj_pi_next_pcrl()
445 try1 = opj_int_ceildiv(pi->ty1, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_pcrl()
448 …if (!((pi->y % (OPJ_INT32)(comp->dy << rpy) == 0) || ((pi->y == pi->ty0) && ((try0 << levelno) % (… in opj_pi_next_pcrl()
451 …if (!((pi->x % (OPJ_INT32)(comp->dx << rpx) == 0) || ((pi->x == pi->tx0) && ((trx0 << levelno) % (… in opj_pi_next_pcrl()
459 …prci = opj_int_floordivpow2(opj_int_ceildiv(pi->x, (OPJ_INT32)(comp->dx << levelno)), (OPJ_INT32)r… in opj_pi_next_pcrl()
461 …prcj = opj_int_floordivpow2(opj_int_ceildiv(pi->y, (OPJ_INT32)(comp->dy << levelno)), (OPJ_INT32)r… in opj_pi_next_pcrl()
463 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw); in opj_pi_next_pcrl()
464 if (pi->precno >= res->pw * res->ph) { in opj_pi_next_pcrl()
467 for (pi->layno = pi->poc.layno0; pi->layno < pi->poc.layno1; pi->layno++) { in opj_pi_next_pcrl()
468 …index = pi->layno * pi->step_l + pi->resno * pi->step_r + pi->compno * pi->step_c + pi->precno * p… in opj_pi_next_pcrl()
469 if (!pi->include[index]) { in opj_pi_next_pcrl()
470 pi->include[index] = 1; in opj_pi_next_pcrl()
483 static OPJ_BOOL opj_pi_next_cprl(opj_pi_iterator_t * pi) { in opj_pi_next_cprl() argument
488 if (!pi->first) { in opj_pi_next_cprl()
489 comp = &pi->comps[pi->compno]; in opj_pi_next_cprl()
492 pi->first = 0; in opj_pi_next_cprl()
495 for (pi->compno = pi->poc.compno0; pi->compno < pi->poc.compno1; pi->compno++) { in opj_pi_next_cprl()
497 comp = &pi->comps[pi->compno]; in opj_pi_next_cprl()
498 pi->dx = 0; in opj_pi_next_cprl()
499 pi->dy = 0; in opj_pi_next_cprl()
505 pi->dx = !pi->dx ? dx : opj_uint_min(pi->dx, dx); in opj_pi_next_cprl()
506 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_cprl()
508 if (!pi->tp_on){ in opj_pi_next_cprl()
509 pi->poc.ty0 = pi->ty0; in opj_pi_next_cprl()
510 pi->poc.tx0 = pi->tx0; in opj_pi_next_cprl()
511 pi->poc.ty1 = pi->ty1; in opj_pi_next_cprl()
512 pi->poc.tx1 = pi->tx1; in opj_pi_next_cprl()
514 …for (pi->y = pi->poc.ty0; pi->y < pi->poc.ty1; pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % … in opj_pi_next_cprl()
515 …for (pi->x = pi->poc.tx0; pi->x < pi->poc.tx1; pi->x += (OPJ_INT32)(pi->dx - (OPJ_UINT32)(pi->x % … in opj_pi_next_cprl()
516 …for (pi->resno = pi->poc.resno0; pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); p… in opj_pi_next_cprl()
522 res = &comp->resolutions[pi->resno]; in opj_pi_next_cprl()
523 levelno = comp->numresolutions - 1 - pi->resno; in opj_pi_next_cprl()
524 trx0 = opj_int_ceildiv(pi->tx0, (OPJ_INT32)(comp->dx << levelno)); in opj_pi_next_cprl()
525 try0 = opj_int_ceildiv(pi->ty0, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_cprl()
526 trx1 = opj_int_ceildiv(pi->tx1, (OPJ_INT32)(comp->dx << levelno)); in opj_pi_next_cprl()
527 try1 = opj_int_ceildiv(pi->ty1, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_cprl()
530 …if (!((pi->y % (OPJ_INT32)(comp->dy << rpy) == 0) || ((pi->y == pi->ty0) && ((try0 << levelno) % (… in opj_pi_next_cprl()
533 …if (!((pi->x % (OPJ_INT32)(comp->dx << rpx) == 0) || ((pi->x == pi->tx0) && ((trx0 << levelno) % (… in opj_pi_next_cprl()
541 …prci = opj_int_floordivpow2(opj_int_ceildiv(pi->x, (OPJ_INT32)(comp->dx << levelno)), (OPJ_INT32)r… in opj_pi_next_cprl()
543 …prcj = opj_int_floordivpow2(opj_int_ceildiv(pi->y, (OPJ_INT32)(comp->dy << levelno)), (OPJ_INT32)r… in opj_pi_next_cprl()
545 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw); in opj_pi_next_cprl()
546 if (pi->precno >= res->pw * res->ph) { in opj_pi_next_cprl()
549 for (pi->layno = pi->poc.layno0; pi->layno < pi->poc.layno1; pi->layno++) { in opj_pi_next_cprl()
550 …index = pi->layno * pi->step_l + pi->resno * pi->step_r + pi->compno * pi->step_c + pi->precno * p… in opj_pi_next_cprl()
551 if (!pi->include[index]) { in opj_pi_next_cprl()
552 pi->include[index] = 1; in opj_pi_next_cprl()
1555 void opj_pi_create_encode( opj_pi_iterator_t *pi, in opj_pi_create_encode() argument
1571 pi[pino].first = 1; in opj_pi_create_encode()
1572 pi[pino].poc.prg = tcp->prg; in opj_pi_create_encode()
1575 pi[pino].poc.resno0 = tcp->resS; in opj_pi_create_encode()
1576 pi[pino].poc.resno1 = tcp->resE; in opj_pi_create_encode()
1577 pi[pino].poc.compno0 = tcp->compS; in opj_pi_create_encode()
1578 pi[pino].poc.compno1 = tcp->compE; in opj_pi_create_encode()
1579 pi[pino].poc.layno0 = tcp->layS; in opj_pi_create_encode()
1580 pi[pino].poc.layno1 = tcp->layE; in opj_pi_create_encode()
1581 pi[pino].poc.precno0 = tcp->prcS; in opj_pi_create_encode()
1582 pi[pino].poc.precno1 = tcp->prcE; in opj_pi_create_encode()
1583 pi[pino].poc.tx0 = (OPJ_INT32)tcp->txS; in opj_pi_create_encode()
1584 pi[pino].poc.ty0 = (OPJ_INT32)tcp->tyS; in opj_pi_create_encode()
1585 pi[pino].poc.tx1 = (OPJ_INT32)tcp->txE; in opj_pi_create_encode()
1586 pi[pino].poc.ty1 = (OPJ_INT32)tcp->tyE; in opj_pi_create_encode()
1591 pi[pino].poc.resno0 = tcp->resS; in opj_pi_create_encode()
1592 pi[pino].poc.resno1 = tcp->resE; in opj_pi_create_encode()
1595 pi[pino].poc.compno0 = tcp->compS; in opj_pi_create_encode()
1596 pi[pino].poc.compno1 = tcp->compE; in opj_pi_create_encode()
1599 pi[pino].poc.layno0 = tcp->layS; in opj_pi_create_encode()
1600 pi[pino].poc.layno1 = tcp->layE; in opj_pi_create_encode()
1606 pi[pino].poc.precno0 = tcp->prcS; in opj_pi_create_encode()
1607 pi[pino].poc.precno1 = tcp->prcE; in opj_pi_create_encode()
1610 pi[pino].poc.tx0 = (OPJ_INT32)tcp->txS; in opj_pi_create_encode()
1611 pi[pino].poc.ty0 = (OPJ_INT32)tcp->tyS; in opj_pi_create_encode()
1612 pi[pino].poc.tx1 = (OPJ_INT32)tcp->txE; in opj_pi_create_encode()
1613 pi[pino].poc.ty1 = (OPJ_INT32)tcp->tyE; in opj_pi_create_encode()
1625 pi[pino].poc.compno0 = tcp->comp_t; in opj_pi_create_encode()
1626 pi[pino].poc.compno1 = tcp->comp_t+1; in opj_pi_create_encode()
1631 pi[pino].poc.resno0 = tcp->res_t; in opj_pi_create_encode()
1632 pi[pino].poc.resno1 = tcp->res_t+1; in opj_pi_create_encode()
1637 pi[pino].poc.layno0 = tcp->lay_t; in opj_pi_create_encode()
1638 pi[pino].poc.layno1 = tcp->lay_t+1; in opj_pi_create_encode()
1646 pi[pino].poc.precno0 = tcp->prc_t; in opj_pi_create_encode()
1647 pi[pino].poc.precno1 = tcp->prc_t+1; in opj_pi_create_encode()
1653 pi[pino].poc.tx0 = (OPJ_INT32)tcp->tx0_t; in opj_pi_create_encode()
1654 pi[pino].poc.tx1 = (OPJ_INT32)(tcp->tx0_t + tcp->dx - (tcp->tx0_t % tcp->dx)); in opj_pi_create_encode()
1655 pi[pino].poc.ty0 = (OPJ_INT32)tcp->ty0_t; in opj_pi_create_encode()
1656 pi[pino].poc.ty1 = (OPJ_INT32)(tcp->ty0_t + tcp->dy - (tcp->ty0_t % tcp->dy)); in opj_pi_create_encode()
1657 tcp->tx0_t = (OPJ_UINT32)pi[pino].poc.tx1; in opj_pi_create_encode()
1658 tcp->ty0_t = (OPJ_UINT32)pi[pino].poc.ty1; in opj_pi_create_encode()
1669 pi[pino].poc.compno0 = tcp->comp_t-1; in opj_pi_create_encode()
1670 pi[pino].poc.compno1 = tcp->comp_t; in opj_pi_create_encode()
1673 pi[pino].poc.resno0 = tcp->res_t-1; in opj_pi_create_encode()
1674 pi[pino].poc.resno1 = tcp->res_t; in opj_pi_create_encode()
1677 pi[pino].poc.layno0 = tcp->lay_t-1; in opj_pi_create_encode()
1678 pi[pino].poc.layno1 = tcp->lay_t; in opj_pi_create_encode()
1684 pi[pino].poc.precno0 = tcp->prc_t-1; in opj_pi_create_encode()
1685 pi[pino].poc.precno1 = tcp->prc_t; in opj_pi_create_encode()
1688 pi[pino].poc.tx0 = (OPJ_INT32)(tcp->tx0_t - tcp->dx - (tcp->tx0_t % tcp->dx)); in opj_pi_create_encode()
1689 pi[pino].poc.tx1 = (OPJ_INT32)tcp->tx0_t ; in opj_pi_create_encode()
1690 pi[pino].poc.ty0 = (OPJ_INT32)(tcp->ty0_t - tcp->dy - (tcp->ty0_t % tcp->dy)); in opj_pi_create_encode()
1691 pi[pino].poc.ty1 = (OPJ_INT32)tcp->ty0_t ; in opj_pi_create_encode()
1702 pi[pino].poc.resno0 = tcp->res_t; in opj_pi_create_encode()
1703 pi[pino].poc.resno1 = tcp->res_t+1; in opj_pi_create_encode()
1710 pi[pino].poc.resno0 = tcp->res_t; in opj_pi_create_encode()
1711 pi[pino].poc.resno1 = tcp->res_t+1; in opj_pi_create_encode()
1720 pi[pino].poc.compno0 = tcp->comp_t; in opj_pi_create_encode()
1721 pi[pino].poc.compno1 = tcp->comp_t+1; in opj_pi_create_encode()
1728 pi[pino].poc.compno0 = tcp->comp_t; in opj_pi_create_encode()
1729 pi[pino].poc.compno1 = tcp->comp_t+1; in opj_pi_create_encode()
1738 pi[pino].poc.layno0 = tcp->lay_t; in opj_pi_create_encode()
1739 pi[pino].poc.layno1 = tcp->lay_t+1; in opj_pi_create_encode()
1746 pi[pino].poc.layno0 = tcp->lay_t; in opj_pi_create_encode()
1747 pi[pino].poc.layno1 = tcp->lay_t+1; in opj_pi_create_encode()
1759 pi[pino].poc.precno0 = tcp->prc_t; in opj_pi_create_encode()
1760 pi[pino].poc.precno1 = tcp->prc_t+1; in opj_pi_create_encode()
1767 pi[pino].poc.precno0 = tcp->prc_t; in opj_pi_create_encode()
1768 pi[pino].poc.precno1 = tcp->prc_t+1; in opj_pi_create_encode()
1778 pi[pino].poc.ty0 = (OPJ_INT32)tcp->ty0_t; in opj_pi_create_encode()
1779 pi[pino].poc.ty1 = (OPJ_INT32)(tcp->ty0_t + tcp->dy - (tcp->ty0_t % tcp->dy)); in opj_pi_create_encode()
1780 tcp->ty0_t = (OPJ_UINT32)pi[pino].poc.ty1; in opj_pi_create_encode()
1786 pi[pino].poc.ty0 = (OPJ_INT32)tcp->ty0_t; in opj_pi_create_encode()
1787 pi[pino].poc.ty1 = (OPJ_INT32)(tcp->ty0_t + tcp->dy - (tcp->ty0_t % tcp->dy)); in opj_pi_create_encode()
1788 tcp->ty0_t = (OPJ_UINT32)pi[pino].poc.ty1; in opj_pi_create_encode()
1793 pi[pino].poc.tx0 = (OPJ_INT32)tcp->tx0_t; in opj_pi_create_encode()
1794 pi[pino].poc.tx1 = (OPJ_INT32)(tcp->tx0_t + tcp->dx- (tcp->tx0_t % tcp->dx)); in opj_pi_create_encode()
1795 tcp->tx0_t = (OPJ_UINT32)pi[pino].poc.tx1; in opj_pi_create_encode()
1798 pi[pino].poc.tx0 = (OPJ_INT32)tcp->tx0_t; in opj_pi_create_encode()
1799 pi[pino].poc.tx1 = (OPJ_INT32)(tcp->tx0_t + tcp->dx- (tcp->tx0_t % tcp->dx)); in opj_pi_create_encode()
1800 tcp->tx0_t = (OPJ_UINT32)pi[pino].poc.tx1; in opj_pi_create_encode()
1876 OPJ_BOOL opj_pi_next(opj_pi_iterator_t * pi) { in opj_pi_next() argument
1877 switch (pi->poc.prg) { in opj_pi_next()
1879 return opj_pi_next_lrcp(pi); in opj_pi_next()
1881 return opj_pi_next_rlcp(pi); in opj_pi_next()
1883 return opj_pi_next_rpcl(pi); in opj_pi_next()
1885 return opj_pi_next_pcrl(pi); in opj_pi_next()
1887 return opj_pi_next_cprl(pi); in opj_pi_next()