Lines Matching refs:levelno
347 OPJ_UINT32 levelno; in opj_pi_next_rpcl() local
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()
362 rpx = res->pdx + levelno; in opj_pi_next_rpcl()
363 rpy = res->pdy + 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()
435 OPJ_UINT32 levelno; in opj_pi_next_pcrl() local
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()
446 rpx = res->pdx + levelno; in opj_pi_next_pcrl()
447 rpy = res->pdy + 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()
517 OPJ_UINT32 levelno; in opj_pi_next_cprl() local
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()
528 rpx = res->pdx + levelno; in opj_pi_next_cprl()
529 rpy = res->pdy + 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()