Searched refs:opj_calloc (Results 1 – 14 of 14) sorted by relevance
/external/pdfium/third_party/libopenjpeg20/ |
D | image.c | 35 opj_image_t *image = (opj_image_t*)opj_calloc(1, sizeof(opj_image_t)); in opj_image_create0() 43 image = (opj_image_t*) opj_calloc(1, sizeof(opj_image_t)); in opj_image_create() 48 image->comps = (opj_image_comp_t*)opj_calloc(1,image->numcomps * sizeof(opj_image_comp_t)); in opj_image_create() 67 comp->data = (OPJ_INT32*) opj_calloc(comp->w * comp->h, sizeof(OPJ_INT32)); in opj_image_create() 212 image = (opj_image_t*) opj_calloc(1,sizeof(opj_image_t)); in opj_image_tile_create() 220 image->comps = (opj_image_comp_t*)opj_calloc(image->numcomps, sizeof(opj_image_comp_t)); in opj_image_tile_create()
|
D | opj_malloc.h | 71 void * OPJ_CALLCONV opj_calloc(size_t _NumOfElements, size_t _SizeOfElements); 75 #define opj_calloc(num, size) ((size_t)(num) != 0 && (size_t)(num) >= (size_t)-0x100 / (size_t)(siz… macro 77 #define opj_calloc(num, size) calloc(num, size) macro
|
D | 0002-packet-iterator.patch | 17 - l_current_pi->include = (OPJ_INT16*) opj_calloc((l_tcp->numlayers +1) * l_step_l, sizeof(OPJ_INT1… 22 + l_current_pi->include = (OPJ_INT16*)opj_calloc((l_tcp->numlayers + 1) * l_step_l, sizeof(OPJ_INT…
|
D | function_list.c | 42 …opj_procedure_list_t * l_validation = (opj_procedure_list_t *) opj_calloc(1,sizeof(opj_procedure_l… in opj_procedure_list_create() 49 …l_validation->m_procedures = (opj_procedure*)opj_calloc(OPJ_VALIDATION_SIZE, sizeof(opj_procedure)… in opj_procedure_list_create()
|
D | 0001-image-data.patch | 10 - l_img_comp_dest->data = (OPJ_INT32*) opj_calloc((OPJ_SIZE_T)l_img_comp_des… 20 + l_img_comp_dest->data = (OPJ_INT32*)opj_calloc(width * height, sizeof(OPJ_INT3…
|
D | tgt.c | 60 tree = (opj_tgt_tree_t *) opj_calloc(1,sizeof(opj_tgt_tree_t)); in opj_tgt_create() 88 tree->nodes = (opj_tgt_node_t*) opj_calloc(tree->numnodes, sizeof(opj_tgt_node_t)); in opj_tgt_create()
|
D | jp2.c | 564 jp2->comps = (opj_jp2_comps_t*) opj_calloc(jp2->numcomps, sizeof(opj_jp2_comps_t)); in opj_jp2_read_ihdr() 600 l_ihdr_data = (OPJ_BYTE *) opj_calloc(1,22); in opj_jp2_write_ihdr() 652 l_bpcc_data = (OPJ_BYTE *) opj_calloc(1,l_bpcc_size); in opj_jp2_write_bpcc() 782 l_colr_data = (OPJ_BYTE *) opj_calloc(1,l_colr_size); in opj_jp2_write_colr() 892 pcol_usage = opj_calloc(nr_channels, sizeof(OPJ_BOOL)); in opj_jp2_check_color() 1452 jp2->color.icc_profile_buf = (OPJ_BYTE*) opj_calloc(1,(size_t)icc_len); in opj_jp2_read_colr() 1651 l_ftyp_data = (OPJ_BYTE *) opj_calloc(1,l_ftyp_size); in opj_jp2_write_ftyp() 2107 l_current_data = (OPJ_BYTE*)opj_calloc(1,l_last_data_size); in opj_jp2_read_header_procedure() 2419 jp2->cl = (OPJ_UINT32 *) opj_calloc(jp2->numcl, sizeof(OPJ_UINT32)); in opj_jp2_read_ftyp() 2915 opj_jp2_t *jp2 = (opj_jp2_t*)opj_calloc(1,sizeof(opj_jp2_t)); in opj_jp2_create()
|
D | tcd.c | 190 l_tcd = (opj_tcd_t*) opj_calloc(1,sizeof(opj_tcd_t)); in opj_tcd_create() 197 l_tcd->tcd_image = (opj_tcd_image_t*)opj_calloc(1,sizeof(opj_tcd_image_t)); in opj_tcd_create() 595 p_tcd->tcd_image->tiles = (opj_tcd_tile_t *) opj_calloc(1,sizeof(opj_tcd_tile_t)); in opj_tcd_init() 600 …p_tcd->tcd_image->tiles->comps = (opj_tcd_tilecomp_t *) opj_calloc(p_image->numcomps,sizeof(opj_tc… in opj_tcd_init() 1059 p_code_block->layers = (opj_tcd_layer_t*) opj_calloc(100, sizeof(opj_tcd_layer_t)); in opj_tcd_code_block_enc_allocate() 1065 p_code_block->passes = (opj_tcd_pass_t*) opj_calloc(100, sizeof(opj_tcd_pass_t)); in opj_tcd_code_block_enc_allocate() 1113 … p_code_block->segs = (opj_tcd_seg_t *) opj_calloc(OPJ_J2K_DEFAULT_NB_SEGS,sizeof(opj_tcd_seg_t)); in opj_tcd_code_block_dec_allocate() 1201 …p_cstr_info->tile[p_tile_no].packet = (opj_packet_info_t*) opj_calloc((size_t)p_cstr_info->numcomp… in opj_tcd_encode_tile()
|
D | j2k.c | 1550 packet_array = (OPJ_UINT32*) opj_calloc(step_l * p_num_layers, sizeof(OPJ_UINT32)); in opj_j2k_check_poc_val() 2095 … l_image->comps = (opj_image_comp_t*) opj_calloc(l_image->numcomps, sizeof(opj_image_comp_t)); in opj_j2k_read_siz() 2225 l_cp->tcps = (opj_tcp_t*) opj_calloc(l_nb_tiles, sizeof(opj_tcp_t)); in opj_j2k_read_siz() 2245 (opj_tccp_t*) opj_calloc(l_image->numcomps, sizeof(opj_tccp_t)); in opj_j2k_read_siz() 2252 … (opj_mct_data_t*)opj_calloc(OPJ_J2K_MCT_DEFAULT_NB_RECORDS ,sizeof(opj_mct_data_t)); in opj_j2k_read_siz() 2262 … opj_calloc(OPJ_J2K_MCC_DEFAULT_NB_RECORDS, sizeof(opj_simple_mcc_decorrelation_data_t)); in opj_j2k_read_siz() 2279 … l_current_tile_param->tccps = (opj_tccp_t*) opj_calloc(l_image->numcomps, sizeof(opj_tccp_t)); in opj_j2k_read_siz() 3539 l_cp->ppm_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppm() 3761 l_tcp->ppt_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppt() 4148 … (opj_tp_index_t*)opj_calloc(l_num_parts, sizeof(opj_tp_index_t)); in opj_j2k_read_sot() [all …]
|
D | openjpeg.c | 168 l_codec = (opj_codec_private_t*) opj_calloc(1, sizeof(opj_codec_private_t)); in opj_create_decompress() 542 l_codec = (opj_codec_private_t*)opj_calloc(1, sizeof(opj_codec_private_t)); in opj_create_compress()
|
D | pi.c | 829 l_pi = (opj_pi_iterator_t*) opj_calloc((l_poc_bound), sizeof(opj_pi_iterator_t)); in opj_pi_create() 837 l_current_pi->comps = (opj_pi_comp_t*) opj_calloc(image->numcomps, sizeof(opj_pi_comp_t)); in opj_pi_create() 850 …comp->resolutions = (opj_pi_resolution_t*) opj_calloc(tccp->numresolutions, sizeof(opj_pi_resoluti… in opj_pi_create() 1253 …l_current_pi->include = (OPJ_INT16*)opj_calloc((l_tcp->numlayers + 1) * l_step_l, sizeof(OPJ_INT16… in opj_pi_create_decode() 1453 l_current_pi->include = (OPJ_INT16*) opj_calloc(l_tcp->numlayers * l_step_l, sizeof(OPJ_INT16)); in opj_pi_initialise_encode()
|
D | cio.c | 154 l_stream = (opj_stream_private_t*) opj_calloc(1,sizeof(opj_stream_private_t)); in opj_stream_create()
|
D | t2.c | 503 opj_t2_t *l_t2 = (opj_t2_t*)opj_calloc(1,sizeof(opj_t2_t)); in opj_t2_create()
|
D | t1.c | 1217 l_t1 = (opj_t1_t*) opj_calloc(1,sizeof(opj_t1_t)); in opj_t1_create()
|