Home
last modified time | relevance | path

Searched refs:OPJ_INT32 (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/third_party/libopenjpeg20/
D0003-dwt-decode.patch16 OPJ_INT32* mem;
18 OPJ_INT32 dn;
19 OPJ_INT32 sn;
20 OPJ_INT32 cas;
21 @@ -107,16 +105,16 @@ static void opj_dwt_interleave_v(opj_dwt_t* v, OPJ_INT32 *a, OPJ_INT32 x);
25 -static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas);
26 +static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT…
31 -static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas);
32 +static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_IN…
36 -static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas);
[all …]
Dopj_intmath.h56 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()
90 return (OPJ_UINT32)(-(OPJ_INT32)(sum >> 32)) | (OPJ_UINT32)sum; in opj_uint_adds()
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()
145 static INLINE OPJ_INT32 opj_int64_ceildivpow2(OPJ_INT64 a, OPJ_INT32 b) { in opj_int64_ceildivpow2()
146 return (OPJ_INT32)((a + ((OPJ_INT64)1 << b) - 1) >> b); in opj_int64_ceildivpow2()
[all …]
Ddwt.c53 OPJ_INT32* mem;
55 OPJ_INT32 dn;
56 OPJ_INT32 sn;
57 OPJ_INT32 cas;
66 OPJ_INT32 dn ;
67 OPJ_INT32 sn ;
68 OPJ_INT32 cas ;
92 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3…
96 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3…
100 static void opj_dwt_interleave_h(opj_dwt_t* h, OPJ_INT32 *a);
[all …]
Dt1.c60 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 …]
D0026-use_opj_uint_ceildiv.patch9 - l_cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->x1 - l_cp->tx0), (OPJ_INT32)l_…
10 - l_cp->th = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->y1 - l_cp->ty0), (OPJ_INT32)l_…
20 …e_x = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(p_j2k->m_specific_param.m_decoder.m_end_tile_x - l_c…
21 …e_y = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(p_j2k->m_specific_param.m_decoder.m_end_tile_y - l_c…
31 - cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(image->x1 - cp->tx0), (OPJ_INT32)…
32 - cp->th = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(image->y1 - cp->ty0), (OPJ_INT32)…
40 OPJ_INT32 l_h,l_w;
42 - l_img_comp->x0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->x0, (OPJ_INT32)l_…
43 - l_img_comp->y0 = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)p_image->y0, (OPJ_INT32)l_…
46 l_comp_x1 = opj_int_ceildiv((OPJ_INT32)p_image->x1, (OPJ_INT32)l_img_comp->dx);
[all …]
Dmct.c80 OPJ_INT32* restrict c0, in opj_mct_encode()
81 OPJ_INT32* restrict c1, in opj_mct_encode()
82 OPJ_INT32* restrict c2, in opj_mct_encode()
105 OPJ_INT32 r = c0[i]; in opj_mct_encode()
106 OPJ_INT32 g = c1[i]; in opj_mct_encode()
107 OPJ_INT32 b = c2[i]; in opj_mct_encode()
108 OPJ_INT32 y = (r + (g * 2) + b) >> 2; in opj_mct_encode()
109 OPJ_INT32 u = b - g; in opj_mct_encode()
110 OPJ_INT32 v = r - g; in opj_mct_encode()
118 OPJ_INT32* restrict c0, in opj_mct_encode()
[all …]
Dpi.c95 OPJ_INT32 p_tx0,
96 OPJ_INT32 p_tx1,
97 OPJ_INT32 p_ty0,
98 OPJ_INT32 p_ty1,
122 OPJ_INT32 p_tx0,
123 OPJ_INT32 p_tx1,
124 OPJ_INT32 p_ty0,
125 OPJ_INT32 p_ty1,
148 OPJ_INT32 * p_tx0,
149 OPJ_INT32 * p_tx1,
[all …]
Dmct.h63 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);
D0009-opj_pi_next.patch6 …prcj = opj_int_floordivpow2(opj_int_ceildiv(pi->y, (OPJ_INT32)(comp->dy << levelno)), (OPJ_INT32)r…
7 - opj_int_floordivpow2(try0, (OPJ_INT32)res->pdy);
8 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw);
16 …prcj = opj_int_floordivpow2(opj_int_ceildiv(pi->y, (OPJ_INT32)(comp->dy << levelno)), (OPJ_INT32)r…
17 - opj_int_floordivpow2(try0, (OPJ_INT32)res->pdy);
18 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw);
26 …prcj = opj_int_floordivpow2(opj_int_ceildiv(pi->y, (OPJ_INT32)(comp->dy << levelno)), (OPJ_INT32)r…
27 - opj_int_floordivpow2(try0, (OPJ_INT32)res->pdy);
28 pi->precno = (OPJ_UINT32)(prci + prcj * (OPJ_INT32)res->pw);
Dopj_codec.h68 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);
Dtcd.h93OPJ_INT32 x0, y0, x1, y1; /* dimension of the code-blocks : left upper corner (x0, y0) right l…
106OPJ_INT32 x0, y0, x1, y1; /* position of the code-blocks : left upper corner (x0, y0) right low c…
121OPJ_INT32 x0, y0, x1, y1; /* dimension of the precinct : left upper corner (x0, y0) right low cor…
137OPJ_INT32 x0, y0, x1, y1; /* dimension of the subband : left upper corner (x0, y0) right low corn…
141 OPJ_INT32 numbps;
149OPJ_INT32 x0, y0, x1, y1; /* dimension of the resolution level : left upper corner (x0, y0) right…
160OPJ_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 */
177OPJ_INT32 x0, y0, x1, y1; /* dimension of the tile : left upper corner (x0, y0) right low corner …
[all …]
Dj2k.h168 OPJ_INT32 expn;
170 OPJ_INT32 mant;
197 OPJ_INT32 roishift;
203 OPJ_INT32 m_dc_level_shift;
324 OPJ_INT32 m_tp_pos;
326 OPJ_INT32 *m_matrice;
395 OPJ_INT32 ppm_store;
397 OPJ_INT32 ppm_previous;
489 OPJ_INT32 m_tile_ind_to_dec;
704 OPJ_INT32 * p_tile_x0,
[all …]
Dtgt.c49 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 …]
Dopenjpeg.c177 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 …]
Dtcd.c305OPJ_INT32 value; /*, matrice[tcd_tcp->numlayers][tcd_tile->comps[0].numreso… in opj_tcd_makelayer_fixed()
306 OPJ_INT32 matrice[10][10][3]; in opj_tcd_makelayer_fixed()
320 …(OPJ_INT32) ((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i * tilec->numresolutions * 3 + j *… in opj_tcd_makelayer_fixed()
339OPJ_INT32 imsb = (OPJ_INT32)(tcd->image->comps[compno].prec - cblk->numbps); /* number of bit-plan… in opj_tcd_makelayer_fixed()
436 OPJ_INT32 dr; in opj_tcd_rateallocate()
440 dr = (OPJ_INT32)pass->rate; in opj_tcd_rateallocate()
443 … dr = (OPJ_INT32)(pass->rate - cblk->passes[passno - 1].rate); in opj_tcd_rateallocate()
629 l_tilec->data = (OPJ_INT32 *) opj_malloc(l_tilec->data_size_needed); in opj_alloc_tile_component_data()
638 OPJ_INT32 * new_data = (OPJ_INT32 *) opj_realloc(l_tilec->data, l_tilec->data_size_needed); in opj_alloc_tile_component_data()
678 OPJ_INT32 l_x0b, l_y0b; in opj_tcd_init_tile()
[all …]
Dmqc.c78 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 …]
Djp2.h207 OPJ_INT32 init_pos;
353 OPJ_INT32 * p_tile_x0,
354 OPJ_INT32 * p_tile_y0,
355 OPJ_INT32 * p_tile_x1,
356 OPJ_INT32 * p_tile_y1,
426 OPJ_INT32 p_start_x, OPJ_INT32 p_start_y,
427 OPJ_INT32 p_end_x, OPJ_INT32 p_end_y,
457 void jp2_dump (opj_jp2_t* p_jp2, OPJ_INT32 flag, FILE* out_stream);
Dtgt.h59 OPJ_INT32 value;
60 OPJ_INT32 low;
118 OPJ_INT32 value);
129 OPJ_INT32 threshold);
141 OPJ_INT32 threshold);
D0012-mct_sse.patch32 OPJ_INT32* restrict c0,
33 OPJ_INT32* restrict c1,
41 OPJ_INT32* restrict c0,
42 OPJ_INT32* restrict c1,
50 OPJ_INT32* restrict c0,
51 OPJ_INT32* restrict c1,
D0001-image-data.patch10 …_img_comp_dest->data = (OPJ_INT32*) opj_calloc((OPJ_SIZE_T)l_img_comp_dest->w * (OPJ_SIZE_T)l_img_…
16 + const OPJ_UINT32 MAX_SIZE = UINT32_MAX / sizeof(OPJ_INT32);
20 + l_img_comp_dest->data = (OPJ_INT32*)opj_calloc(width * height, sizeof(OPJ_INT3…
Dopenjpeg.h125 typedef int32_t OPJ_INT32; typedef
339 OPJ_INT32 tx0,tx1,ty0,ty1;
653 OPJ_INT32 *data;
886 OPJ_INT32 roishift;
1031 OPJ_INT32 not_used;
1041 OPJ_INT32 not_used;
1295 OPJ_INT32 p_start_x, OPJ_INT32 p_start_y,
1296 OPJ_INT32 p_end_x, OPJ_INT32 p_end_y );
1377 OPJ_INT32 * p_tile_x0, OPJ_INT32 * p_tile_y0,
1378 OPJ_INT32 * p_tile_x1, OPJ_INT32 * p_tile_y1,
[all …]
D0020-opj_aligned_malloc.patch19 + if (((OPJ_UINT32)-1) / (OPJ_UINT32)sizeof(OPJ_INT32) < (OPJ_UINT32)h.mem_count) {
22 h.mem = (OPJ_INT32*)opj_aligned_malloc(h.mem_count * sizeof(OPJ_INT32));
52 + if (((OPJ_UINT32)-1) / (OPJ_UINT32)sizeof(OPJ_INT32) < datasize) {
55 t1->data = (OPJ_INT32*) opj_aligned_malloc(datasize * sizeof(OPJ_INT32));
D0021-tcd_init_tile_negative.patch7 l_tile->x0 = (OPJ_INT32)opj_uint_max(l_tx0, l_image->x0);
8 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), l_image->x1);
14 l_tile->y0 = (OPJ_INT32)opj_uint_max(l_ty0, l_image->y0);
15 l_tile->y1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, l_cp->tdy), l_image->y1);
Dpi.h103 OPJ_INT32 tx0, ty0, tx1, ty1;
105 OPJ_INT32 x, y;
154 OPJ_INT32 tppos,
Dt2.c48 static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n);
159 static void opj_t2_putcommacode(opj_bio_t *bio, OPJ_INT32 n) { in opj_t2_putcommacode()
213 OPJ_INT32 p_tp_pos, in opj_t2_encode_packets()
457 …} 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()
618 … opj_tgt_setvalue(prc->imsbtree, cblkno, band->numbps - (OPJ_INT32)cblk->numbps); in opj_t2_encode_packet()
644 opj_tgt_setvalue(prc->incltree, cblkno, (OPJ_INT32)layno); in opj_t2_encode_packet()
660 opj_tgt_encode(bio, prc->incltree, cblkno, (OPJ_INT32)(layno + 1)); in opj_t2_encode_packet()
688 … increment = (OPJ_UINT32)opj_int_max((OPJ_INT32)increment, opj_int_floorlog2((OPJ_INT32)len) + 1 in opj_t2_encode_packet()
689 … - ((OPJ_INT32)cblk->numlenbits + opj_int_floorlog2((OPJ_INT32)nump))); in opj_t2_encode_packet()
696 opj_t2_putcommacode(bio, (OPJ_INT32)increment); in opj_t2_encode_packet()
[all …]

12