Searched refs:l_data_size (Results 1 – 7 of 7) sorted by relevance
8 …l_data_size = MCT_ELEMENT_SIZE[l_deco_array->m_element_type] * p_image->numcomps * p_image->numcom…9 - if (l_deco_array->m_data_size != l_data_size) {10 + if (l_deco_array->m_data_size != l_data_size || ! l_deco_array->m_data) {17 l_data_size = MCT_ELEMENT_SIZE[l_offset_array->m_element_type] * p_image->numcomps;18 - if (l_offset_array->m_data_size != l_data_size) {19 + if (l_offset_array->m_data_size != l_data_size || ! l_offset_array->m_data) {
45 - l_data_size += l_size_comp * (OPJ_UINT32)((l_res->x1 - l_res->x0) * (l_res->y1 - l…53 + if (l_temp > ((OPJ_UINT32)-1) - l_data_size) {56 + l_data_size += l_temp;64 l_data_size = opj_tcd_get_decoded_tile_size(p_tcd);65 - if (l_data_size > p_dest_length) {66 + if (l_data_size == (OPJ_UINT32)-1 || l_data_size > p_dest_length) {
14 /* compute l_data_size with overflow check */15 l_data_size = (OPJ_UINT32)(l_tilec->x1 - l_tilec->x0);16 if ((((OPJ_UINT32)-1) / l_data_size) < (OPJ_UINT32)(l_tilec->y1 - l_tilec->y0)) {
691 OPJ_UINT32 l_data_size; in opj_tcd_init_tile() local742 l_data_size = (OPJ_UINT32)(l_tilec->x1 - l_tilec->x0); in opj_tcd_init_tile()743 if ((((OPJ_UINT32)-1) / l_data_size) < (OPJ_UINT32)(l_tilec->y1 - l_tilec->y0)) { in opj_tcd_init_tile()747 l_data_size = l_data_size * (OPJ_UINT32)(l_tilec->y1 - l_tilec->y0); in opj_tcd_init_tile()749 if ((((OPJ_UINT32)-1) / (OPJ_UINT32)sizeof(OPJ_UINT32)) < l_data_size) { in opj_tcd_init_tile()753 l_data_size = l_data_size * (OPJ_UINT32)sizeof(OPJ_UINT32); in opj_tcd_init_tile()762 l_tilec->data_size_needed = l_data_size; in opj_tcd_init_tile()768 l_data_size = l_tilec->numresolutions * (OPJ_UINT32)sizeof(opj_tcd_resolution_t); in opj_tcd_init_tile()771 l_tilec->resolutions = (opj_tcd_resolution_t *) opj_malloc(l_data_size); in opj_tcd_init_tile()776 l_tilec->resolutions_size = l_data_size; in opj_tcd_init_tile()[all …]
130 - OPJ_UINT32 l_data_size;132 + OPJ_SIZE_T l_data_size;140 - l_data_size = opj_dwt_max_resolution( tilec->resolutions,tilec->numresolutions) * (OPJ_UINT32)siz…141 - bj = (OPJ_INT32*)opj_malloc((size_t)l_data_size);143 + l_data_size = l_data_count * (OPJ_UINT32)sizeof(OPJ_INT32);144 + bj = (OPJ_INT32*)opj_malloc(l_data_size);
3607 OPJ_UINT32 l_data_size = p_cp->ppm_markers[i].m_data_size; in opj_j2k_merge_ppm() local3610 if (l_N_ppm_remaining >= l_data_size) { in opj_j2k_merge_ppm()3611 l_N_ppm_remaining -= l_data_size; in opj_j2k_merge_ppm()3612 l_data_size = 0U; in opj_j2k_merge_ppm()3615 l_data_size -= l_N_ppm_remaining; in opj_j2k_merge_ppm()3619 if (l_data_size > 0U) { in opj_j2k_merge_ppm()3623 if (l_data_size < 4U) { in opj_j2k_merge_ppm()3630 l_data_size-=4; in opj_j2k_merge_ppm()3633 if (l_data_size >= l_N_ppm) { in opj_j2k_merge_ppm()3634 l_data_size -= l_N_ppm; in opj_j2k_merge_ppm()[all …]
404 OPJ_SIZE_T l_data_size; in opj_dwt_encode_procedure() local417 l_data_size = l_data_count * (OPJ_UINT32)sizeof(OPJ_INT32); in opj_dwt_encode_procedure()418 bj = (OPJ_INT32*)opj_malloc(l_data_size); in opj_dwt_encode_procedure()