/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
D | opj_intmath.h | 56 static INLINE OPJ_INT32 opj_int_min(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_min() 72 static INLINE OPJ_INT32 opj_int_max(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_max() 102 static INLINE OPJ_INT32 opj_int_clamp(OPJ_INT32 a, OPJ_INT32 min, OPJ_INT32 max) { in opj_int_clamp() 112 static INLINE OPJ_INT32 opj_int_abs(OPJ_INT32 a) { in opj_int_abs() 119 static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_ceildiv() 137 static INLINE OPJ_INT32 opj_int_ceildivpow2(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_ceildivpow2() 138 return (OPJ_INT32)((a + (OPJ_INT64)(1 << b) - 1) >> b); in opj_int_ceildivpow2() 144 static INLINE OPJ_INT32 opj_int_floordivpow2(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_floordivpow2() 151 static INLINE OPJ_INT32 opj_int_floorlog2(OPJ_INT32 a) { in opj_int_floorlog2() 152 OPJ_INT32 l; in opj_int_floorlog2() [all …]
|
D | dwt.c | 56 OPJ_INT32* mem; 57 OPJ_INT32 dn; 58 OPJ_INT32 sn; 59 OPJ_INT32 cas; 68 OPJ_INT32 dn ; 69 OPJ_INT32 sn ; 70 OPJ_INT32 cas ; 94 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… 98 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… 102 static void opj_dwt_interleave_h(opj_dwt_t* h, OPJ_INT32 *a); [all …]
|
D | t1.c | 60 OPJ_INT32 *datap, 62 OPJ_INT32 bpno, 63 OPJ_INT32 one, 64 OPJ_INT32 *nmsedec, 74 OPJ_INT32 *datap, 76 OPJ_INT32 oneplushalf, 84 OPJ_INT32 *datap, 85 OPJ_INT32 orient, 86 OPJ_INT32 oneplushalf, 87 OPJ_INT32 vsc); [all …]
|
D | mct.c | 77 OPJ_INT32* restrict c0, in opj_mct_encode() 78 OPJ_INT32* restrict c1, in opj_mct_encode() 79 OPJ_INT32* restrict c2, in opj_mct_encode() 102 OPJ_INT32 r = c0[i]; in opj_mct_encode() 103 OPJ_INT32 g = c1[i]; in opj_mct_encode() 104 OPJ_INT32 b = c2[i]; in opj_mct_encode() 105 OPJ_INT32 y = (r + (g * 2) + b) >> 2; in opj_mct_encode() 106 OPJ_INT32 u = b - g; in opj_mct_encode() 107 OPJ_INT32 v = r - g; in opj_mct_encode() 115 OPJ_INT32* restrict c0, in opj_mct_encode() [all …]
|
D | pi.c | 94 OPJ_INT32 p_tx0, 95 OPJ_INT32 p_tx1, 96 OPJ_INT32 p_ty0, 97 OPJ_INT32 p_ty1, 121 OPJ_INT32 p_tx0, 122 OPJ_INT32 p_tx1, 123 OPJ_INT32 p_ty0, 124 OPJ_INT32 p_ty1, 147 OPJ_INT32 * p_tx0, 148 OPJ_INT32 * p_tx1, [all …]
|
D | mct.h | 63 void opj_mct_encode(OPJ_INT32 *c0, OPJ_INT32 *c1, OPJ_INT32 *c2, OPJ_UINT32 n); 71 void opj_mct_decode(OPJ_INT32 *c0, OPJ_INT32 *c1, OPJ_INT32 *c2, OPJ_UINT32 n); 86 void opj_mct_encode_real(OPJ_INT32 *c0, OPJ_INT32 *c1, OPJ_INT32 *c2, OPJ_UINT32 n);
|
D | image.c | 66 comp->data = (OPJ_INT32*) opj_calloc(comp->w * comp->h, sizeof(OPJ_INT32)); in opj_image_create() 110 OPJ_INT32 l_x0, l_y0, l_x1, l_y1; in opj_image_comp_header_update() 111 OPJ_INT32 l_comp_x0, l_comp_y0, l_comp_x1, l_comp_y1; in opj_image_comp_header_update() 114 l_x0 = opj_int_max((OPJ_INT32)p_cp->tx0 , (OPJ_INT32)p_image_header->x0); in opj_image_comp_header_update() 115 l_y0 = opj_int_max((OPJ_INT32)p_cp->ty0 , (OPJ_INT32)p_image_header->y0); in opj_image_comp_header_update() 116 l_x1 = opj_int_min((OPJ_INT32)(p_cp->tx0 + p_cp->tw * p_cp->tdx), (OPJ_INT32)p_image_header->x1); in opj_image_comp_header_update() 117 l_y1 = opj_int_min((OPJ_INT32)(p_cp->ty0 + p_cp->th * p_cp->tdy), (OPJ_INT32)p_image_header->y1); in opj_image_comp_header_update() 121 l_comp_x0 = opj_int_ceildiv(l_x0, (OPJ_INT32)l_img_comp->dx); in opj_image_comp_header_update() 122 l_comp_y0 = opj_int_ceildiv(l_y0, (OPJ_INT32)l_img_comp->dy); in opj_image_comp_header_update() 123 l_comp_x1 = opj_int_ceildiv(l_x1, (OPJ_INT32)l_img_comp->dx); in opj_image_comp_header_update() [all …]
|
D | j2k.h | 168 OPJ_INT32 expn; 170 OPJ_INT32 mant; 197 OPJ_INT32 roishift; 203 OPJ_INT32 m_dc_level_shift; 312 OPJ_INT32 m_tp_pos; 314 OPJ_INT32 *m_matrice; 378 OPJ_INT32 ppm_store; 380 OPJ_INT32 ppm_previous; 472 OPJ_INT32 m_tile_ind_to_dec; 685 OPJ_INT32 * p_tile_x0, [all …]
|
D | opj_codec.h | 68 OPJ_INT32 * p_tile_x0, 69 OPJ_INT32 * p_tile_y0, 70 OPJ_INT32 * p_tile_x1, 71 OPJ_INT32 * p_tile_y1, 99 OPJ_INT32 p_start_x, 100 OPJ_INT32 p_end_x, 101 OPJ_INT32 p_start_y, 102 OPJ_INT32 p_end_y, 157 void (*opj_dump_codec) (void * p_codec, OPJ_INT32 info_flag, FILE* output_stream);
|
D | tcd.h | 93 …OPJ_INT32 x0, y0, x1, y1; /* dimension of the code-blocks : left upper corner (x0, y0) right l… 106 …OPJ_INT32 x0, y0, x1, y1; /* position of the code-blocks : left upper corner (x0, y0) right low c… 121 …OPJ_INT32 x0, y0, x1, y1; /* dimension of the precinct : left upper corner (x0, y0) right low cor… 137 …OPJ_INT32 x0, y0, x1, y1; /* dimension of the subband : left upper corner (x0, y0) right low corn… 141 OPJ_INT32 numbps; 149 …OPJ_INT32 x0, y0, x1, y1; /* dimension of the resolution level : left upper corner (x0, y0) right… 160 …OPJ_INT32 x0, y0, x1, y1; /* dimension of component : left upper corner (x0, y0) right l… 165 OPJ_INT32 *data; /* data of the component */ 169 OPJ_INT32 numpix; /* add fixed_quality */ 177 …OPJ_INT32 x0, y0, x1, y1; /* dimension of the tile : left upper corner (x0, y0) right low corner … [all …]
|
D | tgt.c | 49 OPJ_INT32 nplh[32]; in opj_tgt_create() 50 OPJ_INT32 nplv[32]; in opj_tgt_create() 56 OPJ_INT32 j,k; in opj_tgt_create() 70 nplh[0] = (OPJ_INT32)numleafsh; in opj_tgt_create() 71 nplv[0] = (OPJ_INT32)numleafsv; in opj_tgt_create() 135 OPJ_INT32 l_nplh[32]; in opj_tgt_init() 136 OPJ_INT32 l_nplv[32]; in opj_tgt_init() 141 OPJ_INT32 j,k; in opj_tgt_init() 155 l_nplh[0] = (OPJ_INT32)p_num_leafs_h; in opj_tgt_init() 156 l_nplv[0] = (OPJ_INT32)p_num_leafs_v; in opj_tgt_init() [all …]
|
D | openjpeg.c | 177 l_codec->opj_dump_codec = (void (*) (void*, OPJ_INT32, FILE*)) j2k_dump; in opj_create_decompress() 209 OPJ_INT32*, OPJ_INT32*, in opj_create_decompress() 210 OPJ_INT32*, OPJ_INT32*, in opj_create_decompress() 227 OPJ_INT32, OPJ_INT32, OPJ_INT32, OPJ_INT32, in opj_create_decompress() 253 l_codec->opj_dump_codec = (void (*) (void*, OPJ_INT32, FILE*)) jp2_dump; in opj_create_decompress() 280 OPJ_INT32*, in opj_create_decompress() 281 OPJ_INT32*, in opj_create_decompress() 282 OPJ_INT32 * , in opj_create_decompress() 283 OPJ_INT32 * , in opj_create_decompress() 303 OPJ_INT32,OPJ_INT32,OPJ_INT32,OPJ_INT32, in opj_create_decompress() [all …]
|
D | tcd.c | 304 …OPJ_INT32 value; /*, matrice[tcd_tcp->numlayers][tcd_tile->comps[0].numreso… in opj_tcd_makelayer_fixed() 305 OPJ_INT32 matrice[10][10][3]; in opj_tcd_makelayer_fixed() 319 …(OPJ_INT32) ((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i * tilec->numresolutions * 3 + j *… in opj_tcd_makelayer_fixed() 338 …OPJ_INT32 imsb = (OPJ_INT32)(tcd->image->comps[compno].prec - cblk->numbps); /* number of bit-plan… in opj_tcd_makelayer_fixed() 435 OPJ_INT32 dr; in opj_tcd_rateallocate() 439 dr = (OPJ_INT32)pass->rate; in opj_tcd_rateallocate() 442 … dr = (OPJ_INT32)(pass->rate - cblk->passes[passno - 1].rate); in opj_tcd_rateallocate() 628 l_tilec->data = (OPJ_INT32 *) opj_malloc(l_tilec->data_size_needed); in opj_alloc_tile_component_data() 637 OPJ_INT32 * new_data = (OPJ_INT32 *) opj_realloc(l_tilec->data, l_tilec->data_size_needed); in opj_alloc_tile_component_data() 677 OPJ_INT32 l_x0b, l_y0b; in opj_tcd_init_tile() [all …]
|
D | mqc.c | 78 static INLINE OPJ_INT32 opj_mqc_mpsexchange(opj_mqc_t *const mqc); 84 static INLINE OPJ_INT32 opj_mqc_lpsexchange(opj_mqc_t *const mqc); 280 static INLINE OPJ_INT32 opj_mqc_mpsexchange(opj_mqc_t *const mqc) { in opj_mqc_mpsexchange() 281 OPJ_INT32 d; in opj_mqc_mpsexchange() 283 d = (OPJ_INT32)(1 - (*mqc->curctx)->mps); in opj_mqc_mpsexchange() 286 d = (OPJ_INT32)(*mqc->curctx)->mps; in opj_mqc_mpsexchange() 293 static INLINE OPJ_INT32 opj_mqc_lpsexchange(opj_mqc_t *const mqc) { in opj_mqc_lpsexchange() 294 OPJ_INT32 d; in opj_mqc_lpsexchange() 297 d = (OPJ_INT32)(*mqc->curctx)->mps; in opj_mqc_lpsexchange() 301 d = (OPJ_INT32)(1 - (*mqc->curctx)->mps); in opj_mqc_lpsexchange() [all …]
|
D | jp2.h | 207 OPJ_INT32 init_pos; 366 OPJ_INT32 * p_tile_x0, 367 OPJ_INT32 * p_tile_y0, 368 OPJ_INT32 * p_tile_x1, 369 OPJ_INT32 * p_tile_y1, 439 OPJ_INT32 p_start_x, OPJ_INT32 p_start_y, 440 OPJ_INT32 p_end_x, OPJ_INT32 p_end_y, 470 void jp2_dump (opj_jp2_t* p_jp2, OPJ_INT32 flag, FILE* out_stream);
|
D | tgt.h | 59 OPJ_INT32 value; 60 OPJ_INT32 low; 117 OPJ_INT32 value); 128 OPJ_INT32 threshold); 140 OPJ_INT32 threshold);
|
D | openjpeg.h | 125 typedef int32_t OPJ_INT32; typedef 339 OPJ_INT32 tx0,tx1,ty0,ty1; 653 OPJ_INT32 *data; 883 OPJ_INT32 roishift; 1028 OPJ_INT32 not_used; 1038 OPJ_INT32 not_used; 1292 OPJ_INT32 p_start_x, OPJ_INT32 p_start_y, 1293 OPJ_INT32 p_end_x, OPJ_INT32 p_end_y ); 1374 OPJ_INT32 * p_tile_x0, OPJ_INT32 * p_tile_y0, 1375 OPJ_INT32 * p_tile_x1, OPJ_INT32 * p_tile_y1, [all …]
|
D | j2k.c | 1315 l_src_data+=sizeof(OPJ_INT32); in opj_j2k_read_int32_to_float() 1356 OPJ_INT32 * l_dest_data = (OPJ_INT32 *) p_dest_data; in opj_j2k_read_int16_to_int32() 1365 *(l_dest_data++) = (OPJ_INT32) l_temp; in opj_j2k_read_int16_to_int32() 1372 OPJ_INT32 * l_dest_data = (OPJ_INT32 *) p_dest_data; in opj_j2k_read_int32_to_int32() 1379 l_src_data+=sizeof(OPJ_INT32); in opj_j2k_read_int32_to_int32() 1381 *(l_dest_data++) = (OPJ_INT32) l_temp; in opj_j2k_read_int32_to_int32() 1388 OPJ_INT32 * l_dest_data = (OPJ_INT32 *) p_dest_data; in opj_j2k_read_float32_to_int32() 1397 *(l_dest_data++) = (OPJ_INT32) l_temp; in opj_j2k_read_float32_to_int32() 1404 OPJ_INT32 * l_dest_data = (OPJ_INT32 *) p_dest_data; in opj_j2k_read_float64_to_int32() 1413 *(l_dest_data++) = (OPJ_INT32) l_temp; in opj_j2k_read_float64_to_int32() [all …]
|
D | t2.c | 48 static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n); 154 static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n) { in opj_t2_putcommacode() 208 OPJ_INT32 p_tp_pos, in opj_t2_encode_packets() 451 …} else if (info_TL->packet[p_cstr_info->packno-1].end_pos >= (OPJ_INT32)p_cstr_info->tile[p_tile_n… in opj_t2_decode_packets() 611 … opj_tgt_setvalue(prc->imsbtree, cblkno, band->numbps - (OPJ_INT32)cblk->numbps); in opj_t2_encode_packet() 637 opj_tgt_setvalue(prc->incltree, cblkno, (OPJ_INT32)layno); in opj_t2_encode_packet() 653 opj_tgt_encode(bio, prc->incltree, cblkno, (OPJ_INT32)(layno + 1)); in opj_t2_encode_packet() 681 … increment = (OPJ_UINT32)opj_int_max((OPJ_INT32)increment, opj_int_floorlog2((OPJ_INT32)len) + 1 in opj_t2_encode_packet() 682 … - ((OPJ_INT32)cblk->numlenbits + opj_int_floorlog2((OPJ_INT32)nump))); in opj_t2_encode_packet() 689 opj_t2_putcommacode(bio, (OPJ_INT32)increment); in opj_t2_encode_packet() [all …]
|
D | pi.h | 103 OPJ_INT32 tx0, ty0, tx1, ty1; 105 OPJ_INT32 x, y; 154 OPJ_INT32 tppos,
|
D | mqc.h | 117 void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, OPJ_INT32 prob); 201 OPJ_INT32 opj_mqc_decode(opj_mqc_t * const mqc);
|
D | jp2.c | 926 OPJ_INT32 *src, *dst; in opj_jp2_apply_pclr() 929 OPJ_INT32 k, top_k; in opj_jp2_apply_pclr() 958 new_comps[i].data = (OPJ_INT32*) in opj_jp2_apply_pclr() 959 opj_malloc(old_comps[cmp].w * old_comps[cmp].h * sizeof(OPJ_INT32)); in opj_jp2_apply_pclr() 998 dst[j] = (OPJ_INT32)entries[k * nr_channels + pcol]; in opj_jp2_apply_pclr() 1367 OPJ_INT32 it_icc_value = 0; in opj_jp2_read_colr() 1368 OPJ_INT32 icc_len = (OPJ_INT32)p_colr_header_size - 3; in opj_jp2_read_colr() 1459 OPJ_INT32 i, l_nb_pass; in opj_jp2_write_jp2h() 2572 OPJ_INT32 * p_tile_x0, in opj_jp2_read_tile_header() 2573 OPJ_INT32 * p_tile_y0, in opj_jp2_read_tile_header() [all …]
|
D | event.h | 90 OPJ_BOOL opj_event_msg(opj_event_mgr_t* event_mgr, OPJ_INT32 event_type, const char *fmt, ...);
|
D | t2.h | 89 OPJ_INT32 tppos,
|
D | invert.c | 213 OPJ_INT32 k; in opj_lupSolve() 253 for (k = (OPJ_INT32)nb_compo - 1; k != -1 ; --k) { in opj_lupSolve()
|