/external/pdfium/third_party/libopenjpeg20/ |
opj_intmath.h | 56 static INLINE OPJ_INT32 opj_int_min(OPJ_INT32 a, OPJ_INT32 b) 74 static INLINE OPJ_INT32 opj_int_max(OPJ_INT32 a, OPJ_INT32 b) 95 return (OPJ_UINT32)(-(OPJ_INT32)(sum >> 32)) | (OPJ_UINT32)sum; 116 static INLINE OPJ_INT32 opj_int_clamp(OPJ_INT32 a, OPJ_INT32 min [all...] |
mct.h | 63 void opj_mct_encode(OPJ_INT32* OPJ_RESTRICT c0, OPJ_INT32* OPJ_RESTRICT c1, 64 OPJ_INT32* OPJ_RESTRICT c2, OPJ_SIZE_T n); 72 void opj_mct_decode(OPJ_INT32* OPJ_RESTRICT c0, OPJ_INT32* OPJ_RESTRICT c1, 73 OPJ_INT32* OPJ_RESTRICT c2, OPJ_SIZE_T n); 88 void opj_mct_encode_real(OPJ_INT32* OPJ_RESTRICT c0, OPJ_INT32* OPJ_RESTRICT c1, 89 OPJ_INT32* OPJ_RESTRICT c2, OPJ_SIZE_T n);
|
tgt.h | 59 OPJ_INT32 value; 60 OPJ_INT32 low; 119 OPJ_INT32 value); 130 OPJ_INT32 threshold); 142 OPJ_INT32 threshold);
|
mct.c | 80 OPJ_INT32* OPJ_RESTRICT c0, 81 OPJ_INT32* OPJ_RESTRICT c1, 82 OPJ_INT32* OPJ_RESTRICT c2, 109 OPJ_INT32 r = c0[i]; 110 OPJ_INT32 g = c1[i]; 111 OPJ_INT32 b = c2[i]; 112 OPJ_INT32 y = (r + (g * 2) + b) >> 2; 113 OPJ_INT32 u = b - g; 114 OPJ_INT32 v = r - g; 122 OPJ_INT32* OPJ_RESTRICT c0 [all...] |
opj_codec.h | 65 OPJ_INT32 * p_tile_x0, 66 OPJ_INT32 * p_tile_y0, 67 OPJ_INT32 * p_tile_x1, 68 OPJ_INT32 * p_tile_y1, 96 OPJ_INT32 p_start_x, 97 OPJ_INT32 p_end_x, 98 OPJ_INT32 p_start_y, 99 OPJ_INT32 p_end_y, 159 void (*opj_dump_codec)(void * p_codec, OPJ_INT32 info_flag,
|
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...] |
event.h | 89 OPJ_BOOL opj_event_msg(opj_event_mgr_t* event_mgr, OPJ_INT32 event_type,
|
dwt.c | 81 OPJ_INT32* mem; 83 OPJ_INT32 dn; /* number of elements in high pass band */ 84 OPJ_INT32 sn; /* number of elements in low pass band */ 85 OPJ_INT32 cas; /* 0 = start on even coord, 1 = start on odd coord */ 94 OPJ_INT32 dn ; /* number of elements in high pass band */ 95 OPJ_INT32 sn ; /* number of elements in low pass band */ 96 OPJ_INT32 cas ; /* 0 = start on even coord, 1 = start on odd coord */ 124 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn [all...] |
tgt.c | 51 OPJ_INT32 nplh[32]; 52 OPJ_INT32 nplv[32]; 58 OPJ_INT32 j, k; 72 nplh[0] = (OPJ_INT32)numleafsh; 73 nplv[0] = (OPJ_INT32)numleafsv; 139 OPJ_INT32 l_nplh[32]; 140 OPJ_INT32 l_nplv[32]; 145 OPJ_INT32 j, k; 160 l_nplh[0] = (OPJ_INT32)p_num_leafs_h; 161 l_nplv[0] = (OPJ_INT32)p_num_leafs_v [all...] |
sparse_array.c | 42 OPJ_INT32** data_blocks; 55 if (block_width > ((OPJ_UINT32)~0U) / block_height / sizeof(OPJ_INT32)) { 71 sa->data_blocks = (OPJ_INT32**) opj_calloc(sizeof(OPJ_INT32*), 111 OPJ_INT32* buf, 138 OPJ_INT32* src_block; 146 OPJ_INT32* dest_ptr = buf + (y - y0) * (OPJ_SIZE_T)buf_line_stride + 149 memset(dest_ptr, 0, sizeof(OPJ_INT32) * x_incr); 153 OPJ_INT32* dest_ptr = buf + (y - y0) * (OPJ_SIZE_T)buf_line_stride + 164 const OPJ_INT32* OPJ_RESTRICT src_ptr = src_block + block_y_offset [all...] |
tcd.h | 81 OPJ_INT32 x0, y0, x1, 124 OPJ_INT32 x0, y0, x1, y1; 138 OPJ_INT32* decoded_data; 144 OPJ_INT32 x0, y0, x1, y1; 159 OPJ_INT32 x0, y0, x1, y1; 166 OPJ_INT32 numbps; 173 OPJ_INT32 x0, y0, x1, y1; 191 OPJ_INT32 x0, y0, x1, y1; 204 OPJ_INT32 *data; 213 OPJ_INT32 *data_win [all...] |
sparse_array.h | 107 OPJ_INT32* dest, 134 const OPJ_INT32* src,
|
t1.c | 83 OPJ_INT32 *datap, 84 OPJ_INT32 oneplushalf, 90 OPJ_INT32 *datap, 91 OPJ_INT32 oneplushalf, 100 OPJ_INT32 bpno, 101 OPJ_INT32 *nmsedec, 110 OPJ_INT32 bpno, 111 OPJ_INT32 cblksty); 117 OPJ_INT32 bpno, 118 OPJ_INT32 *nmsedec [all...] |
pi.h | 105 OPJ_INT32 tx0, ty0, tx1, ty1; 107 OPJ_INT32 x, y; 156 OPJ_INT32 tppos,
|
j2k.h | 167 OPJ_INT32 expn; 169 OPJ_INT32 mant; 195 OPJ_INT32 roishift; 201 OPJ_INT32 m_dc_level_shift; 276 OPJ_INT32 m_current_tile_part_number; 319 OPJ_INT32 m_tp_pos; 321 OPJ_INT32 *m_matrice; 388 OPJ_INT32 ppm_store; 390 OPJ_INT32 ppm_previous; 475 OPJ_INT32 m_tile_ind_to_dec [all...] |
jp2.h | 201 OPJ_INT32 init_pos; 368 OPJ_INT32 * p_tile_x0, 369 OPJ_INT32 * p_tile_y0, 370 OPJ_INT32 * p_tile_x1, 371 OPJ_INT32 * p_tile_y1, 441 OPJ_INT32 p_start_x, OPJ_INT32 p_start_y, 442 OPJ_INT32 p_end_x, OPJ_INT32 p_end_y, 472 void jp2_dump(opj_jp2_t* p_jp2, OPJ_INT32 flag, FILE* out_stream) [all...] |
openjpeg.c | 181 l_codec->opj_dump_codec = (void (*)(void*, OPJ_INT32, FILE*)) j2k_dump; 215 OPJ_INT32*, OPJ_INT32*, 216 OPJ_INT32*, OPJ_INT32*, 233 OPJ_INT32, OPJ_INT32, OPJ_INT32, OPJ_INT32, 268 l_codec->opj_dump_codec = (void (*)(void*, OPJ_INT32, FILE*)) jp2_dump [all...] |
bio.c | 167 OPJ_INT32 i; 170 for (i = (OPJ_INT32)n - 1; i >= 0; i--) { 177 OPJ_INT32 i; 188 for (i = (OPJ_INT32)n - 1; i >= 0; i--) {
|
openjpeg.h | 125 typedef int32_t OPJ_INT32; 339 OPJ_INT32 tx0, tx1, ty0, ty1; 661 OPJ_INT32 *data; 894 OPJ_INT32 roishift; [all...] |
t2.h | 91 OPJ_INT32 tppos,
|
tcd.c | 341 OPJ_INT32 value; /*, matrice[tcd_tcp->numlayers][tcd_tile->comps[0].numresolutions][3]; */ 342 OPJ_INT32 matrice[10][10][3]; 356 (OPJ_INT32)((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i * 381 OPJ_INT32 imsb = (OPJ_INT32)(tcd->image->comps[compno].prec - 488 OPJ_INT32 dr; 492 dr = (OPJ_INT32)pass->rate; 495 dr = (OPJ_INT32)(pass->rate - cblk->passes[passno - 1].rate); 694 l_tilec->data = (OPJ_INT32 *) opj_image_data_alloc(l_tilec->data_size_needed); 704 l_tilec->data = (OPJ_INT32 *) opj_image_data_alloc(l_tilec->data_size_needed) [all...] |
t2.c | 51 static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n); 167 static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n) 228 OPJ_INT32 p_tp_pos, 531 (OPJ_INT32) 719 opj_tgt_setvalue(prc->imsbtree, cblkno, band->numbps - (OPJ_INT32)cblk->numbps); 781 opj_tgt_setvalue(prc->incltree, cblkno, (OPJ_INT32)layno); 797 opj_tgt_encode(bio, prc->incltree, cblkno, (OPJ_INT32)(layno + 1)); 825 increment = (OPJ_UINT32)opj_int_max((OPJ_INT32)increment, 826 opj_int_floorlog2((OPJ_INT32)len) + 1 827 - ((OPJ_INT32)cblk->numlenbits + opj_int_floorlog2((OPJ_INT32)nump))) [all...] |
event.c | 91 OPJ_BOOL opj_event_msg(opj_event_mgr_t* p_event_mgr, OPJ_INT32 event_type,
|
image.c | 72 (OPJ_SIZE_T)comp->w > SIZE_MAX / comp->h / sizeof(OPJ_INT32)) { 77 comp->data = (OPJ_INT32*) opj_image_data_alloc( 78 (size_t)comp->w * comp->h * sizeof(OPJ_INT32)); 85 memset(comp->data, 0, (size_t)comp->w * comp->h * sizeof(OPJ_INT32));
|
/external/pdfium/core/fxcodec/codec/ |
fx_codec_jpx_unittest.cpp | 440 y.data = static_cast<OPJ_INT32*>( 441 opj_image_data_alloc(y.w * y.h * sizeof(OPJ_INT32))); 442 v.data = static_cast<OPJ_INT32*>( 443 opj_image_data_alloc(v.w * v.h * sizeof(OPJ_INT32))); 444 u.data = static_cast<OPJ_INT32*>( 445 opj_image_data_alloc(u.w * u.h * sizeof(OPJ_INT32))); 446 memset(y.data, 1, y.w * y.h * sizeof(OPJ_INT32)); 447 memset(u.data, 0, u.w * u.h * sizeof(OPJ_INT32)); 448 memset(v.data, 0, v.w * v.h * sizeof(OPJ_INT32));
|