• Home
  • Raw
  • Download

Lines Matching refs:sn

56 	OPJ_INT32 sn;  member
67 OPJ_INT32 sn ; member
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…
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…
159 #define UNDERFLOW_SN(i) ((i) >= sn&&sn>0)
166 #define OPJ_S_(i) ((i)<0 ? OPJ_S(0) : (UNDERFLOW_SN(i) ? OPJ_S(sn - 1) : OVERFLOW_S(i) ? OPJ_S(i - …
170 #define OPJ_DD_(i) ((i)<0 ? OPJ_D(0) : (UNDERFLOW_SN(i) ? OPJ_D(sn - 1) : OVERFLOW_D(i) ? OPJ_D(i -…
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() argument
206 for (i=0; i<sn; ++i) { in opj_dwt_deinterleave_h()
211 l_dest = b + sn; 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() argument
224 OPJ_INT32 i = sn; in opj_dwt_deinterleave_v()
234 l_dest = b + sn * x; in opj_dwt_deinterleave_v()
251 OPJ_INT32 i = h->sn; in opj_dwt_interleave_h()
256 ai = a + h->sn; in opj_dwt_interleave_h()
271 OPJ_INT32 i = v->sn; in opj_dwt_interleave_v()
277 ai = a + (v->sn * x); 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() argument
295 if ((dn > 0) || (sn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1()
297 for (i = 0; i < sn; i++) OPJ_S(i) += (OPJ_D_(i - 1) + OPJ_D_(i) + 2) >> 2; in opj_dwt_encode_1()
300 if (!sn && dn == 1) /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1()
304 for (i = 0; i < sn; i++) OPJ_D(i) += (OPJ_SS_(i) + OPJ_SS_(i + 1) + 2) >> 2; 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_() argument
316 if ((dn > 0) || (sn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_decode_1_()
317 for (i = 0; i < sn; i++) OPJ_S(i) -= (OPJ_D_(i - 1) + OPJ_D_(i) + 2) >> 2; in opj_dwt_decode_1_()
321 if (!sn && dn == 1) /* NEW : CASE ONE ELEMENT */ in opj_dwt_decode_1_()
324 for (i = 0; i < sn; i++) OPJ_D(i) -= (OPJ_SS_(i) + OPJ_SS_(i + 1) + 2) >> 2; in opj_dwt_decode_1_()
334 opj_dwt_decode_1_(v->mem, v->mem_count, v->dn, v->sn, v->cas); 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() argument
343 if ((dn > 0) || (sn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1_real()
346 for (i = 0; i < sn; i++) in opj_dwt_encode_1_real()
350 for (i = 0; i < sn; i++) in opj_dwt_encode_1_real()
354 for (i = 0; i < sn; i++) in opj_dwt_encode_1_real()
358 if ((sn > 0) || (dn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1_real()
361 for (i = 0; i < sn; i++) in opj_dwt_encode_1_real()
365 for (i = 0; i < sn; i++) in opj_dwt_encode_1_real()
369 for (i = 0; i < sn; i++) in opj_dwt_encode_1_real()
429 OPJ_INT32 dn, sn; in opj_dwt_encode_procedure() local
439 sn = rh1; in opj_dwt_encode_procedure()
447 (*p_function) (bj, l_data_count, dn, sn, cas_col); in opj_dwt_encode_procedure()
449 opj_dwt_deinterleave_v(bj, aj, dn, sn, w, cas_col); in opj_dwt_encode_procedure()
452 sn = rw1; in opj_dwt_encode_procedure()
458 (*p_function) (bj, l_data_count, dn, sn, cas_row); in opj_dwt_encode_procedure()
459 opj_dwt_deinterleave_h(bj, aj, dn, sn, cas_row); in opj_dwt_encode_procedure()
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()
608 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_tile()
626 OPJ_INT32 count = w->sn; in opj_v4dwt_interleave_h()
661 a += w->sn; in opj_v4dwt_interleave_h()
662 size -= w->sn; in opj_v4dwt_interleave_h()
671 for(i = 0; i < v->sn; ++i){ in opj_v4dwt_interleave_v()
675 a += v->sn * x; in opj_v4dwt_interleave_v()
808 if(!((dwt->dn > 0) || (dwt->sn > 1))){ in opj_v4dwt_decode()
814 if(!((dwt->sn > 0) || (dwt->dn > 1))) { in opj_v4dwt_decode()
821 opj_v4dwt_decode_step1_sse(dwt->wavelet+a, dwt->sn, _mm_set1_ps(opj_K)); in opj_v4dwt_decode()
823 …opj_v4dwt_decode_step2_sse(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn… in opj_v4dwt_decode()
824 …opj_v4dwt_decode_step2_sse(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn in opj_v4dwt_decode()
825 …opj_v4dwt_decode_step2_sse(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn… in opj_v4dwt_decode()
826 …opj_v4dwt_decode_step2_sse(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn in opj_v4dwt_decode()
828 opj_v4dwt_decode_step1(dwt->wavelet+a, dwt->sn, opj_K); in opj_v4dwt_decode()
830 …opj_v4dwt_decode_step2(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn-a),… in opj_v4dwt_decode()
831 …opj_v4dwt_decode_step2(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn-b),… in opj_v4dwt_decode()
832 …opj_v4dwt_decode_step2(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn-a),… in opj_v4dwt_decode()
833 …opj_v4dwt_decode_step2(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn-b),… in opj_v4dwt_decode()
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()
906 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_real()