Searched refs:l_nb_code_blocks_size (Results 1 – 3 of 3) sorted by relevance
19 l_nb_code_blocks_size = l_nb_code_blocks * (OPJ_UINT32)sizeof_block;
23 0019-tcd_init_tile.patch: Prevent integer overflows during calculation of |l_nb_code_blocks_size|.
752 OPJ_UINT32 l_nb_code_blocks_size; in opj_tcd_init_tile() local1081 l_nb_code_blocks_size = l_nb_code_blocks * (OPJ_UINT32)sizeof_block; in opj_tcd_init_tile()1084 l_current_precinct->cblks.blocks = opj_malloc(l_nb_code_blocks_size); in opj_tcd_init_tile()1090 memset(l_current_precinct->cblks.blocks, 0, l_nb_code_blocks_size); in opj_tcd_init_tile()1092 l_current_precinct->block_size = l_nb_code_blocks_size; in opj_tcd_init_tile()1093 } else if (l_nb_code_blocks_size > l_current_precinct->block_size) { in opj_tcd_init_tile()1095 l_nb_code_blocks_size); in opj_tcd_init_tile()1110 , l_nb_code_blocks_size - l_current_precinct->block_size); in opj_tcd_init_tile()1112 l_current_precinct->block_size = l_nb_code_blocks_size; in opj_tcd_init_tile()