Lines Matching refs:p_image
144 static void opj_get_encoding_parameters(const opj_image_t *p_image,
176 static void opj_get_all_encoding_parameters(const opj_image_t *p_image,
196 static opj_pi_iterator_t * opj_pi_create(const opj_image_t *p_image,
738 static void opj_get_encoding_parameters(const opj_image_t *p_image, in opj_get_encoding_parameters() argument
765 assert(p_image != 00); in opj_get_encoding_parameters()
770 l_img_comp = p_image->comps; in opj_get_encoding_parameters()
780 *p_tx0 = (OPJ_INT32)opj_uint_max(l_tx0, p_image->x0); in opj_get_encoding_parameters()
781 *p_tx1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, p_cp->tdx), p_image->x1); in opj_get_encoding_parameters()
784 *p_ty0 = (OPJ_INT32)opj_uint_max(l_ty0, p_image->y0); in opj_get_encoding_parameters()
785 *p_ty1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, p_cp->tdy), p_image->y1); in opj_get_encoding_parameters()
795 for (compno = 0; compno < p_image->numcomps; ++compno) { in opj_get_encoding_parameters()
859 static void opj_get_all_encoding_parameters(const opj_image_t *p_image, in opj_get_all_encoding_parameters() argument
891 assert(p_image != 00); in opj_get_all_encoding_parameters()
897 l_img_comp = p_image->comps; in opj_get_all_encoding_parameters()
906 *p_tx0 = (OPJ_INT32)opj_uint_max(l_tx0, p_image->x0); in opj_get_all_encoding_parameters()
907 *p_tx1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, p_cp->tdx), p_image->x1); in opj_get_all_encoding_parameters()
910 *p_ty0 = (OPJ_INT32)opj_uint_max(l_ty0, p_image->y0); in opj_get_all_encoding_parameters()
911 *p_ty1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, p_cp->tdy), p_image->y1); in opj_get_all_encoding_parameters()
921 for (compno = 0; compno < p_image->numcomps; ++compno) { in opj_get_all_encoding_parameters()
1362 opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image, in opj_pi_create_decode() argument
1366 OPJ_UINT32 numcomps = p_image->numcomps; in opj_pi_create_decode()
1396 assert(p_image != 00); in opj_pi_create_decode()
1419 l_pi = opj_pi_create(p_image, p_cp, p_tile_no); in opj_pi_create_decode()
1434 opj_get_all_encoding_parameters(p_image, p_cp, p_tile_no, &l_tx0, &l_tx1, in opj_pi_create_decode()
1465 l_img_comp = p_image->comps; in opj_pi_create_decode()
1506 l_img_comp = p_image->comps; in opj_pi_create_decode()
1561 opj_pi_iterator_t *opj_pi_initialise_encode(const opj_image_t *p_image, in opj_pi_initialise_encode() argument
1566 OPJ_UINT32 numcomps = p_image->numcomps; in opj_pi_initialise_encode()
1596 assert(p_image != 00); in opj_pi_initialise_encode()
1618 l_pi = opj_pi_create(p_image, p_cp, p_tile_no); in opj_pi_initialise_encode()
1633 opj_get_all_encoding_parameters(p_image, p_cp, p_tile_no, &l_tx0, &l_tx1, in opj_pi_initialise_encode()
1659 l_img_comp = p_image->comps; in opj_pi_initialise_encode()
1697 l_img_comp = p_image->comps; in opj_pi_initialise_encode()
2047 void opj_pi_update_encoding_parameters(const opj_image_t *p_image, in opj_pi_update_encoding_parameters() argument
2062 assert(p_image != 00); in opj_pi_update_encoding_parameters()
2068 opj_get_encoding_parameters(p_image, p_cp, p_tile_no, &l_tx0, &l_tx1, &l_ty0, in opj_pi_update_encoding_parameters()
2075 opj_pi_update_encode_not_poc(p_cp, p_image->numcomps, p_tile_no, l_tx0, l_tx1, in opj_pi_update_encoding_parameters()