• Home
  • Raw
  • Download

Lines Matching refs:OPJ_INT32

95                                                  OPJ_INT32 p_tx0,
96 OPJ_INT32 p_tx1,
97 OPJ_INT32 p_ty0,
98 OPJ_INT32 p_ty1,
122 OPJ_INT32 p_tx0,
123 OPJ_INT32 p_tx1,
124 OPJ_INT32 p_ty0,
125 OPJ_INT32 p_ty1,
148 OPJ_INT32 * p_tx0,
149 OPJ_INT32 * p_tx1,
150 OPJ_INT32 * p_ty0,
151 OPJ_INT32 * p_ty1,
180 OPJ_INT32 * p_tx0,
181 OPJ_INT32 * p_tx1,
182 OPJ_INT32 * p_ty0,
183 OPJ_INT32 * p_ty1,
218 static OPJ_BOOL opj_pi_check_next_level( OPJ_INT32 pos,
344 …i->y = pi->poc.ty0; pi->y < pi->poc.ty1; pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % (OPJ_I… in opj_pi_next_rpcl()
345 …i->x = pi->poc.tx0; pi->x < pi->poc.tx1; pi->x += (OPJ_INT32)(pi->dx - (OPJ_UINT32)(pi->x % (OPJ_I… in opj_pi_next_rpcl()
348 OPJ_INT32 trx0, try0; in opj_pi_next_rpcl()
349 OPJ_INT32 trx1, try1; in opj_pi_next_rpcl()
351 OPJ_INT32 prci, prcj; 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()
376 - opj_int_floordivpow2(trx0, (OPJ_INT32)res->pdx); 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()
378 - opj_int_floordivpow2(try0, (OPJ_INT32)res->pdy); in opj_pi_next_rpcl()
379 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw); in opj_pi_next_rpcl()
430 …i->y = pi->poc.ty0; pi->y < pi->poc.ty1; pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % (OPJ_I… in opj_pi_next_pcrl()
431 …i->x = pi->poc.tx0; pi->x < pi->poc.tx1; pi->x += (OPJ_INT32)(pi->dx - (OPJ_UINT32)(pi->x % (OPJ_I… in opj_pi_next_pcrl()
436 OPJ_INT32 trx0, try0; in opj_pi_next_pcrl()
437 OPJ_INT32 trx1, try1; in opj_pi_next_pcrl()
439 OPJ_INT32 prci, prcj; 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()
460 - opj_int_floordivpow2(trx0, (OPJ_INT32)res->pdx); 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()
462 - opj_int_floordivpow2(try0, (OPJ_INT32)res->pdy); in opj_pi_next_pcrl()
463 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw); in opj_pi_next_pcrl()
514 …i->y = pi->poc.ty0; pi->y < pi->poc.ty1; pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % (OPJ_I… in opj_pi_next_cprl()
515 …i->x = pi->poc.tx0; pi->x < pi->poc.tx1; pi->x += (OPJ_INT32)(pi->dx - (OPJ_UINT32)(pi->x % (OPJ_I… in opj_pi_next_cprl()
518 OPJ_INT32 trx0, try0; in opj_pi_next_cprl()
519 OPJ_INT32 trx1, try1; in opj_pi_next_cprl()
521 OPJ_INT32 prci, prcj; 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()
542 - opj_int_floordivpow2(trx0, (OPJ_INT32)res->pdx); 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()
544 - opj_int_floordivpow2(try0, (OPJ_INT32)res->pdy); in opj_pi_next_cprl()
545 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw); in opj_pi_next_cprl()
568 OPJ_INT32 * p_tx0, in opj_get_encoding_parameters()
569 OPJ_INT32 * p_tx1, in opj_get_encoding_parameters()
570 OPJ_INT32 * p_ty0, in opj_get_encoding_parameters()
571 OPJ_INT32 * p_ty1, in opj_get_encoding_parameters()
602 *p_tx0 = opj_int_max((OPJ_INT32)(p_cp->tx0 + p * p_cp->tdx), (OPJ_INT32)p_image->x0); in opj_get_encoding_parameters()
603 *p_tx1 = opj_int_min((OPJ_INT32)(p_cp->tx0 + (p + 1) * p_cp->tdx), (OPJ_INT32)p_image->x1); in opj_get_encoding_parameters()
604 *p_ty0 = opj_int_max((OPJ_INT32)(p_cp->ty0 + q * p_cp->tdy), (OPJ_INT32)p_image->y0); in opj_get_encoding_parameters()
605 *p_ty1 = opj_int_min((OPJ_INT32)(p_cp->ty0 + (q + 1) * p_cp->tdy), (OPJ_INT32)p_image->y1); in opj_get_encoding_parameters()
618 OPJ_INT32 l_rx0, l_ry0, l_rx1, l_ry1; in opj_get_encoding_parameters()
619 OPJ_INT32 l_px0, l_py0, l_px1, py1; in opj_get_encoding_parameters()
623 OPJ_INT32 l_tcx0, l_tcy0, l_tcx1, l_tcy1; in opj_get_encoding_parameters()
625 l_tcx0 = opj_int_ceildiv(*p_tx0, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters()
626 l_tcy0 = opj_int_ceildiv(*p_ty0, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters()
627 l_tcx1 = opj_int_ceildiv(*p_tx1, (OPJ_INT32)l_img_comp->dx); in opj_get_encoding_parameters()
628 l_tcy1 = opj_int_ceildiv(*p_ty1, (OPJ_INT32)l_img_comp->dy); in opj_get_encoding_parameters()
652 l_rx0 = opj_int_ceildivpow2(l_tcx0, (OPJ_INT32)l_level_no); in opj_get_encoding_parameters()
653 l_ry0 = opj_int_ceildivpow2(l_tcy0, (OPJ_INT32)l_level_no); in opj_get_encoding_parameters()
654 l_rx1 = opj_int_ceildivpow2(l_tcx1, (OPJ_INT32)l_level_no); in opj_get_encoding_parameters()
655 l_ry1 = opj_int_ceildivpow2(l_tcy1, (OPJ_INT32)l_level_no); in opj_get_encoding_parameters()
657 l_px0 = opj_int_floordivpow2(l_rx0, (OPJ_INT32)l_pdx) << l_pdx; in opj_get_encoding_parameters()
658 l_py0 = opj_int_floordivpow2(l_ry0, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_encoding_parameters()
659 l_px1 = opj_int_ceildivpow2(l_rx1, (OPJ_INT32)l_pdx) << l_pdx; in opj_get_encoding_parameters()
661 py1 = opj_int_ceildivpow2(l_ry1, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_encoding_parameters()
682 OPJ_INT32 * p_tx0, in opj_get_all_encoding_parameters()
683 OPJ_INT32 * p_tx1, in opj_get_all_encoding_parameters()
684 OPJ_INT32 * p_ty0, in opj_get_all_encoding_parameters()
685 OPJ_INT32 * p_ty1, in opj_get_all_encoding_parameters()
725 *p_tx0 = (OPJ_INT32)opj_uint_max(l_tx0, p_image->x0); in opj_get_all_encoding_parameters()
726 *p_tx1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, p_cp->tdx), p_image->x1); in opj_get_all_encoding_parameters()
728 *p_ty0 = (OPJ_INT32)opj_uint_max(l_ty0, p_image->y0); in opj_get_all_encoding_parameters()
729 *p_ty1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, p_cp->tdy), p_image->y1); in opj_get_all_encoding_parameters()
742 OPJ_INT32 l_rx0, l_ry0, l_rx1, l_ry1; in opj_get_all_encoding_parameters()
743 OPJ_INT32 l_px0, l_py0, l_px1, py1; in opj_get_all_encoding_parameters()
745 OPJ_INT32 l_tcx0, l_tcy0, l_tcx1, l_tcy1; in opj_get_all_encoding_parameters()
750 l_tcx0 = opj_int_ceildiv(*p_tx0, (OPJ_INT32)l_img_comp->dx); in opj_get_all_encoding_parameters()
751 l_tcy0 = opj_int_ceildiv(*p_ty0, (OPJ_INT32)l_img_comp->dy); in opj_get_all_encoding_parameters()
752 l_tcx1 = opj_int_ceildiv(*p_tx1, (OPJ_INT32)l_img_comp->dx); in opj_get_all_encoding_parameters()
753 l_tcy1 = opj_int_ceildiv(*p_ty1, (OPJ_INT32)l_img_comp->dy); in opj_get_all_encoding_parameters()
772 *p_dx_min = (OPJ_UINT32)opj_int_min((OPJ_INT32)*p_dx_min, (OPJ_INT32)l_dx); in opj_get_all_encoding_parameters()
773 *p_dy_min = (OPJ_UINT32)opj_int_min((OPJ_INT32)*p_dy_min, (OPJ_INT32)l_dy); in opj_get_all_encoding_parameters()
776 l_rx0 = opj_int_ceildivpow2(l_tcx0, (OPJ_INT32)l_level_no); in opj_get_all_encoding_parameters()
777 l_ry0 = opj_int_ceildivpow2(l_tcy0, (OPJ_INT32)l_level_no); in opj_get_all_encoding_parameters()
778 l_rx1 = opj_int_ceildivpow2(l_tcx1, (OPJ_INT32)l_level_no); in opj_get_all_encoding_parameters()
779 l_ry1 = opj_int_ceildivpow2(l_tcy1, (OPJ_INT32)l_level_no); in opj_get_all_encoding_parameters()
780 l_px0 = opj_int_floordivpow2(l_rx0, (OPJ_INT32)l_pdx) << l_pdx; in opj_get_all_encoding_parameters()
781 l_py0 = opj_int_floordivpow2(l_ry0, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_all_encoding_parameters()
782 l_px1 = opj_int_ceildivpow2(l_rx1, (OPJ_INT32)l_pdx) << l_pdx; in opj_get_all_encoding_parameters()
783 py1 = opj_int_ceildivpow2(l_ry1, (OPJ_INT32)l_pdy) << l_pdy; in opj_get_all_encoding_parameters()
865 OPJ_INT32 p_tx0, in opj_pi_update_encode_poc_and_final()
866 OPJ_INT32 p_tx1, in opj_pi_update_encode_poc_and_final()
867 OPJ_INT32 p_ty0, in opj_pi_update_encode_poc_and_final()
868 OPJ_INT32 p_ty1, in opj_pi_update_encode_poc_and_final()
944 OPJ_INT32 p_tx0, in opj_pi_update_encode_not_poc()
945 OPJ_INT32 p_tx1, in opj_pi_update_encode_not_poc()
946 OPJ_INT32 p_ty0, in opj_pi_update_encode_not_poc()
947 OPJ_INT32 p_ty1, in opj_pi_update_encode_not_poc()
1075 static OPJ_BOOL opj_pi_check_next_level( OPJ_INT32 pos, in opj_pi_check_next_level()
1081 OPJ_INT32 i; in opj_pi_check_next_level()
1179 OPJ_INT32 l_tx0,l_tx1,l_ty0,l_ty1; in opj_pi_create_decode()
1386 OPJ_INT32 l_tx0,l_tx1,l_ty0,l_ty1; in opj_pi_initialise_encode()
1560 OPJ_INT32 tppos, in opj_pi_create_encode()
1564 OPJ_INT32 i; 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()
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()
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()
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()
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()
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()
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()
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()
1852 OPJ_INT32 l_tx0,l_tx1,l_ty0,l_ty1; in opj_pi_update_encoding_parameters()