Lines Matching refs:OPJ_INT32
341 …OPJ_INT32 value; /*, matrice[tcd_tcp->numlayers][tcd_tile->comps[0].numreso… in opj_tcd_makelayer_fixed()
342 OPJ_INT32 matrice[10][10][3]; in opj_tcd_makelayer_fixed()
356 (OPJ_INT32)((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i * in opj_tcd_makelayer_fixed()
381 OPJ_INT32 imsb = (OPJ_INT32)(tcd->image->comps[compno].prec - in opj_tcd_makelayer_fixed()
488 OPJ_INT32 dr; in opj_tcd_rateallocate()
492 dr = (OPJ_INT32)pass->rate; in opj_tcd_rateallocate()
495 dr = (OPJ_INT32)(pass->rate - cblk->passes[passno - 1].rate); in opj_tcd_rateallocate()
694 l_tilec->data = (OPJ_INT32 *) opj_image_data_alloc(l_tilec->data_size_needed); in opj_alloc_tile_component_data()
704 l_tilec->data = (OPJ_INT32 *) opj_image_data_alloc(l_tilec->data_size_needed); in opj_alloc_tile_component_data()
741 OPJ_INT32 l_x0b, l_y0b; in opj_tcd_init_tile()
744 OPJ_INT32 l_tl_prc_x_start, l_tl_prc_y_start, l_br_prc_x_end, l_br_prc_y_end; in opj_tcd_init_tile()
771 l_tile->x0 = (OPJ_INT32)opj_uint_max(l_tx0, l_image->x0); in opj_tcd_init_tile()
772 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), in opj_tcd_init_tile()
781 l_tile->y0 = (OPJ_INT32)opj_uint_max(l_ty0, l_image->y0); in opj_tcd_init_tile()
782 l_tile->y1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, l_cp->tdy), in opj_tcd_init_tile()
803 l_tilec->x0 = opj_int_ceildiv(l_tile->x0, (OPJ_INT32)l_image_comp->dx); in opj_tcd_init_tile()
804 l_tilec->y0 = opj_int_ceildiv(l_tile->y0, (OPJ_INT32)l_image_comp->dy); in opj_tcd_init_tile()
805 l_tilec->x1 = opj_int_ceildiv(l_tile->x1, (OPJ_INT32)l_image_comp->dx); in opj_tcd_init_tile()
806 l_tilec->y1 = opj_int_ceildiv(l_tile->y1, (OPJ_INT32)l_image_comp->dy); in opj_tcd_init_tile()
893 OPJ_INT32 tlcbgxstart, tlcbgystart /*, brcbgxend, brcbgyend*/; in opj_tcd_init_tile()
900 l_res->x0 = opj_int_ceildivpow2(l_tilec->x0, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
901 l_res->y0 = opj_int_ceildivpow2(l_tilec->y0, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
902 l_res->x1 = opj_int_ceildivpow2(l_tilec->x1, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
903 l_res->y1 = opj_int_ceildivpow2(l_tilec->y1, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
911 l_tl_prc_x_start = opj_int_floordivpow2(l_res->x0, (OPJ_INT32)l_pdx) << l_pdx; in opj_tcd_init_tile()
912 l_tl_prc_y_start = opj_int_floordivpow2(l_res->y0, (OPJ_INT32)l_pdy) << l_pdy; in opj_tcd_init_tile()
913 l_br_prc_x_end = opj_int_ceildivpow2(l_res->x1, (OPJ_INT32)l_pdx) << l_pdx; in opj_tcd_init_tile()
914 l_br_prc_y_end = opj_int_ceildivpow2(l_res->y1, (OPJ_INT32)l_pdy) << l_pdy; in opj_tcd_init_tile()
959 OPJ_INT32 numbps; in opj_tcd_init_tile()
964 l_band->x0 = opj_int_ceildivpow2(l_tilec->x0, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
965 l_band->y0 = opj_int_ceildivpow2(l_tilec->y0, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
966 l_band->x1 = opj_int_ceildivpow2(l_tilec->x1, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
967 l_band->y1 = opj_int_ceildivpow2(l_tilec->y1, (OPJ_INT32)l_level_no); in opj_tcd_init_tile()
973 l_y0b = (OPJ_INT32)((l_band->bandno) >> 1); in opj_tcd_init_tile()
976 l_level_no), (OPJ_INT32)(l_level_no + 1)); in opj_tcd_init_tile()
978 l_level_no), (OPJ_INT32)(l_level_no + 1)); in opj_tcd_init_tile()
980 l_level_no), (OPJ_INT32)(l_level_no + 1)); in opj_tcd_init_tile()
982 l_level_no), (OPJ_INT32)(l_level_no + 1)); in opj_tcd_init_tile()
997 numbps = (OPJ_INT32)(l_image_comp->prec + l_gain); in opj_tcd_init_tile()
999 … (OPJ_INT32)(numbps - l_step_size->expn)))) * fraction; in opj_tcd_init_tile()
1002 l_band->numbps = l_step_size->expn + (OPJ_INT32)l_tccp->numgbits - in opj_tcd_init_tile()
1037 OPJ_INT32 tlcblkxstart, tlcblkystart, brcblkxend, brcblkyend; in opj_tcd_init_tile()
1038 OPJ_INT32 cbgxstart = tlcbgxstart + (OPJ_INT32)(precno % l_res->pw) * in opj_tcd_init_tile()
1040 OPJ_INT32 cbgystart = tlcbgystart + (OPJ_INT32)(precno / l_res->pw) * in opj_tcd_init_tile()
1042 OPJ_INT32 cbgxend = cbgxstart + (1 << cbgwidthexpn); in opj_tcd_init_tile()
1043 OPJ_INT32 cbgyend = cbgystart + (1 << cbgheightexpn); in opj_tcd_init_tile()
1057 (OPJ_INT32)cblkwidthexpn) << cblkwidthexpn; in opj_tcd_init_tile()
1060 … (OPJ_INT32)cblkheightexpn) << cblkheightexpn; in opj_tcd_init_tile()
1063 (OPJ_INT32)cblkwidthexpn) << cblkwidthexpn; in opj_tcd_init_tile()
1066 (OPJ_INT32)cblkheightexpn) << cblkheightexpn; in opj_tcd_init_tile()
1132 OPJ_INT32 cblkxstart = tlcblkxstart + (OPJ_INT32)(cblkno % in opj_tcd_init_tile()
1134 OPJ_INT32 cblkystart = tlcblkystart + (OPJ_INT32)(cblkno / in opj_tcd_init_tile()
1136 OPJ_INT32 cblkxend = cblkxstart + (1 << cblkwidthexpn); in opj_tcd_init_tile()
1137 OPJ_INT32 cblkyend = cblkystart + (1 << cblkheightexpn); in opj_tcd_init_tile()
1230 … (p_code_block->y1 - p_code_block->y0) * (OPJ_INT32)sizeof(OPJ_UINT32)); in opj_tcd_code_block_enc_allocate_data()
1659 if (l_data_size > SIZE_MAX / sizeof(OPJ_INT32)) { in opj_tcd_decode_tile()
1664 l_data_size *= sizeof(OPJ_INT32); in opj_tcd_decode_tile()
1666 tilec->data_win = (OPJ_INT32*) opj_image_data_alloc(l_data_size); in opj_tcd_decode_tile()
1726 const OPJ_INT32* l_src_data; in opj_tcd_update_tile_data()
1755 const OPJ_INT32 * l_src_ptr = l_src_data; in opj_tcd_update_tile_data()
1777 const OPJ_INT32 * l_src_ptr = l_src_data; in opj_tcd_update_tile_data()
1804 OPJ_INT32 * l_dest_ptr = (OPJ_INT32 *) p_dest; in opj_tcd_update_tile_data()
1805 const OPJ_INT32 * l_src_ptr = l_src_data; in opj_tcd_update_tile_data()
1808 memcpy(l_dest_ptr, l_src_ptr, l_width * sizeof(OPJ_INT32)); in opj_tcd_update_tile_data()
2179 OPJ_INT32 * l_current_ptr; in opj_tcd_dc_level_shift_decode()
2180 OPJ_INT32 l_min, l_max; in opj_tcd_dc_level_shift_decode()
2220 l_max = (OPJ_INT32)((1U << l_img_comp->prec) - 1); in opj_tcd_dc_level_shift_decode()
2245 *l_current_ptr = (OPJ_INT32)opj_int64_clamp( in opj_tcd_dc_level_shift_decode()
2379 OPJ_INT32 * l_current_ptr; in opj_tcd_dc_level_shift_encode()
2632 OPJ_INT32 * l_dest_ptr = l_tilec->data; in opj_tcd_copy_tile_data()
2636 *(l_dest_ptr++) = (OPJ_INT32)(*(l_src_ptr++)); in opj_tcd_copy_tile_data()
2648 OPJ_INT32 * l_dest_ptr = l_tilec->data; in opj_tcd_copy_tile_data()
2653 *(l_dest_ptr++) = (OPJ_INT32)(*(l_src_ptr++)); in opj_tcd_copy_tile_data()
2665 OPJ_INT32 * l_src_ptr = (OPJ_INT32 *) p_src; in opj_tcd_copy_tile_data()
2666 OPJ_INT32 * l_dest_ptr = l_tilec->data; in opj_tcd_copy_tile_data()
2669 *(l_dest_ptr++) = (OPJ_INT32)(*(l_src_ptr++)); in opj_tcd_copy_tile_data()