Lines Matching refs:OPJ_INT32
53 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);
104 static void opj_dwt_interleave_v(opj_dwt_t* v, OPJ_INT32 *a, OPJ_INT32 x);
108 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3…
113 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT…
117 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ…
121 static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, opj_stepsize_t *bandno_st…
128 void(*p_function)(OPJ_INT32 *, OPJ_SIZE_T, OPJ_INT32, OPJ_INT32, OPJ_INT32));
137 …_v4dwt_interleave_h(opj_v4dwt_t* restrict w, OPJ_FLOAT32* restrict a, OPJ_INT32 x, OPJ_INT32 size);
139 …interleave_v(opj_v4dwt_t* restrict v , OPJ_FLOAT32* restrict a , OPJ_INT32 x, OPJ_INT32 nb_elts_re…
142 static void opj_v4dwt_decode_step1_sse(opj_v4_t* w, OPJ_INT32 count, const __m128 c);
144 static void opj_v4dwt_decode_step2_sse(opj_v4_t* l, opj_v4_t* w, OPJ_INT32 k, OPJ_INT32 m, __m128 c…
147 static void opj_v4dwt_decode_step1(opj_v4_t* w, OPJ_INT32 count, const OPJ_FLOAT32 c);
149 static void opj_v4dwt_decode_step2(opj_v4_t* l, opj_v4_t* w, OPJ_INT32 k, OPJ_INT32 m, OPJ_FLOAT32 …
201 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… in opj_dwt_deinterleave_h()
202 OPJ_INT32 i; in opj_dwt_deinterleave_h()
203 OPJ_INT32 * l_dest = b; in opj_dwt_deinterleave_h()
204 OPJ_INT32 * l_src = a+cas; in opj_dwt_deinterleave_h()
223 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… in opj_dwt_deinterleave_v()
224 OPJ_INT32 i = sn; in opj_dwt_deinterleave_v()
225 OPJ_INT32 * l_dest = b; in opj_dwt_deinterleave_v()
226 OPJ_INT32 * l_src = a+cas; in opj_dwt_deinterleave_v()
248 static void opj_dwt_interleave_h(opj_dwt_t* h, OPJ_INT32 *a) { in opj_dwt_interleave_h()
249 OPJ_INT32 *ai = a; in opj_dwt_interleave_h()
250 OPJ_INT32 *bi = h->mem + h->cas; in opj_dwt_interleave_h()
251 OPJ_INT32 i = h->sn; in opj_dwt_interleave_h()
268 static void opj_dwt_interleave_v(opj_dwt_t* v, OPJ_INT32 *a, OPJ_INT32 x) { in opj_dwt_interleave_v()
269 OPJ_INT32 *ai = a; in opj_dwt_interleave_v()
270 OPJ_INT32 *bi = v->mem + v->cas; in opj_dwt_interleave_v()
271 OPJ_INT32 i = v->sn; in opj_dwt_interleave_v()
291 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… in opj_dwt_encode_1()
292 OPJ_INT32 i; in opj_dwt_encode_1()
312 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT… in opj_dwt_decode_1_()
313 OPJ_INT32 i; in opj_dwt_decode_1_()
340 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ… in opj_dwt_encode_1_real()
341 OPJ_INT32 i; in opj_dwt_encode_1_real()
375 static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, opj_stepsize_t *bandno_st… in opj_dwt_encode_stepsize()
376 OPJ_INT32 p, n; in opj_dwt_encode_stepsize()
393 …t opj_tcd_tilecomp_t * tilec, void(*p_function)(OPJ_INT32 *, OPJ_SIZE_T, OPJ_INT32, OPJ_INT32, OPJ… in opj_dwt_encode_procedure() argument
395 OPJ_INT32 i, j, k; in opj_dwt_encode_procedure()
396 OPJ_INT32 *a = 00; in opj_dwt_encode_procedure()
397 OPJ_INT32 *aj = 00; in opj_dwt_encode_procedure()
398 OPJ_INT32 *bj = 00; in opj_dwt_encode_procedure()
399 OPJ_INT32 w, l; in opj_dwt_encode_procedure()
401 OPJ_INT32 rw; /* width of the resolution level computed */ in opj_dwt_encode_procedure()
402 OPJ_INT32 rh; /* height of the resolution level computed */ in opj_dwt_encode_procedure()
410 l = (OPJ_INT32)tilec->numresolutions-1; in opj_dwt_encode_procedure()
416 … opj_dwt_max_resolution(tilec->resolutions, tilec->numresolutions) * (OPJ_UINT32)sizeof(OPJ_INT32); in opj_dwt_encode_procedure()
417 l_data_size = l_data_count * (OPJ_UINT32)sizeof(OPJ_INT32); in opj_dwt_encode_procedure()
418 bj = (OPJ_INT32*)opj_malloc(l_data_size); in opj_dwt_encode_procedure()
425 …OPJ_INT32 rw1; /* width of the resolution level once lower than computed one … in opj_dwt_encode_procedure()
426 …OPJ_INT32 rh1; /* height of the resolution level once lower than computed one … in opj_dwt_encode_procedure()
427 …OPJ_INT32 cas_col; /* 0 = non inversion on horizontal filtering 1 = inversion between low-pass and… in opj_dwt_encode_procedure()
428 …OPJ_INT32 cas_row; /* 0 = non inversion on vertical filtering 1 = inversion between low-pass and h… in opj_dwt_encode_procedure()
429 OPJ_INT32 dn, sn; in opj_dwt_encode_procedure()
544 …opj_dwt_encode_stepsize((OPJ_INT32) floor(stepsize * 8192.0), (OPJ_INT32)(prec + gain), &tccp->ste… in opj_dwt_calc_explicit_stepsizes()
579 h.mem = (OPJ_INT32*)opj_aligned_malloc(h.mem_count * sizeof(OPJ_INT32)); in opj_dwt_decode_tile()
589 OPJ_INT32 * restrict tiledp = tilec->data; in opj_dwt_decode_tile()
593 h.sn = (OPJ_INT32)rw; in opj_dwt_decode_tile()
594 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_tile()
599 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_tile()
605 memcpy(&tiledp[j*w], h.mem, rw * sizeof(OPJ_INT32)); in opj_dwt_decode_tile()
608 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_tile()
613 opj_dwt_interleave_v(&v, &tiledp[j], (OPJ_INT32)w); in opj_dwt_decode_tile()
624 …_v4dwt_interleave_h(opj_v4dwt_t* restrict w, OPJ_FLOAT32* restrict a, OPJ_INT32 x, OPJ_INT32 size){ in opj_v4dwt_interleave_h()
626 OPJ_INT32 count = w->sn; in opj_v4dwt_interleave_h()
627 OPJ_INT32 i, k; in opj_v4dwt_interleave_h()
633 OPJ_INT32 j = i; in opj_v4dwt_interleave_h()
646 OPJ_INT32 j = i; in opj_v4dwt_interleave_h()
667 …interleave_v(opj_v4dwt_t* restrict v , OPJ_FLOAT32* restrict a , OPJ_INT32 x, OPJ_INT32 nb_elts_re… in opj_v4dwt_interleave_v()
669 OPJ_INT32 i; in opj_v4dwt_interleave_v()
685 static void opj_v4dwt_decode_step1_sse(opj_v4_t* w, OPJ_INT32 count, const __m128 c){ in opj_v4dwt_decode_step1_sse()
687 OPJ_INT32 i; in opj_v4dwt_decode_step1_sse()
706 void opj_v4dwt_decode_step2_sse(opj_v4_t* l, opj_v4_t* w, OPJ_INT32 k, OPJ_INT32 m, __m128 c){ in opj_v4dwt_decode_step2_sse()
709 OPJ_INT32 i; in opj_v4dwt_decode_step2_sse()
734 static void opj_v4dwt_decode_step1(opj_v4_t* w, OPJ_INT32 count, const OPJ_FLOAT32 c) in opj_v4dwt_decode_step1()
737 OPJ_INT32 i; in opj_v4dwt_decode_step1()
750 static void opj_v4dwt_decode_step2(opj_v4_t* l, opj_v4_t* w, OPJ_INT32 k, OPJ_INT32 m, OPJ_FLOAT32 … in opj_v4dwt_decode_step2()
754 OPJ_INT32 i; in opj_v4dwt_decode_step2()
806 OPJ_INT32 a, b; in opj_v4dwt_decode()
863 OPJ_INT32 j; in opj_dwt_decode_real()
865 h.sn = (OPJ_INT32)rw; in opj_dwt_decode_real()
866 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_real()
873 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_real()
876 for(j = (OPJ_INT32)rh; j > 3; j -= 4) { in opj_dwt_decode_real()
877 OPJ_INT32 k; in opj_dwt_decode_real()
878 opj_v4dwt_interleave_h(&h, aj, (OPJ_INT32)w, (OPJ_INT32)bufsize); in opj_dwt_decode_real()
881 for(k = (OPJ_INT32)rw; --k >= 0;){ in opj_dwt_decode_real()
883 aj[k+(OPJ_INT32)w ] = h.wavelet[k].f[1]; in opj_dwt_decode_real()
884 aj[k+(OPJ_INT32)w*2] = h.wavelet[k].f[2]; in opj_dwt_decode_real()
885 aj[k+(OPJ_INT32)w*3] = h.wavelet[k].f[3]; in opj_dwt_decode_real()
893 OPJ_INT32 k; in opj_dwt_decode_real()
895 opj_v4dwt_interleave_h(&h, aj, (OPJ_INT32)w, (OPJ_INT32)bufsize); in opj_dwt_decode_real()
897 for(k = (OPJ_INT32)rw; --k >= 0;){ in opj_dwt_decode_real()
899 case 3: aj[k+(OPJ_INT32)w*2] = h.wavelet[k].f[2]; in opj_dwt_decode_real()
900 case 2: aj[k+(OPJ_INT32)w ] = h.wavelet[k].f[1]; in opj_dwt_decode_real()
906 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_real()
910 for(j = (OPJ_INT32)rw; j > 3; j -= 4){ in opj_dwt_decode_real()
913 opj_v4dwt_interleave_v(&v, aj, (OPJ_INT32)w, 4); in opj_dwt_decode_real()
927 opj_v4dwt_interleave_v(&v, aj, (OPJ_INT32)w, j); in opj_dwt_decode_real()