• Home
  • Raw
  • Download

Lines Matching refs:OPJ_INT32

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,
125 OPJ_INT32 sn, OPJ_INT32 cas);
129 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn,
130 OPJ_INT32 sn, OPJ_INT32 x, OPJ_INT32 cas);
134 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn,
135 OPJ_INT32 sn, OPJ_INT32 cas);
139 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count,
140 OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas);
146 static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps,
159 void(*p_function)(OPJ_INT32 *, OPJ_SIZE_T, OPJ_INT32, OPJ_INT32, OPJ_INT32));
256 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, in opj_dwt_deinterleave_h()
257 OPJ_INT32 sn, OPJ_INT32 cas) in opj_dwt_deinterleave_h()
259 OPJ_INT32 i; in opj_dwt_deinterleave_h()
260 OPJ_INT32 * l_dest = b; in opj_dwt_deinterleave_h()
261 OPJ_INT32 * l_src = a + cas; in opj_dwt_deinterleave_h()
280 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, in opj_dwt_deinterleave_v()
281 OPJ_INT32 sn, OPJ_INT32 x, OPJ_INT32 cas) in opj_dwt_deinterleave_v()
283 OPJ_INT32 i = sn; in opj_dwt_deinterleave_v()
284 OPJ_INT32 * l_dest = b; in opj_dwt_deinterleave_v()
285 OPJ_INT32 * l_src = a + cas; in opj_dwt_deinterleave_v()
308 static void opj_dwt_interleave_h(const opj_dwt_t* h, OPJ_INT32 *a) in opj_dwt_interleave_h()
310 OPJ_INT32 *ai = a; in opj_dwt_interleave_h()
311 OPJ_INT32 *bi = h->mem + h->cas; in opj_dwt_interleave_h()
312 OPJ_INT32 i = h->sn; in opj_dwt_interleave_h()
329 static void opj_dwt_interleave_v(const opj_dwt_t* v, OPJ_INT32 *a, OPJ_INT32 x) in opj_dwt_interleave_v()
331 OPJ_INT32 *ai = a; in opj_dwt_interleave_v()
332 OPJ_INT32 *bi = v->mem + v->cas; in opj_dwt_interleave_v()
333 OPJ_INT32 i = v->sn; in opj_dwt_interleave_v()
354 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, in opj_dwt_encode_1()
355 OPJ_INT32 sn, OPJ_INT32 cas) in opj_dwt_encode_1()
357 OPJ_INT32 i; in opj_dwt_encode_1()
386 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, in opj_dwt_decode_1_()
387 OPJ_INT32 sn, OPJ_INT32 cas) in opj_dwt_decode_1_()
389 OPJ_INT32 i; in opj_dwt_decode_1_()
422 static void opj_idwt53_h_cas0(OPJ_INT32* tmp, in opj_idwt53_h_cas0()
423 const OPJ_INT32 sn, in opj_idwt53_h_cas0()
424 const OPJ_INT32 len, in opj_idwt53_h_cas0()
425 OPJ_INT32* tiledp) in opj_idwt53_h_cas0()
427 OPJ_INT32 i, j; in opj_idwt53_h_cas0()
428 const OPJ_INT32* in_even = &tiledp[0]; in opj_idwt53_h_cas0()
429 const OPJ_INT32* in_odd = &tiledp[sn]; in opj_idwt53_h_cas0()
454 OPJ_INT32 d1c, d1n, s1n, s0c, s0n; in opj_idwt53_h_cas0()
487 memcpy(tiledp, tmp, (OPJ_UINT32)len * sizeof(OPJ_INT32)); in opj_idwt53_h_cas0()
490 static void opj_idwt53_h_cas1(OPJ_INT32* tmp, in opj_idwt53_h_cas1()
491 const OPJ_INT32 sn, in opj_idwt53_h_cas1()
492 const OPJ_INT32 len, in opj_idwt53_h_cas1()
493 OPJ_INT32* tiledp) in opj_idwt53_h_cas1()
495 OPJ_INT32 i, j; in opj_idwt53_h_cas1()
496 const OPJ_INT32* in_even = &tiledp[sn]; in opj_idwt53_h_cas1()
497 const OPJ_INT32* in_odd = &tiledp[0]; in opj_idwt53_h_cas1()
522 OPJ_INT32 s1, s2, dc, dn; in opj_idwt53_h_cas1()
556 memcpy(tiledp, tmp, (OPJ_UINT32)len * sizeof(OPJ_INT32)); in opj_idwt53_h_cas1()
567 OPJ_INT32* tiledp) in opj_idwt53_h()
573 memcpy(tiledp, dwt->mem, (OPJ_UINT32)(dwt->sn + dwt->dn) * sizeof(OPJ_INT32)); in opj_idwt53_h()
575 const OPJ_INT32 sn = dwt->sn; in opj_idwt53_h()
576 const OPJ_INT32 len = sn + dwt->dn; in opj_idwt53_h()
587 OPJ_INT32* out = dwt->mem; in opj_idwt53_h()
588 const OPJ_INT32* in_even = &tiledp[sn]; in opj_idwt53_h()
589 const OPJ_INT32* in_odd = &tiledp[0]; in opj_idwt53_h()
592 memcpy(tiledp, dwt->mem, (OPJ_UINT32)len * sizeof(OPJ_INT32)); in opj_idwt53_h()
627 void opj_idwt53_v_final_memcpy(OPJ_INT32* tiledp_col, in opj_idwt53_v_final_memcpy()
628 const OPJ_INT32* tmp, in opj_idwt53_v_final_memcpy()
629 OPJ_INT32 len, in opj_idwt53_v_final_memcpy()
632 OPJ_INT32 i; in opj_idwt53_v_final_memcpy()
649 OPJ_INT32* tmp, in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
650 const OPJ_INT32 sn, in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
651 const OPJ_INT32 len, in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
652 OPJ_INT32* tiledp_col, in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
655 const OPJ_INT32* in_even = &tiledp_col[0]; in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
656 const OPJ_INT32* in_odd = &tiledp_col[(OPJ_SIZE_T)sn * stride]; in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
658 OPJ_INT32 i; in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
676 assert((OPJ_SIZE_T)tmp % (sizeof(OPJ_INT32) * VREG_INT_COUNT) == 0); in opj_idwt53_v_cas0_mcols_SSE2_OR_AVX2()
750 OPJ_INT32* tmp, in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
751 const OPJ_INT32 sn, in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
752 const OPJ_INT32 len, in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
753 OPJ_INT32* tiledp_col, in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
756 OPJ_INT32 i; in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
763 const OPJ_INT32* in_even = &tiledp_col[(OPJ_SIZE_T)sn * stride]; in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
764 const OPJ_INT32* in_odd = &tiledp_col[0]; in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
778 assert((OPJ_SIZE_T)tmp % (sizeof(OPJ_INT32) * VREG_INT_COUNT) == 0); in opj_idwt53_v_cas1_mcols_SSE2_OR_AVX2()
861 static void opj_idwt3_v_cas0(OPJ_INT32* tmp, in opj_idwt3_v_cas0()
862 const OPJ_INT32 sn, in opj_idwt3_v_cas0()
863 const OPJ_INT32 len, in opj_idwt3_v_cas0()
864 OPJ_INT32* tiledp_col, in opj_idwt3_v_cas0()
867 OPJ_INT32 i, j; in opj_idwt3_v_cas0()
868 OPJ_INT32 d1c, d1n, s1n, s0c, s0n; in opj_idwt3_v_cas0()
911 static void opj_idwt3_v_cas1(OPJ_INT32* tmp, in opj_idwt3_v_cas1()
912 const OPJ_INT32 sn, in opj_idwt3_v_cas1()
913 const OPJ_INT32 len, in opj_idwt3_v_cas1()
914 OPJ_INT32* tiledp_col, in opj_idwt3_v_cas1()
917 OPJ_INT32 i, j; in opj_idwt3_v_cas1()
918 OPJ_INT32 s1, s2, dc, dn; in opj_idwt3_v_cas1()
919 const OPJ_INT32* in_even = &tiledp_col[(OPJ_SIZE_T)sn * stride]; in opj_idwt3_v_cas1()
920 const OPJ_INT32* in_odd = &tiledp_col[0]; in opj_idwt3_v_cas1()
961 OPJ_INT32* tiledp_col, in opj_idwt53_v()
963 OPJ_INT32 nb_cols) in opj_idwt53_v()
967 OPJ_INT32 k, c; in opj_idwt53_v()
976 const OPJ_INT32 sn = dwt->sn; in opj_idwt53_v()
977 const OPJ_INT32 len = sn + dwt->dn; in opj_idwt53_v()
990 OPJ_INT32 c; in opj_idwt53_v()
998 OPJ_INT32 c; in opj_idwt53_v()
1006 OPJ_INT32 c; in opj_idwt53_v()
1007 OPJ_INT32* out = dwt->mem; in opj_idwt53_v()
1009 OPJ_INT32 i; in opj_idwt53_v()
1010 const OPJ_INT32* in_even = &tiledp_col[(OPJ_SIZE_T)sn * stride]; in opj_idwt53_v()
1011 const OPJ_INT32* in_odd = &tiledp_col[0]; in opj_idwt53_v()
1033 OPJ_INT32 c; in opj_idwt53_v()
1047 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, in opj_dwt_encode_1_real()
1048 OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) in opj_dwt_encode_1_real()
1050 OPJ_INT32 i; in opj_dwt_encode_1_real()
1096 static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, in opj_dwt_encode_stepsize()
1099 OPJ_INT32 p, n; in opj_dwt_encode_stepsize()
1117 void(*p_function)(OPJ_INT32 *, OPJ_SIZE_T, OPJ_INT32, OPJ_INT32, OPJ_INT32)) in opj_dwt_encode_procedure() argument
1119 OPJ_INT32 i, j, k; in opj_dwt_encode_procedure()
1120 OPJ_INT32 *a = 00; in opj_dwt_encode_procedure()
1121 OPJ_INT32 *aj = 00; in opj_dwt_encode_procedure()
1122 OPJ_INT32 *bj = 00; in opj_dwt_encode_procedure()
1123 OPJ_INT32 w, l; in opj_dwt_encode_procedure()
1125 OPJ_INT32 rw; /* width of the resolution level computed */ in opj_dwt_encode_procedure()
1126 OPJ_INT32 rh; /* height of the resolution level computed */ in opj_dwt_encode_procedure()
1134 l = (OPJ_INT32)tilec->numresolutions - 1; in opj_dwt_encode_procedure()
1142 if (l_data_count > (SIZE_MAX / sizeof(OPJ_INT32))) { in opj_dwt_encode_procedure()
1146 l_data_size = l_data_count * sizeof(OPJ_INT32); in opj_dwt_encode_procedure()
1147 bj = (OPJ_INT32*)opj_malloc(l_data_size); in opj_dwt_encode_procedure()
1156OPJ_INT32 rw1; /* width of the resolution level once lower than computed one … in opj_dwt_encode_procedure()
1157OPJ_INT32 rh1; /* height of the resolution level once lower than computed one … in opj_dwt_encode_procedure()
1158OPJ_INT32 cas_col; /* 0 = non inversion on horizontal filtering 1 = inversion between low-pass an… in opj_dwt_encode_procedure()
1159OPJ_INT32 cas_row; /* 0 = non inversion on vertical filtering 1 = inversion between low-pass and … in opj_dwt_encode_procedure()
1160 OPJ_INT32 dn, sn; in opj_dwt_encode_procedure()
1307 opj_dwt_encode_stepsize((OPJ_INT32) floor(stepsize * 8192.0), in opj_dwt_calc_explicit_stepsizes()
1308 (OPJ_INT32)(prec + gain), &tccp->stepsizes[bandno]); in opj_dwt_calc_explicit_stepsizes()
1336 OPJ_INT32 * OPJ_RESTRICT tiledp;
1360 OPJ_INT32 * OPJ_RESTRICT tiledp;
1379 (OPJ_INT32)(job->max_j - j)); in opj_dwt_decode_v_func()
1414 if (h.mem_count > (SIZE_MAX / PARALLEL_COLS_53 / sizeof(OPJ_INT32))) { in opj_dwt_decode_tile()
1421 h_mem_size = h.mem_count * PARALLEL_COLS_53 * sizeof(OPJ_INT32); in opj_dwt_decode_tile()
1422 h.mem = (OPJ_INT32*)opj_aligned_32_malloc(h_mem_size); in opj_dwt_decode_tile()
1432 OPJ_INT32 * OPJ_RESTRICT tiledp = tilec->data; in opj_dwt_decode_tile()
1436 h.sn = (OPJ_INT32)rw; in opj_dwt_decode_tile()
1437 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_tile()
1442 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_tile()
1480 job->h.mem = (OPJ_INT32*)opj_aligned_32_malloc(h_mem_size); in opj_dwt_decode_tile()
1493 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_tile()
1502 opj_idwt53_v(&v, &tiledp[j], (OPJ_SIZE_T)w, (OPJ_INT32)(rw - j)); in opj_dwt_decode_tile()
1535 job->v.mem = (OPJ_INT32*)opj_aligned_32_malloc(h_mem_size); in opj_dwt_decode_tile()
1552 static void opj_dwt_interleave_partial_h(OPJ_INT32 *dest, in opj_dwt_interleave_partial_h()
1553 OPJ_INT32 cas, in opj_dwt_interleave_partial_h()
1579 static void opj_dwt_interleave_partial_v(OPJ_INT32 *dest, in opj_dwt_interleave_partial_v()
1580 OPJ_INT32 cas, in opj_dwt_interleave_partial_v()
1606 static void opj_dwt_decode_partial_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, in opj_dwt_decode_partial_1()
1607 OPJ_INT32 dn, OPJ_INT32 sn, in opj_dwt_decode_partial_1()
1608 OPJ_INT32 cas, in opj_dwt_decode_partial_1()
1609 OPJ_INT32 win_l_x0, in opj_dwt_decode_partial_1()
1610 OPJ_INT32 win_l_x1, in opj_dwt_decode_partial_1()
1611 OPJ_INT32 win_h_x0, in opj_dwt_decode_partial_1()
1612 OPJ_INT32 win_h_x1) in opj_dwt_decode_partial_1()
1614 OPJ_INT32 i; in opj_dwt_decode_partial_1()
1632 OPJ_INT32 i_max; in opj_dwt_decode_partial_1()
1654 OPJ_INT32 i_max = win_h_x1; in opj_dwt_decode_partial_1()
1689 static void opj_dwt_decode_partial_1_parallel(OPJ_INT32 *a, in opj_dwt_decode_partial_1_parallel()
1691 OPJ_INT32 dn, OPJ_INT32 sn, in opj_dwt_decode_partial_1_parallel()
1692 OPJ_INT32 cas, in opj_dwt_decode_partial_1_parallel()
1693 OPJ_INT32 win_l_x0, in opj_dwt_decode_partial_1_parallel()
1694 OPJ_INT32 win_l_x1, in opj_dwt_decode_partial_1_parallel()
1695 OPJ_INT32 win_h_x0, in opj_dwt_decode_partial_1_parallel()
1696 OPJ_INT32 win_h_x1) in opj_dwt_decode_partial_1_parallel()
1698 OPJ_INT32 i; in opj_dwt_decode_partial_1_parallel()
1719 OPJ_INT32 i_max; in opj_dwt_decode_partial_1_parallel()
1769 OPJ_INT32 i_max = win_h_x1; in opj_dwt_decode_partial_1_parallel()
1990 if (h.mem_count > (SIZE_MAX / (4 * sizeof(OPJ_INT32)))) { in opj_dwt_decode_partial_tile()
1996 h_mem_size = h.mem_count * 4 * sizeof(OPJ_INT32); in opj_dwt_decode_partial_tile()
1997 h.mem = (OPJ_INT32*)opj_aligned_32_malloc(h_mem_size); in opj_dwt_decode_partial_tile()
2020 h.sn = (OPJ_INT32)rw; in opj_dwt_decode_partial_tile()
2021 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_partial_tile()
2026 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_partial_tile()
2029 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_partial_tile()
2116 (OPJ_INT32)win_ll_x0, in opj_dwt_decode_partial_tile()
2117 (OPJ_INT32)win_ll_x1, in opj_dwt_decode_partial_tile()
2118 (OPJ_INT32)win_hl_x0, in opj_dwt_decode_partial_tile()
2119 (OPJ_INT32)win_hl_x1); in opj_dwt_decode_partial_tile()
2146 (OPJ_INT32)win_ll_y0, in opj_dwt_decode_partial_tile()
2147 (OPJ_INT32)win_ll_y1, in opj_dwt_decode_partial_tile()
2148 (OPJ_INT32)win_lh_y0, in opj_dwt_decode_partial_tile()
2149 (OPJ_INT32)win_lh_y1); in opj_dwt_decode_partial_tile()
2248 … (OPJ_INT32*)(dwt->wavelet + dwt->cas + 2 * dwt->win_l_x0) + i, in opj_v4dwt_interleave_partial_h()
2255 … (OPJ_INT32*)(dwt->wavelet + 1 - dwt->cas + 2 * dwt->win_h_x0) + i, in opj_v4dwt_interleave_partial_h()
2293 (OPJ_INT32*)(dwt->wavelet + dwt->cas + 2 * dwt->win_l_x0), in opj_v4dwt_interleave_partial_v()
2299 (OPJ_INT32*)(dwt->wavelet + 1 - dwt->cas + 2 * dwt->win_h_x0), in opj_v4dwt_interleave_partial_v()
2457 OPJ_INT32 a, b; in opj_v4dwt_decode()
2563 h.sn = (OPJ_INT32)rw; in opj_dwt_decode_tile_97()
2564 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_tile_97()
2573 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_tile_97()
2613 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_tile_97()
2738 h.sn = (OPJ_INT32)rw; in opj_dwt_decode_partial_97()
2739 v.sn = (OPJ_INT32)rh; in opj_dwt_decode_partial_97()
2744 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_partial_97()
2747 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_partial_97()
2821 (OPJ_INT32*)&h.wavelet[win_tr_x0].f[0], in opj_dwt_decode_partial_97()
2840 (OPJ_INT32*)&h.wavelet[win_tr_x0].f[0], in opj_dwt_decode_partial_97()
2862 (OPJ_INT32*)&h.wavelet[win_tr_y0].f[0], in opj_dwt_decode_partial_97()