/external/pdfium/third_party/libopenjpeg20/ |
D | tcd.h | 58 OPJ_UINT32 rate; 60 OPJ_UINT32 len; 68 OPJ_UINT32 numpasses; /* Number of passes in the layer */ 69 OPJ_UINT32 len; /* len of information */ 83 OPJ_UINT32 numbps; 84 OPJ_UINT32 numlenbits; 85 OPJ_UINT32 data_size; /* Size of allocated data buffer */ 86 OPJ_UINT32 88 OPJ_UINT32 numpassesinlayers; /* number of passes in the layer */ 89 OPJ_UINT32 totalpasses; /* total number of passes */ [all …]
|
D | j2k.h | 177 OPJ_UINT32 csty; 179 OPJ_UINT32 numresolutions; 181 OPJ_UINT32 cblkw; 183 OPJ_UINT32 cblkh; 185 OPJ_UINT32 cblksty; 187 OPJ_UINT32 qmfbid; 189 OPJ_UINT32 qntsty; 193 OPJ_UINT32 numgbits; 197 OPJ_UINT32 prcw[OPJ_J2K_MAXRLVLS]; 199 OPJ_UINT32 prch[OPJ_J2K_MAXRLVLS]; [all …]
|
D | openjpeg.h | 126 typedef uint32_t OPJ_UINT32; typedef 327 OPJ_UINT32 resno0, compno0; 329 OPJ_UINT32 layno1, resno1, compno1; 331 OPJ_UINT32 layno0, precno0, precno1; 337 OPJ_UINT32 tile; 341 OPJ_UINT32 layS, resS, compS, prcS; 343 OPJ_UINT32 layE, resE, compE, prcE; 345 OPJ_UINT32 txS, txE, tyS, tyE, dx, dy; 347 OPJ_UINT32 lay_t, res_t, comp_t, prc_t, tx0_t, ty0_t; 381 OPJ_UINT32 numpocs; [all …]
|
D | jp2.h | 117 OPJ_UINT32 *entries; 130 OPJ_UINT32 icc_profile_len; 141 OPJ_UINT32 depth; 142 OPJ_UINT32 sgnd; 143 OPJ_UINT32 bpcc; 158 OPJ_UINT32 w; 160 OPJ_UINT32 h; 162 OPJ_UINT32 numcomps; 163 OPJ_UINT32 bpc; 164 OPJ_UINT32 C; [all …]
|
D | sparse_array.h | 62 opj_sparse_array_int32_t* opj_sparse_array_int32_create(OPJ_UINT32 width, 63 OPJ_UINT32 height, 64 OPJ_UINT32 block_width, 65 OPJ_UINT32 block_height); 81 OPJ_UINT32 x0, 82 OPJ_UINT32 y0, 83 OPJ_UINT32 x1, 84 OPJ_UINT32 y1); 103 OPJ_UINT32 x0, 104 OPJ_UINT32 y0, [all …]
|
D | pi.h | 56 OPJ_UINT32 pdx, pdy; 57 OPJ_UINT32 pw, ph; 64 OPJ_UINT32 dx, dy; 66 OPJ_UINT32 numresolutions; 79 OPJ_UINT32 include_size; 81 OPJ_UINT32 step_l; 83 OPJ_UINT32 step_r; 85 OPJ_UINT32 step_c; 87 OPJ_UINT32 step_p; 89 OPJ_UINT32 compno; [all …]
|
D | invert.c | 38 OPJ_UINT32 * permutations, 40 OPJ_UINT32 nb_compo); 47 OPJ_UINT32* pPermutations, 48 OPJ_UINT32 nb_compo, 56 OPJ_UINT32 nb_compo, 57 OPJ_UINT32 * pPermutations, 72 OPJ_UINT32 nb_compo) in opj_matrix_inversion_f() 75 OPJ_UINT32 l_permutation_size = nb_compo * (OPJ_UINT32)sizeof(OPJ_UINT32); in opj_matrix_inversion_f() 76 OPJ_UINT32 l_swap_size = nb_compo * (OPJ_UINT32)sizeof(OPJ_FLOAT32); in opj_matrix_inversion_f() 77 OPJ_UINT32 l_total_size = l_permutation_size + 3 * l_swap_size; in opj_matrix_inversion_f() [all …]
|
D | sparse_array.c | 36 OPJ_UINT32 width; 37 OPJ_UINT32 height; 38 OPJ_UINT32 block_width; 39 OPJ_UINT32 block_height; 40 OPJ_UINT32 block_count_hor; 41 OPJ_UINT32 block_count_ver; 45 opj_sparse_array_int32_t* opj_sparse_array_int32_create(OPJ_UINT32 width, in opj_sparse_array_int32_create() 46 OPJ_UINT32 height, in opj_sparse_array_int32_create() 47 OPJ_UINT32 block_width, in opj_sparse_array_int32_create() 48 OPJ_UINT32 block_height) in opj_sparse_array_int32_create() [all …]
|
D | t1.c | 62 #define opj_t1_setcurctx(curctx, ctxno) curctx = &(mqc)->ctxs[(OPJ_UINT32)(ctxno)] 67 static INLINE OPJ_BYTE opj_t1_getctxno_zc(opj_mqc_t *mqc, OPJ_UINT32 f); 68 static INLINE OPJ_UINT32 opj_t1_getctxno_mag(OPJ_UINT32 f); 69 static OPJ_INT16 opj_t1_getnmsedec_sig(OPJ_UINT32 x, OPJ_UINT32 bitpos); 70 static OPJ_INT16 opj_t1_getnmsedec_ref(OPJ_UINT32 x, OPJ_UINT32 bitpos); 71 static INLINE void opj_t1_update_flags(opj_flag_t *flagsp, OPJ_UINT32 ci, 72 OPJ_UINT32 s, OPJ_UINT32 stride, 73 OPJ_UINT32 vsc); 85 OPJ_UINT32 vsc, 86 OPJ_UINT32 row); [all …]
|
D | dwt.c | 97 OPJ_UINT32 win_l_x0; /* start coord in low pass band */ 98 OPJ_UINT32 win_l_x1; /* end coord in low pass band */ 99 OPJ_UINT32 win_h_x0; /* start coord in high pass band */ 100 OPJ_UINT32 win_h_x1; /* end coord in high pass band */ 152 const opj_tcd_tilecomp_t* tilec, OPJ_UINT32 i); 156 OPJ_UINT32 numres); 161 static OPJ_UINT32 opj_dwt_max_resolution(opj_tcd_resolution_t* OPJ_RESTRICT r, 162 OPJ_UINT32 i); 171 OPJ_UINT32 width, 172 OPJ_UINT32 remaining_height); [all …]
|
D | opj_intmath.h | 65 static INLINE OPJ_UINT32 opj_uint_min(OPJ_UINT32 a, OPJ_UINT32 b) in opj_uint_min() 83 static INLINE OPJ_UINT32 opj_uint_max(OPJ_UINT32 a, OPJ_UINT32 b) in opj_uint_max() 92 static INLINE OPJ_UINT32 opj_uint_adds(OPJ_UINT32 a, OPJ_UINT32 b) in opj_uint_adds() 95 return (OPJ_UINT32)(-(OPJ_INT32)(sum >> 32)) | (OPJ_UINT32)sum; in opj_uint_adds() 102 static INLINE OPJ_UINT32 opj_uint_subs(OPJ_UINT32 a, OPJ_UINT32 b) in opj_uint_subs() 170 static INLINE OPJ_UINT32 opj_uint_ceildiv(OPJ_UINT32 a, OPJ_UINT32 b) in opj_uint_ceildiv() 198 static INLINE OPJ_UINT32 opj_uint_ceildivpow2(OPJ_UINT32 a, OPJ_UINT32 b) in opj_uint_ceildivpow2() 200 return (OPJ_UINT32)((a + ((OPJ_UINT64)1U << b) - 1U) >> b); in opj_uint_ceildivpow2() 227 static INLINE OPJ_UINT32 opj_uint_floorlog2(OPJ_UINT32 a) in opj_uint_floorlog2() 229 OPJ_UINT32 l; in opj_uint_floorlog2()
|
D | mqc.h | 60 OPJ_UINT32 qeval; 62 OPJ_UINT32 mps; 76 OPJ_UINT32 c; 78 OPJ_UINT32 a; 80 OPJ_UINT32 ct; 82 OPJ_UINT32 end_of_byte_stream_counter; 110 OPJ_UINT32 opj_mqc_numbytes(opj_mqc_t *mqc); 124 void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, 137 #define opj_mqc_setcurctx(mqc, ctxno) (mqc)->curctx = &(mqc)->ctxs[(OPJ_UINT32)(ctxno)] 143 void opj_mqc_encode(opj_mqc_t *mqc, OPJ_UINT32 d); [all …]
|
D | t2.c | 53 static OPJ_UINT32 opj_t2_getcommacode(opj_bio_t *bio); 59 static void opj_t2_putnumpasses(opj_bio_t *bio, OPJ_UINT32 n); 60 static OPJ_UINT32 opj_t2_getnumpasses(opj_bio_t *bio); 76 static OPJ_BOOL opj_t2_encode_packet(OPJ_UINT32 tileno, 81 OPJ_UINT32 * p_data_written, 82 OPJ_UINT32 len, 106 OPJ_UINT32 * data_read, 107 OPJ_UINT32 max_length, 116 OPJ_UINT32 * p_data_read, 117 OPJ_UINT32 p_max_length, [all …]
|
D | pi.c | 93 OPJ_UINT32 p_tileno, 98 OPJ_UINT32 p_max_prec, 99 OPJ_UINT32 p_max_res, 100 OPJ_UINT32 p_dx_min, 101 OPJ_UINT32 p_dy_min); 119 OPJ_UINT32 p_num_comps, 120 OPJ_UINT32 p_tileno, 125 OPJ_UINT32 p_max_prec, 126 OPJ_UINT32 p_max_res, 127 OPJ_UINT32 p_dx_min, [all …]
|
D | tgt.h | 61 OPJ_UINT32 known; 68 OPJ_UINT32 numleafsh; 69 OPJ_UINT32 numleafsv; 70 OPJ_UINT32 numnodes; 72 OPJ_UINT32 nodes_size; /* maximum size taken by nodes */ 86 opj_tgt_tree_t *opj_tgt_create(OPJ_UINT32 numleafsh, OPJ_UINT32 numleafsv, 99 OPJ_UINT32 p_num_leafs_h, 100 OPJ_UINT32 p_num_leafs_v, opj_event_mgr_t *p_manager); 118 OPJ_UINT32 leafno, 129 OPJ_UINT32 leafno, [all …]
|
D | j2k.c | 198 OPJ_UINT32 p_id); 232 OPJ_UINT32 p_tile_no, OPJ_UINT32 p_first_comp_no, OPJ_UINT32 p_second_comp_no); 247 OPJ_UINT32 p_tile_no, 248 OPJ_UINT32 p_comp_no, 250 OPJ_UINT32 * p_header_size, 262 static OPJ_UINT32 opj_j2k_get_SPCod_SPCoc_size(opj_j2k_t *p_j2k, 263 OPJ_UINT32 p_tile_no, 264 OPJ_UINT32 p_comp_no); 275 OPJ_UINT32 compno, 277 OPJ_UINT32 * p_header_size, [all …]
|
D | tcd.c | 114 static INLINE OPJ_BOOL opj_tcd_init_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, 156 OPJ_UINT32 * p_data_read, 157 OPJ_UINT32 p_max_src_size, 182 OPJ_UINT32 * p_data_written, 183 OPJ_UINT32 p_max_dest_size, 189 OPJ_UINT32 p_max_dest_size, 195 OPJ_UINT32 compno); 228 OPJ_UINT32 layno; in opj_tcd_rateallocate_fixed() 237 OPJ_UINT32 layno, in opj_tcd_makelayer() 239 OPJ_UINT32 final) in opj_tcd_makelayer() [all …]
|
D | dwt.h | 72 OPJ_UINT32 numres); 79 OPJ_UINT32 opj_dwt_getgain(OPJ_UINT32 orient) ; 86 OPJ_FLOAT64 opj_dwt_getnorm(OPJ_UINT32 level, OPJ_UINT32 orient); 102 OPJ_UINT32 numres); 109 OPJ_UINT32 opj_dwt_getgain_real(OPJ_UINT32 orient); 116 OPJ_FLOAT64 opj_dwt_getnorm_real(OPJ_UINT32 level, OPJ_UINT32 orient); 122 void opj_dwt_calc_explicit_stepsizes(opj_tccp_t * tccp, OPJ_UINT32 prec);
|
D | tgt.c | 48 opj_tgt_tree_t *opj_tgt_create(OPJ_UINT32 numleafsh, OPJ_UINT32 numleafsv, in opj_tgt_create() 57 OPJ_UINT32 i; in opj_tgt_create() 59 OPJ_UINT32 numlvls; in opj_tgt_create() 60 OPJ_UINT32 n; in opj_tgt_create() 76 n = (OPJ_UINT32)(nplh[numlvls] * nplv[numlvls]); in opj_tgt_create() 97 tree->nodes_size = tree->numnodes * (OPJ_UINT32)sizeof(opj_tgt_node_t); in opj_tgt_create() 136 opj_tgt_tree_t *opj_tgt_init(opj_tgt_tree_t * p_tree, OPJ_UINT32 p_num_leafs_h, in opj_tgt_init() 137 OPJ_UINT32 p_num_leafs_v, opj_event_mgr_t *p_manager) in opj_tgt_init() 144 OPJ_UINT32 i; in opj_tgt_init() 146 OPJ_UINT32 l_num_levels; in opj_tgt_init() [all …]
|
D | t2.h | 83 OPJ_UINT32 tileno, 85 OPJ_UINT32 maxlayers, 87 OPJ_UINT32 * p_data_written, 88 OPJ_UINT32 len, 90 OPJ_UINT32 tpnum, 92 OPJ_UINT32 pino, 112 OPJ_UINT32 tileno, 115 OPJ_UINT32 * p_data_read, 116 OPJ_UINT32 len,
|
D | opj_codec.h | 63 OPJ_UINT32 * p_tile_index, 64 OPJ_UINT32 * p_data_size, 69 OPJ_UINT32 * p_nb_comps, 76 OPJ_UINT32 p_tile_index, 78 OPJ_UINT32 p_data_size, 107 OPJ_UINT32 tile_index); 111 OPJ_UINT32 res_factor, 116 OPJ_UINT32 num_comps, 117 const OPJ_UINT32* comps_indices, 135 OPJ_UINT32 p_tile_index, [all …]
|
D | jp2.c | 66 OPJ_UINT32 p_image_header_size, 78 OPJ_UINT32 * p_nb_bytes_written); 89 OPJ_UINT32 * p_nb_bytes_written); 103 OPJ_UINT32 p_bpc_header_size, 108 OPJ_UINT32 p_cdef_header_size, 123 OPJ_UINT32 * p_nb_bytes_written); 134 OPJ_UINT32 * p_nb_bytes_written); 161 OPJ_UINT32 p_header_size, 180 OPJ_UINT32 p_header_size, 253 OPJ_UINT32 p_header_size, [all …]
|
D | openjpeg.c | 213 OPJ_UINT32*, in opj_create_decompress() 214 OPJ_UINT32*, in opj_create_decompress() 217 OPJ_UINT32*, in opj_create_decompress() 224 OPJ_UINT32, in opj_create_decompress() 226 OPJ_UINT32, in opj_create_decompress() 241 OPJ_UINT32 tile_index)) opj_j2k_get_tile; in opj_create_decompress() 245 OPJ_UINT32 res_factor, in opj_create_decompress() 250 OPJ_UINT32 numcomps, in opj_create_decompress() 251 const OPJ_UINT32 * comps_indices, in opj_create_decompress() 255 (OPJ_BOOL(*)(void * p_codec, OPJ_UINT32 num_threads)) opj_j2k_set_threads; in opj_create_decompress() [all …]
|
D | bio.h | 64 OPJ_UINT32 buf; 66 OPJ_UINT32 ct; 94 void opj_bio_init_enc(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len); 101 void opj_bio_init_dec(opj_bio_t *bio, OPJ_BYTE *bp, OPJ_UINT32 len); 108 void opj_bio_write(opj_bio_t *bio, OPJ_UINT32 v, OPJ_UINT32 n); 115 OPJ_UINT32 opj_bio_read(opj_bio_t *bio, OPJ_UINT32 n);
|
D | 0026-use_opj_uint_ceildiv.patch | 9 - l_cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->x1 - l_cp->tx0), 11 - l_cp->th = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->y1 - l_cp->ty0), 22 - p_j2k->m_specific_param.m_decoder.m_end_tile_x = (OPJ_UINT32)opj_int_ceildiv(( 25 - p_j2k->m_specific_param.m_decoder.m_end_tile_y = (OPJ_UINT32)opj_int_ceildiv(( 39 - cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(image->x1 - cp->tx0), 41 - cp->th = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(image->y1 - cp->ty0), 52 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 54 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, 65 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, 67 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, [all …]
|